-----============= acceptance-small: sanityn ============----- Sun May 17 21:38:17 EDT 2026 mgs: Rocky Linux release 8.10 (Green Obsidian) MGS_OS_ID_LIKE=rhel centos fedora rocky MGS_OS_VERSION_ID=8.10 MGS_OS_ID=rocky MGS_OS_VERSION_CODE=134873088 mds1: Rocky Linux release 8.10 (Green Obsidian) MDS1_OS_VERSION_ID=8.10 MDS1_OS_VERSION_CODE=134873088 MDS1_OS_ID_LIKE=rhel centos fedora rocky MDS1_OS_ID=rocky ost1: Rocky Linux release 8.10 (Green Obsidian) OST1_OS_VERSION_CODE=134873088 OST1_OS_ID_LIKE=rhel centos fedora rocky OST1_OS_VERSION_ID=8.10 OST1_OS_ID=rocky client: Rocky Linux release 8.10 (Green Obsidian) CLIENT_OS_ID=rocky CLIENT_OS_VERSION_CODE=134873088 CLIENT_OS_VERSION_ID=8.10 CLIENT_OS_ID_LIKE=rhel centos fedora rocky oleg219-server: ls: cannot access '/home/green/git/lustre-release/lustre/tests/except/sanityn.*ex': No such file or directory excepting tests: 40a skipping tests SLOW=no: 33a === sanityn: start setup 21:38:46 (1779068326) === Starting client oleg219-client.virtnet: -o user_xattr,flock 192.168.202.119@tcp:/lustre /mnt/lustre2 Mount client oleg219-client.virtnet: mount -t lustre -o user_xattr,flock 192.168.202.119@tcp:/lustre /mnt/lustre2 Started clients oleg219-client.virtnet: 192.168.202.119@tcp:/lustre on /mnt/lustre2 type lustre (rw,checksum,encrypt,flock,lazystatfs,lruresize,nolock,statfs_project,nouser_fid2path,user_xattr,verbose) oleg219-client.virtnet: executing check_config_client /mnt/lustre oleg219-client.virtnet: Checking config lustre mounted on /mnt/lustre Checking servers environments Checking clients oleg219-client.virtnet environments Using TIMEOUT=20 osc.lustre-OST0000-osc-ffff91e083d04800.idle_timeout=debug osc.lustre-OST0000-osc-ffff91e091703000.idle_timeout=debug osc.lustre-OST0001-osc-ffff91e083d04800.idle_timeout=debug osc.lustre-OST0001-osc-ffff91e091703000.idle_timeout=debug disable quota as required oleg219-server: oleg219-server.virtnet: executing set_default_debug vfstrace rpctrace dlmtrace neterror ha config ioctl super lfsck all osd-ldiskfs.track_declares_assert=1 === sanityn: finish setup 21:39:28 (1779068368) === 1+0 records in 1+0 records out 1048576 bytes (1.0 MB, 1.0 MiB) copied, 0.052419 s, 20.0 MB/s running as uid/gid/euid/egid 500/500/500/500, groups: 500 [true] running as uid/gid/euid/egid 500/500/500/500, groups: 500 [touch] [/mnt/lustre/d0_runas_test/f7451] == sanityn test 119a: ltrash_purge: verify dry-run mode and --empty mode ========================================================== 21:39:34 (1779068374) mdd.lustre-MDT0000.trash_can_enable=1 mdd.lustre-MDT0000.trash_can_type=plain Trash Can Type: plain f ltrash_purge configuration for /mnt/lustre: - MDT_usage=90.0%, OST_usage=90.0%, max_age=604800(s) - scan_interval=60(s), threads=4, del_count=10000 - enable_stats=off, auto_ost=off, auto_mdt=off - mode=dry-run Current space usage in lustre: - Max MDT usage: 0.1%, Max OST usage: 0.1% Start scanning and purging at 1779068384: ltrash_purge ended with exit code: 0 f d119a.sanityn Empty mode is enabled, all the filters are ignored ltrash_purge configuration for /mnt/lustre: - MDT_usage=90.0%, OST_usage=90.0%, max_age=604800(s) - scan_interval=60(s), threads=4, del_count=10000 - enable_stats=on, auto_ost=off, auto_mdt=off - mode=empty Start scanning and purging at 1779068385: Purged: /mnt/lustre/.ltrash/MDT0000/0x200000007:0x1:0x0/d119a.sanityn/f (size=0 bytes) Purged: /mnt/lustre/.ltrash/MDT0000/0x200000007:0x1:0x0/d119a.sanityn (size=4096 bytes) Scan and purge completed successfully at 1779068386: - scanned 9 objs, purged 2 objs, failed 0 objs, freed 4096 bytes - work rate 31.86 objs/sec ltrash_purge ended with exit code: 0 mdd.lustre-MDT0000.trash_can_enable=0 mdd.lustre-MDT0000.trash_can_type=uid PASS 119a (20s) == sanityn test 119b: ltrash_purge: space-based purging with --auto-ost ========================================================== 21:39:54 (1779068394) mdd.lustre-MDT0000.trash_can_enable=1 mdd.lustre-MDT0000.trash_can_type=plain Trash Can Type: plain Waiting for orphan cleanup... osp.lustre-OST0000-osc-MDT0000.old_sync_processed osp.lustre-OST0001-osc-MDT0000.old_sync_processed wait 40 secs maximumly for oleg219-server mds-ost sync done. Waiting for MDT destroys to complete OST0 has highest usage: 1% Increase OST0 space usage by creating 74 MB /mnt/lustre/d119b.sanityn/f1 74+0 records in 74+0 records out 77594624 bytes (78 MB, 74 MiB) copied, 3.04826 s, 25.5 MB/s Waiting for orphan cleanup... osp.lustre-OST0000-osc-MDT0000.old_sync_processed osp.lustre-OST0001-osc-MDT0000.old_sync_processed wait 40 secs maximumly for oleg219-server mds-ost sync done. Stripe /mnt/lustre/d119b.sanityn/f2 across all OSTs f2 Test --auto-ost with high threshold (no OSTs selected) ltrash_purge configuration for /mnt/lustre: - MDT_usage=0.0%, OST_usage=99.0%, max_age=0(s) - scan_interval=60(s), threads=4, del_count=10000 - enable_stats=off, auto_ost=on, auto_mdt=off - mode=dry-run trash projid is 4294967294 Trash can usage on projid 4294967294: blocks 0 inodes 1 MDT0000 stats - blocks=353529, free=353102, avail=317399, files=1024000, ffree=1023718 - usage=0.1%, i_usage=0.0% OST0000 stats - blocks=958279, free=938982, avail=881428, files=262144, ffree=261843 - usage=2.1%, i_usage=0.1% OST0001 stats - blocks=958279, free=957924, avail=901400, files=262144, ffree=261843 - usage=0.0%, i_usage=0.1% Current space usage in lustre: - Max MDT usage: 0.1%, Max OST usage: 2.1% OST0000 (lustre-OST0000_UUID): usage=2.1%, i_usage=0.1%, max=2.1% OST0001 (lustre-OST0001_UUID): usage=0.0%, i_usage=0.1%, max=0.1% No OSTs exceed threshold 99.0% Start scanning and purging at 1779068424: Skip: /mnt/lustre/.ltrash is not a trash file Purging object: /mnt/lustre/.ltrash/MDT0000/0x200000401:0x5:0x0/f2 dry-run: would purge /mnt/lustre/.ltrash/MDT0000/0x200000401:0x5:0x0/f2 (size=0) Cannot read unrm xattr for '/mnt/lustre/.ltrash/MDT0000/0x200000007:0x1:0x0' Cannot read unrm xattr for '/mnt/lustre/.ltrash/MDT0000/0x200000401:0x5:0x0' Cannot read unrm xattr for '/mnt/lustre/.ltrash/MDT0000' Skip: /mnt/lustre/.ltrash is not a trash directory ltrash_purge ended with exit code: 0 f2 Test --auto-ost with low threshold (Only this OST selected) ltrash_purge configuration for /mnt/lustre: - MDT_usage=0.0%, OST_usage=1.0%, max_age=0(s) - scan_interval=60(s), threads=4, del_count=10000 - enable_stats=off, auto_ost=on, auto_mdt=off - mode=dry-run trash projid is 4294967294 Trash can usage on projid 4294967294: blocks 0 inodes 1 MDT0000 stats - blocks=353529, free=353102, avail=317399, files=1024000, ffree=1023718 - usage=0.1%, i_usage=0.0% OST0000 stats - blocks=958279, free=938982, avail=881428, files=262144, ffree=261843 - usage=2.1%, i_usage=0.1% OST0001 stats - blocks=958279, free=957924, avail=901400, files=262144, ffree=261843 - usage=0.0%, i_usage=0.1% Current space usage in lustre: - Max MDT usage: 0.1%, Max OST usage: 2.1% OST0000 (lustre-OST0000_UUID): usage=2.1%, i_usage=0.1%, max=2.1% OST0001 (lustre-OST0001_UUID): usage=0.0%, i_usage=0.1%, max=0.1% - OST0000 (lustre-OST0000_UUID) with usage 2.1% Auto-selected 1 OST(s) for purging Start scanning and purging at 1779068424: Skip: /mnt/lustre/.ltrash is not a trash file File '/mnt/lustre/.ltrash/MDT0000/0x200000401:0x5:0x0/f2' matches OST filter Purging object: /mnt/lustre/.ltrash/MDT0000/0x200000401:0x5:0x0/f2 dry-run: would purge /mnt/lustre/.ltrash/MDT0000/0x200000401:0x5:0x0/f2 (size=0) Cannot read unrm xattr for '/mnt/lustre/.ltrash/MDT0000/0x200000007:0x1:0x0' Cannot read unrm xattr for '/mnt/lustre/.ltrash/MDT0000/0x200000401:0x5:0x0' Cannot read unrm xattr for '/mnt/lustre/.ltrash/MDT0000' Skip: /mnt/lustre/.ltrash is not a trash directory ltrash_purge ended with exit code: 0 f2 Purging files with --auto-ost (threshold: 1%) ltrash_purge configuration for /mnt/lustre: - MDT_usage=0.0%, OST_usage=1.0%, max_age=0(s) - scan_interval=60(s), threads=4, del_count=10000 - enable_stats=on, auto_ost=on, auto_mdt=off - mode=daemon Current space usage in lustre: - Max MDT usage: 0.1%, Max OST usage: 2.1% Start scanning and purging at 1779068425: Waiting 90s for '0' Purged: /mnt/lustre/.ltrash/MDT0000/0x200000401:0x5:0x0/f2 (size=0 bytes) Scan and purge completed successfully at 1779068425: - scanned 9 objs, purged 1 objs, failed 0 objs, freed 0 bytes - work rate 39.85 objs/sec Exit due to signal: Terminated Dump stats to file '/tmp/ltrash_purge_stats_7451' exiting: Terminated Statistics dump verified: purged objects # ltrash_purge statistics dump snapshot_time_secs: 1779068426 current mdt_usage: 0.13 current ost_usage: 2.14 Config: mount: /mnt/lustre auto_mdt: off mdt_usage: 0.00 auto_ost: on ost_usage: 1.00 max_age: 0 scan_interval: 60 scan_threads: 4 del_count: 10000 mode: daemon Current scan stats: scanned_objs: 9 purged_objs: 1 failed_objs: 0 freed_bytes: 0 start_time_secs: 1779068425 start_usage_mdt_pct: 0.13 start_usage_ost_pct: 2.14 end_time_secs: 1779068425 Total stats: scan_times: 1 total_scanned_objs: 9 total_purged_objs: 1 total_failed_objs: 0 total_freed_bytes: 0 Empty mode is enabled, all the filters are ignored ltrash_purge configuration for /mnt/lustre: - MDT_usage=90.0%, OST_usage=90.0%, max_age=604800(s) - scan_interval=60(s), threads=4, del_count=10000 - enable_stats=off, auto_ost=off, auto_mdt=off - mode=empty Start scanning and purging at 1779068426: ltrash_purge ended with exit code: 0 mdd.lustre-MDT0000.trash_can_enable=0 mdd.lustre-MDT0000.trash_can_type=uid PASS 119b (40s) == sanityn test 119c: ltrash_purge: age-based purging ==== 21:40:34 (1779068434) mdd.lustre-MDT0000.trash_can_enable=1 mdd.lustre-MDT0000.trash_can_type=plain Trash Can Type: plain Waiting for orphan cleanup... osp.lustre-OST0000-osc-MDT0000.old_sync_processed osp.lustre-OST0001-osc-MDT0000.old_sync_processed wait 40 secs maximumly for oleg219-server mds-ost sync done. Waiting for MDT destroys to complete Create and remove /mnt/lustre/d119c.sanityn/old_f1 and /mnt/lustre/d119c.sanityn/old_f2 Waiting 6 seconds for files becoming old Create and remove /mnt/lustre/d119c.sanityn/new_f3 old_f1 old_f2 new_f3 ltrash_purge configuration for /mnt/lustre: - MDT_usage=0.0%, OST_usage=0.0%, max_age=5(s) - scan_interval=60(s), threads=4, del_count=10000 - enable_stats=off, auto_ost=off, auto_mdt=off - mode=daemon Waiting 4s for '0' Current space usage in lustre: - Max MDT usage: 0.1%, Max OST usage: 2.1% Start scanning and purging at 1779068457: Purged: /mnt/lustre/.ltrash/MDT0000/0x200000401:0x9:0x0/old_f2 (size=5 bytes) Purged: /mnt/lustre/.ltrash/MDT0000/0x200000401:0x9:0x0/old_f1 (size=5 bytes) Exit due to signal: Terminated exiting: Terminated new_f3 Empty mode is enabled, all the filters are ignored ltrash_purge configuration for /mnt/lustre: - MDT_usage=90.0%, OST_usage=90.0%, max_age=604800(s) - scan_interval=60(s), threads=4, del_count=10000 - enable_stats=on, auto_ost=off, auto_mdt=off - mode=empty Start scanning and purging at 1779068459: Purged: /mnt/lustre/.ltrash/MDT0000/0x200000401:0x9:0x0/new_f3 (size=4 bytes) Scan and purge completed successfully at 1779068459: - scanned 11 objs, purged 1 objs, failed 0 objs, freed 4 bytes - work rate 23.34 objs/sec ltrash_purge ended with exit code: 0 mdd.lustre-MDT0000.trash_can_enable=0 mdd.lustre-MDT0000.trash_can_type=uid PASS 119c (36s) == sanityn test 119d: ltrash_purge: id-based filtering (UID/GID/PROJID) ========================================================== 21:41:10 (1779068470) using SAVE_PROJECT_SUPPORTED=0 Stopping clients: oleg219-client.virtnet /mnt/lustre (opts:) Stopping client oleg219-client.virtnet /mnt/lustre opts: Stopping clients: oleg219-client.virtnet /mnt/lustre2 (opts:) Stopping client oleg219-client.virtnet /mnt/lustre2 opts: Stopping /mnt/lustre-mds1 (opts:-f) on oleg219-server Stopping /mnt/lustre-ost1 (opts:-f) on oleg219-server Stopping /mnt/lustre-ost2 (opts:-f) on oleg219-server tune2fs 1.47.3-wc2 (11-Nov-2025) tune2fs 1.47.3-wc2 (11-Nov-2025) tune2fs 1.47.3-wc2 (11-Nov-2025) sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime) proc on /proc type proc (rw,nosuid,nodev,noexec,relatime) devtmpfs on /dev type devtmpfs (rw,nosuid,mode=755) securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime) tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev) devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000) tmpfs on /run type tmpfs (rw,nosuid,nodev,mode=755) tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,mode=755) cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,release_agent=/usr/lib/systemd/systemd-cgroups-agent,name=systemd) pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime) bpf on /sys/fs/bpf type bpf (rw,nosuid,nodev,noexec,relatime,mode=700) cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory) cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer) cgroup on /sys/fs/cgroup/net_cls,net_prio type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls,net_prio) cgroup on /sys/fs/cgroup/hugetlb type cgroup (rw,nosuid,nodev,noexec,relatime,hugetlb) cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct) cgroup on /sys/fs/cgroup/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids) cgroup on /sys/fs/cgroup/misc type cgroup (rw,nosuid,nodev,noexec,relatime,misc) cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event) cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio) cgroup on /sys/fs/cgroup/rdma type cgroup (rw,nosuid,nodev,noexec,relatime,rdma) cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset) cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices) none on /sys/kernel/tracing type tracefs (rw,relatime) configfs on /sys/kernel/config type configfs (rw,relatime) /dev/nbd0 on / type ext4 (ro,relatime,stripe=32) rpc_pipefs on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw,relatime) debugfs on /sys/kernel/debug type debugfs (rw,relatime) mqueue on /dev/mqueue type mqueue (rw,relatime) hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime,pagesize=2M) none on /mnt type ramfs (rw,relatime) none on /var/lib/stateless/writable type tmpfs (rw,relatime) /dev/vda on /home/green/git/lustre-release type squashfs (ro,relatime) none on /var/cache/man type tmpfs (rw,relatime) none on /var/log type tmpfs (rw,relatime) none on /var/lib/dbus type tmpfs (rw,relatime) none on /tmp type tmpfs (rw,relatime) none on /var/lib/dhclient type tmpfs (rw,relatime) none on /var/tmp type tmpfs (rw,relatime) none on /var/lib/NetworkManager type tmpfs (rw,relatime) none on /var/lib/systemd/random-seed type tmpfs (rw,relatime) none on /var/spool type tmpfs (rw,relatime) none on /var/lib/nfs type tmpfs (rw,relatime) none on /var/lib/gssproxy type tmpfs (rw,relatime) none on /var/lib/logrotate type tmpfs (rw,relatime) none on /etc type tmpfs (rw,relatime) none on /var/lib/rsyslog type tmpfs (rw,relatime) none on /root/.ssh type tmpfs (rw,relatime) none on /var/lib/dhclient type tmpfs (rw,relatime) 192.168.200.253:/exports/state/oleg219-client.virtnet on /var/lib/stateless/state type nfs4 (rw,relatime,vers=4.2,rsize=1048576,wsize=1048576,namlen=255,hard,proto=tcp,timeo=600,retrans=2,sec=sys,clientaddr=192.168.202.19,local_lock=none,addr=192.168.200.253) 192.168.200.253:/exports/state/oleg219-client.virtnet/boot on /boot type nfs4 (rw,relatime,vers=4.2,rsize=1048576,wsize=1048576,namlen=255,hard,proto=tcp,timeo=600,retrans=2,sec=sys,clientaddr=192.168.202.19,local_lock=none,addr=192.168.200.253) 192.168.200.253:/exports/state/oleg219-client.virtnet/etc/kdump.conf on /etc/kdump.conf type nfs4 (rw,relatime,vers=4.2,rsize=1048576,wsize=1048576,namlen=255,hard,proto=tcp,timeo=600,retrans=2,sec=sys,clientaddr=192.168.202.19,local_lock=none,addr=192.168.200.253) sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw,relatime) tmpfs on /run/user/0 type tmpfs (rw,nosuid,nodev,relatime,size=378180k,mode=700) 192.168.200.253:/exports/testreports/63885/testresults/sanityn-special4-ldiskfs-rocky8.10_x86_64-rocky8.10_x86_64 on /tmp/testlogs type nfs4 (rw,relatime,vers=4.2,rsize=1048576,wsize=1048576,namlen=255,hard,proto=tcp,timeo=600,retrans=2,sec=sys,clientaddr=192.168.202.19,local_lock=none,addr=192.168.200.253) /dev/vda on /usr/sbin/mount.lustre type squashfs (ro,relatime) Checking servers environments Checking clients oleg219-client.virtnet environments /home/green/git/lustre-release/lustre/tests/test-framework.sh: line 1034: echo: write error: Device or resource busy /home/green/git/lustre-release/lustre/tests/test-framework.sh: line 1035: 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: 'oleg219-server' oleg219-server: oleg219-server.virtnet: executing load_modules_local oleg219-server: Loading modules from /home/green/git/lustre-release/lustre oleg219-server: /home/green/git/lustre-release/lustre/tests/test-framework.sh: line 1034: echo: write error: Device or resource busy oleg219-server: /home/green/git/lustre-release/lustre/tests/test-framework.sh: line 1035: echo: write error: Device or resource busy oleg219-server: detected 4 online CPUs by sysfs oleg219-server: MODOPTS_LIBCFS= oleg219-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 oleg219-server: oleg219-server.virtnet: executing set_default_debug vfstrace rpctrace dlmtrace neterror ha config ioctl super lfsck all pdsh@oleg219-client: oleg219-server: ssh exited with exit code 1 Started lustre-MDT0000 Start ost1: mount -t lustre -o localrecov /dev/mapper/ost1_flakey /mnt/lustre-ost1 seq.cli-lustre-OST0000-super.width=65536 oleg219-server: oleg219-server.virtnet: executing set_default_debug vfstrace rpctrace dlmtrace neterror ha config ioctl super lfsck all pdsh@oleg219-client: oleg219-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 oleg219-server: oleg219-server.virtnet: executing set_default_debug vfstrace rpctrace dlmtrace neterror ha config ioctl super lfsck all pdsh@oleg219-client: oleg219-server: ssh exited with exit code 1 Started lustre-OST0001 Starting client: oleg219-client.virtnet: -o user_xattr,flock 192.168.202.119@tcp:/lustre /mnt/lustre Starting client oleg219-client.virtnet: -o user_xattr,flock 192.168.202.119@tcp:/lustre /mnt/lustre Started clients oleg219-client.virtnet: 192.168.202.119@tcp:/lustre on /mnt/lustre type lustre (rw,checksum,encrypt,flock,lazystatfs,lruresize,nolock,statfs_project,nouser_fid2path,user_xattr,verbose) Starting client: oleg219-client.virtnet: -o user_xattr,flock 192.168.202.119@tcp:/lustre /mnt/lustre2 Starting client oleg219-client.virtnet: -o user_xattr,flock 192.168.202.119@tcp:/lustre /mnt/lustre2 Started clients oleg219-client.virtnet: 192.168.202.119@tcp:/lustre on /mnt/lustre2 type lustre (rw,checksum,encrypt,flock,lazystatfs,lruresize,nolock,statfs_project,nouser_fid2path,user_xattr,verbose) Using TIMEOUT=20 osc.lustre-OST0000-osc-ffff91e082af4800.idle_timeout=debug osc.lustre-OST0000-osc-ffff91e082de7000.idle_timeout=debug osc.lustre-OST0001-osc-ffff91e082af4800.idle_timeout=debug osc.lustre-OST0001-osc-ffff91e082de7000.idle_timeout=debug disable quota as required mdd.lustre-MDT0000.trash_can_enable=1 mdd.lustre-MDT0000.trash_can_type=uid Trash Can Type: uid Create and remove files as root Create and remove files as 500 running as uid/gid/euid/egid 500/500/500/500, groups: 500 [touch] [/mnt/lustre/d119d.sanityn/user_f1] running as uid/gid/euid/egid 500/500/500/500, groups: 500 [rm] [/mnt/lustre/d119d.sanityn/user_f1] Create and remove files with project ID Waiting for orphan cleanup... osp.lustre-OST0000-osc-MDT0000.old_sync_processed osp.lustre-OST0001-osc-MDT0000.old_sync_processed wait 40 secs maximumly for oleg219-server mds-ost sync done. Waiting for MDT destroys to complete root_f1 proj_f1 proj_f2 Testing UID-based filtering for UID=500 ltrash_purge configuration for /mnt/lustre: - MDT_usage=0.0%, OST_usage=0.0%, max_age=0(s) - scan_interval=60(s), threads=4, del_count=10000 - enable_stats=off, auto_ost=off, auto_mdt=off - mode=daemon trash projid is 4294967294 Trash can usage on projid 4294967294: blocks 4096 inodes 4 MDT0000 stats - blocks=353529, free=353100, avail=317397, files=1024000, ffree=1023708 - usage=0.1%, i_usage=0.0% OST0000 stats - blocks=958279, free=938979, avail=882455, files=262144, ffree=261841 - usage=2.1%, i_usage=0.1% Waiting 90s for '0' OST0001 stats - blocks=958279, free=957924, avail=901400, files=262144, ffree=261842 - usage=0.0%, i_usage=0.1% Current space usage in lustre: - Max MDT usage: 0.1%, Max OST usage: 2.1% Start scanning and purging at 1779068630: Skip: /mnt/lustre/.ltrash is not a trash file Purging object: /mnt/lustre/.ltrash/MDT0000/500/0x200000bd1:0x1:0x0/user_f1 Purged: /mnt/lustre/.ltrash/MDT0000/500/0x200000bd1:0x1:0x0/user_f1 (size=0 bytes) Cannot read unrm xattr for '/mnt/lustre/.ltrash/MDT0000/0x200000007:0x1:0x0' Exit due to signal: Terminated exiting: Terminated root_f1 proj_f1 proj_f2 Testing GID-based filtering for GID=500 running as uid/gid/euid/egid 500/500/500/500, groups: 500 [touch] [/mnt/lustre/d119d.sanityn/user_f2] running as uid/gid/euid/egid 500/500/500/500, groups: 500 [rm] [/mnt/lustre/d119d.sanityn/user_f2] ltrash_purge configuration for /mnt/lustre: - MDT_usage=0.0%, OST_usage=0.0%, max_age=0(s) - scan_interval=60(s), threads=4, del_count=10000 - enable_stats=off, auto_ost=off, auto_mdt=off - mode=daemon Waiting 90s for '0' Current space usage in lustre: - Max MDT usage: 0.1%, Max OST usage: 2.1% Start scanning and purging at 1779068632: Purged: /mnt/lustre/.ltrash/MDT0000/500/0x200000bd1:0x1:0x0/user_f2 (size=0 bytes) Exit due to signal: Terminated exiting: Terminated root_f1 proj_f1 Testing PROJID-based filtering for PROJID=100 ltrash_purge configuration for /mnt/lustre: - MDT_usage=0.0%, OST_usage=0.0%, max_age=0(s) - scan_interval=60(s), threads=4, del_count=10000 - enable_stats=off, auto_ost=off, auto_mdt=off - mode=daemon Current space usage in lustre: - Max MDT usage: 0.1%, Max OST usage: 2.1% Start scanning and purging at 1779068634: Waiting 90s for '0' Purged: /mnt/lustre/.ltrash/MDT0000/0/0x200000bd1:0x1:0x0/proj_f1 (size=0 bytes) Exit due to signal: Terminated exiting: Terminated proj_f2 root_f1 Empty mode is enabled, all the filters are ignored ltrash_purge configuration for /mnt/lustre: - MDT_usage=90.0%, OST_usage=90.0%, max_age=604800(s) - scan_interval=60(s), threads=4, del_count=10000 - enable_stats=off, auto_ost=off, auto_mdt=off - mode=empty Start scanning and purging at 1779068635: Purged: /mnt/lustre/.ltrash/MDT0000/0/0x200000bd1:0x1:0x0/proj_f2 (size=0 bytes) Purged: /mnt/lustre/.ltrash/MDT0000/0/0x200000bd1:0x1:0x0/root_f1 (size=6 bytes) Purged: /mnt/lustre/.ltrash/MDT0000/0/0x200000bd1:0x1:0x0 (size=4096 bytes) Purged: /mnt/lustre/.ltrash/MDT0000/500/0x200000bd1:0x1:0x0 (size=4096 bytes) ltrash_purge ended with exit code: 0 mdd.lustre-MDT0000.trash_can_enable=0 mdd.lustre-MDT0000.trash_can_type=uid PASS 119d (180s) == sanityn test 119e: ltrash_purge: verify --conf option ========================================================== 21:44:10 (1779068650) mdd.lustre-MDT0000.trash_can_enable=1 mdd.lustre-MDT0000.trash_can_type=plain Trash Can Type: plain Waiting for orphan cleanup... osp.lustre-OST0000-osc-MDT0000.old_sync_processed osp.lustre-OST0001-osc-MDT0000.old_sync_processed wait 40 secs maximumly for oleg219-server mds-ost sync done. Waiting for MDT destroys to complete f Verify actual purge with config file ltrash_purge configuration for /mnt/lustre: - MDT_usage=0.1%, OST_usage=0.0%, max_age=0(s) - scan_interval=60(s), threads=4, del_count=10000 - enable_stats=off, auto_ost=off, auto_mdt=off - mode=daemon Waiting 90s for '0' Current space usage in lustre: - Max MDT usage: 0.1%, Max OST usage: 2.1% Start scanning and purging at 1779068668: Purged: /mnt/lustre/.ltrash/MDT0000/0x200000bd1:0x7:0x0/f (size=5 bytes) Exit due to signal: Terminated exiting: Terminated mdd.lustre-MDT0000.trash_can_enable=0 mdd.lustre-MDT0000.trash_can_type=uid PASS 119e (27s) == sanityn test 119f: Run ltrash_purge on subdir mount === 21:44:37 (1779068677) mdd.lustre-MDT0000.trash_can_enable=1 mdd.lustre-MDT0000.trash_can_type=plain Trash Can Type: plain Starting client: oleg219-client.virtnet: -o user_xattr,flock 192.168.202.119@tcp:/lustre/d119f.sanityn /mnt/lustre_d119f.sanityn f119f.sanityn Empty mode is enabled, all the filters are ignored ltrash_purge configuration for /mnt/lustre_d119f.sanityn: - MDT_usage=90.0%, OST_usage=90.0%, max_age=604800(s) - scan_interval=60(s), threads=4, del_count=10000 - enable_stats=on, auto_ost=off, auto_mdt=off - mode=empty Start scanning and purging at 1779068686: Purged: /mnt/lustre_d119f.sanityn/.ltrash/MDT0000/0x200000bd1:0x9:0x0/f119f.sanityn (size=0 bytes) Scan and purge completed successfully at 1779068687: - scanned 19 objs, purged 1 objs, failed 0 objs, freed 0 bytes - work rate 15.86 objs/sec ltrash_purge ended with exit code: 0 192.168.202.119@tcp:/lustre/d119f.sanityn /mnt/lustre_d119f.sanityn lustre rw,checksum,encrypt,flock,lazystatfs,lruresize,nolock,statfs_project,nouser_fid2path,user_xattr,verbose 0 0 Stopping client oleg219-client.virtnet /mnt/lustre_d119f.sanityn (opts:) mdd.lustre-MDT0000.trash_can_enable=0 mdd.lustre-MDT0000.trash_can_type=uid PASS 119f (44s) cleanup: ====================================================== == sanityn test complete, duration 423 sec =============== 21:45:22 (1779068722) === sanityn: start cleanup 21:45:24 (1779068724) === Stopping clients: oleg219-client.virtnet /mnt/lustre2 (opts:) Stopping client oleg219-client.virtnet /mnt/lustre2 opts: === sanityn: finish cleanup 21:45:30 (1779068730) ===