[Parted-maintainers] Bug#399046: parted: Assertion failed (block < EXT2_SUPER_BLOCKS_COUNT(fs->sb))

Peder Chr. Norgaard Peder.Chr.Norgaard at ericsson.com
Fri Nov 17 11:04:11 GMT 2006


Package: parted
Version: 1.7.1-2.1
Severity: normal

This is data about the device:

(parted) unit co
(parted) print

Disk /dev/sda: 40.0GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number  Start   End     Size    Type     File system  Flags
 1      32.3kB  15.4GB  15.4GB  primary  ext3
 2      22.0GB  23.0GB  1003MB  primary  linux-swap
 3      23.0GB  40.0GB  17.0GB  primary  ext3

(parted) unit s
(parted) print

Disk /dev/sda: 78165359s
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number  Start      End        Size       Type     File system  Flags
 1      63s        30000000s  29999938s  primary  ext3
 2      43000000s  44959930s  1959931s   primary  linux-swap
 3      45000000s  78156224s  33156225s  primary  ext3

(parted)


When issuing this command

(parted) resize 1 63 42999900

I encountered the following situation:

Assertion (block < EXT2_SUPER_BLOCKS_COUNT(fs->sb)) at
../../../../libparted/fs/ext2/ext2.h: 226 in function
ext2_is_data_block() failed

The operation was conducted from the Debian etch beta 3 installation
disk, used as rescue disk.  I can add that the partition had been
fsck'ed immediately before the operation, so it is probably not a bug in
the file system.  The file system survived the operation, but the
partition was not extended as planned.

The error message urge me to file the bug directly at gnu.org; for a
Debian user I suppose it is acceptable to report to debian and expect the
maintainer to forward the message to upstream?  I did check the web page
for parted, and this particular assertion was not mentioned anywhere.



-- System Information:
(I have deleted the System and debconf Information, as the bug did not occur on
the system from which I report the bug)




More information about the Parted-maintainers mailing list