Standalone backup agents for Linux, Mac, AIX & Solaris workloads on-premises or in the public cloud
Post Reply
EAB
Novice
Posts: 6
Liked: never
Joined: Sep 01, 2016 7:06 pm
Full Name: Erwin Bleeker
Contact:

[BETA2] LVM/Logical Volumes with partitioning fails to back

Post by EAB »

Backing up LVM-volumes with partitioning failed with Beta1 and Beta2.

The LVM volume is 10GB and fails to backup.
Several LVM volumes seems to work flawless and others fails to backup.
So Veeam works fine with LVM volumes, but after doing some research it seems it don’t work on LVM volumes with partitioning inside that Logical volume.

Veeam-console job output:

Code: Select all

2016-09-02 06:00:01 Job started at 2016-09-02 06:00:01
2016-09-02 06:00:01 Starting backup
2016-09-02 06:00:02 [error] Logical volume [disk-5106] is not active.
2016-09-02 06:00:02 [error] Failed to perform backup

Output from the host where I’m using Veeam:

Code: Select all

# lsblk 
NAME            MAJ:MIN RM  SIZE RO TYPE MOUNTPOINT
sda               8:0    0   50G  0 disk 
├─sda1            8:1    0  7.5G  0 part [SWAP]
└─sda2            8:2    0 42.6G  0 part /
sdb               8:16   0  1.6T  0 disk 
├─ab-disk--5460 252:0    0  100G  0 lvm  
├─ab-disk--5461 252:1    0    2G  0 lvm  
├─ab-disk--5104 252:2    0   10G  0 lvm  
├─ab-disk--5105 252:3    0    2G  0 lvm  
├─ab-disk--5106 252:4    0   10G  0 lvm  <-
├─ab-disk--5107 252:5    0    4G  0 lvm  <-
└─ab-disk--6272 252:6    0   40G  0 lvm
VM (KVM) running on ab-disk-—5105 and ab-disk—5106:

Code: Select all

# lsblk 
NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
sr0     11:0    1  1024M  0 rom  
vda    253:0    0    10G  0 disk 
└─vda1 253:1    0    10G  0 part /
vdb    253:16   0     4G  0 disk [SWAP]
So vda is ab-disk-—5105 and vdb is ab-disk—5106.

On the host the output from lvs shows that the volumes are “o” which means they’re “open” and so in use.

Code: Select all

# lvs
  LV        VG   Attr       LSize  
  disk-5104 ab   -wi-a-----  10.00g                                                    
  disk-5105 ab   -wi-a-----   2.00g                                                    
  disk-5106 ab   -wi-ao----  10.00g                                                    
  disk-5107 ab   -wi-ao----   4.00g                                                    
  disk-5460 ab   -wi-a----- 100.00g                                                    
  disk-5461 ab   -wi-a-----   2.00g                                                    
  disk-6272 ab   -wi-a-----  40.00g                                                    
To make clear what works and what fails:
- When backing up disk-5107 (vdb/swap) it works.
- When backing up disk-5106 (partitioned vda) it fails.

It looks like Veeam tries to recognize the blockdevice inside disk-5106 and fails:

Code: Select all

[02.09.2016 06:00:02] <140336258529024> lpbcore| >>  |Logical volume [disk-5106] is not active.
For disk-5107 Veeam recognize swap inside the logical volume:

Code: Select all

[02.09.2016 09:31:08] <140511897392896> lpbcore|         Logical volume [disk-5107] contains swap and will be excluded from snapshot.
Full log for the failing jobs:

Code: Select all

[01.09.2016 21:00:32] <139957140567936> lpbman | Main thread has started.
[01.09.2016 21:00:32] <139957140567936> lpbcore| Connecting to veeam service...
[01.09.2016 21:00:32] <139957140567936>        |   Trying to connect to the endpoint [127.0.0.1:3500]
[01.09.2016 21:00:32] <139957140567936>        |   Connection status: system:0 ( Success ).
[01.09.2016 21:00:32] <139957140567936> net    |   Sending reconnect options: [disabled].
[01.09.2016 21:00:32] <139957140567936> lpbcore|   [DEV] Created [0x2894cc0]
[01.09.2016 21:00:32] <139957140567936> lpbcore| Connecting to veeam service... ok.
[01.09.2016 21:00:32] <139957140567936> lpbcore| LpbManSession: Processing commands.
[01.09.2016 21:00:32] <139957140567936>        |   Trying to connect to the endpoint [127.0.0.1:3500]
[01.09.2016 21:00:32] <139957140567936>        |   Connection status: system:0 ( Success ).
[01.09.2016 21:00:32] <139957140567936> net    |   Sending reconnect options: [disabled].
[01.09.2016 21:00:32] <139957140567936> lpbcore|   Sending PID: [14965].
[01.09.2016 21:00:32] <139957140567936> lpbcore|   Sending Session UUID: [{92348ce1-3396-4513-adc4-cb57ecc55337}].
[01.09.2016 21:00:32] <139957140567936> lpbcore|   Waiting for a command.
[01.09.2016 21:00:32] <139957140567936> lpbcore|   LpbManSession: Starting backup job.
[01.09.2016 21:00:32] <139957140567936> lpbcore|     Job UUID: [{aba30737-ed60-4f5c-bea1-9187786f6033}].
[01.09.2016 21:00:32] <139957140567936> lpbcore|   LpbManSession: Starting backup job. ok.
[01.09.2016 21:00:32] <139957098944256>        | Thread started. Thread id: 139957098944256, parent id: 139957140567936, role: Volume backup job execution
[01.09.2016 21:00:32] <139957098944256> lpbcore| BackupJobPerformer: Creating backup.
[01.09.2016 21:00:32] <139957098944256> lpbcore|   Enumerating backup objects.
[01.09.2016 21:00:32] <139957098944256> lpbcore|     Creating job objects filter.
[01.09.2016 21:00:32] <139957098944256> lpbcore|       [COijFilter] ctr 3hiZ09-xSS2-yaxu-PTk9-AeOJ-X3tP-ZWotmK/RJwU60-3sdH-zpGZ-5NlW-n5Mu-786L-C4N3ah
[01.09.2016 21:00:32] <139957098944256> lpbcore|     Creating job objects filter. ok.
[01.09.2016 21:00:32] <139957098944256> lpbcore|     Mount point: [/sys]. Device number: [0:18].
[01.09.2016 21:00:32] <139957098944256> lpbcore|     Mount point: [/proc]. Device number: [0:4].
[01.09.2016 21:00:32] <139957098944256> lpbcore|     Mount point: [/dev]. Device number: [0:6].
[01.09.2016 21:00:32] <139957098944256> lpbcore|     Mount point: [/dev/pts]. Device number: [0:14].
[01.09.2016 21:00:32] <139957098944256> lpbcore|     Mount point: [/run]. Device number: [0:19].
[01.09.2016 21:00:32] <139957098944256> lpbcore|     Mount point: [/]. Device number: [8:2].
[01.09.2016 21:00:32] <139957098944256> lpbcore|     Mount point: [/sys/kernel/security]. Device number: [0:12].
[01.09.2016 21:00:32] <139957098944256> lpbcore|     Mount point: [/dev/shm]. Device number: [0:20].
[01.09.2016 21:00:32] <139957098944256> lpbcore|     Mount point: [/run/lock]. Device number: [0:21].
[01.09.2016 21:00:32] <139957098944256> lpbcore|     Mount point: [/sys/fs/cgroup]. Device number: [0:22].
[01.09.2016 21:00:32] <139957098944256> lpbcore|     Mount point: [/sys/fs/cgroup/systemd]. Device number: [0:23].
[01.09.2016 21:00:32] <139957098944256> lpbcore|     Mount point: [/sys/fs/pstore]. Device number: [0:24].
[01.09.2016 21:00:32] <139957098944256> lpbcore|     Mount point: [/sys/fs/cgroup/freezer]. Device number: [0:25].
[01.09.2016 21:00:32] <139957098944256> lpbcore|     Mount point: [/sys/fs/cgroup/pids]. Device number: [0:26].
[01.09.2016 21:00:32] <139957098944256> lpbcore|     Mount point: [/sys/fs/cgroup/cpuset]. Device number: [0:27].
[01.09.2016 21:00:32] <139957098944256> lpbcore|     Mount point: [/sys/fs/cgroup/net_cls,net_prio]. Device number: [0:28].
[01.09.2016 21:00:32] <139957098944256> lpbcore|     Mount point: [/sys/fs/cgroup/hugetlb]. Device number: [0:29].
[01.09.2016 21:00:32] <139957098944256> lpbcore|     Mount point: [/sys/fs/cgroup/cpu,cpuacct]. Device number: [0:30].
[01.09.2016 21:00:32] <139957098944256> lpbcore|     Mount point: [/sys/fs/cgroup/perf_event]. Device number: [0:31].
[01.09.2016 21:00:32] <139957098944256> lpbcore|     Mount point: [/sys/fs/cgroup/blkio]. Device number: [0:32].
[01.09.2016 21:00:32] <139957098944256> lpbcore|     Mount point: [/sys/fs/cgroup/memory]. Device number: [0:33].
[01.09.2016 21:00:32] <139957098944256> lpbcore|     Mount point: [/sys/fs/cgroup/devices]. Device number: [0:34].
[01.09.2016 21:00:32] <139957098944256> lpbcore|     Mount point: [/sys/kernel/debug]. Device number: [0:7].
[01.09.2016 21:00:32] <139957098944256> lpbcore|     Mount point: [/dev/hugepages]. Device number: [0:35].
[01.09.2016 21:00:32] <139957098944256> lpbcore|     Mount point: [/proc/sys/fs/binfmt_misc]. Device number: [0:36].
[01.09.2016 21:00:32] <139957098944256> lpbcore|     Mount point: [/sys/kernel/debug/tracing]. Device number: [0:9].
[01.09.2016 21:00:32] <139957098944256> lpbcore|     Mount point: [/run/rpc_pipefs]. Device number: [0:37].
[01.09.2016 21:00:32] <139957098944256> lpbcore|     Mount point: [/dev/mqueue]. Device number: [0:17].
[01.09.2016 21:00:32] <139957098944256> lpbcore|     Mount point: [/sys/fs/fuse/connections]. Device number: [0:38].
[01.09.2016 21:00:32] <139957098944256> lpbcore|     Mount point: [/run/cgmanager/fs]. Device number: [0:40].
[01.09.2016 21:00:32] <139957098944256> lpbcore|     Mount point: [/etc/libvirt/qemu/install]. Device number: [0:42].
[01.09.2016 21:00:32] <139957098944256> lpbcore|     Mount point: [/run/user/0]. Device number: [0:43].
[01.09.2016 21:00:32] <139957098944256> lpbcore|     Found device: [/dev/ab/disk-5104]. Device number: [252:2].
[01.09.2016 21:00:32] <139957098944256> lpbcore|     Found device: [/dev/ab/disk-6272]. Device number: [252:6].
[01.09.2016 21:00:32] <139957098944256> lpbcore|     Found device: [/dev/ab/disk-5460]. Device number: [252:0].
[01.09.2016 21:00:32] <139957098944256> lpbcore|     Found device: [/dev/ab/disk-5105]. Device number: [252:3].
[01.09.2016 21:00:32] <139957098944256> lpbcore|     Found device: [/dev/ab/disk-5106]. Device number: [252:4].
[01.09.2016 21:00:32] <139957098944256> lpbcore|     Found device: [/dev/ab/disk-5461]. Device number: [252:1].
[01.09.2016 21:00:32] <139957098944256> lpbcore|     Found device: [/dev/ab/disk-5107]. Device number: [252:5].
[01.09.2016 21:00:32] <139957098944256> lpbcore|     Found device: [/dev/dm-6]. Device number: [252:6].
[01.09.2016 21:00:32] <139957098944256> lpbcore|     Found device: [/dev/dm-5]. Device number: [252:5].
[01.09.2016 21:00:32] <139957098944256> lpbcore|     Found device: [/dev/dm-4]. Device number: [252:4].
[01.09.2016 21:00:32] <139957098944256> lpbcore|     Found device: [/dev/dm-3]. Device number: [252:3].
[01.09.2016 21:00:32] <139957098944256> lpbcore|     Found device: [/dev/dm-2]. Device number: [252:2].
[01.09.2016 21:00:32] <139957098944256> lpbcore|     Found device: [/dev/dm-1]. Device number: [252:1].
[01.09.2016 21:00:32] <139957098944256> lpbcore|     Found device: [/dev/dm-0]. Device number: [252:0].
[01.09.2016 21:00:32] <139957098944256> lpbcore|     Found device: [/dev/disk/by-uuid/e6b86e23-a229-4b74-bed1-36b1fa972e96]. Device number: [252:3].
[01.09.2016 21:00:32] <139957098944256> lpbcore|     Found device: [/dev/disk/by-uuid/35e83928-5d8e-4976-9e80-9ff145db22a3]. Device number: [252:1].
[01.09.2016 21:00:32] <139957098944256> lpbcore|     Found device: [/dev/disk/by-uuid/24ad1643-c42e-493b-8a4b-cf070fda3c24]. Device number: [252:5].
[01.09.2016 21:00:32] <139957098944256> lpbcore|     Found device: [/dev/disk/by-uuid/14d37bc3-53ac-43d8-9899-bd33a8b700e8]. Device number: [8:2].
[01.09.2016 21:00:32] <139957098944256> lpbcore|     Found device: [/dev/disk/by-uuid/ff3fe49e-d172-4e1b-a3b5-08e39415f3b6]. Device number: [8:1].
[01.09.2016 21:00:32] <139957098944256> lpbcore|     Found device: [/dev/disk/by-path/pci-0000:02:00.0-scsi-0:2:0:0-part2]. Device number: [8:2].
[01.09.2016 21:00:32] <139957098944256> lpbcore|     Found device: [/dev/disk/by-path/pci-0000:02:00.0-scsi-0:2:0:0-part1]. Device number: [8:1].
[01.09.2016 21:00:32] <139957098944256> lpbcore|     Found device: [/dev/disk/by-path/pci-0000:02:00.0-scsi-0:2:1:0]. Device number: [8:16].
[01.09.2016 21:00:32] <139957098944256> lpbcore|     Found device: [/dev/disk/by-path/pci-0000:02:00.0-scsi-0:2:0:0]. Device number: [8:0].
[01.09.2016 21:00:32] <139957098944256> lpbcore|     Found device: [/dev/disk/by-id/dm-uuid-LVM-3hiZ09xSS2yaxuPTk9AeOJX3tPZWotmKTqPtjfNfD3Tthf0LHjjlI82dqO1GyZIn]. Device number: [252:2].
[01.09.2016 21:00:32] <139957098944256> lpbcore|     Found device: [/dev/disk/by-id/dm-name-ab-disk--5104]. Device number: [252:2].
[01.09.2016 21:00:32] <139957098944256> lpbcore|     Found device: [/dev/disk/by-id/dm-uuid-LVM-3hiZ09xSS2yaxuPTk9AeOJX3tPZWotmKwOrDptFIFCta2josdBVjBmxWmtAKVPXd]. Device number: [252:6].
[01.09.2016 21:00:32] <139957098944256> lpbcore|     Found device: [/dev/disk/by-id/dm-name-ab-disk--6272]. Device number: [252:6].
[01.09.2016 21:00:32] <139957098944256> lpbcore|     Found device: [/dev/disk/by-id/dm-uuid-LVM-3hiZ09xSS2yaxuPTk9AeOJX3tPZWotmKW18wkyPTaigmEDTV1MIShWeUWOQVZdrS]. Device number: [252:0].
[01.09.2016 21:00:32] <139957098944256> lpbcore|     Found device: [/dev/disk/by-id/dm-name-ab-disk--5460]. Device number: [252:0].
[01.09.2016 21:00:32] <139957098944256> lpbcore|     Found device: [/dev/disk/by-id/dm-uuid-LVM-3hiZ09xSS2yaxuPTk9AeOJX3tPZWotmKYr5cmLF1k6nyADUxqZBuZhMMgpE3Uqkd]. Device number: [252:3].
[01.09.2016 21:00:32] <139957098944256> lpbcore|     Found device: [/dev/disk/by-id/dm-name-ab-disk--5105]. Device number: [252:3].
[01.09.2016 21:00:32] <139957098944256> lpbcore|     Found device: [/dev/disk/by-id/dm-uuid-LVM-3hiZ09xSS2yaxuPTk9AeOJX3tPZWotmKRJwU603sdHzpGZ5NlWn5Mu786LC4N3ah]. Device number: [252:4].
[01.09.2016 21:00:32] <139957098944256> lpbcore|     Found device: [/dev/disk/by-id/dm-name-ab-disk--5106]. Device number: [252:4].
[01.09.2016 21:00:32] <139957098944256> lpbcore|     Found device: [/dev/disk/by-id/dm-uuid-LVM-3hiZ09xSS2yaxuPTk9AeOJX3tPZWotmKWtv0dyCMx3VLvZxMfDo57C8GwszUl7wO]. Device number: [252:1].
[01.09.2016 21:00:32] <139957098944256> lpbcore|     Found device: [/dev/disk/by-id/dm-name-ab-disk--5461]. Device number: [252:1].
[01.09.2016 21:00:32] <139957098944256> lpbcore|     Found device: [/dev/disk/by-id/dm-uuid-LVM-3hiZ09xSS2yaxuPTk9AeOJX3tPZWotmKEDIrY4PMbKXaa4Xx06IErxNnZXD5rWBn]. Device number: [252:5].
[01.09.2016 21:00:32] <139957098944256> lpbcore|     Found device: [/dev/disk/by-id/dm-name-ab-disk--5107]. Device number: [252:5].
[01.09.2016 21:00:32] <139957098944256> lpbcore|     Found device: [/dev/disk/by-id/wwn-0x614187705e623f001e3a4a3802cb0d31-part2]. Device number: [8:2].
[01.09.2016 21:00:32] <139957098944256> lpbcore|     Found device: [/dev/disk/by-id/scsi-3614187705e623f001e3a4a3802cb0d31-part2]. Device number: [8:2].
[01.09.2016 21:00:32] <139957098944256> lpbcore|     Found device: [/dev/disk/by-id/wwn-0x614187705e623f001e3a4a3802cb0d31-part1]. Device number: [8:1].
[01.09.2016 21:00:32] <139957098944256> lpbcore|     Found device: [/dev/disk/by-id/scsi-3614187705e623f001e3a4a3802cb0d31-part1]. Device number: [8:1].
[01.09.2016 21:00:32] <139957098944256> lpbcore|     Found device: [/dev/disk/by-id/wwn-0x614187705e623f001e3a4bfd1dd2050a]. Device number: [8:16].
[01.09.2016 21:00:32] <139957098944256> lpbcore|     Found device: [/dev/disk/by-id/scsi-3614187705e623f001e3a4bfd1dd2050a]. Device number: [8:16].
[01.09.2016 21:00:32] <139957098944256> lpbcore|     Found device: [/dev/disk/by-id/lvm-pv-uuid-8NZS40-wfNv-DOA0-TjA9-kNc4-lJj2-EKS9i4]. Device number: [8:16].
[01.09.2016 21:00:32] <139957098944256> lpbcore|     Found device: [/dev/disk/by-id/wwn-0x614187705e623f001e3a4a3802cb0d31]. Device number: [8:0].
[01.09.2016 21:00:32] <139957098944256> lpbcore|     Found device: [/dev/disk/by-id/scsi-3614187705e623f001e3a4a3802cb0d31]. Device number: [8:0].
[01.09.2016 21:00:32] <139957098944256> lpbcore|     Found device: [/dev/sdb]. Device number: [8:16].
[01.09.2016 21:00:32] <139957098944256> lpbcore|     Found device: [/dev/sda2]. Device number: [8:2].
[01.09.2016 21:00:32] <139957098944256> lpbcore|     Found device: [/dev/sda1]. Device number: [8:1].
[01.09.2016 21:00:32] <139957098944256> lpbcore|     Found device: [/dev/sda]. Device number: [8:0].
[01.09.2016 21:00:32] <139957098944256> lpbcore|     Found device: [/dev/block/252:6]. Device number: [252:6].
[01.09.2016 21:00:32] <139957098944256> lpbcore|     Found device: [/dev/block/252:5]. Device number: [252:5].
[01.09.2016 21:00:32] <139957098944256> lpbcore|     Found device: [/dev/block/252:4]. Device number: [252:4].
[01.09.2016 21:00:32] <139957098944256> lpbcore|     Found device: [/dev/block/252:3]. Device number: [252:3].
[01.09.2016 21:00:32] <139957098944256> lpbcore|     Found device: [/dev/block/252:2]. Device number: [252:2].
[01.09.2016 21:00:32] <139957098944256> lpbcore|     Found device: [/dev/block/252:1]. Device number: [252:1].
[01.09.2016 21:00:32] <139957098944256> lpbcore|     Found device: [/dev/block/252:0]. Device number: [252:0].
[01.09.2016 21:00:32] <139957098944256> lpbcore|     Found device: [/dev/block/8:2]. Device number: [8:2].
[01.09.2016 21:00:32] <139957098944256> lpbcore|     Found device: [/dev/block/8:1]. Device number: [8:1].
[01.09.2016 21:00:32] <139957098944256> lpbcore|     Found device: [/dev/block/8:16]. Device number: [8:16].
[01.09.2016 21:00:32] <139957098944256> lpbcore|     Found device: [/dev/block/8:0]. Device number: [8:0].
[01.09.2016 21:00:32] <139957098944256> lpbcore|     Found device: [/dev/block/7:7]. Device number: [7:7].
[01.09.2016 21:00:32] <139957098944256> lpbcore|     Found device: [/dev/block/1:7]. Device number: [1:7].
[01.09.2016 21:00:32] <139957098944256> lpbcore|     Found device: [/dev/block/1:6]. Device number: [1:6].
[01.09.2016 21:00:32] <139957098944256> lpbcore|     Found device: [/dev/block/1:3]. Device number: [1:3].
[01.09.2016 21:00:32] <139957098944256> lpbcore|     Found device: [/dev/block/1:4]. Device number: [1:4].
[01.09.2016 21:00:32] <139957098944256> lpbcore|     Found device: [/dev/block/1:9]. Device number: [1:9].
[01.09.2016 21:00:32] <139957098944256> lpbcore|     Found device: [/dev/block/1:5]. Device number: [1:5].
[01.09.2016 21:00:32] <139957098944256> lpbcore|     Found device: [/dev/block/1:8]. Device number: [1:8].
[01.09.2016 21:00:32] <139957098944256> lpbcore|     Found device: [/dev/block/1:15]. Device number: [1:15].
[01.09.2016 21:00:32] <139957098944256> lpbcore|     Found device: [/dev/block/1:2]. Device number: [1:2].
[01.09.2016 21:00:32] <139957098944256> lpbcore|     Found device: [/dev/block/1:12]. Device number: [1:12].
[01.09.2016 21:00:32] <139957098944256> lpbcore|     Found device: [/dev/block/1:13]. Device number: [1:13].
[01.09.2016 21:00:32] <139957098944256> lpbcore|     Found device: [/dev/block/1:10]. Device number: [1:10].
[01.09.2016 21:00:32] <139957098944256> lpbcore|     Found device: [/dev/block/1:14]. Device number: [1:14].
[01.09.2016 21:00:32] <139957098944256> lpbcore|     Found device: [/dev/block/1:11]. Device number: [1:11].
[01.09.2016 21:00:32] <139957098944256> lpbcore|     Found device: [/dev/block/7:4]. Device number: [7:4].
[01.09.2016 21:00:32] <139957098944256> lpbcore|     Found device: [/dev/block/1:0]. Device number: [1:0].
[01.09.2016 21:00:32] <139957098944256> lpbcore|     Found device: [/dev/block/7:5]. Device number: [7:5].
[01.09.2016 21:00:32] <139957098944256> lpbcore|     Found device: [/dev/block/1:1]. Device number: [1:1].
[01.09.2016 21:00:32] <139957098944256> lpbcore|     Found device: [/dev/block/7:2]. Device number: [7:2].
[01.09.2016 21:00:32] <139957098944256> lpbcore|     Found device: [/dev/block/7:1]. Device number: [7:1].
[01.09.2016 21:00:32] <139957098944256> lpbcore|     Found device: [/dev/block/7:6]. Device number: [7:6].
[01.09.2016 21:00:32] <139957098944256> lpbcore|     Found device: [/dev/block/7:3]. Device number: [7:3].
[01.09.2016 21:00:32] <139957098944256> lpbcore|     Found device: [/dev/block/7:0]. Device number: [7:0].
[01.09.2016 21:00:32] <139957098944256> lpbcore|     Found device: [/dev/mapper/ab-disk--5104]. Device number: [252:2].
[01.09.2016 21:00:32] <139957098944256> lpbcore|     Found device: [/dev/mapper/ab-disk--6272]. Device number: [252:6].
[01.09.2016 21:00:32] <139957098944256> lpbcore|     Found device: [/dev/mapper/ab-disk--5460]. Device number: [252:0].
[01.09.2016 21:00:32] <139957098944256> lpbcore|     Found device: [/dev/mapper/ab-disk--5105]. Device number: [252:3].
[01.09.2016 21:00:32] <139957098944256> lpbcore|     Found device: [/dev/mapper/ab-disk--5106]. Device number: [252:4].
[01.09.2016 21:00:32] <139957098944256> lpbcore|     Found device: [/dev/mapper/ab-disk--5461]. Device number: [252:1].
[01.09.2016 21:00:32] <139957098944256> lpbcore|     Found device: [/dev/mapper/ab-disk--5107]. Device number: [252:5].
[01.09.2016 21:00:32] <139957098944256> lpbcore|     Found device: [/dev/loop7]. Device number: [7:7].
[01.09.2016 21:00:32] <139957098944256> lpbcore|     Found device: [/dev/loop6]. Device number: [7:6].
[01.09.2016 21:00:32] <139957098944256> lpbcore|     Found device: [/dev/loop5]. Device number: [7:5].
[01.09.2016 21:00:32] <139957098944256> lpbcore|     Found device: [/dev/loop4]. Device number: [7:4].
[01.09.2016 21:00:32] <139957098944256> lpbcore|     Found device: [/dev/loop3]. Device number: [7:3].
[01.09.2016 21:00:32] <139957098944256> lpbcore|     Found device: [/dev/loop2]. Device number: [7:2].
[01.09.2016 21:00:32] <139957098944256> lpbcore|     Found device: [/dev/loop1]. Device number: [7:1].
[01.09.2016 21:00:32] <139957098944256> lpbcore|     Found device: [/dev/loop0]. Device number: [7:0].
[01.09.2016 21:00:32] <139957098944256> lpbcore|     Found device: [/dev/ram15]. Device number: [1:15].
[01.09.2016 21:00:32] <139957098944256> lpbcore|     Found device: [/dev/ram14]. Device number: [1:14].
[01.09.2016 21:00:32] <139957098944256> lpbcore|     Found device: [/dev/ram13]. Device number: [1:13].
[01.09.2016 21:00:32] <139957098944256> lpbcore|     Found device: [/dev/ram12]. Device number: [1:12].
[01.09.2016 21:00:32] <139957098944256> lpbcore|     Found device: [/dev/ram11]. Device number: [1:11].
[01.09.2016 21:00:32] <139957098944256> lpbcore|     Found device: [/dev/ram10]. Device number: [1:10].
[01.09.2016 21:00:32] <139957098944256> lpbcore|     Found device: [/dev/ram9]. Device number: [1:9].
[01.09.2016 21:00:32] <139957098944256> lpbcore|     Found device: [/dev/ram8]. Device number: [1:8].
[01.09.2016 21:00:32] <139957098944256> lpbcore|     Found device: [/dev/ram7]. Device number: [1:7].
[01.09.2016 21:00:32] <139957098944256> lpbcore|     Found device: [/dev/ram6]. Device number: [1:6].
[01.09.2016 21:00:32] <139957098944256> lpbcore|     Found device: [/dev/ram5]. Device number: [1:5].
[01.09.2016 21:00:32] <139957098944256> lpbcore|     Found device: [/dev/ram4]. Device number: [1:4].
[01.09.2016 21:00:32] <139957098944256> lpbcore|     Found device: [/dev/ram3]. Device number: [1:3].
[01.09.2016 21:00:32] <139957098944256> lpbcore|     Found device: [/dev/ram2]. Device number: [1:2].
[01.09.2016 21:00:32] <139957098944256> lpbcore|     Found device: [/dev/ram1]. Device number: [1:1].
[01.09.2016 21:00:32] <139957098944256> lpbcore|     Found device: [/dev/ram0]. Device number: [1:0].
[01.09.2016 21:00:32] <139957098944256> lpbcore|     [COijFilter] ShouldAddObject DEV__dev_ram0 exclude
[01.09.2016 21:00:32] <139957098944256> lpbcore|     [COijFilter] ShouldAddObject DEV__dev_ram1 exclude
[01.09.2016 21:00:32] <139957098944256> lpbcore|     [COijFilter] ShouldAddObject DEV__dev_ram2 exclude
[01.09.2016 21:00:32] <139957098944256> lpbcore|     [COijFilter] ShouldAddObject DEV__dev_ram3 exclude
[01.09.2016 21:00:32] <139957098944256> lpbcore|     [COijFilter] ShouldAddObject DEV__dev_ram4 exclude
[01.09.2016 21:00:32] <139957098944256> lpbcore|     [COijFilter] ShouldAddObject DEV__dev_ram5 exclude
[01.09.2016 21:00:32] <139957098944256> lpbcore|     [COijFilter] ShouldAddObject DEV__dev_ram6 exclude
[01.09.2016 21:00:32] <139957098944256> lpbcore|     [COijFilter] ShouldAddObject DEV__dev_ram7 exclude
[01.09.2016 21:00:32] <139957098944256> lpbcore|     [COijFilter] ShouldAddObject DEV__dev_ram8 exclude
[01.09.2016 21:00:32] <139957098944256> lpbcore|     [COijFilter] ShouldAddObject DEV__dev_ram9 exclude
[01.09.2016 21:00:32] <139957098944256> lpbcore|     [COijFilter] ShouldAddObject DEV__dev_ram10 exclude
[01.09.2016 21:00:32] <139957098944256> lpbcore|     [COijFilter] ShouldAddObject DEV__dev_ram11 exclude
[01.09.2016 21:00:32] <139957098944256> lpbcore|     [COijFilter] ShouldAddObject DEV__dev_ram12 exclude
[01.09.2016 21:00:32] <139957098944256> lpbcore|     [COijFilter] ShouldAddObject DEV__dev_ram13 exclude
[01.09.2016 21:00:32] <139957098944256> lpbcore|     [COijFilter] ShouldAddObject DEV__dev_ram14 exclude
[01.09.2016 21:00:32] <139957098944256> lpbcore|     [COijFilter] ShouldAddObject DEV__dev_ram15 exclude
[01.09.2016 21:00:32] <139957098944256> lpbcore|     [COijFilter] ShouldAddObject DEV__dev_loop0 exclude
[01.09.2016 21:00:32] <139957098944256> lpbcore|     [COijFilter] ShouldAddObject DEV__dev_loop1 exclude
[01.09.2016 21:00:32] <139957098944256> lpbcore|     [COijFilter] ShouldAddObject DEV__dev_loop2 exclude
[01.09.2016 21:00:32] <139957098944256> lpbcore|     [COijFilter] ShouldAddObject DEV__dev_loop3 exclude
[01.09.2016 21:00:32] <139957098944256> lpbcore|     [COijFilter] ShouldAddObject DEV__dev_loop4 exclude
[01.09.2016 21:00:32] <139957098944256> lpbcore|     [COijFilter] ShouldAddObject DEV__dev_loop5 exclude
[01.09.2016 21:00:32] <139957098944256> lpbcore|     [COijFilter] ShouldAddObject DEV__dev_loop6 exclude
[01.09.2016 21:00:32] <139957098944256> lpbcore|     [COijFilter] ShouldAddObject DEV__dev_loop7 exclude
[01.09.2016 21:00:32] <139957098944256> lpbcore|     [COijFilter] ShouldAddObject e5492f1c exclude
[01.09.2016 21:00:32] <139957098944256> lpbcore|     [COijFilter] ShouldAddObject e5492f1c/o1048576l7998537728 exclude
[01.09.2016 21:00:32] <139957098944256> lpbcore|     Partition [/dev/sda1] should not be backed up.
[01.09.2016 21:00:32] <139957098944256> lpbcore|     [COijFilter] ShouldAddObject e5492f1c/o7999586304l45686456320 exclude
[01.09.2016 21:00:32] <139957098944256> lpbcore|     Partition [/dev/sda2] should not be backed up.
[01.09.2016 21:00:32] <139957098944256> lpbcore|     Detecting bootloader on device [/dev/sda].
[01.09.2016 21:00:32] <139957098944256> lpbcore|       Area size: [1048576].
[01.09.2016 21:00:32] <139957098944256> lpbcore|       Detected GRUB2, version [1.99].
[01.09.2016 21:00:32] <139957098944256> lpbcore|     Bootloader type: Grub2.
[01.09.2016 21:00:32] <139957098944256> lpbcore|     [COijFilter] ShouldAddObject DEV__dev_sdb exclude
[01.09.2016 21:00:32] <139957098944256> lpbcore|     [COijFilter] ShouldAddObject f20004c9 exclude
[01.09.2016 21:00:32] <139957098944256> lpbcore|     Detecting bootloader on device [/dev/dm-0].
[01.09.2016 21:00:32] <139957098944256> lpbcore|       Area size: [1048576].
[01.09.2016 21:00:32] <139957098944256> lpbcore|       Detected GRUB2, version [1.99].
[01.09.2016 21:00:32] <139957098944256> lpbcore|     Bootloader type: Grub2.
[01.09.2016 21:00:32] <139957098944256> lpbcore|     [COijFilter] ShouldAddObject 6308229a exclude
[01.09.2016 21:00:32] <139957098944256> lpbcore|     Detecting bootloader on device [/dev/dm-2].
[01.09.2016 21:00:32] <139957098944256> lpbcore|       Area size: [1048576].
[01.09.2016 21:00:32] <139957098944256> lpbcore|       Detected GRUB2, version [1.99].
[01.09.2016 21:00:32] <139957098944256> lpbcore|     Bootloader type: Grub2.
[01.09.2016 21:00:32] <139957098944256> lpbcore|     [COijFilter] ShouldAddObject edd2e60a exclude
[01.09.2016 21:00:32] <139957098944256> lpbcore|     Detecting bootloader on device [/dev/dm-4].
[01.09.2016 21:00:32] <139957098944256> lpbcore|       Area size: [1048576].
[01.09.2016 21:00:32] <139957098944256> lpbcore|       Detected GRUB2, version [1.99].
[01.09.2016 21:00:32] <139957098944256> lpbcore|     Bootloader type: Grub2.
[01.09.2016 21:00:32] <139957098944256> lpbcore|     Enumerating LVM volume groups...
[01.09.2016 21:00:32] <139957098944256> lpbcore|       LVM volume group: [ab].
[01.09.2016 21:00:32] <139957098944256> lpbcore|       Enumerating logical volumes for LVM volume group: [ab].
[01.09.2016 21:00:32] <139957098944256> lpbcore|         [COijFilter] ShouldAddObject 3hiZ09-xSS2-yaxu-PTk9-AeOJ-X3tP-ZWotmK/W18wky-PTai-gmED-TV1M-IShW-eUWO-QVZdrS exclude
[01.09.2016 21:00:32] <139957098944256> lpbcore|         [COijFilter] ShouldAddObject 3hiZ09-xSS2-yaxu-PTk9-AeOJ-X3tP-ZWotmK/Wtv0dy-CMx3-VLvZ-xMfD-o57C-8Gws-zUl7wO exclude
[01.09.2016 21:00:32] <139957098944256> lpbcore|         Logical volume [disk-5461] with ID [Wtv0dy-CMx3-VLvZ-xMfD-o57C-8Gws-zUl7wO] should not be backed up.
[01.09.2016 21:00:32] <139957098944256> lpbcore|         [COijFilter] ShouldAddObject 3hiZ09-xSS2-yaxu-PTk9-AeOJ-X3tP-ZWotmK/TqPtjf-NfD3-Tthf-0LHj-jlI8-2dqO-1GyZIn exclude
[01.09.2016 21:00:32] <139957098944256> lpbcore|         [COijFilter] ShouldAddObject 3hiZ09-xSS2-yaxu-PTk9-AeOJ-X3tP-ZWotmK/Yr5cmL-F1k6-nyAD-UxqZ-BuZh-MMgp-E3Uqkd exclude
[01.09.2016 21:00:32] <139957098944256> lpbcore|         Logical volume [disk-5105] with ID [Yr5cmL-F1k6-nyAD-UxqZ-BuZh-MMgp-E3Uqkd] should not be backed up.
[01.09.2016 21:00:32] <139957098944256> lpbcore|         [COijFilter] ShouldAddObject 3hiZ09-xSS2-yaxu-PTk9-AeOJ-X3tP-ZWotmK/RJwU60-3sdH-zpGZ-5NlW-n5Mu-786L-C4N3ah include
[01.09.2016 21:00:32] <139957098944256> lpbcore|       Enumerating logical volumes for LVM volume group: [ab]. Failed.
[01.09.2016 21:00:32] <139957098944256> lpbcore|     Enumerating LVM volume groups... Failed.
[01.09.2016 21:00:32] <139957098944256> lpbcore|   Enumerating backup objects. Failed.
[01.09.2016 21:00:32] <139957098944256> lpbcore| BackupJobPerformer: Creating backup. Failed.
[01.09.2016 21:00:32] <139957098944256>        | Trying to connect to the endpoint [127.0.0.1:3500]
[01.09.2016 21:00:32] <139957098944256>        |   Connection status: system:0 ( Success ).
[01.09.2016 21:00:32] <139957098944256> net    | Sending reconnect options: [disabled].
[01.09.2016 21:00:32] <139957098944256> lpbcore| Disconnecting.
[01.09.2016 21:00:32] <139957140567936> lpbcore| LpbManSession: Processing commands. ok.
[01.09.2016 21:00:32] <139957098944256> lpbcore| ERR |Job has failed.
[01.09.2016 21:00:32] <139957098944256> lpbcore| >>  |Logical volume [disk-5106] is not active.
[01.09.2016 21:00:32] <139957098944256> lpbcore| >>  |--tr:Failed to enumerate block devices in current system.
[01.09.2016 21:00:32] <139957098944256> lpbcore| >>  |Backup job has failed.
[01.09.2016 21:00:32] <139957098944256> lpbcore| >>  |An exception was thrown from thread [139957098944256].
[01.09.2016 21:00:32] <139957098944256>        | Thread finished. Role: 'Volume backup job execution'.
[01.09.2016 21:00:32] <139957140567936> lpbcore| [DEV] Destroyed [0x2894cc0]
[01.09.2016 21:00:32] <139957140567936> lpbman | Application session has been finished.
I need to make clear that scanning LVM-volumes and mounting them when they are recognized as supported filesystem like EXT4 is bad.
Years ago accidentally we destroyed 30 VM’s because of this: https://bugs.debian.org/cgi-bin/bugrepo ... bug=556739
So please please be careful when fixing the deficiency I report here, and don’t make the same mistake :)
Thinking back to that day makes me sad :(

I’m running Veeam for Linux Beta2 on a test-environment, so feel free to provide me with patches so I can help testing.
PTide
Product Manager
Posts: 6551
Liked: 765 times
Joined: May 19, 2015 1:46 pm
Contact:

Re: [BETA2] LVM/Logical Volumes with partitioning fails to b

Post by PTide »

Hi and welcome to the community!
So Veeam works fine with LVM volumes, but after doing some research it seems it don’t work on LVM volumes with partitioning inside that Logical volume.
I've heard of that problem before, the only difference that LVM built-in snapshot functionality had been used. Let's see what we can do here.
VM (KVM) running on ab-disk-—5105 and ab-disk—5106
What's the bus that you used: scsi/ide/virtio?
vda is ab-disk-—5105 and vdb is ab-disk—5106
I'm a little bit confused with the outputs that you've provided, as I can clearly see that vda is 10G while 5105 is only 2G. I guess that in fact vda is ab-disk--5106 because it's 10G while 5105 is only 2G, and vdb is ab-disk--5107 since it's 4G. Is that correct?

Please also provide an archive of /var/log/veeam directory (use share folder or any other filesharing service)

Thanks!
EAB
Novice
Posts: 6
Liked: never
Joined: Sep 01, 2016 7:06 pm
Full Name: Erwin Bleeker
Contact:

Re: [BETA2] LVM/Logical Volumes with partitioning fails to b

Post by EAB »

Sorry for the confusion, my bad,
- ab-disk--5106 should be ab-disk--5107
- ab-disk--5105 should be ab-disk--5106

The logs and names of volumes I provided above are sanitized.
What are you looking for in the logfiles? I just did a line-count on all logs... 30.000+ lines. That takes some time to sanitize and I need to ask someone to checkup the sanitized logs.
EAB
Novice
Posts: 6
Liked: never
Joined: Sep 01, 2016 7:06 pm
Full Name: Erwin Bleeker
Contact:

Re: [BETA2] LVM/Logical Volumes with partitioning fails to b

Post by EAB »

We're using Virtio by the way.
PTide
Product Manager
Posts: 6551
Liked: 765 times
Joined: May 19, 2015 1:46 pm
Contact:

Re: [BETA2] LVM/Logical Volumes with partitioning fails to b

Post by PTide »

Hi,

We usually require Agent.Source.log and veeamsvc.log files as they contain driver information which is not fully displayed in Job.Log, but let's wait and see if the development team will request any additional info.

P.S. As for log sanitizing, it seems that you do not have much trust in grep/sed/awk, do you? :)

Thanks
EAB
Novice
Posts: 6
Liked: never
Joined: Sep 01, 2016 7:06 pm
Full Name: Erwin Bleeker
Contact:

Re: [BETA2] LVM/Logical Volumes with partitioning fails to b

Post by EAB »

Ok, lets wait for your development team :)

Scripting in 50 lines is good for readability, but doing it all in a oneliner is more fun.
I have tons of trust in my oneliner-skills, but our procedures and policies do not say a thing about my trust ;)
EAB
Novice
Posts: 6
Liked: never
Joined: Sep 01, 2016 7:06 pm
Full Name: Erwin Bleeker
Contact:

Re: [BETA2] LVM/Logical Volumes with partitioning fails to b

Post by EAB »

Hi Ptide,

2 weeks ago I downloaded the GA version and gave it a try and the issue is still there.
Do you have an update on this issue from your development department?

Thanks in advance.
PTide
Product Manager
Posts: 6551
Liked: 765 times
Joined: May 19, 2015 1:46 pm
Contact:

Re: [BETA2] LVM/Logical Volumes with partitioning fails to b

Post by PTide »

Hi,

You can contact our support team to request the fix that adjusts VAL's behaviour so that it automatically skips such LVMs instead of failing the job. That is, currently there is no support for LVMs that are passed to VMs as virtual disks.

Thanks
EAB
Novice
Posts: 6
Liked: never
Joined: Sep 01, 2016 7:06 pm
Full Name: Erwin Bleeker
Contact:

Re: [BETA2] LVM/Logical Volumes with partitioning fails to b

Post by EAB »

Hi,

I don't wan't to skip the LVMs. I need to backup them....
PTide
Product Manager
Posts: 6551
Liked: 765 times
Joined: May 19, 2015 1:46 pm
Contact:

Re: [BETA2] LVM/Logical Volumes with partitioning fails to b

Post by PTide »

Currently the only workarounds are to either use LVM snapshots or install VAL inside the guest.

Thanks
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests