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 > <https://www.listbox.com/member/archive/182180/=now> > <https://www.listbox.com/member/archive/rss/182180/21175722-010faa19> | > Modify > <https://www.listbox.com/member/?&> > Your Subscription <http://www.listbox.com> > 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: 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
