Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do i resize a partition?

Status
Not open for further replies.

theguru97321

IS-IT--Management
Feb 3, 2003
216
US
I'm running Linux RedHat 7.3, and I did not give enough room to one of my partitions, and too much room for another. I'd like to resize them, with out looseing any data. Is there a way?
 

Are you using LVM??

Cheers

Henrik Morsing
Certified AIX 4.3 Systems Administration
& p690 Technical Support
 
theguru,

Don't forget to backup important data before resizing. Many things can go wrong and when they do it usually means that you lost all your data.

Gary Haran
==========================
 
I'm not using LVM, is that something I can install after the fact? Where do I get these Utilities?
 
If you are using ext2 then try using Partition Magic, for after the fact.

LVM does not resize partitions, it resizes volumes. BIG difference. LVM (Logical Volume Manager by Sistena) , or EVMS (Enterprise Volume Management System by IBM) are volume managers. The idea is to take 1 or more disks and maybe raid them. Then create logical volumes on top of the raids. Those volumes are resizeable.

 
Ok, I got parted. When I go to resize the first MINOR is tells me that it is in use. Do I need to do some kind of safe-mode?
 
Yeah, you will have to unmount the partitions you intend on resizing. You would want to go into single user mode ([tt]telinit 1[/tt]), unmount the partitions and then run parted. However, I think it would be less error-prone to boot from an installation CD and run it's rescue mode, have parted on a floppy or similar and run it from there. (RedHat 8+ has parted on it's disks).

//Daniel
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top