From owner-freebsd-emulation@FreeBSD.ORG Tue Jul 6 03:50:08 2010 Return-Path: Delivered-To: emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0CCB7106566B for ; Tue, 6 Jul 2010 03:50:08 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-vw0-f54.google.com (mail-vw0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id AF0DE8FC19 for ; Tue, 6 Jul 2010 03:50:07 +0000 (UTC) Received: by vws6 with SMTP id 6so7135119vws.13 for ; Mon, 05 Jul 2010 20:50:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=sYwWgAfhDeloeR9mBJDI0sLJQkjenISu/8yLfJTokxg=; b=aK0s9f0XkxQxXAkJtJnEr1uG8IqKls7Ojfj8LKvAOhbXG7BqpqjpbXGv7w/yIwqVtc ZLwbEYaQWZUmNN4pNKZ2ZoBi2329VIpQ/A6zTfkDWoaqUS7JrTxR6SsqZ8DaLbb70YKp uCU1PvdFL3r01GZmZ45slfEYFkjI42ico9RXg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=VaEahh6LuHt+DhbkoEsu6QxlU3JZfs89+5fhovdECqw38Y0TyVmQ6V/6i2yN48U+FU 7aHhGoA/vy2XMiYhDcMzdUT9Je+nYlLvBVtDTuO9jKbdJe8pfbFm+V6dPdAjk+Gtxt// NPCrtOZfU5rUUCERTnm99fKaG2lCVs0PM6Lko= MIME-Version: 1.0 Received: by 10.229.185.141 with SMTP id co13mr2118121qcb.253.1278386508358; Mon, 05 Jul 2010 20:21:48 -0700 (PDT) Received: by 10.229.86.12 with HTTP; Mon, 5 Jul 2010 20:21:48 -0700 (PDT) In-Reply-To: References: Date: Mon, 5 Jul 2010 22:21:48 -0500 Message-ID: From: Adam Vande More To: Warren Block Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: emulation@freebsd.org Subject: Re: Mounting VirtualBox vdi files X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Jul 2010 03:50:08 -0000 On Mon, Jul 5, 2010 at 10:20 PM, Adam Vande More wrote: > On Mon, Jul 5, 2010 at 9:58 PM, Warren Block wrote: > >> Is there any hope of a utility like mdconfig that would allow mounting a >> vdi file directly? >> >> There's a tantalizingly-named ImageMounter/VBoxFUSE, which is probably not >> what that implies. >> >> It would be great to be able to access vdi files without having to waste >> time and space converting them to raw image files. >> > > Not that I'm aware of, all tools that do so depend on having a fixed size > image. > > You could use a sparse file for the raw format :P I use some other methods > for getting data from VM's to host and other machines. One place I do work > for is a linux shop with a couple Win 2k8 VM's. All disk's are mapped to > LVM's including 2k8's "dedicated" backup drive. The backup drive(lvm) is > then mapped via kpartx and mounted read-only in the host system so tarsnap > archives can be generated against it. I actually don't know how you'd do > this under FreeBSD since I'm not aware of any equivalent functionality to > kpartx under FBSD. > Actually just had another idea if you're using ZFS. Just put the raw image on it's on FS, and set it compressed. Problem solved ;) -- Adam Vande More