まずは、現状どうなっているかを見る
linkstationvine# umount /mnt linkstationvine# tune2fs -l /dev/hda3 tune2fs 1.29 (24-Sep-2002) Filesystem volume name:やはり dir_index が付いている。Last mounted on: Filesystem UUID: ad5a48d3-6e7a-4ad7-aece-477e2bcf26df Filesystem magic number: 0xEF53 Filesystem revision #: 1 (dynamic) Filesystem features: has_journal dir_index filetype sparse_super large_file Filesystem state: clean Errors behavior: Continue Filesystem OS type: Linux Inode count: 14368768 Block count: 28712171 Reserved block count: 1435608 Free blocks: 5440652 Free inodes: 14342790 First block: 0 Block size: 4096 Fragment size: 4096 Blocks per group: 32768 Fragments per group: 32768 Inodes per group: 16384 Inode blocks per group: 512 Last mount time: Sun Jan 18 02:07:02 2004 Last write time: Sun Jan 18 02:52:03 2004 Mount count: 24 Maximum mount count: 35 Last checked: Mon Dec 29 02:31:02 2003 Check interval: 15552000 (6 months) Next check after: Sat Jun 26 02:31:02 2004 Reserved blocks uid: 0 (user root) Reserved blocks gid: 0 (group root) First inode: 11 Inode size: 128 Journal UUID: Journal inode: 8 Journal device: 0x0000 First orphan inode: 0 Default directory hash: tea Directory Hash Seed: 998f28a4-9c9c-4721-a5df-8f96ea3f44ba
dir_index を解除し、fsck をかける
linkstationvine# tune2fs -O ^dir_index /dev/hda3 tune2fs 1.29 (24-Sep-2002) linkstationvine# fsck -fD /dev/hda3 fsck 1.29 (24-Sep-2002) e2fsck 1.29 (24-Sep-2002) Pass 1: Checking inodes, blocks, and sizes Inode 6848513 has INDEX_FL flag set on filesystem without htree support. Clear HTree index/mnt のマウントを解除しているため、 fsck の最中は、DIAG LED が3回点滅を繰り返すが、気にしない? yes Pass 2: Checking directory structure Pass 3: Checking directory connectivity Pass 3A: Optimizing directories Optimizing directories: 2 (略) Pass 4: Checking reference counts Pass 5: Checking group summary information /dev/hda3: ***** FILE SYSTEM WAS MODIFIED ***** /dev/hda3: 25978/14368768 files (0.3% non-contiguous), 23271518/28712171 blocks
先日「謎」とした needs_recovery であるが、
umount すると needs_recovery が消え、
mount すると needs_recovery が付いた。
納得
再起動しても特に問題は見受けられない。様子を見る