Re: [CentOS] Mount a Xen disk image file

2008-08-10 Thread Dirk H. Schulz
Kai, I am sorry, but I simply do not understand at the moment. I thought xvda is the method the disks are mounted into the VM - you sound like it being the format of the disk itself. Please explain. Dirk --On 8. August 2008 20:31:15 +0200 Kai Schaetzl [EMAIL PROTECTED] wrote: Dirk H.

Re: [CentOS] Mount a Xen disk image file

2008-08-08 Thread Kai Schaetzl
Dirk H. Schulz wrote on Fri, 08 Aug 2008 07:13:01 +0200: You are talking about a basic vm installation to a partition instead of an image file? That doesn't make a difference. Whether you virt-install to file or partition you end up with xvda'd disks. If they work at all you one way or the

Re: [CentOS] Mount a Xen disk image file

2008-08-08 Thread Dirk H. Schulz
Hi Kai, --On 8. August 2008 10:31:18 +0200 Kai Schaetzl [EMAIL PROTECTED] wrote: - snip - If you don't mind ending up with xvda it's a good way. What is the problem with xvda? And what is the alternative? Dirk ___ CentOS mailing list

Re: [CentOS] Mount a Xen disk image file

2008-08-08 Thread Kai Schaetzl
Dirk H. Schulz wrote on Fri, 08 Aug 2008 14:54:20 +0200: What is the problem with xvda? And what is the alternative? Didn't we just discuss that? xvda doesn't allow you simple mounting of the disk from the host, be it file or LV. Kai -- Kai Schätzl, Berlin, Germany Get your web at Conactive

[CentOS] Mount a Xen disk image file

2008-08-07 Thread Dirk H. Schulz
Hi Folks, I search for a way to mount the .img files virt-install creates for Xen VMs. Using fdisk -lu I found it contains to 2 partitions: # fdisk -lu /var/lib/xen/images/BaseCentos.img last_lba(): I don't know how to handle files with mode 81ed Sie müssen angeben Zylinder. Sie können dies

Re: [CentOS] Mount a Xen disk image file

2008-08-07 Thread Fabian Arrotin
Dirk H. Schulz wrote: snip- I venture it is because the second partition is LVM (8e). Did anybody out there succeed in mounting an LVM partition out of an image file? That's why kpartx (for lvm) and lomount exist ;-) Don't forget after you've used kpartx -a to use lvscan to discover your

Re: [CentOS] Mount a Xen disk image file

2008-08-07 Thread Dirk H. Schulz
Hi Fabian, --On 7. August 2008 16:22:36 +0200 Fabian Arrotin [EMAIL PROTECTED] wrote: Dirk H. Schulz wrote: snip- I venture it is because the second partition is LVM (8e). Did anybody out there succeed in mounting an LVM partition out of an image file? That's why kpartx (for lvm) and

Re: [CentOS] Mount a Xen disk image file

2008-08-07 Thread Kai Schaetzl
Dirk H. Schulz wrote on Thu, 07 Aug 2008 16:46:47 +0200: Do you have any other idea? Do you want to regularly access it that way or do you just need to access the files onetime? I do not like this xvda stuff at all. So I created a basic setup with virt-install and copied all content off (I

Re: [CentOS] Mount a Xen disk image file

2008-08-07 Thread Dirk H. Schulz
Hi Kai, --On 7. August 2008 20:31:22 +0200 Kai Schaetzl [EMAIL PROTECTED] wrote: Dirk H. Schulz wrote on Thu, 07 Aug 2008 16:46:47 +0200: Do you have any other idea? Do you want to regularly access it that way or do you just need to access the files onetime? I do not like this xvda stuff