Rodney W. Grimes wrote: > > > > > > > > > > You can usually use the host by doing mdconfig -f <path+to+diskimage> > > > > > > > > Unfortunately mdconfig does not work with zvols: > > > > > > > > root@vas:~ # mdconfig -a -f /dev/zvol/d02/vm/freepbx/disk0 > > > > mdconfig: /dev/zvol/d02/vm/freepbx/disk0 is not a regular file > > > > > > If its a zvol cant you just do > > > gpart show /dev/zvol/d02/vm/freepbx/disk0 > > > > > > and > > > mount -t msdosfs /dev/zvol/d02/vm/freepbx/disk0p2 > > > > No I can't if the zvol is in the "volmode=dev" mode which is the default. > > > > 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. > > 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. -- Victor Sudakov, VAS4-RIPE, VAS47-RIPN 2:5005/49@fidonet http://vas.tomsk.ru/
signature.asc
Description: PGP signature