Michael van Elst wrote:
m...@petermann-it.de (Matthias Petermann) writes:

saturn$ doas dmsetup create net-export --table "34 2147483581 linear
/dev/zvol/rdsk/tank/backup/vhost/vol/net-export 0"
create and load called

Please try:

--table "0 2147483581 linear /dev/zvol/dsk/tank/backup/vhost/vol/net-export 34"

left side is the offset + size of a chunk of your new mapped device

right side is the backing store (must be the block device) and the offset on 
the backing store.

Worked for me, thanks! This means I don't have to patch zvol.c any more for mounting snapshots :-)

Staffan

Reply via email to