Chris Andrews
2009-Aug-20 22:28 UTC
[Xen-users] Creating lvm on new image file or attach image as block device
Hello, Can some tell me how i can create a lvm on file base image within my dom0 or How i can attach an image as block device under the /dev/ directory _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Joshua Kinard
2009-Aug-21 13:29 UTC
RE: [Xen-users] Creating lvm on new image file or attach image as block device
You might be interested in my posts in the thread "Bootable LiveDVD w/ Xen that boots Windows image?". Simple answer, though, for RAW images (I tried w/ qcow, and Xen didn''t like): losetup /dev/loop0 <image> <lvm commands to work with block devices> See the above mentioned thread for a more specific example and usage. Also consult the man page on the ''losetup'' command, which is extremely versatile and allows you to tie file images to a loopback block device for a variety of odd purposes. Cheers!, --J ________________________________________ From: xen-users-bounces@lists.xensource.com [xen-users-bounces@lists.xensource.com] On Behalf Of Chris Andrews [khris4@gmail.com] Sent: Thursday, August 20, 2009 6:28 PM To: xen-users@lists.xensource.com Subject: [Xen-users] Creating lvm on new image file or attach image as block device Hello, Can some tell me how i can create a lvm on file base image within my dom0 or How i can attach an image as block device under the /dev/ directory _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users