[Lustre-discuss] OST corruption?

Drokin, Oleg oleg.drokin at intel.com
Fri Apr 26 08:32:57 PDT 2013


Hello!

   In reality there's no "used" or "reserved" in the statfs(2) output. All you get is total, free and avail.
   df and the likes typically calculate used as total-avail. Reserved would be avail-free.

Bye,
    Oleg
On Apr 26, 2013, at 10:56 AM, Andrus, Brian Contractor wrote:

> FWIW, your total should be used+free+reserved
> There is normally a % set aside for root only 
> This is changeable too.
> tune2fs -m 0 <device>
> 
> 
> Brian Andrus
> ITACS/Research Computing
> Naval Postgraduate School
> Monterey, California
> voice: 831-656-6238
> 
> 
>> -----Original Message-----
>> From: lustre-discuss-bounces at lists.lustre.org [mailto:lustre-discuss-
>> bounces at lists.lustre.org] On Behalf Of Verduzco, Benjamin P.
>> Sent: Monday, April 22, 2013 9:49 AM
>> To: Mohr Jr, Richard Frank (Rick Mohr)
>> Cc: Lustre-discuss at lists.lustre.org
>> Subject: Re: [Lustre-discuss] OST corruption?
>> 
>> That's correct, the used and free don't equal the total.     While there
>> is just about a 5% difference, I know the file system was reporting a more
>> reasonable 158 T used before the reboot.
>> 
>> Despite the file system size oddness, it seems to be working, so we'll keep it
>> in service for now, but we're moving up our plans to replace our MDS and
>> have consistent versions of both Lustre and the OS across all hosts.
>> 
>> 
>> Thanks,
>> Ben
>> -----Original Message-----
>> From: Mohr Jr, Richard Frank (Rick Mohr) [mailto:rmohr at utk.edu]
>> Sent: Wednesday, April 17, 2013 5:07 PM
>> To: Verduzco, Benjamin P.
>> Cc: <Lustre-discuss at lists.lustre.org>
>> Subject: Re: [Lustre-discuss] OST corruption?
>> 
>> 
>> On Apr 3, 2013, at 1:52 PM, "Verduzco, Benjamin P."
>> <BENJAMIN.P.VERDUZCO at saic.com> wrote:
>> 
>>> *         When I brought the system up, it reported the used space
>> incorrectly (df -h shows 166T total, 150T used and 7.1 T free)
>> 
>> When you say that the used space is being reported incorrectly, do you
>> mean that the sum of the used and free space does not match the total
>> space?  Or do you have a reason to believe that 150 TB is not actually
>> used?  If it is the former, then that could be explained by the fact
>> that ext file systems by default reserve 5% of the disk space for the
>> root user.
>> 
>> --
>> Rick Mohr
>> Senior HPC System Administrator
>> National Institute for Computational Sciences
>> http://www.nics.tennessee.edu
>> 
>> 
>> _______________________________________________
>> Lustre-discuss mailing list
>> Lustre-discuss at lists.lustre.org
>> http://lists.lustre.org/mailman/listinfo/lustre-discuss
> _______________________________________________
> Lustre-discuss mailing list
> Lustre-discuss at lists.lustre.org
> http://lists.lustre.org/mailman/listinfo/lustre-discuss




More information about the lustre-discuss mailing list