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

THe_ZiPMaN flavio-pve at zipman.it
Thu Feb 2 03:05:40 CET 2012


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



More information about the pve-user mailing list