Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Dec 2016 18:34:04 -0600
From:      Adam Vande More <amvandemore@gmail.com>
To:        javocado <javocado@gmail.com>
Cc:        FreeBSD virtualization <freebsd-virtualization@freebsd.org>,  FreeBSD Questions <freebsd-questions@freebsd.org>,  FreeBSD Filesystems <freebsd-fs@freebsd.org>
Subject:   Re: Re-sparse a file-backed IO device + zfs
Message-ID:  <CA+tpaK3CRmzp6P_rigtpoVjYWvDWsxCQz6NyjR-gsfksOZ6sxw@mail.gmail.com>
In-Reply-To: <CAP1HOmQ6zXOqeD=DYe0rtnR6TkzyndLZHyutgynBXWNMVuiksA@mail.gmail.com>
References:  <CAP1HOmQ6zXOqeD=DYe0rtnR6TkzyndLZHyutgynBXWNMVuiksA@mail.gmail.com>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
On Mon, Dec 12, 2016 at 7:20 PM, javocado <javocado@gmail.com> wrote:

> Hi,
>
> I'm setting up a bhyve wherein:
>
> host #  truncate -s 1T vol.file
> host #  du -ah vol.file
> 200K    vol.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
> /mnt/data1 data1 ada0
>

I think there used to be a utility called sparsify.



-- 
Adam



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?CA+tpaK3CRmzp6P_rigtpoVjYWvDWsxCQz6NyjR-gsfksOZ6sxw>