== conf-sanity test 300: a target scan finds every object, lfind answers over it ========================================================== 03:47:11 (1788940031) start mds service on oleg249-server /home/green/git/lustre-release/lustre/tests/test-framework.sh: line 1048: echo: write error: Device or resource busy Loading modules from /home/green/git/lustre-release/lustre detected 4 online CPUs by sysfs MODOPTS_LIBCFS= Force libcfs to create 2 CPU partitions ptlrpc/ptlrpc options: 'lbug_on_grant_miscount=1' quota/lquota options: 'hash_lqs_cur_bits=3' mdt/mdt options: 'mdt_enable_flr_ec=1' ln: failed to create symbolic link '/sbin/.libs': Read-only file system loading modules on: 'oleg249-server' oleg249-server: oleg249-server.virtnet: executing load_modules_local oleg249-server: /home/green/git/lustre-release/lustre/tests/test-framework.sh: line 1048: echo: write error: Device or resource busy oleg249-server: Loading modules from /home/green/git/lustre-release/lustre oleg249-server: detected 4 online CPUs by sysfs oleg249-server: MODOPTS_LIBCFS= oleg249-server: Force libcfs to create 2 CPU partitions oleg249-server: ptlrpc/ptlrpc options: 'lbug_on_grant_miscount=1' oleg249-server: quota/lquota options: 'hash_lqs_cur_bits=3' oleg249-server: mdt/mdt options: 'mdt_enable_flr_ec=1' Start mds1: mount -t lustre -o localrecov /dev/mapper/mds1_flakey /mnt/lustre-mds1 oleg249-server: oleg249-server.virtnet: executing set_default_debug -1 all pdsh@oleg249-client: oleg249-server: ssh exited with exit code 1 Started lustre-MDT0000 start mds service on oleg249-server Start mds2: mount -t lustre -o localrecov /dev/mapper/mds2_flakey /mnt/lustre-mds2 oleg249-server: oleg249-server.virtnet: executing set_default_debug -1 all pdsh@oleg249-client: oleg249-server: ssh exited with exit code 1 Started lustre-MDT0001 oleg249-client.virtnet: executing wait_import_state_mount FULL mdc.lustre-MDT0000-mdc-*.mds_server_uuid 1475 0 oleg249-client.virtnet: executing wait_import_state_mount FULL mdc.lustre-MDT0001-mdc-*.mds_server_uuid 1475 0 start ost1 service on oleg249-server Start ost1: mount -t lustre -o localrecov /dev/mapper/ost1_flakey /mnt/lustre-ost1 seq.cli-lustre-OST0000-super.width=65536 oleg249-server: oleg249-server.virtnet: executing set_default_debug -1 all pdsh@oleg249-client: oleg249-server: ssh exited with exit code 1 Started lustre-OST0000 oleg249-client.virtnet: executing wait_import_state_mount (FULL|IDLE) osc.lustre-OST0000-osc-[-0-9a-f]*.ost_server_uuid 1475 0 mount lustre on /mnt/lustre..... Starting client: oleg249-client.virtnet: -o user_xattr,flock 192.168.202.149@tcp:/lustre /mnt/lustre total: 100 open/close in 3.16 seconds: 31.60 ops/second striped dir -i0 -c1 -H all_char /mnt/lustre/d300.conf-sanity/subdir Stopping clients: oleg249-client.virtnet /mnt/lustre (opts:) Stopping client oleg249-client.virtnet /mnt/lustre opts: Stopping clients: oleg249-client.virtnet /mnt/lustre2 (opts:) Stopping /mnt/lustre-mds1 (opts:-f) on oleg249-server Stopping /mnt/lustre-mds2 (opts:-f) on oleg249-server Stopping /mnt/lustre-ost1 (opts:-f) on oleg249-server test0 @1788940201: llapi_scan_device delivers records off the target .......... pass test1 @1788940201: llapi_scan_device is the same answer at any thread count ... pass test2 @1788940201: lfsp_want holds back what the consumer did not ask for ..... pass test3 @1788940201: lfsp_filter rejects an object before its xattrs are read ... pass test4 @1788940201: a consumer can stop the scan and hear its own value back ... pass test5 @1788940201: the objects a namespace never shows are held back by default pass test6 @1788940201: bad arguments are refused, not crashed on .................. pass test0 @1788940203: llapi_scan_device delivers records off the target .......... pass test1 @1788940203: llapi_scan_device is the same answer at any thread count ... pass test2 @1788940203: lfsp_want holds back what the consumer did not ask for ..... pass test3 @1788940203: lfsp_filter rejects an object before its xattrs are read ... pass test4 @1788940203: a consumer can stop the scan and hear its own value back ... pass test5 @1788940203: the objects a namespace never shows are held back by default pass test6 @1788940203: bad arguments are refused, not crashed on .................. pass scanned 109 objects; found all 102 visible FIDs lfind --type f found all 100 files oleg249-server: lfind: name one target, not 2 oleg249-server: Usage: lfind [--device DEVICE | --target NAME | --local] [--internal] oleg249-server: [--search DIRS] [--fid2path MOUNT | --paths] [FILTER]... [DEVICE] oleg249-server: oleg249-server: Find objects on a Lustre target by their attributes, reading the target oleg249-server: directly. The target is opened read-only and need not be mounted. oleg249-server: oleg249-server: This is a server command: run it on the MDS or OSS that holds the target. oleg249-server: On a client, use lfs find. oleg249-server: oleg249-server: --device DEVICE a block device, disk image or snapshot to scan, or oleg249-server: a pool/dataset name for a ZFS target oleg249-server: --target NAME a target mounted on this node, by name (fsname-MDT0000) oleg249-server: --local every Lustre target this node serves oleg249-server: --internal also report the target's own objects, not just the oleg249-server: ones a namespace can reach oleg249-server: --search DIRS directories to search for a ZFS target's pool devices, oleg249-server: colon-separated; default /dev oleg249-server: --paths print pathnames instead of FIDs, composed from the oleg249-server: target's own directory entries. Needs no mount, so it oleg249-server: works on a filesystem that is entirely down. An MDT oleg249-server: target only oleg249-server: --fid2path MOUNT print pathnames instead of FIDs, resolving each match oleg249-server: through MOUNT, a client mount of the same filesystem oleg249-server: -h, --help print this message and exit oleg249-server: oleg249-server: The filters are lfs find's; see lfs-find(1) for all of them. What differs oleg249-server: is in lfind(8): one invocation covers one target, the output is a FID oleg249-server: unless --paths or --fid2path is given -- a target holds names and parent oleg249-server: FIDs, not paths -- and a filter the target cannot answer is oleg249-server: refused rather than quietly matching nothing. pdsh@oleg249-client: oleg249-server: ssh exited with exit code 1 oleg249-server: lfind: --device given twice oleg249-server: Usage: lfind [--device DEVICE | --target NAME | --local] [--internal] oleg249-server: [--search DIRS] [--fid2path MOUNT | --paths] [FILTER]... [DEVICE] oleg249-server: oleg249-server: Find objects on a Lustre target by their attributes, reading the target oleg249-server: directly. The target is opened read-only and need not be mounted. oleg249-server: oleg249-server: This is a server command: run it on the MDS or OSS that holds the target. oleg249-server: On a client, use lfs find. oleg249-server: oleg249-server: --device DEVICE a block device, disk image or snapshot to scan, or oleg249-server: a pool/dataset name for a ZFS target oleg249-server: --target NAME a target mounted on this node, by name (fsname-MDT0000) oleg249-server: --local every Lustre target this node serves oleg249-server: --internal also report the target's own objects, not just the oleg249-server: ones a namespace can reach oleg249-server: --search DIRS directories to search for a ZFS target's pool devices, oleg249-server: colon-separated; default /dev oleg249-server: --paths print pathnames instead of FIDs, composed from the oleg249-server: target's own directory entries. Needs no mount, so it oleg249-server: works on a filesystem that is entirely down. An MDT oleg249-server: target only oleg249-server: --fid2path MOUNT print pathnames instead of FIDs, resolving each match oleg249-server: through MOUNT, a client mount of the same filesystem oleg249-server: -h, --help print this message and exit oleg249-server: oleg249-server: The filters are lfs find's; see lfs-find(1) for all of them. What differs oleg249-server: is in lfind(8): one invocation covers one target, the output is a FID oleg249-server: unless --paths or --fid2path is given -- a target holds names and parent oleg249-server: FIDs, not paths -- and a filter the target cannot answer is oleg249-server: refused rather than quietly matching nothing. pdsh@oleg249-client: oleg249-server: ssh exited with exit code 1 --internal added 256 objects Checking servers environments Checking clients oleg249-client.virtnet environments /home/green/git/lustre-release/lustre/tests/test-framework.sh: line 1048: echo: write error: Device or resource busy Loading modules from /home/green/git/lustre-release/lustre detected 4 online CPUs by sysfs MODOPTS_LIBCFS= Force libcfs to create 2 CPU partitions loading modules on: 'oleg249-server' oleg249-server: oleg249-server.virtnet: executing load_modules_local oleg249-server: /home/green/git/lustre-release/lustre/tests/test-framework.sh: line 1048: echo: write error: Device or resource busy oleg249-server: Loading modules from /home/green/git/lustre-release/lustre oleg249-server: detected 4 online CPUs by sysfs oleg249-server: MODOPTS_LIBCFS= oleg249-server: Force libcfs to create 2 CPU partitions Setup mgs, mdt, osts Start mds1: mount -t lustre -o localrecov /dev/mapper/mds1_flakey /mnt/lustre-mds1 oleg249-server: oleg249-server.virtnet: executing set_default_debug -1 all pdsh@oleg249-client: oleg249-server: ssh exited with exit code 1 Started lustre-MDT0000 Start mds2: mount -t lustre -o localrecov /dev/mapper/mds2_flakey /mnt/lustre-mds2 oleg249-server: oleg249-server.virtnet: executing set_default_debug -1 all pdsh@oleg249-client: oleg249-server: ssh exited with exit code 1 Started lustre-MDT0001 Start ost1: mount -t lustre -o localrecov /dev/mapper/ost1_flakey /mnt/lustre-ost1 seq.cli-lustre-OST0000-super.width=65536 oleg249-server: oleg249-server.virtnet: executing set_default_debug -1 all pdsh@oleg249-client: oleg249-server: ssh exited with exit code 1 Started lustre-OST0000 Start ost2: mount -t lustre -o localrecov /dev/mapper/ost2_flakey /mnt/lustre-ost2 seq.cli-lustre-OST0001-super.width=65536 oleg249-server: oleg249-server.virtnet: executing set_default_debug -1 all pdsh@oleg249-client: oleg249-server: ssh exited with exit code 1 Commit the device label on /dev/mapper/ost2_flakey Started lustre-OST0001 mount lustre on /mnt/lustre..... Starting client: oleg249-client.virtnet: -o user_xattr,flock 192.168.202.149@tcp:/lustre /mnt/lustre Starting client oleg249-client.virtnet: -o user_xattr,flock 192.168.202.149@tcp:/lustre /mnt/lustre Started clients oleg249-client.virtnet: 192.168.202.149@tcp:/lustre on /mnt/lustre type lustre (rw,flock,checksum,encrypt,lazystatfs,lruresize,nolock,statfs_project,nosync_on_close,nouser_fid2path,user_xattr,verbose) Using TIMEOUT=20 osc.lustre-OST0000-osc-ffff91b705cbd800.idle_timeout=debug osc.lustre-OST0001-osc-ffff91b705cbd800.idle_timeout=debug setting jobstats to procname_uid Setting lustre.sys.jobid_var from disable to procname_uid Waiting 90s for 'procname_uid' Updated after 4s: want 'procname_uid' got 'procname_uid' disable quota as required