Moving Home Data to New Partition

Yesterday, i just moved all of /home to the another partition because this root partition nearly full because of my home data.

so this i did :

#mkfs.ext4 /dev/sda2
if failed , u need to unmount it first
$rsync -r -v /source/path /dest/path
for about 5gigs data, i wait for 15 minutes .
then check you partition UUID
$blkid
give :
/dev/sda2: LABEL=”_Fedora-15-x86_6″ UUID=”44f45efd-a586-462e-a13a-7d84f6d29570″ TYPE=”ext4″

then add to fstab

#nano /etc/fstab

add this line
UUID=44f45efd-a586-462e-a13a-7d84f6d29570 /mount/point ext4 defaults,noatime,barrier=0 0 0
reboot 🙂 don’t forget check the permission in the new partition, or you can’t access it 🙂

This entry was posted in Uncategorized. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *