J
JanK
Guest
Hi,
I want to backup my VMs with vzdump.
The storage for the snapshots is a NAS system, so I mounted it:
In the Proxmox WebGUI:
Storage -> Add Directory -> Directory: /mnt/backup and Content: VZDump Backups
New Backup Job, but I get an error:
In the log:
Why /dev/devian/root?
The backup should be on /mnt/backup and this is an external NAS. So I don't need extra space on the host or whatever this exactly means.
I think I misunderstand something, can somebody help me?
I want to backup my VMs with vzdump.
The storage for the snapshots is a NAS system, so I mounted it:
Code:
# mount
/dev/mapper/debian-root on / type ext3 (rw,errors=remount-ro)
tmpfs on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
udev on /dev type tmpfs (rw,mode=0755)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=620)
/dev/sda1 on /boot type ext2 (rw)
//172.8.1.31/server_backups on /mnt/backup type cifs
Storage -> Add Directory -> Directory: /mnt/backup and Content: VZDump Backups
New Backup Job, but I get an error:
Code:
Apr 23 02:00:03 INFO: Starting Backup of VM 103 (qemu)
Apr 23 02:00:04 INFO: running
Apr 23 02:00:04 INFO: status = running
Apr 23 02:00:04 INFO: backup mode: snapshot
Apr 23 02:00:04 INFO: bandwidth limit: 10240 KB/s
Apr 23 02:00:04 INFO: Insufficient free extents (0) in volume group debian: 256 required
Apr 23 02:00:04 ERROR: Backup of VM 103 failed - command 'lvcreate --size 1024M --snapshot --name 'vzsnap-debian-0' '/dev/debian/root'' failed with exit code 5
Code:
# lvdisplay
--- Logical volume ---
LV Name /dev/debian/root
VG Name debian
LV UUID vWif9u-OxW1-gD15-fqd3-0FkQ-nNlB-iSXGrA
LV Write Access read/write
LV Status available
# open 1
LV Size 288,47 GB
Current LE 73849
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 252:0
--- Logical volume ---
LV Name /dev/debian/swap_1
VG Name debian
LV UUID fIcOGe-1r3d-JfoY-1dfd-a1zE-6May-NQ4cbP
LV Write Access read/write
LV Status available
# open 1
LV Size 9,38 GB
Current LE 2400
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 252:1
Code:
# pvdisplay
--- Physical volume ---
PV Name /dev/sda2
VG Name debian
PV Size 297,85 GB / not usable 3,67 MB
Allocatable yes (but full)
PE Size (KByte) 4096
Total PE 76249
Free PE 0
Allocated PE 76249
PV UUID 62sxv1-qYAH-sqcH-xjus-d5dk-PkBo-f10UJ7
Code:
'vzsnap-debian-0' [U]'/dev/debian/root''[/U] failed with exit code 5
The backup should be on /mnt/backup and this is an external NAS. So I don't need extra space on the host or whatever this exactly means.
I think I misunderstand something, can somebody help me?