APLawrence - Information and Resources for Unix and Linux Systems, Bloggers and the self-employed
RSS Feeds Get APLawrence.com by RSS











(OLDER) <- More Stuff -> (NEWER) (NEWEST)
Home > News Posts > large filesystem df incorrect
Printer Friendly Version




News Group Posts

large filesystem df incorrect





From: Bela Lubkin <belal@sco.com>
Subject: Re: Incorrect %used output from df -v
Date: Tue, 5 Oct 2004 00:32:23 GMT
Message-ID: <20041005003223.GV23239@sco.com> 
References: <41615591$1_1@newspeer2.tds.net> 


J.Salfer wrote:



> We have a OSR505 system with a 26GB filesystem. When using the 'df -v' 
> command it's always show correct in the past, but it's now displaying 1% 
> used. If my math is correct (and the dfspace command) it should read around 
> 80% used.
> 
> Does anyone have experience with this size filesystem? I'm assuming it's 
> just a problem with the 'df' command being 'dfspace' displays like I would 
> expect it to.
> 
> ---
> data1 # df -v
> Mount Dir  Filesystem              blocks      used      free   %used
> /          /dev/root              2000000   1412416    587584    71%
> /stand     /dev/boot                40000     25108     14892    63%
> /u         /dev/u                12768324    420178  12348146     4%
> /u10       /dev/u10              15880344   4112260  11768084    26%
> /u20       /dev/u20              53705294  43027244  10678050     1%
> /u40       /dev/u40              17880342  13415418   4464924    76%
> data1 # dfspace
> /         :     Disk space: 286.90 MB of 976.56 MB available (29.38%).
> /stand    :     Disk space:   7.27 MB of  19.53 MB available (37.23%).
> /u        :     Disk space: 6029.36 MB of 6234.53 MB available (96.71%).
> /u10      :     Disk space: 5746.13 MB of 7754.07 MB available (74.10%).
> /u20      :     Disk space: 5213.89 MB of 26223.28 MB available (19.88%).
> /u40      :     Disk space: 2180.13 MB of 8730.63 MB available (24.97%).
> 
> Total Disk Space: 19463.71 MB of 49938.62 MB available (38.98%).

See 
http://groups.google.com/groups?selm=20040716013539.GD2183@sco.com

-- except I was slightly mistaken.  The problems occur when the amount
of space _used_ on a filesystem exceeds certain limits, not when
freespace exceeds limits.  It is only a display error in `df`.  `df -k`
uses twice as large units, so the point at which it goes wrong is twice
as high.

I don't know whether an updated `df` binary was ever issued for OSR505.
One from OSR506 would probably run; would definitely run, if you updated
the system's libraries by installing oss646c.  But that's a large update
which you would want to do under controlled test conditions.

>Bela<
















If this page was useful to you, please click to help others find it:  

Your +1's can help friends, contacts, and others on the web find the best stuff when they search.

Comments?



Click here to add your comments



Don't miss responses! Subscribe to Comments by RSS or by Email

Click here to add your comments


If you want a picture to show with your comment, go get a Gravatar



Auto FTP Manager

Have you tried Searching this site?

Unix/Linux/Mac OS X support by phone, email or on-site: Support Rates

This is a Unix/Linux resource website. It contains technical articles about Unix, Linux and general computing related subjects, opinion, news, help files, how-to's, tutorials and more. We appreciate comments and article submissions.

Publishing your articles here

Jump to Comments



Many of the products and books I review are things I purchased for my own use. Some were given to me specifically for the purpose of reviewing them. I resell or can earn commissions from the sale of some of these items. Links within these pages may be affiliate links that pay me for referring you to them. That's mostly insignificant amounts of money; whenever it is not I have made my relationship plain. I also may own stock in companies mentioned here. If you have any question, please do feel free to contact me.

Specific links that take you to pages that allow you to purchase the item I reviewed are very likely to pay me a commission. Many of the books I review were given to me by the publishers specifically for the purpose of writing a review. These gifts and referral fees do not affect my opinions; I often give bad reviews anyway.

We use Google third-party advertising companies to serve ads when you visit our website. These companies may use information (not including your name, address, email address, or telephone number) about your visits to this and other websites in order to provide advertisements about goods and services of interest to you. If you would like more information about this practice and to know your choices about not having this information used by these companies, click here.

g_face.jpg

This post tagged:

       - Bela
       - SCO_OSR5




Unix/Linux Consultants

Skills Tests

Guest Post Here