In my new server setup I have one big /mnt partition that holds the following directories:
All these directories are linked to directories elsewhere using bind mounts, as I figured symlinks sometimes cause trouble. The /mnt partition is chmodded 700 and chowned by 0:0, so users cannot enter. This renders it even impossible to use symlinks.
Now the bind mounts work perfectly, except for one thing. Quotas. When I make/modify an account I get
- backup
- home (/home)
- html (/var/www/html)
- mail (/var/spool/mail)
- mysql (/var/lib/mysql)
- named (/var/named)
All these directories are linked to directories elsewhere using bind mounts, as I figured symlinks sometimes cause trouble. The /mnt partition is chmodded 700 and chowned by 0:0, so users cannot enter. This renders it even impossible to use symlinks.
Now the bind mounts work perfectly, except for one thing. Quotas. When I make/modify an account I get
I hardlinked /mnt/aquota.* to /mnt/home but still no luck. Can I make quotas work this way?Error with system Quotas
setquota: Mountpoint (or device) /home not found. setquota: Not all specified mountpoints are using quota.