WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: Fedora - specialities - was: Re: [Xen-users] Booting Jailtime Centos

To: Henning Sprang <henning_sprang@xxxxxx>
Subject: Re: Fedora - specialities - was: Re: [Xen-users] Booting Jailtime Centos Image
From: Gerd Hoffmann <kraxel@xxxxxxx>
Date: Thu, 07 Dec 2006 12:59:32 +0100
Cc: xen-users@xxxxxxxxxxxxxxxxxxx, Jensen Nathan A Capt USAFA/DFCS <nathan.jensen@xxxxxxxxxxxx>
Delivery-date: Thu, 07 Dec 2006 04:00:05 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <4577FEEC.6060303@xxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <200612061923.kB6JN7j8000577@xxxxxxxxxxxxxxxxxxxxx> <4577FEEC.6060303@xxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 1.5.0.8 (X11/20060911)
Henning Sprang wrote:
> Also a Fedora-speciality: They generally use a file as a full block
> device. In this block device, they don't directly put a filesystem, but
> they add a partition table in there, and in this again create partitions.

I do that too, so I end up with only one lvm volume per vm instead of
one volume per partition.

> But I also didn't yet succeed to mount this as a loopback device,
> because there simply is no device file on the system for these "inner"
> partitions. And I didn't find how to create one.

kpartx (part of multipath tools) can create device mapper mappings for
dos partitions on any block device.

losetup also has a offset switch, that way it should be possible too to
mount filesystems starting somewhere in the middle, at least for image
files.

cheers,

  Gerd.

-- 
Gerd Hoffmann <kraxel@xxxxxxx>

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users