[LU-7116] sanity test_17m: e2fsck should not report error upon short/long symlink MDT: rc=4 Created: 08/Sep/15  Updated: 10/Dec/18

Status: Open
Project: Lustre
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: Maloo Assignee: WC Triage
Resolution: Unresolved Votes: 0
Labels: None

Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

This issue was created by maloo for Saurabh Tandan <saurabh.tandan@intel.com>

This issue relates to the following test suite run: https://testing.hpdd.intel.com/test_sets/13000e1e-53cc-11e5-8f2c-5254006e85c2.

The sub-test test_17m failed with the following error:

e2fsck should not report error upon  short/long symlink MDT: rc=4

The sanity test_17m failed. May be because I ran the tests in different order (not the default order). My testlist consists of tests in following order:

testlist=conf-sanity,ost-pools,recovery-small,replay-dual,replay-ost-single,
replay-single,replay-vbr,sanity,sanity-benchmark,sanity-gss,sanity-krb5,
sanity-quota,sanityn

Not sure if it is dup of LU-3129

== sanity test 17m: run e2fsck against MDT which contains short/long symlink == 05:46:30 (1441431990)
striped dir -i1 -c2 /mnt/lustre/d17m.sanitym
create 512 short and long symlink files under /mnt/lustre/d17m.sanitym
erase them
Waiting for local destroys to complete
recreate the 512 symlink files with a shorter string
stop and checking mds2: e2fsck -fnvd /dev/lvm-Role_MDS/P2
CMD: shadow-48vm7 grep -c /mnt/mds2' ' /proc/mounts
Stopping /mnt/mds2 (opts:) on shadow-48vm7
CMD: shadow-48vm7 umount -d /mnt/mds2
CMD: shadow-48vm7 lsmod | grep lnet > /dev/null && lctl dl | grep ' ST '
CMD: shadow-48vm7 e2fsck -fnvd /dev/lvm-Role_MDS/P2
shadow-48vm7: e2fsck 1.42.12.wc1 (15-Sep-2014)
shadow-48vm7: [QUOTA WARNING] Usage inconsistent for ID 0:actual (22966272, 1147) != expected (22978560, 1150)
shadow-48vm7: [QUOTA WARNING] Usage inconsistent for ID 0:actual (22966272, 1147) != expected (22978560, 1150)
Pass 1: Checking inodes, blocks, and sizes
Deleted inode 32805 has zero dtime.  Fix? no

Deleted inode 32806 has zero dtime.  Fix? no

Deleted inode 32807 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:  -(50283--50285)
Fix? no

Inode bitmap differences:  -(32805--32807)
Fix? no

Directories count wrong for group #1 (21, counted=18).
Fix? no

Update quota info for quota type 0? no

Update quota info for quota type 1? no


lustre-MDT0001: ********** WARNING: Filesystem still has errors **********


        1159 inodes used (0.11%, out of 1048576)
          39 non-contiguous files (3.4%)
           2 non-contiguous directories (0.2%)
             # of inodes with ind/dind/tind blocks: 18/2/0
      159525 blocks used (30.43%, out of 524288)
           0 bad blocks
           1 large file

         459 regular files
         167 directories
           0 character device files
           0 block device files
           0 fifos
           0 links
         521 symbolic links (261 fast symbolic links)
           0 sockets
------------
        1147 files
CMD: shadow-48vm7 mkdir -p /mnt/mds2
CMD: shadow-48vm7 test -b /dev/lvm-Role_MDS/P2
Starting mds2:   /dev/lvm-Role_MDS/P2 /mnt/mds2
CMD: shadow-48vm7 mkdir -p /mnt/mds2; mount -t lustre   		                   /dev/lvm-Role_MDS/P2 /mnt/mds2
CMD: shadow-48vm7 PATH=/usr/lib64/lustre/tests:/usr/lib/lustre/tests:/usr/lib64/lustre/tests:/opt/iozone/bin:/opt/iozone/bin:/usr/lib64/lustre/tests/mpi:/usr/lib64/lustre/tests/racer:/usr/lib64/lustre/../lustre-iokit/sgpdd-survey:/usr/lib64/lustre/tests:/usr/lib64/lustre/utils/gss:/usr/lib64/lustre/utils:/usr/lib64/qt-3.3/bin:/usr/lib64/openmpi/bin:/usr/bin:/bin:/usr/sbin:/sbin::/sbin:/sbin:/bin:/usr/sbin: NAME=autotest_config sh rpc.sh set_default_debug \"vfstrace rpctrace dlmtrace neterror ha config ioctl super lfsck\" \"all -lnet -lnd -pinger\" 4 
CMD: shadow-48vm7 e2label /dev/lvm-Role_MDS/P2 2>/dev/null
Started lustre-MDT0001
 sanity test_17m: @@@@@@ FAIL: e2fsck should not report error upon  short/long symlink MDT: rc=4 
  Trace dump:


 Comments   
Comment by Andreas Dilger [ 03/Jun/16 ]

There is the patch http://review.whamcloud.com/8982 to run e2fsck after every test, which would help narrow down the source of this corruption.

Generated at Sat Feb 10 02:06:07 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.