Re: Re-sparse a file-backed IO device + zfs

2016-12-13 Thread Adam Vande More
On Mon, Dec 12, 2016 at 7:20 PM, javocado wrote: > Hi, > > I'm setting up a bhyve wherein: > > host # truncate -s 1T vol.file > host # du -ah vol.file > 200Kvol.file > > host # /usr/sbin/bhyve ... -s 4,ahci-hd,vol.file ... > > Then inside the bhyve I create a zpool

Re: Re-sparse a file-backed IO device + zfs

2016-12-12 Thread Karli Sjöberg
Den 13 dec. 2016 02:20 skrev javocado : > > Hi, > > I'm setting up a bhyve wherein: > > host # truncate -s 1T vol.file > host # du -ah vol.file > 200Kvol.file > > host # /usr/sbin/bhyve ... -s 4,ahci-hd,vol.file ... > > Then inside the bhyve I create a zpool (ada0 =

Re-sparse a file-backed IO device + zfs

2016-12-12 Thread javocado
Hi, I'm setting up a bhyve wherein: host # truncate -s 1T vol.file host # du -ah vol.file 200Kvol.file host # /usr/sbin/bhyve ... -s 4,ahci-hd,vol.file ... Then inside the bhyve I create a zpool (ada0 = vol.file): bhyve # zpool create -O devices=off -O atime=off -O compression=on -m