Re: [CentOS] Software Raid Recovery

2009-02-21 Thread Stephen Leonard Character
> Stephen Leonard Character wrote: >> So, to change my swap to raid1, I would need to unmount it, delete >> the >> md2 device, and rebuild it as a raid1 md2 device? >> > > swapoff /dev/md2 > # now delete the raid0 and build a raid1 > mkswap /dev/md2 > swapon /dev/md2 > > > > and you probably d

Re: [CentOS] Software Raid Recovery

2009-02-20 Thread Ross Walker
On Feb 20, 2009, at 1:53 PM, John R Pierce wrote: > Stephen Leonard Character wrote: >> So, to change my swap to raid1, I would need to unmount it, delete >> the >> md2 device, and rebuild it as a raid1 md2 device? >> > > swapoff /dev/md2 > # now delete the raid0 and build a raid1 > mkswap /de

Re: [CentOS] Software Raid Recovery

2009-02-20 Thread Dan Carl
John R Pierce wrote: > Dan Carl wrote: > >> I don't raid swap. >> As stated in the Software Raid How-To >> ||"There's no reason to use RAID for swap performance reasons. >> > > BP! > > you want to MIRROR swap for RELIABILITY reasons.if a swap device > fails, you're looking at a k

Re: [CentOS] Software Raid Recovery

2009-02-20 Thread John R Pierce
Dan Carl wrote: > I don't raid swap. > As stated in the Software Raid How-To > ||"There's no reason to use RAID for swap performance reasons. BP! you want to MIRROR swap for RELIABILITY reasons.if a swap device fails, you're looking at a kernel panic. ___

Re: [CentOS] Software Raid Recovery

2009-02-20 Thread Dan Carl
Stephen Leonard Character wrote: >> As posted early having swap on a raid zero is a bad idea . >> Dan >> > > > Yes I wasn't thinking too clearly when I made the swap raid0, well I did > think about performance, but not drive failure :( > > Thanks everyone for your help, > Stephen > > I did

Re: [CentOS] Software Raid Recovery

2009-02-20 Thread John R Pierce
Stephen Leonard Character wrote: > So, to change my swap to raid1, I would need to unmount it, delete the > md2 device, and rebuild it as a raid1 md2 device? > swapoff /dev/md2 # now delete the raid0 and build a raid1 mkswap /dev/md2 swapon /dev/md2 and you probably don't have to change your

Re: [CentOS] Software Raid Recovery

2009-02-20 Thread Stephen Leonard Character
>As posted early having swap on a raid zero is a bad idea . >Dan Yes I wasn't thinking too clearly when I made the swap raid0, well I did think about performance, but not drive failure :( Thanks everyone for your help, Stephen ___ CentOS mailing list

Re: [CentOS] Software Raid Recovery

2009-02-20 Thread Stephen Leonard Character
-Original Message- From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On Behalf Of Dan Carl Sent: Friday, February 20, 2009 11:37 AM To: CentOS mailing list Subject: Re: [CentOS] Software Raid Recovery Stephen Leonard Character wrote: > On Fri, Feb 20, 2009 at 3:15

Re: [CentOS] Software Raid Recovery

2009-02-20 Thread Dan Carl
Stephen Leonard Character wrote: > On Fri, Feb 20, 2009 at 3:15 PM, Stephen Leonard Character > wrote: > >> I have a server set up with 4hdd using software raid. I have /boot on >> > a > >> raid1 on md0 , / on raid5 on md1, and swap on raid0 on md2. If one of >> > my > >> drives

Re: [CentOS] Software Raid Recovery

2009-02-20 Thread Stephen Leonard Character
On Fri, Feb 20, 2009 at 3:15 PM, Stephen Leonard Character wrote: > I have a server set up with 4hdd using software raid. I have /boot on a > raid1 on md0 , / on raid5 on md1, and swap on raid0 on md2. If one of my > drives die, how to I recover? >First, put the swap also on RAID1, you don't want

Re: [CentOS] Software Raid Recovery

2009-02-20 Thread Stephen Leonard Character
On Fri, Feb 20, 2009 at 3:15 PM, Stephen Leonard Character wrote: > I have a server set up with 4hdd using software raid. I have /boot on a > raid1 on md0 , / on raid5 on md1, and swap on raid0 on md2. If one of my > drives die, how to I recover? >First, put the swap also on RAID1, you don't wan

Re: [CentOS] Software Raid Recovery

2009-02-20 Thread Tim Verhoeven
On Fri, Feb 20, 2009 at 3:15 PM, Stephen Leonard Character wrote: > I have a server set up with 4hdd using software raid. I have /boot on a > raid1 on md0 , / on raid5 on md1, and swap on raid0 on md2. If one of my > drives die, how to I recover? First, put the swap also on RAID1, you don't want

Re: [CentOS] Software Raid Recovery

2009-02-20 Thread Per Qvindesland
I am not sure but since you have a softraid I would think that if your os gives you trouble your raid also goes the same way as the famous chicken. Regards Per On 2/20/09 3:15 PM, "Stephen Leonard Character" wrote: > I have a server set up with 4hdd using software raid. I have /boot on a raid1

[CentOS] Software Raid Recovery

2009-02-20 Thread Stephen Leonard Character
I have a server set up with 4hdd using software raid. I have /boot on a raid1 on md0 , / on raid5 on md1, and swap on raid0 on md2. If one of my drives die, how to I recover? Thanks in advance, scharacter ___ CentOS mailing list CentOS@centos.org ht