Hi

 

I want to move my /home dir into a software raid 1.

 

Currently 65 gig /dev/hda partitioned:

 

Filesystem            Size  Used Avail Use% Mounted on

/dev/hda2              54G   19G   33G  38% /

/dev/hda1              46M   15M   29M  33% /boot

 

 

 

This is my plan:

 

1)       Add /dev/hdb

2)       Create a raid1 partition /tmp_home using a single device (/dev/hdb1)

3)       Copy /home onto the new partition

4)       Shrink the / directory on /dev/hda2

5)       Create a raid1 partition at /dev/hda3

6)       Add this partition to the array using the raidhotadd command.

7)       Mounting /home on new raid partition

 

 

I’m stuck at the stage 4 - shrinking of the / directory.

 

Any ideas?

 

Is parted reliable?

 

Is their another method you know of?

 

Regards

Stuart Clark

 

Reply via email to