== sanity-lfsck test 45: LFSCK should fix UID/GID/PROJID of OST object ========================================================== 15:10:48 (1773688248) 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/urandom] [bs=1M] [of=/mnt/lustre//f45.sanity-lfsck-0] [count=30] 30+0 records in 30+0 records out 31457280 bytes (31 MB, 30 MiB) copied, 0.6164 s, 51.0 MB/s check the quota usage after initial write -u 500 space:30727 -g 500 space:30727 -p 1000 space:30727 Stopping /mnt/lustre-ost1 (opts:) on oleg151-server clear the UID/GID/PROJID of the test file -rw-rw-rw- 1 root root 31457280 Mar 16 15:10 /mnt/lustre-ost1/O/280000401/d2/610 0 ---------------------- /mnt/lustre-ost1/O/280000401/d2/610 Start ost1: mount -t lustre -o localrecov lustre-ost1/ost1 /mnt/lustre-ost1 seq.cli-lustre-OST0000-super.width=65536 oleg151-server: oleg151-server.virtnet: executing set_default_debug vfstrace rpctrace dlmtrace neterror ha config ioctl super lfsck all pdsh@oleg151-client: oleg151-server: ssh exited with exit code 1 Started lustre-OST0000 UUID 1K-blocks Used Available Use% Mounted on lustre-MDT0000_UUID 283520 3456 278016 2% /mnt/lustre[MDT:0] lustre-MDT0001_UUID 283520 3200 278272 2% /mnt/lustre[MDT:1] lustre-OST0000_UUID 282624 39936 240640 15% /mnt/lustre[OST:0] lustre-OST0001_UUID 282624 5120 275456 2% /mnt/lustre[OST:1] filesystem_summary: 565248 45056 516096 9% /mnt/lustre oleg151-server: oleg151-server.virtnet: executing wait_import_state FULL os[cp].lustre-OST0000-osc-MDT0000.ost_server_uuid 50 oleg151-server: os[cp].lustre-OST0000-osc-MDT0000.ost_server_uuid in FULL state after 0 sec oleg151-server: oleg151-server.virtnet: executing wait_import_state FULL os[cp].lustre-OST0000-osc-MDT0001.ost_server_uuid 50 oleg151-server: os[cp].lustre-OST0000-osc-MDT0001.ost_server_uuid in FULL state after 0 sec oleg151-client.virtnet: executing wait_import_state FULL osc.lustre-OST0000-osc-ffff8d17495de000.ost_server_uuid 50 osc.lustre-OST0000-osc-ffff8d17495de000.ost_server_uuid in FULL state after 0 sec check the quota usage after UID/GID/PROJID is cleared -u 500 space:2 -g 500 space:2 -p 1000 space:2 the quota usage should be transferred to root -u root space:52918 -g root space:52918 -p 0 space:52918 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:30727 -g 500 space:30727 -p 1000 space:30727