22 May 20:17
Re: resize / (ext3) with no LVM(2) - using fdisk and ext2online - possible?
From: K Sai Kiran <saikiranrgda@...>
Subject: Re: resize / (ext3) with no LVM(2) - using fdisk and ext2online - possible?
Newsgroups: gmane.org.user-groups.linux.ilugc
Date: 2008-05-22 18:17:33 GMT
Subject: Re: resize / (ext3) with no LVM(2) - using fdisk and ext2online - possible?
Newsgroups: gmane.org.user-groups.linux.ilugc
Date: 2008-05-22 18:17:33 GMT
Balu manyam wrote: i already used fdisk - deleted partition 2 - re-added the same with bigger size - and then saved with 'w' - i got the message that the kernel will obey the new part table from the next reboot - but that does not seem to be true - as it did not happen even after the reboot - I still see the old partition table Fdisk is not the right tool for it. It only changes the partition.. doesn't change the file system.. you will require a utility that can also dela with filesystem. Parted fits in well for your requirement. I havent tried using it before.. Was always lucky to have data on a LVM :). The man page says it is possible to extend space without destroying data.. My suggestion is to back-up data before trying this.. I haven tried it myself But in ur case you have already changed the partition.. so i am not sure how this will work.. best way would be to re-create the same partition with fdisk.. then use parted. how r u checking your filesystem size? df? df displays size based on fs properties.. so even if you have a larger partition without extending the filesystem.. that would be the case... to confirm check the /proc/ info for exact kernel status of the disks... i think i should be able to boot the machine off a CD and do this - but just curious if one can do this from a running OS and reboot if need be Partprobe should force your kernel to read your partition table without re-booting.. Never edit partitions for file systems which are already mounted. if normal data partitons no re-boot would be required.. if any of the system partitions are used, you will require rescue CD. Do let us know how u r about to burn ur hands. ;) Regards, Kiran. _______________________________________________ To unsubscribe, email ilugc-request@... with "unsubscribe <password> <address>" in the subject or body of the message. http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
RSS Feed