[Parted-maintainers] Bug#291234: parted: No Implementation: This ext2 filesystem has a rather strange layout! Parted No Implementation: This ext2 filesystem has a rather strange layout!

Sven Luther Sven Luther <sven.luther@wanadoo.fr>, 291234@bugs.debian.org
Wed, 19 Jan 2005 16:55:05 +0100


tags 291234 + upstream help
thanks
On Wed, Jan 19, 2005 at 03:47:11PM +0100, Joel Soete wrote:
> Package: parted
> Version: 1.6.11-9
> Severity: normal
> 
> Hello all,
> 
> I am running a debian  unstable' (today updated) with a developement kernel
> 2.6.11-rc1-pa3 on hppa box (b2000).
> This system own 2 Disk: one boot disk of 9gb and a 'data' disk of 36Gb.
> 
> the boot disk sda has the following slicing schema (cfdisk):
> Disk /dev/sda: 9100 MB, 9100044288 bytes
> 64 heads, 32 sectors/track, 8678 cylinders
> Units = cylinders of 2048 * 512 = 1048576 bytes
> 
>    Device Boot      Start         End      Blocks   Id  System
> /dev/sda1               1          61       62448   f0  Linux/PA-RISC boot
> /dev/sda2              62         306      250880   82  Linux swap / Solaris
> /dev/sda3             307         367       62464   83  Linux
> /dev/sda4             368        8557     8386560    5  Extended
> /dev/sda5             368        1953     1624048   83  Linux
> /dev/sda6            1954        2197      249840   83  Linux
> /dev/sda7            2198        2319      124912   83  Linux
> /dev/sda8            2320        2441      124912   83  Linux
> /dev/sda9            2442        4394     1999856   83  Linux
> /dev/sda10           4395        6347     1999856   83  Linux
> /dev/sda11           6348        8300     1999856   83  Linux
> /dev/sda12           8301        8557      263152   83  Linux
> 
> And the second disk:
> Disk /dev/sdb: 36.4 GB, 36420075520 bytes
> 64 heads, 32 sectors/track, 34732 cylinders
> Units = cylinders of 2048 * 512 = 1048576 bytes
> 
>    Device Boot      Start         End      Blocks   Id  System
> /dev/sdb1               1       34732    35565552   83  Linux
> 
> As I don't need any more to have the full disk for a data slice on this disk,
> I would like to use parted to re-partition as:
> /dev/sdb1               1          61       62448   f0  Linux/PA-RISC boot
> /dev/sdb2              62         306      250880   82  Linux swap / Solaris
> /dev/sdb3             307         367       62464   83  Linux
> /dev/sdb4             368        8557     8386560    5  Extended
> /dev/sdb5             368        1953     1624048   83  Linux
> /dev/sdb6            1954        2197      249840   83  Linux
> /dev/sdb7            2198        2319      124912   83  Linux
> /dev/sdb8            2320        2441      124912   83  Linux
> /dev/sdb9            2442        4394     1999856   83  Linux
> /dev/sdb10           4395        6347     1999856   83  Linux
> /dev/sdb11           6348        8300     1999856   83  Linux
> /dev/sdb12           8301       34732    35565552   83  Linux
> 
> (for mirroring with raid1)
> 
> (in summary:
> parted
> resize 1 0.016 26432.000 (i.e. 34732 - 8300)
> move 1 0.016 8300.000
> 
> then create sdb[1..11] )
> 
> but when I asked 'parted' to check the disk slice 1:
> # ./parted/parted /dev/sdb
> [...]
> Using /dev/sdb
> (parted) p
> 
> Disk geometry for /dev/sdb: 0.000-34732.890 megabytes
> Disk label type: msdos
> Minor    Start       End     Type      Filesystem  Flags
> 1          0.016  34732.000  primary   ext3
> (parted) check 1
> 
> No Implementation: This ext2 filesystem has a rather strange layout!  Parted
> can't resize this (yet).

Parted cannot handle newer ext2/3 filesystems, and this results in the message
you see. upstream knows about this, but i didn't see any clear intentions to
solve this, so i don't think there will be a quick fix for this.

Friendly,

Sven Luther