[Users] simfs 2tb limit?

Garith Dugmore garith at saao.ac.za
Tue Aug 5 11:10:33 EDT 2008


Hi Benoit and Arjan,

Thanks for your replies - I've been away from my Inbox.

[Benoit Branciard]
> If possible without critical data loss or downtime, repartitioning 
> would be an option to consider. You may for example allocate some 
> space (say 70GB) on sda for the container's roots (mounted on /vz), 
> and keep the huge /data to provide data space to containers by means 
> of bind mounts on various points of their diretory tree.
[Garith]

Ideally I'd like to not use partitioning as this limits the flexibility 
I have with changing the amount of disk space a container has access to 
but it might be the solution in this scenario.

[Arjan]

I must say I haven't tried with quotas, but without quotas OpenVZ can 
handle it perfectly.
My container has DISK_QUOTA="no" set, and it can use my 5 TB perfectly:

# df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/vzfs             4.8T  2.2T  2.7T  45% /
#

So I guess you should look into the limits of the quota support.

[Garith]
I think in this case I'll be stuck with the same issue unfortunately - 
If a container fills up the disk then all the containers suffer.

As mentioned above I might have to go with repartitioning the raid array 
to benefit from using a physically "separate disk" to store data on for 
that specific container requiring more than 2tb.

A question though - would you not be in the same position I'd be in if 
chose to either 'mount --bind' or not use disk quotas? How would you 
overcome a user filling up the disk and thereby also filling up the 
other containers' "disks" you have? Unless of course you have only one 
container?

I guess though the real question is why the 2tb limit when using 
quotas.. Google isn't being helpful at the moment so I might need to use 
one of the other suggested solutions for now.

Thanks!

-- 

Garith Dugmore
Senior Systems Administrator
South African Astronomical Observatory
and Southern African Large Telescope

Phone:          021 460 9343
Fax:            021 447 3639
SAAO Website:   http://www.saao.ac.za
SALT Website:   http://www.salt.ac.za
Jabber:         gar_I_th at jabber.co.za
MSN:            garithd at hotmail.com
Skype:          garith5512



More information about the Users mailing list