hi giulio

what would be the point of making swap a raid0 or raid1 device ??
        - if you have  problem... the machine will most likely
        shutdown and you lose all swap data....

just use a regular swap partition as swap... not /dev/mdxx

i'd try to use...
/       /dev/md0        - so tht you can usually get into standalone mode
/tmp    /dev/md1
/var    /dev/md2
/usr    /dev/md3
/home   /dev/md4
...

c ya
alvin
http://www.Linux-Sec.net


On Sun, 3 Jun 2001, Giulio Orsero wrote:

> kernel 2.2.19 raid 0.90 (2.4.x is not an option at this time for us).
> 
> I'm interested in raid1 only.
> 
> The hotwo says you cannot swap on a raid device when it's
> reconsrtucting/resyncing.
> 
> I'd prefer not to play with scripts to avoid swapping until resync/reconstruct
> is done.
> 
> Is swapping to a file inside a mirrored file-system safe, always, even when
> reconstruct/resync?
> 
> ie
> 1)
> /   ->  /dev/md0  -> /dev/hda1 /dev/hdc1
> swapon /root/swapfile
> is this always safe?
> 
> 2)
> /swap -> /dev/md0 -> /dev/hda1+/dev/hdc1
> /         -> /dev/md1 -> /dev/hda2+/dev/hdc2
> 
> mke2fs /dev/md0
> ... dd, mkswap...
> swapon /swap/swapfile
> is this always safe?
> 
> 
> This post from mingo seems to say so
> 
>http://groups.google.com/groups?hl=it&lr=&safe=off&ic=1&th=693f77f441bf1844,2&seekm=linux.kernel.39CF6A64.E56CB9A1%40roanoke.edu#p
> but it's not very clear, he talks about raid5.
> 
> I'd like a definitive answer if possible :)
> 
> Thanks
> 
> -- 
> [EMAIL PROTECTED]
> -
> To unsubscribe from this list: send the line "unsubscribe linux-raid" in
> the body of a message to [EMAIL PROTECTED]
> 

-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to [EMAIL PROTECTED]

Reply via email to