[LU-7191] sanity test_27z: FAIL: O/300000400/d21/75: no filter_fid info Created: 22/Sep/15  Updated: 14/Jul/21  Resolved: 02/Oct/15

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: None
Fix Version/s: Lustre 2.8.0

Type: Bug Priority: Minor
Reporter: Maloo Assignee: Lai Siyao
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Related
is related to LU-7009 Testing DNE on ZFS Resolved
Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

This issue was created by maloo for Lai Siyao <lai.siyao@intel.com>

This issue relates to the following test suite run: https://testing.hpdd.intel.com/test_sets/58b828fe-5db0-11e5-80c4-5254006e85c2.

The sub-test test_27z failed with the following error:

test_27z failed with 5

Please provide additional information about the failure here.

Info required for matching: sanity 27z



 Comments   
Comment by Andreas Dilger [ 22/Sep/15 ]

Please provide a more useful summary and description for this bug.

Comment by Lai Siyao [ 23/Sep/15 ]

The cause of this failure is:

  • ZFS uses LPU64 as ost object name, see osd_get_idx_for_ost_obj().
  • LDISKFS uses LPX64i as ost object name if create is not from MDT0, see osd_oi_name().

so to fix this, sanity 27z function check_set_oid() should always use LPU64 to check obj if FSTYPE is ZFS.

Comment by Lai Siyao [ 23/Sep/15 ]

test log is like this:

== sanity test 27z: check SEQ/OID on the MDT and OST filesystems == 14:58:06 (1442501886)
striped dir -i3 -c2 /mnt/lustre/d27z.sanity
1+0 records in
1+0 records out
1048576 bytes (1.0 MB) copied, 0.0243793 s, 43.0 MB/s
8+0 records in
8+0 records out
8388608 bytes (8.4 MB) copied, 12.6627 s, 662 kB/s
check file /mnt/lustre/d27z.sanity/f27z.sanity-1
FID seq 0x2c0000404, oid 0x49b ver 0x0
LOV seq 0x2c0000404, oid 0x49b, count: 1
want: stripe:0 ost:0 oid:117/0x75 seq:0x300000400
CMD: shadow-35vm4 grep -c /mnt/ost1' ' /proc/mounts
Stopping /mnt/ost1 (opts:) on shadow-35vm4
CMD: shadow-35vm4 umount -d /mnt/ost1
CMD: shadow-35vm4 lsmod | grep lnet > /dev/null && lctl dl | grep ' ST '
CMD: shadow-35vm4 ! zpool list -H lustre-ost1 >/dev/null 2>&1 ||
			grep -q ^lustre-ost1/ /proc/mounts ||
			zpool export  lustre-ost1
CMD: shadow-35vm4 zpool list -H lustre-ost1 >/dev/null 2>&1 ||
			zpool import -f -o cachefile=none -d /dev/lvm-Role_OSS lustre-ost1
CMD: shadow-35vm4 zfs get -H -o value canmount lustre-ost1/ost1
CMD: shadow-35vm4 zfs get -H -o value mountpoint lustre-ost1/ost1
CMD: shadow-35vm4 zfs set canmount=noauto lustre-ost1/ost1
CMD: shadow-35vm4 zfs set mountpoint=legacy lustre-ost1/ost1
CMD: shadow-35vm4 mount -t zfs lustre-ost1/ost1 /mnt/ost1
CMD: shadow-35vm4 ll_decode_filter_fid /mnt/ost1/O/300000400/d21/75
shadow-35vm4: /mnt/ost1/O/300000400/d21/75: error reading fid: No such file or directory
CMD: shadow-35vm4 umount /mnt/ost1
CMD: shadow-35vm4 zfs set mountpoint=/lustre-ost1/ost1 lustre-ost1/ost1
CMD: shadow-35vm4 zfs set canmount=off lustre-ost1/ost1
CMD: shadow-35vm4 ! zpool list -H lustre-ost1 >/dev/null 2>&1 ||
			grep -q ^lustre-ost1/ /proc/mounts ||
			zpool export  lustre-ost1
CMD: shadow-35vm4 mkdir -p /mnt/ost1
CMD: shadow-35vm4 zpool list -H lustre-ost1 >/dev/null 2>&1 ||
			zpool import -f -o cachefile=none -d /dev/lvm-Role_OSS lustre-ost1
Starting ost1:   lustre-ost1/ost1 /mnt/ost1
CMD: shadow-35vm4 mkdir -p /mnt/ost1; mount -t lustre   		                   lustre-ost1/ost1 /mnt/ost1
CMD: shadow-35vm4 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-35vm4 zfs get -H -o value lustre:svname 		                           lustre-ost1/ost1 2>/dev/null
Started lustre-OST0000
 sanity test_27z: @@@@@@ FAIL: O/300000400/d21/75: no filter_fid info 
Comment by Gerrit Updater [ 23/Sep/15 ]

Lai Siyao (lai.siyao@intel.com) uploaded a new patch: http://review.whamcloud.com/16605
Subject: LU-7191 test: sanity 27z failed on DNE with ZFS
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 71cb52b999eed049807b6f13d9661f5fc087d0fb

Comment by Gerrit Updater [ 02/Oct/15 ]

Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/16605/
Subject: LU-7191 test: sanity 27z failed on DNE with ZFS
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: c3c215a8c07ac2aa016e564fdb87373a4cc2063a

Comment by Joseph Gmitter (Inactive) [ 02/Oct/15 ]

Landed for 2.8.0

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