On Mon, 2004-04-12 at 03:36, Cotton wrote:
> I have 10CE on a smaller 13GB disk, and I'd like to move it over onto 2 
> 80GB disks that I want to mirror...
> 
> now, the 2 80GB disks are hda and hdb, they show up in diskdrake just 
> great.  Right now i have a 6gb / and a 9gb /home, I suppose I'd just 
> like to make those partitions much larger and move the data over.
> 
> How do I create a mirrored partition?  I see RAID in the new partition 
> list, but how do I assign the mount points and such?  After I create, is 
> it safe to just copy over the contents of the old disk to the new / and 
> /home?  How do I configure the bootloader (grub or lilo, whatever is 
> default) on the new disk?
> 
> Thanks for the help,
> 
> Cotton
> 
You are covering a lot of territory there, but let's at least cover how
you create the RAID partitions.  I'll assume that you want mirroring
(RAID 1).  In diskdrake, select the first disk, toggle to expert mode
and create a partition, choosing linux raid as the type.  Now do the
same using the same size on the other disk.

Select the created partition and click on the "add to raid" button. 
Choose new and accept the defaults.  Select the other disk and add the
other partition to the same raid disk.

Now you'll have a raid tab.  Select that and you'll see md0 has been
defined.  Select that and decide on a file type and mount point.

Repeat until done, or totally confused.

Copying home across can be done by a simple:

cp -Ra /home /mount-point

Then adjust /etc/fstab to mount the raid device at /home.

Copying the root file system is more involved and assuming that you
don't currently have a separate /boot partition, it is not feasible to
move this onto a RAID without re-installing AFAIK.  How about leaving /
intact and creating new separate RAID partitions for /var and /usr? 
That means leaving the existing disk in the machine as well, but will
avoid the re-install scenario.

HTH
Brian


____________________________________________________
Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com
____________________________________________________

Reply via email to