Getting repquota “No such file or directory”

Getting these messages every day:

repquota: Cannot resolve mountpoint path (deleted)/home/virtfs/myuser/home/myuser: No such file or directory 

This appeared to be a corruption in one or more of the virtfs mounts. Each one can be different. The fix that was used is here;

grep -i username /proc/mounts

you should get something like:

/dev/sdb1 \040(deleted)/home/virtfs/username/home/username ext4 rw,relatime,barrier=1,data=ordered,jqfmt=vfsv0,usrjquota=quota.user 0 0

The path in the result is used to unmount:

umount /home/virtfs/username/home/username

and finally:

/scripts/clear_orphaned_virtfs_mounts --user=username
/scripts/fixquotas

Which worked for me.

Facebook Comments