Re: [OpenIndiana-discuss] Inefficient zvol space usage on 4k drives

2013-08-08 Thread Richard Elling
On Aug 8, 2013, at 11:34 AM, Lionel Cons wrote: > On 8 August 2013 17:11, Richard Elling > wrote: >> On Aug 7, 2013, at 2:50 PM, Jason Lawrence wrote: >> >>> This might be a better question for the Illumos group, so please let me >>> know. >>> >>> I have a zvol for a KVM instance which I f

Re: [OpenIndiana-discuss] Inefficient zvol space usage on 4k drives

2013-08-08 Thread Lionel Cons
On 8 August 2013 17:11, Richard Elling wrote: > On Aug 7, 2013, at 2:50 PM, Jason Lawrence wrote: > >> This might be a better question for the Illumos group, so please let me know. >> >> I have a zvol for a KVM instance which I felt was taking up too much space. >> After doing a little research,

Re: [OpenIndiana-discuss] Inefficient zvol space usage on 4k drives

2013-08-08 Thread Sriram Narayanan
Thanks for the insight, Richard. -- Sriram On Thu, Aug 8, 2013 at 8:41 PM, Richard Elling < richard.ell...@richardelling.com> wrote: > On Aug 7, 2013, at 2:50 PM, Jason Lawrence wrote: > > > This might be a better question for the Illumos group, so please let me > know. > > > > I have a zvol f

Re: [OpenIndiana-discuss] Inefficient zvol space usage on 4k drives

2013-08-08 Thread Richard Elling
On Aug 7, 2013, at 2:50 PM, Jason Lawrence wrote: > This might be a better question for the Illumos group, so please let me know. > > I have a zvol for a KVM instance which I felt was taking up too much space. > After doing a little research, I stumbled upon > http://support.freenas.org/ticket

Re: [OpenIndiana-discuss] Inefficient zvol space usage on 4k drives

2013-08-08 Thread Dan Vatca
Hi, I've done some tests (some months ago) similar to the ones you intend to make, and indeed the space inefficiency clearly shows. The test data is not very "academic", but proves the point you are discussing. The data also shows that the current refreservation calculations are not accurate in

Re: [OpenIndiana-discuss] Inefficient zvol space usage on 4k drives

2013-08-07 Thread Steve Gonczi
Hi Jim, This looks to me more like a rounding-up problem, esp. looking at the bug report quoted. The waste factor increases as the block size goes down. Kind of looks like it fits the ratio of the blocks nominal size, vs its minimal on-disk foot print. For example, compressed blocks are vari

Re: [OpenIndiana-discuss] Inefficient zvol space usage on 4k drives

2013-08-07 Thread Jim Klimov
On 2013-08-07 23:50, Jason Lawrence wrote: The 8k blocksize zvol takes up twice the space of the 32k blocksize zvol. As 8k is the default, this must be affecting others... Yes, I've had similar results on my rig and complained some time ago... yet the ZFS world moves forward with desiring ashi