From owner-freebsd-virtualization@freebsd.org Sun Mar 6 18:15:51 2016 Return-Path: Delivered-To: freebsd-virtualization@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1F448AB6887 for ; Sun, 6 Mar 2016 18:15:51 +0000 (UTC) (envelope-from allanjude@freebsd.org) Received: from mx1.scaleengine.net (mx1.scaleengine.net [209.51.186.6]) by mx1.freebsd.org (Postfix) with ESMTP id F3CB29A2 for ; Sun, 6 Mar 2016 18:15:50 +0000 (UTC) (envelope-from allanjude@freebsd.org) Received: from [10.1.1.2] (unknown [10.1.1.2]) (Authenticated sender: allanjude.freebsd@scaleengine.com) by mx1.scaleengine.net (Postfix) with ESMTPSA id 232CED7F6 for ; Sun, 6 Mar 2016 18:15:44 +0000 (UTC) Subject: Re: mount bhyve image To: freebsd-virtualization@freebsd.org References: <20160306145730.GA88508@potato.growveg.org> From: Allan Jude Message-ID: <56DC73CA.7080207@freebsd.org> Date: Sun, 6 Mar 2016 13:15:38 -0500 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 MIME-Version: 1.0 In-Reply-To: <20160306145730.GA88508@potato.growveg.org> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="TC5dMnAC2m4qCB4rLWFmr6LkwflBRLSLO" X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Mar 2016 18:15:51 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --TC5dMnAC2m4qCB4rLWFmr6LkwflBRLSLO Content-Type: multipart/mixed; boundary="pfVGm2LtX3U70jboEJSQgfLh9QoJtxoHH" From: Allan Jude To: freebsd-virtualization@freebsd.org Message-ID: <56DC73CA.7080207@freebsd.org> Subject: Re: mount bhyve image References: <20160306145730.GA88508@potato.growveg.org> In-Reply-To: <20160306145730.GA88508@potato.growveg.org> --pfVGm2LtX3U70jboEJSQgfLh9QoJtxoHH Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 2016-03-06 09:57, John wrote: > Hello list, >=20 > Can a bhyve image be mounted to the filesystem? Not an active image, I > mean, say one has a problem loading a bhyve instance. Is it possible > to mount the image as one would for example mount a cdrom image as per > md(8) ? If it is possible, what are the parameters please? >=20 > thanks, Yes, you mount it the same way as a cdrom image: mdconfig -a -t vnode -f /path/to/image then: mount -t /dev/md0p1 /mnt note that depending on your partitioning scheme, the exact device name will different. md0p1 is the first GPT partition, it might be MBR instead, which would be md0s1, etc. --=20 Allan Jude --pfVGm2LtX3U70jboEJSQgfLh9QoJtxoHH-- --TC5dMnAC2m4qCB4rLWFmr6LkwflBRLSLO Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (MingW32) iQIcBAEBAgAGBQJW3HPPAAoJEBmVNT4SmAt+KqIP/A0rTNYcOQaGLnJ5lSQ4G53y Qtji044nlmdFUg32KpV8Sn3x+QAlcPC2U+aBolLGUwwJUsYmdzcgMHH5KcsD+Em6 vn8bXc5YmdWQv/sI0qiFr885RoOGkSFDbceH/DLrhsf2+Y02QiKviwYCrB8i4IqG BoM0LFznmhhgnSV8b2NlmL9xuS42CbgKbcW6jWemy7aNUTIHqGiD6ZVcUTtZOEcz E5g0Pwtp1hlgJdrIInIUcZ1ORj7GB/+3WRmQG3oXZGYMz0cdri1uZ7yIyEPKxtl8 E4upQ0ee8Pd9UNmItsqNDthK/n/zg/sgXgct5uQaGQNtP+/LmeI3GoqN5dMR4nBb sn571R5HP8kfj8XoRMkAyCegVlVe3vOXifG+wL3YaCJaEXDb97BjlrgauWhhNi4r CuNRyoFSwxexJbcjdw6bCtfvK0xdAvZoApaaCAV2MKXYFqK1XUttwPQHk2Ldxqqb SON7L2PE7+IY/v46XYNWuUIU7ToGLaTPUD4qfgYiSd8dM1GMq8kaWlfNtZdw1YYM iER28kuzREg5O4Gq8lxxbjJORyJmwg9NzeeKPBHX1Y9LyIPtyqASGJKxpXDc5uFJ SkeZ51AEgszVFesOGyaBFYm4j4eAmfik3TwcrKH6BoRxATnnZW8cO1Lyr7GkQdyd jIcmdJC7r6V4GisTJ3Es =uKOO -----END PGP SIGNATURE----- --TC5dMnAC2m4qCB4rLWFmr6LkwflBRLSLO--