bug-parted
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

This ext2 filesystem has a rather strange layout


From: Walter Dieudonne
Subject: This ext2 filesystem has a rather strange layout
Date: Tue, 18 Jan 2005 21:50:16 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3) Gecko/20040913


Hello,

I am "purifying" my disk (see list of minors...).
I followed the steps in the parted manual but I have a problem.

ORIGINAL set-up:
(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   4777.141  primary   ext3
2       4777.141  57239.406  extended
5       4777.172   5271.328  logical   linux-swap
6       5271.359  57239.406  logical   ext3
3      57239.407  62965.700  primary   ntfs        boot
4      62965.701  76316.594  primary   fat32       lba

NEW set-up:
Warning: Unable to determine if partitions are mounted via /proc/mounts or
/etc/mtab.  Make sure you don't attempt to resize or modify mounted file
systems.  (Even read-only mounted)
Ignore/Cancel? Cancel
Disk geometry for /dev/hda: 0.000-76319.085 megabytes
Disk label type: msdos
Minor    Start       End     Type      Filesystem  Flags
1          0.031   4777.141  primary   ext3
2       4777.141  76316.594  extended              lba
5       4777.172   5271.328  logical   linux-swap
6       5271.359  57239.406  logical   ext3

basically I removed the other primary and grew the extended till the end. Obviously, the next step is to resize #2 till the end, but with the resize 6 5271.359 76316.594 command, I get:

Warning: Unable to determine if partitions are mounted via /proc/mounts or
/etc/mtab.  Make sure you don't attempt to resize or modify mounted file
systems.  (Even read-only mounted)
Ignore/Cancel? Cancel
No Implementation: This ext2 filesystem has a rather strange layout!  Parted
can't resize this (yet).
Information: Don't forget to update /etc/fstab, if necessary.

Of course, partition #6 is not mounted when trying that.
I noticed the "lba" flag has appeared after I did the first parted operations.

I am using parted-1.6.21

Would anyone be able to shed some lights on that issue ?

PS: should I join the mailing-list for reading any reply ?

Thanks to all !

Walter




reply via email to

[Prev in Thread] Current Thread [Next in Thread]