hi all,
I created a logical volumn as a disk in the domU, and I have install
centos for the domU. (To be noted, the domU is HVM.)
Now, I want to mount the lv, and find some file in it, who can tell me
how?
Thanks a lot.
Qiang Ma
_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users
hi all,
I created a logical volumn as a disk in the domU, and I have install
centos for the domU. (To be noted, the domU is HVM.)
Now, I want to mount the lv in dom0, and find some files in it, who can
tell me how?
Additionally, I move the lv to another place without xen, I can''t
boot
domU again, so I have to mount the lv in dom0.
Thanks for any reply!
Qiang Ma
On Thu, Oct 21, 2010 at 12:46 PM, ma qiang <maqiang1984@gmail.com> wrote:
> hi all,
> I created a logical volumn as a disk in the domU, and I have install
> centos for the domU. (To be noted, the domU is HVM.)
> Now, I want to mount the lv, and find some file in it, who can tell me
> how?
>
> Thanks a lot.
> Qiang Ma
>
_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users
Laurent HENRY (EHESS/CRI)
2010-Oct-21 05:27 UTC
Re: [Xen-users] Re: how to mount a disk of domU?
Hello, i can''t give you a full tutorial for now. You can find hintes with mount comment and the offset parameter. More easy, you can play with kpartx command. I think, but not sure, when you will mount your file, chroot in it and do a grub install (of course, if you use grub bootloader) Le Jeu 21 octobre 2010 06:58, ma qiang a écrit :> hi all, > I created a logical volumn as a disk in the domU, and I have install > centos for the domU. (To be noted, the domU is HVM.) > Now, I want to mount the lv in dom0, and find some files in it, who > can > tell me how? > Additionally, I move the lv to another place without xen, I can''t boot > domU again, so I have to mount the lv in dom0. > > Thanks for any reply! > Qiang Ma > > > > > On Thu, Oct 21, 2010 at 12:46 PM, ma qiang <maqiang1984@gmail.com> wrote: > >> hi all, >> I created a logical volumn as a disk in the domU, and I have install >> centos for the domU. (To be noted, the domU is HVM.) >> Now, I want to mount the lv, and find some file in it, who can tell >> me >> how? >> >> Thanks a lot. >> Qiang Ma >> > _______________________________________________ > 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
fdisk -lu /dev/VolGroup00/temp
Disk /dev/VolGroup00/temp: 21.4 GB, 21474836480 bytes
255 heads, 63 sectors/track, 2610 cylinders, total 41943040 sectors
Units = sectors of 1 * 512 = 512 bytes
Device Boot Start End Blocks
Id System
/dev/VolGroup00/tempp1 * 63 41913584 20956761 7
HPFS/NTFS
On Thu, Oct 21, 2010 at 1:22 PM, Mark Pryor <tlviewer@yahoo.com> wrote:
> post (plain text)
>
> fdisk -lu /dev/VG/LV
>
> so we can see the offsets and the internal setup.
>
> --
> Mark
>
> --- On *Wed, 10/20/10, ma qiang <maqiang1984@gmail.com>* wrote:
>
>
> From: ma qiang <maqiang1984@gmail.com>
> Subject: [Xen-users] Re: how to mount a disk of domU?
> To: xen-users@lists.xensource.com
> Date: Wednesday, October 20, 2010, 9:58 PM
>
>
> hi all,
> I created a logical volumn as a disk in the domU, and I have install
> centos for the domU. (To be noted, the domU is HVM.)
> Now, I want to mount the lv in dom0, and find some files in it, who can
> tell me how?
> Additionally, I move the lv to another place without xen, I
can''t boot
> domU again, so I have to mount the lv in dom0.
>
> Thanks for any reply!
> Qiang Ma
>
>
>
>
> On Thu, Oct 21, 2010 at 12:46 PM, ma qiang
<maqiang1984@gmail.com<http://mc/compose?to=maqiang1984@gmail.com>
> > wrote:
>
> hi all,
> I created a logical volumn as a disk in the domU, and I have install
> centos for the domU. (To be noted, the domU is HVM.)
> Now, I want to mount the lv, and find some file in it, who can tell me
> how?
>
> Thanks a lot.
> Qiang Ma
>
>
>
> -----Inline Attachment Follows-----
>
> _______________________________________________
> Xen-users mailing list
>
Xen-users@lists.xensource.com<http://mc/compose?to=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
Sorry, I post the wrong text. That is another lv which is installed on
windows.
Linux showes as below.
fdisk -lu /dev/VolGroup00/linux_temp
Disk /dev/VolGroup00/linux_17_2010_10_15_18_20_13: 21.4 GB, 21474836480
bytes
255 heads, 63 sectors/track, 2610 cylinders, total 41943040 sectors
Units = sectors of 1 * 512 = 512 bytes
Device Boot Start End
Blocks Id System
/dev/VolGroup00/linux_temp p1 * 63 208844 104391 83
Linux
/dev/VolGroup00/linux_temp p2 208845 41929649 20860402+ 8e
Linux LVM
On Thu, Oct 21, 2010 at 1:27 PM, ma qiang <maqiang1984@gmail.com> wrote:
> fdisk -lu /dev/VolGroup00/temp
>
> Disk /dev/VolGroup00/temp: 21.4 GB, 21474836480 bytes
> 255 heads, 63 sectors/track, 2610 cylinders, total 41943040 sectors
> Units = sectors of 1 * 512 = 512 bytes
>
> Device Boot Start End Blocks
> Id System
> /dev/VolGroup00/tempp1 * 63 41913584 20956761 7
> HPFS/NTFS
>
>
> On Thu, Oct 21, 2010 at 1:22 PM, Mark Pryor <tlviewer@yahoo.com>
wrote:
>
>> post (plain text)
>>
>> fdisk -lu /dev/VG/LV
>>
>> so we can see the offsets and the internal setup.
>>
>> --
>> Mark
>>
>> --- On *Wed, 10/20/10, ma qiang <maqiang1984@gmail.com>* wrote:
>>
>>
>> From: ma qiang <maqiang1984@gmail.com>
>> Subject: [Xen-users] Re: how to mount a disk of domU?
>> To: xen-users@lists.xensource.com
>> Date: Wednesday, October 20, 2010, 9:58 PM
>>
>>
>> hi all,
>> I created a logical volumn as a disk in the domU, and I have
install
>> centos for the domU. (To be noted, the domU is HVM.)
>> Now, I want to mount the lv in dom0, and find some files in it, who
>> can tell me how?
>> Additionally, I move the lv to another place without xen, I
can''t boot
>> domU again, so I have to mount the lv in dom0.
>>
>> Thanks for any reply!
>> Qiang Ma
>>
>>
>>
>>
>> On Thu, Oct 21, 2010 at 12:46 PM, ma qiang
<maqiang1984@gmail.com<http://mc/compose?to=maqiang1984@gmail.com>
>> > wrote:
>>
>> hi all,
>> I created a logical volumn as a disk in the domU, and I have
install
>> centos for the domU. (To be noted, the domU is HVM.)
>> Now, I want to mount the lv, and find some file in it, who can tell
me
>> how?
>>
>> Thanks a lot.
>> Qiang Ma
>>
>>
>>
>> -----Inline Attachment Follows-----
>>
>> _______________________________________________
>> Xen-users mailing list
>>
Xen-users@lists.xensource.com<http://mc/compose?to=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