Guys, Forgive my ignorance on this but I am wondering how ZFS uses space when a volume is created with the -V parameter and then shared as an iSCSI lun.
For example, I created 5 volumes 2 * 1TB in size and 3 * 2TB in size, but the space usage appears to be in addition to this size specification:- $ zfs list -o space -r ib NAME AVAIL USED USEDSNAP USEDDS USEDREFRESERV USEDCHILD ib 168G 8.76T 0 21K 0 8.76T ib/iscsi 168G 8.76T 0 19K 0 8.76T ib/iscsi/esx-server1-00 2.16T 2.04T 58K 39.3G 2.00T 0 ib/iscsi/esx-server1-01 2.16T 2.00T 32.6M 258M 2.00T 0 ib/iscsi/esx-server2-00 1.16T 1.39T 862K 400G 1024G 0 ib/iscsi/esx-server2-01 1.16T 1.00T 859K 168M 1024G 0 ib/iscsi/esx-server2-02 2.16T 2.33T 166M 347G 1.99T 0 Even though the filesystem ib/iscsi/esx-server2-00 was specified as 1TB in size, and only 400GB is used the space usage is now at 1.4TB, i.e. 1TB + 400GB, is this normal? How can I get it to only use the 1TB of space that I reserved for the volume? $ zfs get all ib/iscsi/esx-server2-00 NAME PROPERTY VALUE SOURCE ib/iscsi/esx-server2-00 type volume - ib/iscsi/esx-server2-00 creation Fri Nov 13 11:01 2009 - ib/iscsi/esx-server2-00 used 1.39T - ib/iscsi/esx-server2-00 available 1.16T - ib/iscsi/esx-server2-00 referenced 400G - ib/iscsi/esx-server2-00 compressratio 1.00x - ib/iscsi/esx-server2-00 reservation none default ib/iscsi/esx-server2-00 volsize 1T - ib/iscsi/esx-server2-00 volblocksize 8K - ib/iscsi/esx-server2-00 checksum on default ib/iscsi/esx-server2-00 compression off default ib/iscsi/esx-server2-00 readonly off default ib/iscsi/esx-server2-00 shareiscsi on local ib/iscsi/esx-server2-00 copies 1 default ib/iscsi/esx-server2-00 refreservation 1T local ib/iscsi/esx-server2-00 primarycache all default ib/iscsi/esx-server2-00 secondarycache all default ib/iscsi/esx-server2-00 usedbysnapshots 862K - ib/iscsi/esx-server2-00 usedbydataset 400G - ib/iscsi/esx-server2-00 usedbychildren 0 - ib/iscsi/esx-server2-00 usedbyrefreservation 1024G - TIA -- This message posted from opensolaris.org _______________________________________________ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss