OpenVZ Forum


Home » General » Support » CTID.mount mounts several file systems - what about quotas?
CTID.mount mounts several file systems - what about quotas? [message #40546] Tue, 31 August 2010 04:57 Go to next message
Wireless is currently offline  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 Go to previous message
maratrus is currently offline  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

Previous Topic: tun support - read wiki, can't get it to work.
Next Topic: Capabilities issue
Goto Forum:
  


Current Time: Wed Aug 14 05:57:53 GMT 2024

Total time taken to generate the page: 0.02804 seconds