LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Resizing Partition on RH9 using Parted (https://www.linuxquestions.org/questions/linux-newbie-8/resizing-partition-on-rh9-using-parted-76018/)

Sticks 07-26-2003 12:29 AM

Resizing Partition on RH9 using Parted
 
In typical newbie fashion I installed RH9 on my 80gb hd and let diskdruid use the entire drive. Now I want to resize the partition to make it smaller. PM7 and QTParted both refused to resize the partition and Parted gave it a good try but came up with an error. I've searched and read til my eyes bled, but I'm no closer to understanding the problem. Here is the pertinent info (I think)

Filesystem Size Used Avail Use% Mounted on
/dev/hda2 73G 2.6G 67G 4% /
/dev/hda1 99M 24M 70M 26% /boot
none 125M 0 125M 0% /dev/shm

Using /dev/hda Information: The operating system thinks the geometry on /dev/hda is 9729/255/63. Therefore, cylinder 1024 ends at 8032.499M. (parted) print Disk geometry for /dev/hda: 0.000-76319.085 megabytes Disk label type: msdos
Minor Start End Type Filesystem Flags
1 0.031 101.975 primary ext3 boot
2 101.975 75806.718 primary ext3
3 75806.719 76316.594 primary linux-swap

Parted deleted the swap partition (minor 3) without any problems. The error occured when I attempted to resize minor 2.

(parted) resize 2 101.975 55806.999 Warning: Filesystem was not cleanly unmounted! You should e2fsck. No Implementation: This ext2 filesystem has a rather strange layout! Parted can't resize this (yet).

Any help is greatly appreciated


All times are GMT -5. The time now is 10:38 AM.