Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Okay to clone drive to larger size drive?

28 views
Skip to first unread message

Ohmster

unread,
Apr 6, 2005, 9:29:09 AM4/6/05
to
I have a redhat 9 system with a 27Gb hard drive and am quite pleased with
it. I was running out of room in the /home directories and with a little
help from here, I was able to graft a second hard drive onto the root
tree and mount it a /home. This worked out perfectly, I was able to copy
everything from the old /home directory to the new hard drive, gave it a
label of "home", and you would never know the difference.

Now my root drive is getting full, I run an ftp server in /var/ftp/ and
want more space. Here is what I have:


[ohmster@ohmster ohmster]$ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/hda2 27G 22G 4.2G 84% /
/dev/hda1 99M 15M 80M 15% /boot
/dev/hdb1 28G 18G 8.8G 67% /home
none 756M 1.4M 755M 1% /dev/shm
//missy/ohmster_music
74G 43G 31G 59% /mnt/ohmster_music
//cindy/cindy_music 26G 17G 9.3G 64% /mnt/cindy_music
[ohmster@ohmster ohmster]$

Can I use a drive image tool like True Image or Migrate Easy to copy the
original root drive to a larger, 80Gb drive, then swap them out and
reboot? Will this work? Are there linux tools that would work better for
this? fdisk shows the partitions:

Device Boot Start End Blocks Id System
/dev/hda1 * 1 13 104391 83 Linux
/dev/hda2 14 3576 28619797+ 83 Linux
/dev/hda3 3577 3739 1309297+ 82 Linux swap

I want thre swap and boot partitions to remain the same and to have the
root / partition expand to the full size of the new 80Gb hard drive.

How can this be done painlessly in order to get a larger root hard drive
without toasting the system? Please help, I need more room. Thanks.

--
~Ohmster
ohmster at newsguy dot com

0 new messages