== sanity-lfsck test 45: LFSCK should fix UID/GID/PROJID of OST object ========================================================== 03:05:06 (1747811106) using SAVE_PROJECT_SUPPORTED=0 /home/green/git/lustre-release/lustre/utils/lfs project -p 1000 /mnt/lustre//f45.sanity-lfsck-0 running as uid/gid/euid/egid 500/500/500/500, groups: 500 [dd] [if=/dev/zero] [bs=1M] [of=/mnt/lustre//f45.sanity-lfsck-0] [count=30] 30+0 records in 30+0 records out 31457280 bytes (31 MB) copied, 0.182001 s, 173 MB/s check the quota usage after initial write -u 500 space:30720 -g 500 space:30720 -p 1000 space:30720 Stopping /mnt/lustre-ost1 (opts:) on oleg141-server clear the UID/GID/PROJID of the test file -rw-rw-rw- 1 root root 31457280 May 21 03:05 /mnt/lustre-ost1/O/280000401/d2/282 0 --------------e------- /mnt/lustre-ost1/O/280000401/d2/282 Start ost1: mount -t lustre -o localrecov /dev/mapper/ost1_flakey /mnt/lustre-ost1 seq.cli-lustre-OST0000-super.width=65536 oleg141-server: oleg141-server.virtnet: executing set_default_debug vfstrace rpctrace dlmtrace neterror ha config ioctl super lfsck all pdsh@oleg141-client: oleg141-server: ssh exited with exit code 1 Started lustre-OST0000 check the quota usage after UID/GID/PROJID is cleared -u 500 space:0 -g 500 space:0 -p 1000 space:0 the quota usage should be transferred to root -u root space:41776 -g root space:41776 -p 0 space:41776 fix the UID/GID/PROJID by LFSCK Started LFSCK on the device lustre-MDT0000: scrub layout the quota usage should be fixed -u 500 space:30720 -g 500 space:30720 -p 1000 space:30720