so, after raw conversion, you mean I can just use the file as a disk device in zpool import -d? how can I specify the file as the device to use? never done this... Da: Peter Tribble A: discuss Data: 28 settembre 2015 16.37.38 CEST Oggetto: Re: [discuss] mount vdi zpool On Mon, Sep 28, 2015 at 3:05 PM, Gabriele Bulfon [email protected] wrote: Hi, is there any way to mount zpools inside a virtual box vdi disk image? Any lofiadm trick to read the vdi and import from the lofi device? Gabriele illumos-discuss | Archives | Modify Your Subscription Not directly. But if you convert the vdi file to a raw disk image VBoxManage internalcommands converttoraw file.vdi output.img then you should be able to. ZFS might be able to read the file directly (maybe if it's EFI labelled), or you might have to go via lofi again if there are partitions. But converting it to a raw file is going to be the first step. -- -Peter Tribble http://www.petertribble.co.uk/ - http://ptribble.blogspot.com/ illumos-discuss | Archives | Modify Your Subscription
------------------------------------------- illumos-discuss Archives: https://www.listbox.com/member/archive/182180/=now RSS Feed: https://www.listbox.com/member/archive/rss/182180/21175430-2e6923be Modify Your Subscription: https://www.listbox.com/member/?member_id=21175430&id_secret=21175430-6a77cda4 Powered by Listbox: http://www.listbox.com
