Re: [osol-discuss] Who is right(disk usage)?

2009-03-30 Thread Alexander Pyhalov
В пт, 27/03/2009 в 15:07 +0100, Jan Kesten пишет: Hello Alexander. $ df -h /export/uichome/ vs $ zfs list -r rpool/export/uichome What is the reason for this behavior? The difference is that in the first case you count the actual space used by files under /export/uichome.

[osol-discuss] Who is right(disk usage)?

2009-03-27 Thread Alexander
Hello, I'm very confused with the following situation: I have FS rpool/export/uichome mounted on /exprt/uichome. du -sh says its size is 924 Mb: $ du -sh /export/uichome/ 924M /export/uichome df -h says its size is about 3 GB. I can understand this, du doesn't count for open files: $ df -h

Re: [osol-discuss] Who is right(disk usage)?

2009-03-27 Thread Edward Ned Harvey
$ du -sh /export/uichome/ 924M /export/uichome $ df -h /export/uichome/ Filesystem size used avail capacity Mounted on rpool/export/uichome35G 3,0G26G11%/export/uichome Du can't count files that you don't have access to. Try again as sudo and you might

Re: [osol-discuss] Who is right(disk usage)?

2009-03-27 Thread Akhilesh Mritunjai
zfs snapshots won't be accounted for in du/dh tools. -- This message posted from opensolaris.org ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org

Re: [osol-discuss] Who is right(disk usage)?

2009-03-27 Thread Jan Kesten
Hello Alexander. $ df -h /export/uichome/ vs $ zfs list -r rpool/export/uichome What is the reason for this behavior? The difference is that in the first case you count the actual space used by files under /export/uichome. The second one shows your zfs including your snapshots -