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: [Xen-users] Re: how to mount a disk of domU?

To: Mark Pryor <tlviewer@xxxxxxxxx>, xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] Re: how to mount a disk of domU?
From: ma qiang <maqiang1984@xxxxxxxxx>
Date: Thu, 21 Oct 2010 13:32:16 +0800
Cc:
Delivery-date: Wed, 20 Oct 2010 22:33:08 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=V0mirsrJu6Dte48vxIUjEFvgllRtyF4UAvFe9A6G6LE=; b=Mji8INnfKKTAqtDS+ZRoEc1w5FuLsJQurZ68LuM8da67tVwe3mA+XxayWFIDGwNbtp OiTHJF/C4Mukgxj2CR//7LbRKxl3Frcd+3g565LqgxdDBQ7Q0brPFNg+GpBF8Huo/L50 Zs4pkP38RdMoyKy/bIBbBPy5IXBvyKISuAt8w=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=T7SD5vLCocPGioqy2GGYn0AWMjM97Va4ZwAYMzz9T0ozR6jjm41vYyZiHNxsXf6Pv+ 5tjnYLWwryn9H6Im50aJtWv403n+QoZI0BK5wVSAi8DQ6zUWF5ZMrnfStjK3EamvNtR/ LxWuMy/50V9f6UBlYjxG9NqUgxWFlNmGbBacY=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <AANLkTikWo-H8UUnEdzBGDkmULq7t+KVkS4cNF-au1+6m@xxxxxxxxxxxxxx>
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/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <AANLkTimnB6JY6SO2acPybu1dBO__oK1bDPpqFMwUuDSy@xxxxxxxxxxxxxx> <886399.55765.qm@xxxxxxxxxxxxxxxxxxxxxxxxxxx> <AANLkTikWo-H8UUnEdzBGDkmULq7t+KVkS4cNF-au1+6m@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
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@xxxxxxxxx> 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@xxxxxxxxx> 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@xxxxxxxxx> wrote:

From: ma qiang <maqiang1984@xxxxxxxxx>
Subject: [Xen-users] Re: how to mount a disk of domU?
To: xen-users@xxxxxxxxxxxxxxxxxxx
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@xxxxxxxxx> 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@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users



_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>