[Users] simfs 2tb limit?

Adeel Nazir adeel_n at yahoo.com
Wed Aug 6 02:16:44 EDT 2008




--- On Tue, 8/5/08, Garith Dugmore <garith at saao.ac.za> wrote:

> From: Garith Dugmore <garith at saao.ac.za>
> Subject: Re: [Users] simfs 2tb limit?
> To: users at openvz.org
> Date: Tuesday, August 5, 2008, 11:10 AM
> 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.

 You could consider using LVM on the raid array, to give yourself dynamic partitioning, so you can increase the 'partition' when needed. Bear in mind that LVM adds a little overhead, but I think the flexibility you get with LVM makes up for the overhead.

> 
> 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
> 
> _______________________________________________
> Users mailing list
> Users at openvz.org
> https://openvz.org/mailman/listinfo/users


      


More information about the Users mailing list