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

Re: [Xen-users] pygrub CentOS domU - unable to mount lvm partition form dom0 -


  • To: "Fajar A. Nugraha" <fajar@xxxxxxxxx>
  • From: Peter Braun <xenware@xxxxxxxxx>
  • Date: Fri, 30 Jan 2009 23:45:08 +0100
  • Cc: Xen List <xen-users@xxxxxxxxxxxxxxxxxxx>
  • Delivery-date: Fri, 30 Jan 2009 14:45:53 -0800
  • 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 :cc:content-type:content-transfer-encoding; b=m9BtaaVoPTjnTtvLVYi6aLnrLUwOqT3T7T602rdBAteSsjb/Z6jilkQQ9ODPqD/vMj cCe+LzUdIFcWRUubqcWr3+iXrnup1Z89arGoHPF9oSySTGD21653w7k0xY/wEV+QlMGQ N/iPCdrbkf7s7icysGyzga/LKHDp//55ZvZ2w=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

2009/1/30 Fajar A. Nugraha <fajar@xxxxxxxxx>:
> On Sat, Jan 31, 2009 at 5:05 AM, Peter Braun <xenware@xxxxxxxxx> wrote:
>>       Device Boot      Start         End      Blocks   Id  System
>> /dev/vg/centospy   *           1        3916    31455238+  83  Linux
>
> Shouldn't it be /dev/vg/centospy1 ?
> I'm getting the feeling you're trying to anonymize LV name and change
> it on the output line but forgot to do the same on the command line
> (and vice-versa for the mount command)

mount /dev/vg/centospy1 /mnt/lvm
mount: special device /dev/vg/centospy1 does not exist

mount /dev/vg/centospy/1 /mnt/lvm
mount: special device /dev/vg/centospy/1 does not exist
       (a path prefix is not a directory)

>
>> During the CentOS install annaconda is reporting something like "loop
>> partition" detected and have to reinitialize disk.
>
> If you let anaconda reinitialize disk (and thus creating a new
> partition table), there will be a partition on top of that LVM, which
> fdisk SHOULD show by adding the the number "1" or "p1" to the LV name
>
>> Please can somene help me out how to mount this partition from dom0?
>
> Try using kpartx. Something like
> kpartx -av /dev/vg/centospy (or /dev/vg/x1hd, whatever your LV is)
> mount /dev/mapper/centospy1 or x1hd1 (or whatever new block device you
> see on /dev/mapper)
> unmount afterwards, and don't forget to delete dev mappings with kpartx -dv

Unfortunately kpartx is only for debian lenny or sid and I dont wannt
to mess my dom0 :(

> Regards,
>
> Fajar
>

_______________________________________________
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®.