Problem with backups... :-(

Netizen

Member
Aug 16, 2012
88
0
6
Hello,

I am very new to Proxmox.
I am trying to perform backups of the KVM-qemu guests that I have however I am getting the following error:

====================
Aug 21 13:27:20 INFO: Starting Backup of VM 102 (qemu)
Aug 21 13:27:20 INFO: status = running
Aug 21 13:27:21 INFO: mode failure - unable to dump into snapshot (use option --dumpdir)
Aug 21 13:27:21 INFO: trying 'suspend' mode instead

Aug 21 13:27:21 INFO: backup mode: suspend
Aug 21 13:27:21 INFO: ionice priority: 7
Aug 21 13:27:21 INFO: suspend vm
Aug 21 13:27:21 INFO: creating archive '/VMS-BACKUPS/dump/vzdump-qemu-102-2012_08_21-13_27_20.tar.lzo'
Aug 21 13:27:21 INFO: adding '/VMS-BACKUPS/dump/vzdump-qemu-102-2012_08_21-13_27_20.tmp/qemu-server.conf' to archive ('qemu-server.conf')
Aug 21 13:27:21 INFO: adding '/var/lib/vz/images/102/vm-102-disk-1.raw' to archive ('vm-disk-ide1.raw')
Aug 21 13:28:37 INFO: Total bytes written: 16106129920 (202.11 MiB/s)
Aug 21 13:28:37 INFO: archive file size: 1.62GB
Aug 21 13:28:38 INFO: resume vm
Aug 21 13:28:38 INFO: vm is online again after 77 seconds
Aug 21 13:28:38 INFO: Finished Backup of VM 102 (00:01:18)
====================


I understand that snapshot backups require LVM to work however my root (/) in based on LVM so /VMS-BACKUPS should work, correct?
My fstab is as follows:

proc /proc proc defaults 0 0
none /dev/pts devpts gid=5,mode=620 0 0
/dev/md/0 /boot ext3 defaults 0 0
# /dev/md/1 belongs to LVM volume group 'vg0'
/dev/vg0/swap swap swap defaults 0 0
/dev/vg0/root / ext4 defaults 0 0


Isn't this the correct way of arranging the hard disk for proxmox (and hence the snapshot backups)?

Please advise,

Thank you
N
 
Result of vgdisplay command?

--- Volume group ---
VG Name vg0
System ID
Format lvm2
Metadata Areas 1
Metadata Sequence No 3
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 2.73 TiB
PE Size 4.00 MiB
Total PE 715268
Alloc PE / Size 715264 / 2.73 TiB
Free PE / Size 4 / 16.00 MiB
VG UUID PVAb4a-RtCh-6TdX-08KA-21BE-0QfN-YNZrS3
 
It is simply not possible to store a snapshot inside a snapshot - that is a recursive loop. Please select another backup target.
 
--- Volume group ---
VG Name vg0
System ID
Format lvm2
Metadata Areas 1
Metadata Sequence No 3
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 2.73 TiB
PE Size 4.00 MiB
Total PE 715268
Alloc PE / Size 715264 / 2.73 TiB
Free PE / Size 4 / 16.00 MiB
VG UUID PVAb4a-RtCh-6TdX-08KA-21BE-0QfN-YNZrS3
 
So what is the best/recommended partition for a 3TB disk?

My current partition structure is this:

PART /boot ext3 512M
PART lvm vg0 all
LV vg0 swap swap swap 34G <<<< (Is the 34G swap partition too big? Am I wasting space? I selected 34 because is RAM +2)
LV vg0 root / ext4 2760G

Should I just create another Logocal Volume?
 
Thank you for the reply.
A bit more detailed information would be much appreciated as not everyone uses your installation CD and especially customers of the well-known Hetzner DataCenters, one of which happens to be me...

Rgds
 

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!