mounting/exporting/importing a zfs volume
Victor Sudakov
vas at mpeks.tomsk.su
Mon Feb 11 17:03:15 UTC 2019
Dear Colleagues,
vm-bhyve keeps virtual machines on zfs volumes with volmode=dev. How can
I access/mount the filesystems within the volume when the virtual host
is offline?
If I kept virtual disks in raw files, I could access them as devices
with mdconfig. But:
root at newserv:~ # mdconfig -a -f /dev/zvol/zroot/vm/mail/disk0
mdconfig: /dev/zvol/zroot/vm/mail/disk0 is not a regular file
root at newserv:~ #
Also, how can I exchange those zfs volumes for use with other
hypervisors? They are not real raw disk files so I cannot use
sysutils/vmdktool etc.
--
Victor Sudakov, VAS4-RIPE, VAS47-RIPN
2:5005/49 at fidonet http://vas.tomsk.ru/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 455 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-virtualization/attachments/20190212/c5623f4a/attachment.sig>
More information about the freebsd-virtualization
mailing list