Skip to contentSkip to conversation

ext2resize

linux-lvm Lennert Buytenhek 1 participant 1 message Jul 6, 1999

lore
Share & tools
lore
#0 lore raw
Quoted 9 lines
Quoted 5 lines · John Finlay

Lennert Buytenhek wrote:
Yes, for a 1kb block size. One of my ext2 linux kernel headers #defines the max number of groups to be 1024. Times 32 bytes per group descriptor is 32kb, which is 32 blocks on 1kb. Unless the header is wrong, of course.

I don't think this is correct. I have an ext2 filesystem that is 52GB. It appears to have 200+ blocks in the GDT and as I recall 6000+ block groups.

I

Quoted 2 lines

made a 86GB filesystem the other day with 1k blocks and it had 10000+ block groups. With 4k blocks there were 650+ block groups.

ext2resize will probably not handle this (it assumes the max. is 1024). I'll fix this in a few days.

Lennert