Hi. I have one server whose files are not stored on the main disk of the server. Instead its on an attached volume. I’m using Linode here.
The volume is mounted on /home/storage1/ and virtualmin stored the server’s files correctly in /home/storage1/domainname/...
The problem is that it doesn’t measure the disk quotas for this server. I don’t see its entry on the Dashboard in the “Disk Quota” card. It also doesn’t detect any usage in Logs & Reports > Disk Usage. This server is actually occupying around 13GB of space.
This is a known issue. Virtualmin will show usage only for /home (wherever you put it during setup) but not anything else. Getting Virtualmin to calculate space on mounted drives has been on my wish list for a long time now.
This is - I believe - the same information as displayed in Virtualmin. Its not taking into account the other disk /dev/sdc/ where the files actually exist.
And when I run the quotacheck command, I get this error:
Your kernel probably supports ext4 quota feature but you are using external quota files. Please switch your filesystem to use ext4 quota feature as external quota files on ext4 are deprecated.
quotacheck: Quota for users is enabled on mountpoint / so quotacheck might damage the file.
Please turn quotas off or use -f to force checking.
I’m no expert in this, but maybe it’s due to /home being on a different disk to home/storage1`` ? If you can do a test mount in the root directory (so /storage rather than /home/storage ) and maybe symlink it under home IDK but if you have the time and resource it’s worth a go.
footnote:
for easier reading maybe use the diskid rather than the path in fstab by finding it with