OpenSolaris Solaris Forum  

Left Nav FAQ Members List Default Password Members List Linux Commands Search Today's Posts Mark Forums Read Right Nav

Left Container Right Container

Go Back   OpenSolaris Solaris Forum Solaris General

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 06-08-2012, 09:30 AM
Junior Member
Join Date: Jun 2012
Posts: 1
Question ZFS du behaviour

I'm having trouble understanding the behaviour of the du command in reporting disk usage on ZFS.

> du archive_dir
140798980       archive_dir
> du -k archive_dir
70399490        archive_dir
> du -h archive_dir
  67G   archive_dir
So in the first use of du, the directory is shown to be 140798980 bytes. Which is about 134 Mb. But with the other two commands it reports as being around 67 Gb.

Any idea why du brings back a different result when you use the switches that make the size a bit more readable?
Reply With Quote
Sponsored Links



disk usage, zfs

Thread Tools
Display Modes

Posting Rules
You may post new threads
You may post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

All times are GMT. The time now is 11:06 AM.

Powered by vBulletin. Copyright 2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.