NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Access FFS partition on GPT on ZVOL



Michael van Elst wrote:
mp%petermann-it.de@localhost (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



Home | Main Index | Thread Index | Old Index