|
|
Message-ID: <20120128012927.GA10932@openwall.com>
Date: Sat, 28 Jan 2012 05:29:27 +0400
From: Solar Designer <solar@...nwall.com>
To: owl-dev@...ts.openwall.com
Subject: Re: disk quotas lost on unclean shutdown
On Sat, Jan 28, 2012 at 04:31:49AM +0400, Dmitry V. Levin wrote:
> Try to add "-t" option to "vzquota stat", e.g.
> /usr/sbin/vzlist -H -o veid | xargs -i /usr/sbin/vzquota stat '{}' -t > /dev/null
>
> According to documentation, it should do the right thing, but I wouldn't
> volunteer to make an experiment.
I've just tried - the quota file for the container with per-user quotas
was definitely updated more extensively than it was without "-t" - so I
think this should do the trick. I haven't tried unclean shutdown yet.
We'll need to include this change in our vzctl package.
Thank you!
Alexander
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.