Restore Problem

i’m restoring a virtualmin backup, but i get this error:

Restore failed : setquota: Mountpoint (or device) / not found or has no quota enabled. setquota: Not all specified mountpoints are using quota.

i’m on ubuntu 10.04.
in /etc/fstab i’ve :

UUID=f8096f4a-1134-4f4d-b03f-ec1838a3c45c / xfs grpquota,usrquota,rw 0 1

if i do:
quotacheck -avugm

i get:
quotacheck: Cannot find filesystem to check or filesystem not mounted with quota option.


What output do you receive if you run the command “mount”?

Also, are you using a VPS or dedicated server?


it’s a vps:
root@ns1:~# mount
/dev/vda2 on / type xfs (rw,usrjquota=aquota.user,
proc on /proc type proc (rw,noexec,nosuid,nodev)
none on /sys type sysfs (rw,noexec,nosuid,nodev)
none on /sys/fs/fuse/connections type fusectl (rw)
none on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/security type securityfs (rw)
none on /dev type devtmpfs (rw,mode=0755)
none on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
none on /dev/shm type tmpfs (rw,nosuid,nodev)
none on /var/run type tmpfs (rw,nosuid,mode=0755)
none on /var/lock type tmpfs (rw,noexec,nosuid,nodev)
none on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)
none on /var/lib/ureadahead/debugfs type debugfs (rw,relatime)
/dev/vda1 on /boot type ext3 (rw)

Ah, you’re using XFS. That may be the problem, but I’m not sure… I’ll do a little digging to see if Virtualmin can setup quotas on an XFS-based filesystem.


ok thanks… anyway, i could just transfer file via ftp and re-create virtual server, right? at the moment i’ve only 2 virtual servers… but i’d like to have not problem in future with backup…
But backup from the same system, should not be create problems, right?


Sure, you could re-create the Virtual Server, and copy the files.

However, you may continue to see problems on your system if quotas aren’t working… are you able to create a new Virtual Server now?

If not, you may need to disable quotas in System Settings -> Virtualmin Config, and set “Set quotas for domain and mail users” to “No”.


yes, i’ve been able to create virtual server. i’ve tried to backup and restore from the new vps and everything seems to be ok…

Otherwise, is not really possibile to set quotas? i mean for future problems…