"DU" lying on sunos5 machines

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

"DU" lying on sunos5 machines

Amy Chused
It's 'cuz Solaris du counts blocks, not K, and the netapp blocks are 16K,
not 1/2 K.

I think there's an option to du to tell it how big the bloody blocks are or
to make it count K, not blocks.  'Course, if I remember correctly, that
option is broken in the stock install, but there's a patch available from
sun that fixes it, I think.

        Amy -- answering off the top of her head, with an answer worth what you
paid for it.

At 10:40 AM 3/20/97 -0600, Jim Fondren wrote:

>I sent the following report to support but also wanted to ask the
>user community about this...
>
>The unix "du" command is lying to me on Sunos5 machines...
>
>sanantonio: ll arc
>-rw-rw-rw-   1 rich     users    1053700 Aug 12  1996 arc
>
>sanantonio: du -sk arc
>65      arc
>
>sanantonio: /files/home/jim/ftp/fileutils-3.16/src/du -sk arc
>65      arc
>
>sanantonio: uname -a
>SunOS sanantonio 5.5 Generic sun4u sparc SUNW,Ultra-1
>
>
>A Sunos4 box says...
>
>[dallas] ll arc
>-rw-rw-rw-   1 rich     users    1053700 Aug 12  1996 arc
>[dallas] du -s arc
>2072    arc
>[dallas] uname -a
>SunOS dallas 4.1.3_U1 1 sun4m

>Any known work-arounds?  I checked NETAPPs' FAQ and didn't see anything.
>
>My Netapps box is a F220... NetApp Release 4.0a: Wed Oct 16 05:03:33 PDT 1996




Reply | Threaded
Open this post in threaded view
|

"DU" lying on sunos5 machines

David Vrona
At 12:04 PM 3/20/97 -0500, Amy Chused wrote:
>It's 'cuz Solaris du counts blocks, not K, and the netapp blocks are 16K,
>not 1/2 K.

Aren't the blocks on the NetApp 4K ?????
--
 David Vrona N9QNZ          Visit our web site at http://www.wwa.com
 dave at wwa.com      312-803-9921 or 888-803-9921 (toll free) 312-803-9923 (fax)
 WorldWide Access (sm), Internet services for the Midwestern region.
 Dialup sites in the Chicago metro area, Rockford IL, and Milwaukee WI
 56Kbps - T3 leased lines and firewall installations are our specialties!


Reply | Threaded
Open this post in threaded view
|

"DU" lying on sunos5 machines

Karl Swartz
> At 12:04 PM 3/20/97 -0500, Amy Chused wrote:
> >It's 'cuz Solaris du counts blocks, not K, and the netapp blocks are 16K,
> >not 1/2 K.
>
> Aren't the blocks on the NetApp 4K ?????

Yes, NetApp uses 4 KB blocks.

 -- Karl