Hi guys,
My /home dir is getting bigger, I just added a new hard drive to my linux machine. After used "fdisk" to partition and format the drive with "mkfs.ext3 /dev/hdc1" . The new drive is called "/dev/sdb1"
I'd like to move /home dir to new hard drive, currently the /home dir has few users accounts . How do i move that /home dir to new hard drive and keeping all the user accounts ? That means the new hard drive will be the /home dir.
Here is the 'df -l" after partition and formated:
==================================
[root@redhat ~]# fdisk -l
Disk /dev/sda: 146.8 GB, 146810536448 bytes
255 heads, 63 sectors/track, 17848 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 1 13 104391 83 Linux
/dev/sda2 14 17848 143259637+ 8e Linux LVM
Disk /dev/sdb: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sdb1 1 60801 488384001 83 Linux
[root@redhat ~]#
================================
Any idea ? Thanks.