CTID.mount mounts several file systems - what about quotas? [message #40546] |
Tue, 31 August 2010 04:57 |
Wireless
Messages: 9 Registered: August 2010
|
Junior Member |
|
|
I made several file systems auto mounted by CTID.mount script.
How DISKSPACE and DISKINODES parameters apply to these file systems?
I would assume fs sizes and inodes are combined from all file systems to be checked against quota limits. Is it right?
|
|
|
Re: CTID.mount mounts several file systems - what about quotas? [message #40577 is a reply to message #40546] |
Thu, 02 September 2010 13:43 |
maratrus
Messages: 1495 Registered: August 2007 Location: Moscow
|
Senior Member |
|
|
Hi,
Quote: |
How DISKSPACE and DISKINODES parameters apply to these file systems?
|
Following OpenVZ Users Guide (page 105)
Quote: |
OpenVZ quota works on a file system sub-tree or area. If this area has additional file systems
mounted to its subdirectories quota will not follow this mount points. When you initialize quota,
you specify the file system sub-tree starting point for the quota.
|
Similarly diskinodes behaves:
(inside a VE)
# cat /proc/mounts
/dev/simfs / simfs rw 0 0
proc /proc proc rw 0 0
sysfs /sys sysfs rw 0 0
none /dev tmpfs rw 0 0
none /dev/pts devpts rw 0 0
none /proc/sys/fs/binfmt_misc binfmt_misc rw 0 0
/dev/hdb1 /mnt ext3 rw,data=ordered 0 0
# cd /root/
# touch test
touch: cannot touch `test': Disk quota exceeded
# cd /mnt/
# touch test
# ls
lost+found test
[Updated on: Thu, 02 September 2010 13:45] Report message to a moderator
|
|
|