How to fix repquota “No such file or directory””

17 May

Sometimes we see following error for corruption in one or more of the virtfs mounts.

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

We can fix this issue by following method.

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
2551 Total Views 3 Views Today

Leave a Reply

Your email address will not be published. Required fields are marked *