[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: From linux software raid to none software raid?



On Tue, Jan 15, 2008 at 05:23:53PM +0100, Paul Csanyi wrote:
> 2008/1/15, Andrew Sackville-West <andrew@farwestbilliards.com>:
> > On Tue, Jan 15, 2008 at 01:37:28PM +0100, Benjamin Schmidt wrote:
> > > Paul Csanyi wrote:
> 
> > >> I have installed Debian Etch with software raid 1.
> > >>
> > >> I am using for this two sata drives.
> > >>
> > >> Is it possyble to turn this system to non software raid?
> > >>
> > >> Doing so I wish to get the first sata drive to use with
> > >> Debian Etch as non software raid, and to use second
> > >> sata drive as a backup, and data drive.
> > >
> > > 1. Place your second harddisk to another bus (or plug it on over an
> > > usb-sata adapter) OR Remove in ~ /etc/mdadm the second disk.
> >
> > can't you just remove the second disk from mdadm and be done? I guess
> > you should turn off the raid portions of the boot by
> >
> > update-rc.d -f mdadm-raid remove
> >
> > I've not tested this, so buyer beware.
> 
> Before that it is good maybe to edit fstab like bellow.
> What do you think?
> 
> # software raid
> #
> #/dev/md0        /boot           ext3    defaults        0       2
> #/dev/md1        none            swap    sw              0       0
> #/dev/md2        /               ext3    defaults,errors=remount-ro 0       1
> #/dev/md3        /home           ext3    defaults        0       2
> #/dev/md4        /adatok         ext3    defaults        0       2
> 
> # GNU/Linux
> #
> /dev/sda3       /boot           ext3    defaults        0       2
> /dev/sda5       none            swap    sw              0       0
> /dev/sda6       /               ext3    defaults,errors=remount-ro 0       1
> /dev/sda7       /home           ext3    defaults        0       2
> /dev/sda8       /adatok         ext3    defaults        0       2
> 
> these abowe corresponds togeather (each - others).

definitely a good idea. you might have to rebuild the initrd as well. 

A

Attachment: signature.asc
Description: Digital signature


Reply to: