[PVE-User] Mount Disk Virtual Machine on Physical Server

Francesco Gabriele francesco.gabriele at gmail.com
Thu Feb 2 12:34:22 CET 2012


Thanks to your option kpartx I understand how it works. Thanks again

----
Francesco Gabriele

Blog - www.ubuntuserver.it
Linux users     #5484 Frank (IT)
Asterisk users #852 Frankies (IT)




2012/2/1 <flavio-pve at zipman.it>

>
> On 01/30/2012 10:31 PM, Francesco Gabriele wrote:
> > I try to mount the drive in this way but wrong:
> > root at srvyellow ~ # fdisk -l /dev/vg0-srvyellow/vm-101-disk-1
> > root at srvyellow ~ # mount -t xfs /dev/vg0-srvyellow/vm-101-disk-1p2
> > /mnt/prova/
> > *mount: special device /dev/vg0-srvyellow/vm-101-disk-1p2 does not exist*
> >
> > I hope someone can help me
>
> # apt-get install kpartx
> # kpartx -a /dev/mapper/vg0-vm--104--disk--1
> # mount /dev/mapper/vg0-vm--104--disk--1p1 /mnt
> # umount /mnt
> # kpartx -a /dev/mapper/vg0-vm--104--disk--1
>
> --
> Flavio Visentin
>
> A computer is like an air conditioner,
> it stops working when you open Windows
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.proxmox.com/pipermail/pve-user/attachments/20120202/4b29a3be/attachment.htm>


More information about the pve-user mailing list