I updated to Sol10u3 last night, and I'm still seeing different differences 
between "du -h" and "ls -h".

"du" seems to take into account raidz and compression -- if this is correct, 
please let me know.

It makes sense that "du" reports actual disk usage, but this makes some scripts 
I wrote very broken (need real sizes of files in a directory to be able to put 
them on dvd isos).

Sol10u3 on 3 disk RaidZ:
[EMAIL PROTECTED]:~/burnout/2006-11-30]$ ls -lh JMS-data-1-2006-11-30.iso
-rw-r--r-- 1 splus splus 3.5G Dec  1 10:15 JMS-data-1-2006-11-30.iso
[EMAIL PROTECTED]:~/burnout/2006-11-30]$ du -hs JMS-data-1-2006-11-30.iso
5.2G    JMS-data-1-2006-11-30.iso

Thanks,
Jeb
 
 
This message posted from opensolaris.org
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to