Details
-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
None
-
None
-
3
-
9223372036854775807
Description
This issue was created by maloo for Lai Siyao <lai.siyao@whamcloud.com>
This issue relates to the following test suite run: https://testing.whamcloud.com/test_sets/aa52d7cc-8fa8-11e8-8ee3-52540065bddc
== sanity-lfsck test 29b: LFSCK can repair bad nlink count (2) ======================================= 22:03:53 (1532469833)
#####
The object's nlink attribute is smaller than the object's known
name entries count. The LFSCK will repair the object's nlink
attribute to match the known name entries count
#####
rm: cannot remove '/mnt/lustre/.lustre/lost+found/MDT0000/[0x200003ab2:0xa0:0x0]-P-0': Directory not empty
rm: cannot remove '/mnt/lustre/.lustre/lost+found/MDT0001/[0x2400032e2:0xb:0x0]-P-0': Directory not empty
Inject failure stub on MDT0 to simulate the case that foo's
nlink attribute is smaller than its name entries count.
CMD: trevis-8vm4 /usr/sbin/lctl set_param fail_loc=0x1626
fail_loc=0x1626
CMD: trevis-8vm4 /usr/sbin/lctl set_param fail_loc=0
fail_loc=0
Trigger namespace LFSCK to repair the nlink count
CMD: trevis-8vm4 /usr/sbin/lctl lfsck_start -M lustre-MDT0000 -t namespace -r -A
Started LFSCK on the device lustre-MDT0000: scrub namespace
CMD: trevis-8vm4 /usr/sbin/lctl lfsck_query -t namespace -M lustre-MDT0000 -w |
awk '/^namespace_mdts_completed/
'
https://testing.whamcloud.com/test_logs/aa84723c-8fa8-11e8-8ee3-52540065bddc/show_text shows client2 hung and rebooted.