[prev in list] [next in list] [prev in thread] [next in thread]
List: evms-devel
Subject: Re: [Evms-devel] External HDD's with Softare RAID 1 questions
From: Jer Jackson <jerj () coplanar ! net>
Date: 2003-06-24 15:13:37
[Download RAW message or body]
On Wed, 2003-06-18 at 16:01, Alexander Burker wrote:
> Hi!
>
> I am currently running kernel 2.4.20 with evms+xfs+ieee1394 patches
>
> I have two Maxtor Personal Storage 5000DV devices connected over
> Firewire to my Server and there are three software RAID 1 partitions
> on the HDs. These partitions are evms volumes.
>
> I'd like to be able to connect and disconnect this two devices during
> the server is running.
>
> What works:
>
> Connecting the two disk using ieee1394, ohci1394 and sbp2 driver.
> Discover the two disks on the scsi bus using scsi add-single-device .
> Starting evms using evms_activate.
> Working with the RAID devices.
> Closing down evms with evms_deactivate.
> (But RAID 1 devices are still running : cat /proc/mdstat)
>
> [root@mm557424l /]# cat /proc/mdstat
> Personalities : [linear] [raid0] [raid1] [raid5] [multipath]
> read_ahead 1024 sectors
> md2 : active raid1 [dev fe:18][1] [dev fe:15][0]
> 81931392 blocks [2/2] [UU]
>
> md1 : active raid1 [dev fe:16][0] [dev fe:17][1]
> 4096448 blocks [2/2] [UU]
>
> md0 : active raid1 [dev fe:10][0] [dev fe:11][1]
> 4096448 blocks [2/2] [UU]
>
> unused devices: <none>
> [root@mm557424l /]#
>
>
> What doesn't work:
> The evms software automatically starts the 3 sofware RAID 1 on the HD's,
> How can I prevent this (e.g. If two disks fail and I will have to handle
> this correct)?
>
> How to only activate the External HDs if evms already running?
> How to only deactivate the External HDs if I need evms for other devices
> in the system?
>
> How to make a raidstop with evms devices??????????????????????
> raidstop complains for an /etc/raidtab enry but what device names
> should I write there?!?!?!?!)
For raidstop, you don't need anything *in* /etc/raidtab
Make an empty /etc/raidtab. eg: touch /etc/raidtab
then use the mdX names like:
raidstop /dev/md0
I use this to allow md raid1 in a cluster private container.
Regards,
Jeremy
>
> With standard md devices I can do a raidstart and raidstop for single
> sofware raid HOW TO DO THIS WITH evms RAIDs???????????????????
> How can I make a raidhotadd with some kind of failed-disk option?
> (e.g. the power supply for both external disks goes down and I have two
> unclean RAID superblocks on the two RAID 1 devices!)
>
> Are there some config scripts like /etc/raidtab for evms?
>
> best regards,
> alex burker
>
>
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by: INetU
> Attention Web Developers & Consultants: Become An INetU Hosting Partner.
> Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
> INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
> _______________________________________________
> Evms-devel mailing list
> Evms-devel@lists.sourceforge.net
> To subscribe/unsubscribe, please visit:
> https://lists.sourceforge.net/lists/listinfo/evms-devel
-------------------------------------------------------
This SF.Net email is sponsored by: INetU
Attention Web Developers & Consultants: Become An INetU Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
_______________________________________________
Evms-devel mailing list
Evms-devel@lists.sourceforge.net
To subscribe/unsubscribe, please visit:
https://lists.sourceforge.net/lists/listinfo/evms-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic