Details
-
Bug
-
Resolution: Fixed
-
Blocker
-
Lustre 2.4.0
-
3
-
7618
Description
I found this problem when I was trying to fix some DNE problem. But it turns out this problem exists on single MDT as well. This is easy to reproduce this script
LOAD=y sh llmount.sh tar -jxvf disk1_8-ldiskfs.tar.bz2 cp ./mdt /tmp/lustre-mdt1 cp ./ost /tmp/lustre-ost1 ../utils/tunefs.lustre --writeconf --mgsnode=testnode /tmp/lustre-mdt1 e2fsck -fnvd /tmp/lustre-mdt1 ../utils/tunefs.lustre --writeconf --mgsnode=testnode /tmp/lustre-ost1 mount -t lustre -o loop /tmp/lustre-mdt1 /mnt/mds1 mount -t lustre -o loop /tmp/lustre-ost1 /mnt/ost1 mount -t lustre testnode:/t32fs /mnt/lustre echo sleep 5 seconds sleep 5 umount /mnt/lustre umount /mnt/ost1 umount /mnt/mds1 e2fsck -fnvd /tmp/lustre-mdt1 sh llmountcleanup.sh
here is the e2fsck result
e2fsck -fnvd /tmp/lustre-mdt1 + e2fsck -fnvd /tmp/lustre-mdt1 e2fsck 1.42.3.wc3 (15-Aug-2012) Pass 1: Checking inodes, blocks, and sizes Deleted inode 14 has zero dtime. Fix? no Deleted inode 15 has zero dtime. Fix? no Deleted inode 16 has zero dtime. Fix? no Deleted inode 20 has zero dtime. Fix? no Pass 2: Checking directory structure Pass 3: Checking directory connectivity Pass 4: Checking reference counts Pass 5: Checking group summary information Block bitmap differences: -(16104--16112) -(16115--16119) Fix? no Inode bitmap differences: -(14--16) -20 Fix? no t32fs-MDT0000: ********** WARNING: Filesystem still has errors ********** 756 inodes used (0.76%) 6 non-contiguous files (0.8%) 0 non-contiguous directories (0.0%) # of inodes with ind/dind/tind blocks: 0/0/0 16955 blocks used (33.91%) 0 bad blocks 1 large file 181 regular files 56 directories 0 character device files 0 block device files 0 fifos 6 links 506 symbolic links (506 fast symbolic links) 0 sockets -------- 749 files sh llmountcleanup.sh + sh llmountcleanup.sh Stopping clients: testnode /mnt/lustre (opts:-f) Stopping clients: testnode /mnt/lustre2 (opts:-f) modules unloaded.
And these inodes turns out to be the old config log
/mnt/mds1/CONFIGS: 13 mountdata 14 t32fs-client 15 t32fs-MDT0000 20 t32fs-OST0000 16 t32fs-params