KVM spanshoot backup using NFS?

jmjosebest

Renowned Member
Jan 16, 2009
192
28
93
Hi,

I have a KVM VM with 4 partitions (2 local + 2 NFS)

Code:
ide0: local:100/vm-100-disk-1.qcow2,cache=directsync
ide1: local:100/vm-100-disk-2.qcow2,cache=directsync
ide2: nfs02:100/vm-100-disk-1.qcow2,cache=directsync
ide3: nfs02:100/vm-100-disk-2.qcow2,cache=directsync
And when I try to run a backup in snapshoot mode, the backup return error and continue with suspend mode...

Code:
INFO: starting new backup job: vzdump 100 --remove 0 --mode snapshot --storage backup --node pve01
INFO: Starting Backup of VM 100 (qemu)
INFO: status = running
INFO: mode failure - unable to detect lvm volume group
INFO: trying 'suspend' mode instead
INFO: backup mode: suspend
INFO: ionice priority: 7
INFO: suspend vm
INFO: creating archive '/backup/dump/vzdump-qemu-100-2012_05_30-03_20_35.tar'
INFO: adding '/backup/dump/vzdump-qemu-100-2012_05_30-03_20_35.tmp/qemu-server.conf' to archive ('qemu-server.conf')
INFO: adding '/var/lib/vz/images/100/vm-100-disk-1.qcow2' to archive ('vm-disk-ide0.qcow2')

The NFS server, has the shared folder in a LVM...

Code:
[root@nfs02 100]# pvdisplay  
--- Physical volume ---
  PV Name               /dev/md1
  VG Name               sata
  PV Size               1.82 TB / not usable 960.00 KB
  Allocatable           yes
  PE Size (KByte)       4096
  Total PE              476932
  Free PE               1932
  Allocated PE          475000
  PV UUID               VfQYxZ-Vf3H-yehg-0eMj-C6xj-uAzH-qMyDzW


[root@nfs02 100]#
[root@nfs02 100]# vgdisplay
  --- Volume group ---
  VG Name               sata
  System ID
  Format                lvm2
  Metadata Areas        1
  Metadata Sequence No  2
  VG Access             read/write
  VG Status             resizable
  MAX LV                0
  Cur LV                1
  Open LV               1
  Max PV                0
  Cur PV                1
  Act PV                1
  VG Size               1.82 TB
  PE Size               4.00 MB
  Total PE              476932
  Alloc PE / Size       475000 / 1.81 TB
  Free  PE / Size       1932 / 7.55 GB
  VG UUID               OMaLW9-GLKA-cle9-R6fd-CAZi-UwKN-hJTqlZ


[root@nfs02 100]#
[root@nfs02 100]# lvdisplay
  --- Logical volume ---
  LV Name                /dev/sata/home
  VG Name                sata
  LV UUID                i0bY9c-oZfw-sMgI-Xs6S-2S41-tCQJ-8JrVBD
  LV Write Access        read/write
  LV Status              available
  # open                 1
  LV Size                1.81 TB
  Current LE             475000
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     256
  Block device           253:0


[root@nfs02 100]#

[root@nfs02 100]# df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/md0               37G  1.6G   33G   5% /
/dev/mapper/sata-home
                      1.8T  233G  1.5T  14% /home
tmpfs                  12G     0   12G   0% /dev/shm
[root@nfs02 100]#

I have other VM using only local storage, and the snapshoot is Ok...

Any idea about what is the problem?

Thanks!
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!