[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Xen-users] [xcp] As for mounting the vm disk image file
Hi all,
I installed XCP and an VM (debian 6.0) on simics (a simulator).
In simics, I have dumped the disk image file (xcp-vm.rebooted).
Now, i want to mount this file to my host machine. But, i get the
error that "mount: you must specify the
filesystem type".
I find that fdisk reports "Partition 3 has
different physical/logical beginnings (non-Linux?)". Is it
the problem? And, what should i do to fix it?
Any hint is appreciated. Thanks!
------------------log---------------------------------
[root@gd81 images]# fdisk -l -u xcp-vm.rebooted
last_lba(): I don't know how to handle files with mode 81a4
You must set cylinders.
You can do this from the extra functions menu.
Disk xcp-vm.rebooted: 0 MB, 0 bytes
255 heads, 63 sectors/track, 0 cylinders, total 0 sectors
Units = sectors of 1 * 512 = 512 bytes
Device Boot Start End Blocks Id
System
xcp-vm.rebooted1 * 63 8388670 4194304 83 Linux
Partition 1 does not end on cylinder boundary.
xcp-vm.rebooted2 8388671 16777278 4194304 83 Linux
Partition 2 has different physical/logical
endings:
phys=(1023, 254, 63) logical=(1044, 86, 1)
xcp-vm.rebooted3 16777279 1048562549 515892635+
8e Linux LVM
Partition 3 has different physical/logical
beginnings (non-Linux?):
phys=(1023, 254, 63) logical=(1044, 86, 2)
Partition 3 has different physical/logical
endings:
phys=(1023, 254, 63) logical=(65269, 254, 63)
[root@gd81 images]# losetup /dev/loop0 xcp-vm.rebooted -o
8589966848 #(8589966848 = 16777279*512)
[root@gd81 images]# pvscan
PV /dev/loop0 VG
VG_XenStorage-7163ff8b-a22a-58fc-5c0d-c639af98866d lvm2 [491.98 GB
/ 331.65 GB free]
Total: 1 [491.98 GB] / in use: 1 [491.98 GB] / in no VG: 0 [0 ]
[root@gd81 images]# vgexport
VG_XenStorage-7163ff8b-a22a-58fc-5c0d-c639af98866d
Volume group "VG_XenStorage-7163ff8b-a22a-58fc-5c0d-c639af98866d"
successfully exported
[root@gd81 images]# vgimport
VG_XenStorage-7163ff8b-a22a-58fc-5c0d-c639af98866d
Volume group "VG_XenStorage-7163ff8b-a22a-58fc-5c0d-c639af98866d"
successfully imported
[root@gd81 images]# vgchange -ay
3 logical volume(s) in volume group
"VG_XenStorage-7163ff8b-a22a-58fc-5c0d-c639af98866d" now active
[root@gd81 images]# lvm lvs
LV
VG Attr LSize
Origin Snap% Move Log Copy% Convert
MGT
VG_XenStorage-7163ff8b-a22a-58fc-5c0d-c639af98866d -wi-a-
4.00M
VHD-1eaf32d0-bde9-4508-8356-a8d8059cd472
VG_XenStorage-7163ff8b-a22a-58fc-5c0d-c639af98866d -wi-a-
80.16G
VHD-2a6bb221-b1d6-483b-a3c4-6bdcbd771680
VG_XenStorage-7163ff8b-a22a-58fc-5c0d-c639af98866d -wi-a-
80.16G
[root@gd81 images]# mount
/dev/VG_XenStorage-7163ff8b-a22a-58fc-5c0d-c639af98866d/VHD-1eaf32d0-bde9-4508-8356-a8d8059cd472
/mnt/vmimage/
mount: you must specify the filesystem type
|
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|