General discussion

Locked

Help moving to a larger hard drive

By RedHatQuik ·
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.

This conversation is currently closed to new comments.

8 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

Help moving to a larger hard drive

by RedHatQuik In reply to Help moving to a larger h ...

Point value changed by question poster.

Collapse -

Help moving to a larger hard drive

by les In reply to Help moving to a larger h ...

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)

Collapse -

Help moving to a larger hard drive

by RedHatQuik In reply to Help moving to a larger h ...

Poster rated this answer

Collapse -

Help moving to a larger hard drive

by servermonkey In reply to Help moving to a larger h ...

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

Collapse -

Help moving to a larger hard drive

by RedHatQuik In reply to Help moving to a larger h ...

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!

Collapse -

Help moving to a larger hard drive

by TG2 In reply to Help moving to a larger h ...

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

:)

Collapse -

Help moving to a larger hard drive

by RedHatQuik In reply to Help moving to a larger h ...

Poster rated this answer

Collapse -

Help moving to a larger hard drive

by RedHatQuik In reply to Help moving to a larger h ...

This question was closed by the author

Back to Linux Forum
8 total posts (Page 1 of 1)  

Related Discussions

Related Forums