Date: Tue, 12 Feb 2019 00:03:12 +0700 From: Victor Sudakov <vas@mpeks.tomsk.su> To: freebsd-virtualization@freebsd.org Subject: mounting/exporting/importing a zfs volume Message-ID: <20190211170312.GA76683@admin.sibptus.ru>
next in thread | raw e-mail | index | archive | help
--wac7ysb48OaltWcw Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Dear Colleagues, vm-bhyve keeps virtual machines on zfs volumes with volmode=3Ddev. How can I access/mount the filesystems within the volume when the virtual host is offline?=20 If I kept virtual disks in raw files, I could access them as devices with mdconfig. But: root@newserv:~ # mdconfig -a -f /dev/zvol/zroot/vm/mail/disk0=20 mdconfig: /dev/zvol/zroot/vm/mail/disk0 is not a regular file root@newserv:~ #=20 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. --=20 Victor Sudakov, VAS4-RIPE, VAS47-RIPN 2:5005/49@fidonet http://vas.tomsk.ru/ --wac7ysb48OaltWcw Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEcBAEBAgAGBQJcYarQAAoJEA2k8lmbXsY0fUAH/2lHOGF0pV7A0Cbnm5HLq0vG VUMpYFqL0ZE46UrmtA68DOBpe7xDRkoakpZBTWrXEgq0LlKArxEoSuLy/anFoa2q ateDZz/prIX3zDXgDBZW8G1PkV+P3Olrl6zHTrCoR1W/85xYWO8ZZI4wFc16/TQm IFKlmoovON6nNWf7L2RlqMPFPcEkkjZCHd9XVrgfDJWpfTpLe7Zj5H2XGwK2/XQL aScDBI212saexdaHloj8kJ6VJfTjA1i8HOTa9h56z7uJLJiPN1lljj1SbFX4L/xE iYyj6YlmdAEWPgvQZng2YQnIs3RKVrs68JBVkp+kmW5k5+MkAyfnI927JaNy5gc= =B44S -----END PGP SIGNATURE----- --wac7ysb48OaltWcw--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20190211170312.GA76683>