[LU-11180] sanity-lfsck test_29b failed Created: 26/Jul/18  Updated: 26/Jul/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 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/

{ print \$2 }

'

https://testing.whamcloud.com/test_logs/aa84723c-8fa8-11e8-8ee3-52540065bddc/show_text shows client2 hung and rebooted.


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