Lester Cheung
2008-Sep-28 16:18 UTC
[zfs-discuss] zpool(1) reports free space, but zfs(1) disagrees
Greetings!
Been using solaris (SXCE) as a home server for a few months now - works really
well. However something weird came to my attention lately - I think not all the
available disk space is actually made available in my system. The following
command output will show what I mean:
bash-3.2# zpool status tank
pool: tank
state: ONLINE
status: The pool is formatted using an older on-disk format. The pool can
still be used, but some features are unavailable.
action: Upgrade the pool using ''zpool upgrade''. Once this is
done, the
pool will no longer be accessible on older software versions.
scrub: scrub in progress for 0h37m, 34.24% done, 1h12m to go
config:
NAME STATE READ WRITE CKSUM
tank ONLINE 0 0 0
raidz1 ONLINE 0 0 0
c3d0 ONLINE 0 0 0
c5d0 ONLINE 0 0 0
c4d0 ONLINE 0 0 0
c2d0 ONLINE 0 0 0
errors: No known data errors
bash-3.2# zpool get all tank
NAME PROPERTY VALUE SOURCE
tank size 928G -
tank used 913G -
tank available 14.9G -
tank capacity 98% -
tank altroot - default
tank health ONLINE -
tank guid 870404936645583977 -
tank version 10 local
tank bootfs - default
tank delegation on default
tank autoreplace off default
tank cachefile - default
tank failmode wait default
bash-3.2# zfs get available tank
NAME PROPERTY VALUE SOURCE
tank available 349M -
bash-3.2#
Basically I have a 4 disk raidz1 setup with only a handful of filesystems and
snapshots created - from zpool''s output I was told that 14.9G is
available but zfs(1) showed only 349M. I did try to file up the filesystem by
copying more data onto it - seems number reported by zfs(1) is correct.
I do have plans to upgrade the pool but I''d like to make full backup of
my files before I do. :-)
Any input is appreciated.
Lester Cheung
--
This message posted from opensolaris.org