Hi all,
I have used LVM over the years and I understand to make a snapshot LV you need spare, unused space on the VG. Also, with vzdump you must put the backup to a separate partition.
But can that partition reside in the VG? It seems no.
Error
The --storage argument is Backup which points to /mnt/backup/VZ/
I tried to manually create a snapshot LV and was successful.
Do I need to change the --storage to a completely different VG?
Actually, I have tried on a seperate NFS mount and same error. I think there is another issue here.....
Thanks for reading
I have used LVM over the years and I understand to make a snapshot LV you need spare, unused space on the VG. Also, with vzdump you must put the backup to a separate partition.
But can that partition reside in the VG? It seems no.
Error
Code:
101: Jan 14 16:01:32 INFO: Starting Backup of VM 101 (openvz)
101: Jan 14 16:01:32 INFO: CTID 101 exist mounted running
101: Jan 14 16:01:32 INFO: status = CTID 101 exist mounted running
101: Jan 14 16:01:32 INFO: mode failure - wrong lvm mount point '/mnt/storage'
101: Jan 14 16:01:32 INFO: trying 'suspend' mode instead
101: Jan 14 16:01:32 INFO: backup mode: suspend
Code:
root@proxmox:~# df -h /mnt/storage/
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/storage-one
592G 159G 404G 29% /mnt/storage
The --storage argument is Backup which points to /mnt/backup/VZ/
Code:
root@proxmox:~# df -h /mnt/backups/VZ/
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/storage-two
394G 12G 362G 4% /mnt/backups
Code:
--- Volume group ---
VG Name storage
System ID
Format lvm2
Metadata Areas 2
Metadata Sequence No 8
VG Access read/write
VG Status resizable
MAX LV 0
Cur LV 2
Open LV 2
Max PV 0
Cur PV 1
Act PV 1
VG Size 1.36 TB
PE Size 4.00 MB
Total PE 357701
Alloc PE / Size 256256 / 1001.00 GB
Free PE / Size 101445 / 396.27 GB
VG UUID XP6nH2-fSMJ-VwGO-3LKX-0YCT-sHW6-XXA7lu
I tried to manually create a snapshot LV and was successful.
Code:
root@proxmox:~# lvcreate -L2000M -s -n test /dev/storage/one
Logical volume "test" created
root@proxmox:~# mkdir l
root@proxmox:~# mount /dev/storage/
one test two
root@proxmox:~# mount /dev/storage/test l
root@proxmox:~# ls l/vz/private/
101 102 104 105 106 107 108 109 110 111 112 113 114
root@proxmox:~# umount l
root@proxmox:~# lvremove /dev/storage/test
Do you really want to remove active logical volume "test"? [y/n]: y
Logical volume "test" successfully removed
Do I need to change the --storage to a completely different VG?
Actually, I have tried on a seperate NFS mount and same error. I think there is another issue here.....
Thanks for reading