[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] VM backup problem





Hi,

I use following steps for LV backup.

ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ lvcreate -L 5G -s -n lv_snapshot /dev/VG_XenStorage-7b010600-3920-5526-b3ec-6f7b0f610f3c/VHD-a2db885c-9ad0-46c3-b2c3-a30cb71d83f8
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ lv_snapshot created


This command worked properly
Then issue kpartx command

ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ kpartx -av /dev/VG_XenStorage-7b010600-3920-5526-b3ec-6f7b0f610f3c/lv_snapshot

But this command not return any value.

ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ vgscan
 Reading all physical volumes. This may take a while...
            Found volume group "VG_XenStorage-7b010600-3920-5526-b3ec-6f7b0f610f3c" using metadata type lvm2

Here vgscan not show lv_snapshot

Then use mount command, system ask for file system type, I given like this
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ mount -t ext3
/dev/VG_XenStorage-7b010600-3920-5526-b3ec-6f7b0f610f3c/lv_snapshot

ÂÂÂÂÂÂ
mount: wrong fs type, bad option, bad superblock on /dev/VG_XenStorage-0cc224af-d9edâ-ff0d-7d9d-b7c2a7057011/lv_snapshot
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ missing codepage or other error
ÂÂÂÂÂ Â Â Â Â Â Â Â In some cases useful info is found in syslog - try
 dmesg | tail or so

Any help...






_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.