What to do when you get following error “mountpoint is not found”

I recently installed a Virtualmin / Webmin and when I wanted to create a virtual server I got the error:
setquota: Mountpoint (or device) /home not found or has no quota enabled. setquota: Not all specified mountpoints are using quota. (or otherwise – Mount failed : mount: wrong fs type, bad option, bad superblock on…. )

I went in /var/log/boot.log and saw that centos fail to mount /home

I’ve done this:

nano /etc/fstab

and commented  /home……( or LABEL=/home….., depends on the system)
Go in Webmin/System/ Disk and Network Filesystems
add mount — linux native file system
Mounted as—-   /home
Save mount?—– select Save and mount at boot
Mount now?—-    select Mount
Other devices—   select  /home (can be /dev/md2 or /dev/sda2, depends on the system)
Check filesystem at boot— check second

Action on error—- Continue

Use Quotas?—–User and Group


Now in /etc/fstab you will have:

LABEL=/home     /home   ext3    rpquota,errors=continue,usrquota    0 0

Leave a Reply

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