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

Re: [Xen-users] is it possible to mount a domU's LVM partition in dom0 ?



Please issue two more commands in the domU:

fdisk -l /dev/xvda
cat /etc/fstab

And finally, some kpartx magic may be the solution, indeed.

2008. 09. 17, szerda keltezÃssel 15.55-kor Rudi Ahlers ezt Ãrta:
> 
> 
> On Wed, Sep 17, 2008 at 3:41 PM, Nemeth, Tamas <nice@xxxxxxxxxxxxxxx>
> wrote:
>         Please do the two following things:
>         
>         1. Issue the following command in the dom0:
>         xm list --long <NAME_OF_THE_DOMU>
>         (And send the output in mail.)
>         
>         2. Issue the following command in the (running ;) domU:
>         cat /proc/mounts
>         ï(And send the output in mail.)
>         
>         
> 1. 
> 
> root@venus ~]# xm list --long wiseguy
> (domain
>     (domid 8)
>     (uuid fd3df09f-4f67-3740-974a-6b87408a5812)
>     (vcpus 1)
>     (cpu_weight 1.0)
>     (memory 512)
>     (shadow_memory 0)
>     (maxmem 512)
>     (bootloader /usr/bin/pygrub)
>     (features )
>     (name wiseguy)
>     (on_poweroff destroy)
>     (on_reboot restart)
>     (on_crash restart)
>     (image
>         (linux
>             (ramdisk /var/lib/xen/boot_ramdisk.oOP5t3)
>             (kernel /var/lib/xen/boot_kernel.krkOns)
>             (args 'ro root=/dev/VolGroup00/LogVol00 console=xvc0')
>         )
>     )
>     (device
>         (vif
>             (backend 0)
>             (script vif-bridge)
>             (bridge xenbr0)
>             (mac 00:16:3e:0f:0a:8e)
>         )
>     )
>     (device
>         (vbd
>             (backend 0)
>             (dev xvda:disk)
>             (uname phy:/dev/backup/wiseguy)
>             (mode w)
>         )
>     )
>     (state -b----)
>     (shutdown_reason poweroff)
>     (cpu_time 12.382073884)
>     (online_vcpus 1)
>     (up_time 1571.13343596)
>     (start_time 1221658923.02)
>     (store_mfn 1220573)
>     (console_mfn 1220572)
> )
> [root@venus ~]#
> 
> 
> 
> 
> 
> 
> 2. 
> 
> [root@wiseguy ~]# cat /proc/mounts
> rootfs / rootfs rw 0 0
> /dev/root / ext3 rw,data=ordered 0 0
> /dev /dev tmpfs rw 0 0
> /proc /proc proc rw 0 0
> /sys /sys sysfs rw 0 0
> none /selinux selinuxfs rw 0 0
> /proc/bus/usb /proc/bus/usb usbfs rw 0 0
> devpts /dev/pts devpts rw 0 0
> /dev/xvda1 /boot ext3 rw,data=ordered 0 0
> tmpfs /dev/shm tmpfs rw 0 0
> none /proc/sys/fs/binfmt_misc binfmt_misc rw 0 0
> sunrpc /var/lib/nfs/rpc_pipefs rpc_pipefs rw 0 0
> /etc/auto.misc /misc autofs
> rw,fd=6,pgrp=1321,timeout=300,minproto=5,maxproto=5,indirect 0 0
> -hosts /net autofs
> rw,fd=11,pgrp=1321,timeout=300,minproto=5,maxproto=5,indirect 0 0
> 
> 
> 
> 
> 
> -- 
> 
> Kind Regards
> Rudi Ahlers
> 


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