Using GTP and glabel for ZFS arrays

Daniel O'Connor doconnor at gsoft.com.au
Sat Jul 24 02:42:49 UTC 2010


On 24/07/2010, at 11:55, Freddie Cash wrote:
> It's theoretical as I have not investigated how to create sparse files
> on FreeBSD, nor have I done this.  It's based on several posts to the
> zfs-discuss mailing list where several people have done this on
> OpenSolaris.

FYI you would do..
truncate -s 1T /tmp/fake-disk1
mdconfig -a -t vnode -f /tmp/fake-disk1

etc..

Although you'd want to determine the exact size of your real disks from geom and use that.

--
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
  -- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C








More information about the freebsd-stable mailing list