From owner-freebsd-virtualization@freebsd.org Sun Apr 7 08:02:37 2019 Return-Path: Delivered-To: freebsd-virtualization@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D76D2157B2AE for ; Sun, 7 Apr 2019 08:02:37 +0000 (UTC) (envelope-from vas@mpeks.tomsk.su) Received: from admin.sibptus.ru (admin.sibptus.ru [IPv6:2001:19f0:5001:21dc::10]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 0C85487996 for ; Sun, 7 Apr 2019 08:02:36 +0000 (UTC) (envelope-from vas@mpeks.tomsk.su) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sibptus.ru; s=20181118; h=In-Reply-To:Message-ID:Subject:To:From:Date; bh=QFU4mZBNwN+Dq7dWqPvu4nUgb3CctUuVlDYQ6O3LYoU=; b=fjIFZUMN1Br3UkcFRdS8nkdJVA krW8dzGf3Rpv53IJedPRpSq0D03uHmNZFl9ymK15cSCOXDFPn1Kl4yCIkLJMjy9ey/fBQNfNWV+Z/ L30UfdwTfGxJRcC2pSXCiYN1BoBQAC5TyE5cKKcE64aV/as4Y6V8Ra76y35QJ6gkJi2o=; Received: from vas by admin.sibptus.ru with local (Exim 4.92 (FreeBSD)) (envelope-from ) id 1hD2l9-000Af9-Lh for freebsd-virtualization@freebsd.org; Sun, 07 Apr 2019 15:02:35 +0700 Date: Sun, 7 Apr 2019 15:02:35 +0700 From: Victor Sudakov To: freebsd-virtualization@freebsd.org Subject: Re: running FreePBX SNG7 Official Distro Message-ID: <20190407080235.GA40361@admin.sibptus.ru> References: <20190407023743.GB99339@admin.sibptus.ru> <201904070419.x374JbIp048373@gndrsh.dnsmgr.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="EeQfGwPcQSOJBaQU" Content-Disposition: inline In-Reply-To: <201904070419.x374JbIp048373@gndrsh.dnsmgr.net> X-PGP-Key: http://www.dreamwidth.org/pubkey?user=victor_sudakov X-PGP-Fingerprint: 10E3 1171 1273 E007 C2E9 3532 0DA4 F259 9B5E C634 User-Agent: Mutt/1.11.4 (2019-03-13) Sender: Victor Sudakov X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.29 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, 07 Apr 2019 08:02:38 -0000 --EeQfGwPcQSOJBaQU Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Rodney W. Grimes wrote: > > > > >=20 > > > > > You can usually use the host by doing mdconfig -f > > > >=20 > > > > Unfortunately mdconfig does not work with zvols: > > > >=20 > > > > root@vas:~ # mdconfig -a -f /dev/zvol/d02/vm/freepbx/disk0=20 > > > > mdconfig: /dev/zvol/d02/vm/freepbx/disk0 is not a regular file > > >=20 > > > If its a zvol cant you just do > > > gpart show /dev/zvol/d02/vm/freepbx/disk0 > > >=20 > > > and=20 > > > mount -t msdosfs /dev/zvol/d02/vm/freepbx/disk0p2 > >=20 > > No I can't if the zvol is in the "volmode=3Ddev" mode which is the defa= ult.=20 > >=20 > > This is the default for a reason: it's no good exposing scores of always > > coming and going guest geoms to the host system. I think you can even > > get a conflict of labels or something like that one day. >=20 > So it may take a few more commands but it should be > possible to do this from the host side using host > side tools without having to boot a guest to make > these corrections. I'm not aware of such commands. If anyone knows them please share with us. Moreover, I already asked a similar question in February under the topic "mounting/exporting/importing a zfs volume" and nobody gave a recipe. --=20 Victor Sudakov, VAS4-RIPE, VAS47-RIPN 2:5005/49@fidonet http://vas.tomsk.ru/ --EeQfGwPcQSOJBaQU Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEcBAEBAgAGBQJcqa6bAAoJEA2k8lmbXsY0TfIIAJT3ciG0rk6ko/U74bwEenXy 318oH5L4YPr/G3C1k2htsbLrykGZzhRTOtwFBhzNExOEBzjL5X5Z6Nb7+0h+bCL0 ZB5brZqryFXNu8ANsk3h7d8s+LKt0anjq63uN0qfkSsrMRwmpY/pFAQ6I5P7ED95 ljhYv9iP+UBOLwQPTktTdNkoeCtCaAO7AIol/oz1CuNxn+fYqsGkoBeVCbOlRMem JxBe63X08FNo5YkEBXaPH04nhC4hHIFlFx6OkYp8hbu/nKAAKkxOTXSY3qpO+TWx xwm3FzA/ixO13wH5UuZpD4PqWt2BzYvzfryyRAFhHQjqGnlR++MCoNcD71sX8yk= =z+oj -----END PGP SIGNATURE----- --EeQfGwPcQSOJBaQU--