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

Germain Maurice germain.maurice at linkfluence.net
Wed Feb 1 22:33:46 CET 2012


I use kpartx too.

The vm shutted down.
kpartx -av /dev/vg0-srvyellow/vm-101-disk-1
and then mount it via :
mount /dev/mapper/vg0--srvyellow-vm--101--disk--1p1 ( just an example check the ouput of kpartx the devices for each partition will be listed)


Le 31 janv. 2012 à 09:35, Massimo Santoro a écrit :

> On 31/01/2012 09:28, Giovanni Toraldo wrote:
>> Hi,
>> 
>> 2012/1/31 Francesco Gabriele<francesco.gabriele at gmail.com>:
>>> I tried as you suggested to me:
>>> mount -t offset=1000341504B /dev/vg0-srvyellow/vm-101-disk-1 /mnt/prova
>> -t is used to specify filesystem (that it usually autodetected), not
>> for declaring mount options.
>> 
>> Instead, using kpartx in this situations is highly advisable.
>> 
> 
> Oops... my mistake. -o offset=...
> 
> Massimo
> _______________________________________________
> pve-user mailing list
> pve-user at pve.proxmox.com
> http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user




More information about the pve-user mailing list