Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Jul 2013 10:49:54 +0200
From:      Adam Nowacki <nowakpl@platinum.linux.pl>
To:        freebsd-fs@freebsd.org
Subject:   Re: Efficiency of ZFS ZVOLs.
Message-ID:  <51E26632.8030907@platinum.linux.pl>
In-Reply-To: <CACpH0MfRr_SzjXbTSs72NJdcDzOp%2Bwyzgi5ipidjDVy%2BoA2Hng@mail.gmail.com>
References:  <CACpH0MfRr_SzjXbTSs72NJdcDzOp%2Bwyzgi5ipidjDVy%2BoA2Hng@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2013-07-14 09:55, Zaphod Beeblebrox wrote:
> [1:3:303]root@virtual:~> zfs list -rt all vr2/Steam
> NAME                      USED  AVAIL  REFER  MOUNTPOINT
> vr2/Steam                3.25T  9.27T  1.18T  -
> vr2/Steam@20130528-0029   255M      -  1.18T  -
> vr2/Steam@20130529-0221   172M      -  1.18T  -
>
> vr2/Steam is a ZVOL exported by iSCSI to my desktop and it contains an NTFS
> filesystem which is mounted into C:\Program Files (x86)\Steam.  Windows
> sees this drive as a 1.99T drive of which 1.02T is used.
>
> Now... the value of "REFER" seems quite right: 1.18T vs. 1.02T is pretty
> good... but the value of "USED" seems _way_ out.  3.25T ... even regarding
> that more of the disk might have been "touched" (ie: used from the ZVOL's
> impression) than is used, it seems too large.  Neither is it 1.18T + 255M +
> 172M.

This is how much space would be required to store the snapshots plus 2TB 
volume with no shared blocks between any of the snapshots. 1.18T from 
snapshots + 2T reservation = 3.18T, just about the 3.25T displayed. You 
can remove the reservation with 'zfs set refreservation=none vr2/Steam'.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?51E26632.8030907>