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



Hello Michael,

Am 07.09.2022 um 16:37 schrieb Michael van Elst:
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.


This worked great! This helps me tremendously - I can now mount the replicated ZVOL snapshots of my VMs directly on the NAS. This is much more convenient and faster than replicating the ZVOL back to the vhost if the worst comes to the worst.

Kind regards
Matthias


Home | Main Index | Thread Index | Old Index