Backup KVM VM to CIFS share without compression = invalid argument

dragon2611

Renowned Member
Jul 2, 2010
93
9
73
Proxmox 4.1-5/f910e5c

Trying to do a backup to a directory that's a mounted CIFS share files if compression is disabled but will work if the either LZO or GZIP compression is set.

Seems LXC containers WILL however backup without compression enabled.

Code:
INFO: starting new backup job: vzdump 102 --storage rockstor --mode snapshot --remove 0 --node pve
INFO: Starting Backup of VM 102 (qemu)
INFO: status = running
INFO: update VM 102: -lock backup
INFO: backup mode: snapshot
INFO: ionice priority: 7
INFO: creating archive '/mnt/pve/rockstor/dump/vzdump-qemu-102-2016_01_30-12_14_40.vma'
INFO: started backup task '133097ef-211c-4fd1-83fb-403616740b02'
INFO: status: 0% (3801088/21474836480), sparse 0% (3674112), duration 0, 3/0 MB/s
ERROR: vma_queue_write: write error - Invalid argument
INFO: aborting backup job
ERROR: Backup of VM 102 failed - vma_queue_write: write error - Invalid argument
INFO: Backup job finished with errors
TASK ERROR: job errors

However run the same job with compression enabled (Either LZO or GZIP)

Code:
INFO: starting new backup job: vzdump 102 --compress lzo --remove 0 --mode snapshot --node pve --storage rockstor
INFO: Starting Backup of VM 102 (qemu)
INFO: status = running
INFO: update VM 102: -lock backup
INFO: backup mode: snapshot
INFO: ionice priority: 7
INFO: creating archive '/mnt/pve/rockstor/dump/vzdump-qemu-102-2016_01_30-12_14_49.vma.lzo'
INFO: started backup task '967009e9-220d-4add-9081-7362626624a0'
INFO: status: 9% (2041184256/21474836480), sparse 9% (2013446144), duration 3, 680/9 MB/s
INFO: status: 12% (2596143104/21474836480), sparse 9% (2013454336), duration 6, 184/184 MB/s
INFO: status: 14% (3109552128/21474836480), sparse 10% (2204528640), duration 9, 171/107 MB/s
INFO: status: 17% (3773628416/21474836480), sparse 12% (2644619264), duration 12, 221/74 MB/s
INFO: status: 19% (4245815296/21474836480), sparse 13% (2858508288), duration 15, 157/86 MB/s
INFO: status: 20% (4470079488/21474836480), sparse 13% (2863656960), duration 18, 74/73 MB/s
INFO: status: 22% (4819779584/21474836480), sparse 13% (2951618560), duration 21, 116/87 MB/s
INFO: status: 25% (5446959104/21474836480), sparse 15% (3264966656), duration 24, 209/104 MB/s
INFO: status: 28% (6130171904/21474836480), sparse 17% (3720724480), duration 27, 227/75 MB/s
INFO: status: 32% (6982729728/21474836480), sparse 20% (4411101184), duration 30, 284/54 MB/s
INFO: status: 37% (8088780800/21474836480), sparse 25% (5403906048), duration 33, 368/37 MB/s
INFO: status: 42% (9207283712/21474836480), sparse 30% (6522200064), duration 36, 372/0 MB/s
INFO: status: 48% (10337255424/21474836480), sparse 35% (7652032512), duration 39, 376/0 MB/s
INFO: status: 53% (11466702848/21474836480), sparse 40% (8781271040), duration 42, 376/0 MB/s
INFO: status: 58% (12533039104/21474836480), sparse 45% (9837477888), duration 45, 355/3 MB/s
INFO: status: 64% (13828030464/21474836480), sparse 51% (11132223488), duration 48, 431/0 MB/s
INFO: status: 70% (15106310144/21474836480), sparse 57% (12376973312), duration 51, 426/11 MB/s
INFO: status: 75% (16284319744/21474836480), sparse 63% (13546311680), duration 54, 392/2 MB/s
INFO: status: 82% (17688821760/21474836480), sparse 69% (14935502848), duration 57, 468/5 MB/s
INFO: status: 87% (18768199680/21474836480), sparse 74% (16014667776), duration 60, 359/0 MB/s
INFO: status: 92% (19885719552/21474836480), sparse 79% (17131982848), duration 63, 372/0 MB/s
INFO: status: 95% (20487864320/21474836480), sparse 82% (17653440512), duration 66, 200/26 MB/s
INFO: status: 97% (20841365504/21474836480), sparse 82% (17658658816), duration 69, 117/116 MB/s
INFO: status: 100% (21474836480/21474836480), sparse 84% (18239782912), duration 71, 316/26 MB/s
INFO: transferred 21474 MB in 71 seconds (302 MB/s)
INFO: archive file size: 1.92GB
INFO: Finished Backup of VM 102 (00:01:14)
INFO: Backup job finished successfully
TASK OK