[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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



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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.