Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

df -v command..

4 views
Skip to first unread message

gd

unread,
Sep 4, 2001, 11:20:40 AM9/4/01
to
df -v

Mount Dir Filesystem blocks used free %used
/ /dev/root 16431534 5546794 10884740 34%
/stand /dev/boot 30720 25084 5636 82%
/DATA /dev/data01 212266844 85758754 126508090 0%

Any explanation as to why my "df -v" command would report 0% used for
"/DATA" when there used / free indicate otherwise??

Ian Peattie

unread,
Sep 4, 2001, 11:51:04 AM9/4/01
to
In article <3B94F148...@hotmail.com>, gd <pars...@hotmail.com> wrote:
>df -v

Version of OS?

Possibly rounding/overflow in df. What size is the /DATA filesystem
really?

Does /etc/dfspace work? It uses the output of df -t, but does its own
calculation.

Ian.

--
Ian Peattie i...@john-richard.co.uk
Edinburgh, Scotland.

gd

unread,
Sep 4, 2001, 1:30:49 PM9/4/01
to

Thanks -- both dfspace & df -t report differently.


# dfspace
/ : Disk space: 5314.49 MB of 8023.20 MB available (66.24%).
/stand : Disk space: 2.75 MB of 14.99 MB available (18.35%).
/DATA : Disk space: 61437.86 MB of 103645.91 MB available
(59.28%).

Total Disk Space: 66755.11 MB of 111684.12 MB available (59.77%).


# df -t
/ (/dev/root ): 10884114 blocks 2003582 i-nodes
total: 16431534 blocks 2053944 i-nodes
/stand (/dev/boot ): 5636 blocks 3821 i-nodes
total: 30720 blocks 3840 i-nodes
/DATA (/dev/data01 ): 125883708 blocks 26521203 i-nodes
total: 212266844 blocks 26533360 i-nodes

Nathan Kahn

unread,
Sep 4, 2001, 2:10:11 PM9/4/01
to
>> >df -v
>>
>> Version of OS?
>>
>> >Mount Dir Filesystem blocks used free %used
>> >/ /dev/root 16431534 5546794 10884740 34%
>> >/stand /dev/boot 30720 25084 5636 82%
>> >/DATA /dev/data01 212266844 85758754 126508090 0%
>> >

># dfspace


>/ : Disk space: 5314.49 MB of 8023.20 MB available (66.24%).
>/stand : Disk space: 2.75 MB of 14.99 MB available (18.35%).
>/DATA : Disk space: 61437.86 MB of 103645.91 MB available
>(59.28%).


On my system 'df -v' and 'dfspace' each give results that are
consistent with one another. Kinda funny that yours don't.

Nathan / Theatre Effects
www.theatrefx.com

John DuBois

unread,
Sep 5, 2001, 1:14:59 AM9/5/01
to
In article <3B950FC9...@hotmail.com>, gd <pars...@hotmail.com> wrote:
>
>
>Ian Peattie wrote:
>>
>> In article <3B94F148...@hotmail.com>, gd <pars...@hotmail.com> wrote:
>> >df -v
>>
>> Version of OS?
^^^^^^^^^^^^^

>>
>> >Mount Dir Filesystem blocks used free %used
>> >/ /dev/root 16431534 5546794 10884740 34%
>> >/stand /dev/boot 30720 25084 5636 82%
>> >/DATA /dev/data01 212266844 85758754 126508090 0%
>> >
>> >Any explanation as to why my "df -v" command would report 0% used for

The problem with %used being calculated incorrectly for large numbers of free
blocks (over 2^32/100, or about 43 million) was fixed in 5.0.6, which one hopes
is later than the still-unstated version you're using.

John
--
John DuBois spc...@armory.com. KC6QKZ/AE http://www.armory.com./~spcecdt/

0 new messages