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

Massimo Santoro massimo at tuxel.com
Mon Jan 30 22:42:39 CET 2012


On 30/01/2012 22:31, 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*

You can't do that.


You can:

 >parted dev/vg0-srvyellow/vm-101-disk-1p2
 >unit b
 >print

look for the start byte number

 >quit
 >mount -t offset=<bytestartnumber> /dev*/*vg0-srvyellow/vm-101-disk-1 
/mnt/prova

Bye

Massimo

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.proxmox.com/pipermail/pve-user/attachments/20120130/85adab83/attachment.htm>


More information about the pve-user mailing list