A bit late to the party, but ...
I just stumbled across the same problem. Slightly different from the OP, I didn't expect my ZVOL snapshots in
/zfspool/.zfs, but somewhere in the
Originally, I couldn't find them there. After reading
man zfs, the subject became clear. They are hidden by default, but we can easily make them visible by setting the
snapdev property accordingly. In my case, I have a ZVOL
rpool/vm-temp. To make its snapshots visible, I just had to do
zfs set snapdev=visible rpool/vm-temp
However, I reverted this setting, because I have several thousands of snapshots which are visible in at least two places: In numbered notation directly in
/dev/zd9984p1), and with symbolic names in
/dev/zvol/rpool/vm-temp@Y-2020-06-29-13-44-12-part1), where the latter are just symbolic links to the former.
As one may imagine, several thousands of snapshot devices directly in
/dev somehow unusable, so I make the ZVOL snapshot devices visible only temporarily in case of problems and leave them hidden otherwise.
A very interesting additional aspect:
If you have a ZVOL which acts as (let's say) disk for a VM, you likely have several partitions in it. If there are
N partitions, you will get
N+1 additional snapshot devices with each snapshot, because the ZVOL itself is treated as disk device, and the partitions are recognized as, well, partitions. Hence, as it would be the case with a bare metal disk with multiple partitions, you get
1 + number of partitions new block devices per ZVOL snapshot.
You can see this from my example above: I have
vm-temp@Y-2020-06-29-13-44-12-part1, but also a device with
-part2 instead of
-part1 (because I have two partitions in this ZVOL), plus one device without the trailing
-part... at all, representing the ZVOL itself.
So the answer to the question is:
You can access the snapshots using the devices in
/dev/zvol/zfspool or those in
/dev, provided you have made them visible by setting the
snapdev property for the ZVOL in question to
Unfortunately, you can actually use these snapshot devices only if they are visible, so the way shown in the other answer (clone a snapshot, use the clone) might be the better way, depending on the number of snapshots you have and depending on whether you can or cannot live with them cluttering the
/dev directory. Cloning a snapshot works regardless of whether or not the snapshot device is visible in the
So the other answer so far is correct. I just wanted to add an explanation of how you actually can show these devices, enabling you to use them directly without having to clone them.