В пт, 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.
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
$ 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
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
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 -