OpenVZ Forum


Home » General » Discussions » Vzdump VE with XFS - snapshot problem
Vzdump VE with XFS - snapshot problem [message #25339] Thu, 20 December 2007 16:26 Go to next message
lizard is currently offline  lizard
Messages: 11
Registered: October 2007
Location: russia
Junior Member
From: *tt.atknet.ru
Hello! Try to dump VE with --snapshot option, but get mounting lvm snapshot error. VE mount on LVM2 volume with XFS. Is anybody solve this problem? Thanks!


~# vzdump --dumpdir /home/user/ --snapshot 102
INFO: starting backup for VPS 102 (/vz/102/private/102)
INFO: creating lvm snapshot of /dev/mapper/vg0-vzservers ('/dev/vg0/vzsnap')
Logical volume "vzsnap" created
INFO: mounting lvm snapshot
mount: wrong fs type, bad option, bad superblock on /dev/vg0/vzsnap,
missing codepage or other error
In some cases useful info is found in syslog - try
dmesg | tail or so

umount: /vzsnap: not mounted
Logical volume "vzsnap" successfully removed
ERROR: creating backup for VPS 102 failed (0.00 minutes): command 'mount /dev/vg0/vzsnap /vzsnap' failed with exit code 32 at /usr/bin/vzdump line 290.
Re: Vzdump VE with XFS - snapshot problem [message #25351 is a reply to message #25339] Fri, 21 December 2007 00:27 Go to previous messageGo to next message
curx
Messages: 739
Registered: February 2006
Location: N├╝rnberg, Germany
Senior Member

From: *systs.org
Hi,

it's a know issue:
the snapshot must be mounted with mount-option -o nouuid!

You cant mount a xfs fs with the same uuid, your kernel log or on console (dmesg) should occurs:

[...] XFS: Filesystem lvm(...) has duplicate UUID - can't mount [...]

Btw, it's recommended to setup a OpenVZ with ext3, See http://wiki.openvz.org/Quick_installation#Filesystems
Re: Vzdump VE with XFS - snapshot problem [message #25361 is a reply to message #25339] Fri, 21 December 2007 08:41 Go to previous message
powervps is currently offline  powervps
Messages: 54
Registered: December 2007
Member
From: 80.72.152*
http://forum.openvz.org/index.php?t=msg&th=2292&star t=0&
Previous Topic: Kernel memory, how much is too much?
Next Topic: OpenVZ vs CentOS 5.1 OS Virtualization
Goto Forum:
  


Current Time: Mon Dec 17 17:48:43 GMT 2018