Discussion Locked

Help moving to a larger hard drive

0 helpful
8 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
Redhat 7.1 on a 10 gig drive /usr is so full i can't even download the errata updates. I have a 30 gig I can use but how can I mirgate all the old system to the new drive so that I can have free space again. I love the way it runs now and want to keep it as it is if possible.

8 replies

by les

If you want the whole system across to either use a third party imaging utility like ghost and image the drives. If that's not an option you could try looking at the linux-software-raid howto. Put your 30gb disk in as a second disk and configure thesoftware raid to mirror. (i haven't used it myself yet but i see no reason why it wouldn't help you out)

by servermonkey

I would add the new hd, create a partition the size you want /usr to be in fdisk (taking note of the partition number), reboot, mkfs on the new partition with a mount point of /usr1, copy /usr to /usr1, get to single user mode (init 1), rename /usr to /usr2 and /usr1 to /usr, edit /etc/fstab commenting out the line that mounts /usr on the old partition or label and creating a new entry to mount the new partition on /usr, mount all partitions (mount -a), return to init 3 or init 5. Your system will remain the same, except /usr is now on the new disk. If something happens, you can always reverse what you did and get back to where you started. Once you are satisfied that everyting works, remove the old /usr partition with fdisk.

HTH
Jeff

by redhatquik

This is what I was looking for as soon as I get a moment to breath I will work it out and it was good i waited anyway i am going to cream a win2k machine here in the office and get it's 60gig to use yhanks and I will let you guys know how it comes out!

by tg2

agree with answer 2 ... if you need more directions let the people know with a followup..

:)

This discussion is closed to new replies.