Hello,

I'm curios how space is counted for this particular system (opensolaris b118)

#zfs list

NAME____________________ USED__AVAIL__REFER__MOUNTPOINT
zsan0____________________3.10T__2.25T____23K__/zsan0
zsan0/fs__________________ 3.10T__2.25T__6.90G___/zsan0/fs
[b]zsan0/fs/bar-001__________ 680G__2.65T__ 280G[/b]
zsan0/fs/dnd01-sqldb______ 236G__2.45T__35.8G
zsan0/fs/evg-001-sqldb____ 219G__2.45T__18.5G
zsan0/fs/jen-001-sqldb____ 374G__2.55T__74.4G
zsan0/fs/meg-flt001_______811G__2.84T__ 211G
zsan0/fs/sfc-001__________ 229G__2.45T__29.3G
zsan0/fs/sscc-001_________278G__2.45T__78.0G
zsan0/fs/tph-001_________ 338G__2.45T__ 138G


# zfs get all zsan0/fs/bar-001
NAME______________PROPERTY______________VALUE__________________SOURCE
zsan0/fs/bar-001__type__________________volume________________ -
zsan0/fs/bar-001__creation______________Thu Oct 15 17:36 2009__-
[b]zsan0/fs/bar-001__used__________________680G__________________ -[/b]
zsan0/fs/bar-001__available____________ 2.65T__________________-
zsan0/fs/bar-001__referenced____________280G__________________ -
zsan0/fs/bar-001__compressratio________ 1.00x__________________-
zsan0/fs/bar-001__reservation__________ 400G__________________ local
zsan0/fs/bar-001__volsize______________ 400G__________________ -
zsan0/fs/bar-001__volblocksize__________128K__________________ -
zsan0/fs/bar-001__checksum______________on____________________ default
zsan0/fs/bar-001__compression__________ off____________________default
zsan0/fs/bar-001__readonly______________off____________________default
zsan0/fs/bar-001__shareiscsi____________off____________________default
zsan0/fs/bar-001__copies________________1______________________default
zsan0/fs/bar-001__refreservation________400G__________________ local
zsan0/fs/bar-001__primarycache__________all____________________default
zsan0/fs/bar-001__secondarycache________all____________________default
zsan0/fs/bar-001__usedbysnapshots______ 0______________________-
zsan0/fs/bar-001__usedbydataset________ 280G__________________ -
zsan0/fs/bar-001__usedbychildren________0______________________-
zsan0/fs/bar-001__usedbyrefreservation__400G__________________ -

zfs list -t snapshot | grep bar
zsan0/fs/bar-...@zfs-auto-snap:zsan03_1day_keep60days-2009-10-30-16:08_____ 
0___-_ 280G_-

My concern is USED property: it's 680 for zsan0/fs/bar-001 (400 refreservation 
+ 280 usedbydataset)

When I set up reservation I wanted guaranteed space from pool be available to 
the volume (600G) which is the same as volume size itself.

But  now the volume data consumed space on top of that (referenced or 
usedbydataset). Confusing...

Can somebody advise how to setup reservation properly? I want each volume to 
have guaranteed space for data plus something reserved on top of that for 
volume snapshots.

--
Roman
-- 
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