ext2resize

Petr Mojzisek P.Mojzisek na sh.cvut.cz
Pátek Září 15 13:57:45 CEST 2000


Dobry den,

pokousel jsem se zmenit velikost ext2 fs timhle nastrojem, ale moc se to
nepovedlo.

Muj postup:
# mount -o remount,ro /
# e2fsck /dev/hdb6 (to je / fs)
# ext2resize /dev/hdb6 3250000
# mount -o remount,rw /
EXT2-fs error (device ide0(3,70)): ext2_check_blocks_bitmap: Wrong free
blocks count in super block, stored = 769910, counted = 1550796
EXT2-fs error (device ide0(3,70)): ext2_check_inodes_bitmap: Wrong free
inodes count in group 100, stored = 16288, counted = 16287
EXT2-fs error (device ide0(3,70)): ext2_check_inodes_bitmap: Wrong free
inodes count in super block, stored = 1559508, counted = 1966707

# mount -o remount,ro /
# e2fsck /dev/hdb6
filesystem with error, check forced...
zadna nalezena chyba... clean fs

# mount -o remount,rw /
EXT2-fs error (device ide0(3,70)): ext2_check_blocks_bitmap: Wrong free
blocks count in super block, stored = 769910, counted = 1550796
EXT2-fs error (device ide0(3,70)): ext2_check_inodes_bitmap: Wrong free
inodes count in group 100, stored = 16288, counted = 16287
EXT2-fs error (device ide0(3,70)): ext2_check_inodes_bitmap: Wrong free
inodes count in super block, stored = 1559508, counted = 1966707

Nevite, co by se s tim dalo delat? Filesystem normalne funguje, da se
cist i psat, nicmene casem by se asi dostal do nepouzitelneho stavu...

Diky za radu
Mojza


Další informace o konferenci Linux