quota on ubuntu
i get the error:
root@plato:~# quotacheck -acguvm
quotacheck: Cannot stat() mounted device /dev/root: No such file or directory
quotacheck: Cannot find filesystem to check or filesystem not mounted with quota option.
have tried to deploy centos and debian, i get the same error
tried ln -s /dev/xvda /dev/root
it just breaks on reboot
5 Replies
Which suggests creating the symlink at startup, prior to any quota check.
This file /etc/rc.sysinit does not exist in ubuntu
file /etc/rc.sysinit does not exit in ubuntu and debian
# /etc/rc.local
ln -s /dev/xvda /dev/root
/etc/init.d/quota restart
exit 0