bug-parted
[Top][All Lists]
Advanced

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

"rather strange" ext2 layout


From: Flaster, Michael E (Michael)
Subject: "rather strange" ext2 layout
Date: Sat, 8 Oct 2005 00:22:13 -0400

I am currently trying 1.6.23, but I also saw this problem on all the earlier 
versions that I tried (1.6.21 and 1.6.9):

No Implementation: This ext2 file system has a rather strange layout!  Parted
can't resize this (yet).

I added some print statements just before the exception in ext2.c:

                  int bbp = EXT2_GROUP_BLOCK_BITMAP(fs->gd[i]);
                  int ibp = EXT2_GROUP_INODE_BITMAP(fs->gd[i]);
                  int itp = EXT2_GROUP_INODE_TABLE(fs->gd[i]);

                  printf("i=%d, block_bitmap %d vs bb %d, inode_bitmap %d vs. 
ib %d, inode_table %d vs it %d\n",
                         i, 
                         bbp, bb,
                         ibp, ib,
                         itp, it);

And at run time it prints:
Partition number? 5
Start?  [4195MB]?
End?  [7863MB]? 12GB
i=2, block_bitmap 65536 vs bb 65536, inode_bitmap 65537 vs. ib 65537, 
inode_table 65538 vs it 65540
No Implementation: This ext2 file system has a rather strange layout!  Parted
can't resize this (yet).

So it's not happy with EXT2_GROUP_INODE_TABLE being 65538 instead of 65540.  
Don't know what that means.

You can see my earlier email about a different bug for my disk info, here's 
info from fdisk:

address@hidden fdisk /dev/hda -l -u

Disk /dev/hda: 46.1 GB, 46115758080 bytes
255 heads, 63 sectors/track, 5606 cylinders, total 90069840 sectors
Units = sectors of 1 * 512 = 512 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hda1   *          63     8193149     4096543+   b  W95 FAT32
/dev/hda2         8193150    90060389    40933620    5  Extended
/dev/hda5         8193213    15358139     3582463+  83  Linux
/dev/hda6        24981138    33961409     4490136   83  Linux
/dev/hda7        40644513    45062324     2208906    b  W95 FAT32
/dev/hda8        48934053    49110704       88326   83  Linux
/dev/hda9        49126833    90060389    20466778+  83  Linux
/dev/hda10       45062388    45576404      257008+  82  Linux swap





reply via email to

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