Submitted by carlosegea on Sat, 07/02/2016 - 05:19 Pro Licensee
Hello, I have a lot using the GPL version and now on a new server with the pro version the option "Quotas and limits" does not appear when you create or edit a virtual server. The quotas were not active and I not could activate, apparently because did not exist "/dev/root". I have created a link and now I have been able to activate the quotas. It seems to work but there is not the option to add quota for servers.
What could it be? Thank you.
Status:
Active
Comments
Submitted by carlosegea on Sat, 07/02/2016 - 06:21 Pro Licensee Comment #1
I changed the symbolic link because I think I had wrong. Now there is the option but does not work. Also I can't enable quotas from "webmin / system / disk quotas".
Any ideas?
Submitted by andreychek on Sat, 07/02/2016 - 08:40 Comment #2
Howdy -- what is the output of these commands:
cat /etc/fstab
mount
Also, what output do you receive when attempting to enable quotas in Webmin?
And lastly, what output do you receive if you go into System Settings -> Re-Check Config?
Thanks!
Submitted by carlosegea on Sat, 07/02/2016 - 09:36 Pro Licensee Comment #3
cat /etc/fstab
# <file system> <mount point> <type> <options> <dump> <pass>
/dev/md2 / ext4 rw,usrquota,errors=remount-ro,grpquota,data=ordered,relatime 0 1
/dev/sda3 swap swap defaults 0 0
/dev/sdb3 swap swap defaults 0 0
proc /proc proc defaults 0 0
sysfs /sys sysfs defaults 0 0
tmpfs /dev/shm tmpfs defaults 0 0
devpts /dev/pts devpts defaults 0 0
mount
/dev/md2 on / type ext4 (rw,relatime,quota,usrquota,grpquota,errors=remount-ro,data=ordered)
devtmpfs on /dev type devtmpfs (rw,relatime,size=16416620k,nr_inodes=4104155,mode=755)
sysfs on /sys type sysfs (rw,relatime)
proc on /proc type proc (rw,relatime)
securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /dev/shm type tmpfs (rw)
devpts on /dev/pts type devpts (rw,relatime,mode=600,ptmxmode=000)
tmpfs on /run type tmpfs (rw,nosuid,nodev,mode=755)
tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,mode=755)
cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,release_agent=/lib/systemd/systemd-cgroups-agent,name=systemd)
pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct)
cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
cgroup on /sys/fs/cgroup/net_cls,net_prio type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls,net_prio)
cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=22,pgrp=1,timeout=300,minproto=5,maxproto=5,direct)
mqueue on /dev/mqueue type mqueue (rw,relatime)
configfs on /sys/kernel/config type configfs (rw,relatime)
fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
Nothing. The page reload but all is the same.
System Settings -> Re-Check Config
The status of your system is being checked to ensure that all enabled features are available, that the mail server is properly configured, and that quotas are active ..
Your system has 31.38 GB of memory, which is at or above the Virtualmin recommended minimum of 256 MB.
BIND DNS server is installed, and the system is configured to use it.
Mail server Postfix is installed and configured.
Postfix is configured to support per-domain outgoing IP addresses.
Apache is installed.
The following PHP versions are available : 5.6.22 (/usr/bin/php5-cgi)
Webalizer is installed.
Apache is configured to host SSL websites.
MySQL is installed and running.
ProFTPD is installed.
Logrotate is installed.
SpamAssassin and Procmail are installed and configured for use.
ClamAV is installed and assumed to be running.
The System and Server Status module is installed and checking on schedule.
Plugin DAV Login is installed OK.
Plugin AWstats reporting is installed OK.
Plugin Mailman is installed OK.
Plugin Protected web directories is installed OK.
Using network interface eth0 for virtual IPs.
IPv6 addresses are available, using interface eth0.
Default IPv4 address for virtual servers is x.x.x.x.
Default IPv6 address for virtual servers is xxx.
Default IP address is set to x.x.x.x, but the detected external address is actually x.x.x.x. This is typically the result of being behind a NAT firewall, and should be corrected on the module configuration page.
Quotas are not enabled on the filesystem / which contains home directories under /home and email files under /home. Quota editing has been disabled.
All commands needed to create and restore backups are installed.
Resource limits are supported and configured correctly.
The selected package management and update systems are installed OK.
.. your system is ready for use by Virtualmin.
And if it help, the error when I type "quota". (I have removed the symbolic link that I created).
Cannot stat() mounted device /dev/root: No existe el fichero o el directorio
Submitted by andreychek on Sat, 07/02/2016 - 10:11 Comment #4
Okay, it looks like the mount options appear to be set correctly.
Try creating that symlink with this command:
ln -s /dev/md2 /dev/root
Do quotas work properly after that?
Submitted by carlosegea on Sat, 07/02/2016 - 10:49 Pro Licensee Comment #5
By doing this I can turn quotas on, but the "Quotas and Limits" option again not appear. Also, When I create the symlink, disappear in "Disk and Network Filesystems" a partition (/ (Root filesystem) New Linux Native Filesystem (ext4) /dev/root):
Before the symlink
/ (Root filesystem) New Linux Native Filesystem (ext4) Dispositivo RAID 2 24% No Si
Memoria Virtual Virtual Memory (swap) SATA dispositivo A partición 3
Si Si
Memoria Virtual Virtual Memory (swap) SATA dispositivo B partición 3
Si Si
/proc Kernel Filesystem (proc) proc
Si Si
/sys Kernel Filesystem (sysfs) sysfs
Si Si
/dev/shm RAM/Swap Disk (tmpfs) tmpfs 0% Si Si
/dev/pts Pseudoterminal Device Filesystem (devpts) devpts
Si Si
/ (Root filesystem) New Linux Native Filesystem (ext4) /dev/root 24% Si No
/dev RAM/Swap Disk (devtmpfs) devtmpfs 0% Si No
/sys/kernel/security SECURITYFS securityfs
Si No
/run RAM/Swap Disk (tmpfs) tmpfs 0% Si No
/run/lock RAM/Swap Disk (tmpfs) tmpfs 0% Si No
/sys/fs/cgroup RAM/Swap Disk (tmpfs) tmpfs 0% Si No
... ys/fs/cgroup/systemd CGROUP cgroup
Si No
/sys/fs/pstore PSTORE pstore
Si No
... sys/fs/cgroup/cpuset CGROUP cgroup
Si No
... s/cgroup/cpu,cpuacct CGROUP cgroup
Si No
... sys/fs/cgroup/memory CGROUP cgroup
Si No
... ys/fs/cgroup/devices CGROUP cgroup
Si No
... ys/fs/cgroup/freezer CGROUP cgroup
Si No
... oup/net_cls,net_prio CGROUP cgroup
Si No
/sys/fs/cgroup/blkio CGROUP cgroup
Si No
/dev/mqueue MQUEUE mqueue
Si No
/sys/kernel/config CONFIGFS configfs
Si No
... /fs/fuse/connections FUSECTL fusectl
Si No
After symlink
/ (Root filesystem) New Linux Native Filesystem (ext4) Dispositivo RAID 2 24% Si Si
Memoria Virtual Virtual Memory (swap) SATA dispositivo A partición 3
Si Si
Memoria Virtual Virtual Memory (swap) SATA dispositivo B partición 3
Si Si
/proc Kernel Filesystem (proc) proc
Si Si
/sys Kernel Filesystem (sysfs) sysfs
Si Si
/dev/shm RAM/Swap Disk (tmpfs) tmpfs 0% Si Si
/dev/pts Pseudoterminal Device Filesystem (devpts) devpts
Si Si
/dev RAM/Swap Disk (devtmpfs) devtmpfs 0% Si No
/sys/kernel/security SECURITYFS securityfs
Si No
/run RAM/Swap Disk (tmpfs) tmpfs 0% Si No
/run/lock RAM/Swap Disk (tmpfs) tmpfs 0% Si No
/sys/fs/cgroup RAM/Swap Disk (tmpfs) tmpfs 0% Si No
... ys/fs/cgroup/systemd CGROUP cgroup
Si No
/sys/fs/pstore PSTORE pstore
Si No
... sys/fs/cgroup/cpuset CGROUP cgroup
Si No
... s/cgroup/cpu,cpuacct CGROUP cgroup
Si No
... sys/fs/cgroup/memory CGROUP cgroup
Si No
... ys/fs/cgroup/devices CGROUP cgroup
Si No
... ys/fs/cgroup/freezer CGROUP cgroup
Si No
... oup/net_cls,net_prio CGROUP cgroup
Si No
/sys/fs/cgroup/blkio CGROUP cgroup
Si No
/dev/mqueue MQUEUE mqueue
Si No
/sys/kernel/config CONFIGFS configfs
Si No
... /fs/fuse/connections FUSECTL fusectl
Si No
Submitted by andreychek on Sat, 07/02/2016 - 11:33 Comment #6
With the symlink there, can you try re-running System Settings -> Re-Check Config? It may give us some more detail on what the issue is.
Submitted by carlosegea on Sat, 07/02/2016 - 11:45 Pro Licensee Comment #7
Oh, after re-check appear: "Both user and group quotas are enabled for home and email directories." And quotas seem to be working...
Thank you very much!
Submitted by andreychek on Sat, 07/02/2016 - 14:41 Comment #8
That's excellent, glad to hear it!