FreeBSD Mastery: Advanced ZFS
Allan Jude and Michael Lucas
But the new zvol from snapshot uses only 8K
OK, this is just a diff, "copy-on-write".
The next case.
vmhd2/win2016T2 is a copy, isn't it? So why the USED space is not equal to vmhd2/win2016?
This topic created because each of copies/clones of the original file system has degraded performance of the guest FS.
189 vs 122 MB/s for read according CristalMark.
Allan Jude and Michael Lucas
OK, that is after creating of zvol:A zvol immediately claims all of the space you assigned for it. We created a 2 TB
volume so it uses 2 TB of space plus some extra for metadata. A brand-new volume hasn’t
used this much space yet—it hasn’t written a bunch of placeholder data to the pool or
anything like that. It’s only claimed that space via a refreservation.
Code:
zfs list -r vmhd2
NAME USED AVAIL REFER MOUNTPOINT
vmhd2 247G 1.68T 96K /vmhd2
Code:
# zfs clone vmhd2/win2016@1 vmhd2/win2016T1
# zfs list -r vmhd2
NAME USED AVAIL REFER MOUNTPOINT
vmhd2 243G 1.68T 96K /vmhd2
vmhd2/win2016 243G 1.91T 16.3G -
vmhd2/win2016T1 8K 1.68T 16.3G -
The next case.
Code:
# zfs send vmhd2/win2016 | zfs recv vmhd2/win2016T2
# zfs list -r vmhd2
NAME USED AVAIL REFER MOUNTPOINT
vmhd2 263G 1.67T 96K /vmhd2
vmhd2/win2016 243G 1.89T 17.3G -
vmhd2/win2016T1 2.33G 1.67T 17.3G -
vmhd2/win2016T2 17.3G 1.67T 17.3G -
This topic created because each of copies/clones of the original file system has degraded performance of the guest FS.
189 vs 122 MB/s for read according CristalMark.