Moin! Am Samstag, den 06.12.2008, 20:34 +0100 schrieb Florian Lohoff: > On Sat, Dec 06, 2008 at 05:41:07PM +0100, Marcus Sobchak <[EMAIL PROTECTED]> > wrote: > > > > Um welches Feature könnte es sich handeln? > > > > Gibt es u.U. ein alternatives tool zu parted, welches sich auch von > > einer Hardy-Live CD ausführen lassen kann (nur diese stellt das > > Rechenzentrum als Recovery-CD zur Verfügung)? > > Welche features hast du denn an? > > tune2fs -l /dev/hdaX > > Koennte zum beispiel dir_index sein oder aehnliches ...
tune2fs -l /dev/sda3 sagt: has_journal ext_attr resize_inode dir_index filetype needs_recovery sparse_super large_file Problem scheinen die "ext_attr" und "resize_inode" features zu sein. Denn erst, wenn diese beiden features entfernt sind, lässt sich die Partition mit parted verkleinern. Ich bin jetzt so vorgegangen: tune2fs -O ^has_journal /dev/sda3 tune2fs -O ^dir_index /dev/sda3 debugfs -w /dev/sda3 -R "feature -ext_attr" e2fsck -y -f /dev/sda3 Inode 3236352 has INDEX_FL flag set on filesystem without htree support. Clear HTree index<y>? yes [...] debugfs -w /dev/sda3 -R "feature -resize_inode" e2fsck -y -f /dev/sda3 Filesystem does not have resize_inode enabled, but s_reserved_gdt_blocks is 1010; should be zero. Fix? yes Resize_inode not enabled, but the resize inode is non-zero. Clear? yes Free blocks count wrong for group #0 (31479, counted=32490). Fix? yes Danach ist dann ein parted (resize) möglich. Abschließendens "e2fsck -y -f /dev/sda3" und dann die entfernten features wieder anschalten: tune2fs -y -j /dev/sda3 debugfs -w /dev/sda3 -R "feature dir_index ext_attr resize_inode" Siehst Du in dem Vorgehen ein Problem? Das System scheint mit der verkleinerten Partition stabil zu laufen. Viele Grüße, Marcus -- Linux mailing list [email protected] subscribe/unsubscribe: http://lug-owl.de/mailman/listinfo/linux Hinweise zur Nutzung: http://www.lug-owl.de/Mailingliste/hints.epo
