Hello,
It seems to me that there is at least one problem in the output
below -- most likely indicating configuration problems.
See comments below ...
On 06/29/2017 01:57 AM, Luke Salsich
wrote:
OK, so I've gone through my drives, mounting and unmounting from
within Bacula and then checking those results in MTX to see if
there are any discrepancies.
I should note that I modified my SD config file to change the
device names to match the drive index. Maybe I should have
waited to make that change until after these tests...... wanted
to mention it in case you notice a change in drive numbers.
Output:
*mount
Automatically selected Storage: VTL
Enter autochanger drive[0]:
Enter autochanger slot: 1
3001 OK mount requested. Specified slot ignored.
Device="Drive-0"
(/dev/tape/by-path/ip-172.31.52.111:3260-iscsi-iqn.1997-05.com.amazon:sgw-c2e005ab-tapedrive-01-lun-0-nst)
The above message indicates that Bacula does not recognize the drive
as being in an autochanger. Did you miss specifying
Autochanger=yes, in the Dir or SD (Device) confs?
Further below, I see that the Volume label seems to be incorrect. I
cannot comment on it since we cannot see how you labeled the
volume. On that Volume and possibly others, you should if it does
not contain any important data, completely eliminate it both in
Bacula and AWS then recreate it.
Note, with this kind of a setup for driving AWS, if you have the
slightest communications error, you will probably end up with a
Volume that is not readable. In general Bacula assumes that all I/O
works if it does not get any errors. Given that communicating with
the cloud is not any where near as reliable as a local autochanger,
the possibility for problems is high.
In the Bacula Cloud implementation that you should get early next
year, I have designed around these kinds of problems.
Best regards,
Kern
*mount
Automatically selected Storage: VTL
Enter autochanger drive[0]: 1
Enter autochanger slot: 12
3304 Issuing autochanger "load slot 12, drive 1" command.
3305 Autochanger "load slot 12, drive 1", status is OK.
3001 Mounted Volume: BAKC8A9D2B
3001 Device ""Drive-1"
(/dev/tape/by-path/ip-172.31.52.111:3260-iscsi-iqn.1997-05.com.amazon:sgw-c2e005ab-tapedrive-02-lun-0-nst)"
is already mounted with Volume "BAKC8A9D2B"
*mount
Automatically selected Storage: VTL
Enter autochanger drive[0]: 2
Enter autochanger slot: 22
3304 Issuing autochanger "load slot 22, drive 2" command.
3305 Autochanger "load slot 22, drive 2", status is OK.
3001 Mounted Volume: BAKDE09D41
3001 Device ""Drive-2"
(/dev/tape/by-path/ip-172.31.52.111:3260-iscsi-iqn.1997-05.com.amazon:sgw-c2e005ab-tapedrive-03-lun-0-nst)"
is already mounted with Volume "BAKDE09D41"
*mount
Automatically selected Storage: VTL
Enter autochanger drive[0]: 3
Enter autochanger slot: 32
3304 Issuing autochanger "load slot 32, drive 3" command.
3305 Autochanger "load slot 32, drive 3", status is OK.
3001 Mounted Volume: BAKEF19D50
3001 Device ""Drive-3"
(/dev/tape/by-path/ip-172.31.52.111:3260-iscsi-iqn.1997-05.com.amazon:sgw-c2e005ab-tapedrive-04-lun-0-nst)"
is already mounted with Volume "BAKEF19D50"
*
/usr/sbin/mtx -f /dev/tape/by-id/scsi-2414d5a4e5f5347572d433245
status | head -n 50
Storage Changer
/dev/tape/by-id/scsi-2414d5a4e5f5347572d433245:10 Drives, 3200
Slots ( 1600 Import/Export )
Data Transfer Element 0:Full (Storage Element 2
Loaded):VolumeTag = BAKB3DD699
Data Transfer Element 1:Full (Storage Element 12
Loaded):VolumeTag = BAKC8A9D2B
Data Transfer Element 2:Full (Storage Element 22
Loaded):VolumeTag = BAKDE09D41
Data Transfer Element 3:Full (Storage Element 32
Loaded):VolumeTag = BAKEF19D50
Data Transfer Element 4:Empty
Data Transfer Element 5:Empty
Data Transfer Element 6:Empty
Data Transfer Element 7:Empty
Data Transfer Element 8:Empty
Data Transfer Element 9:Empty
Storage Element 1:Full
:VolumeTag=BAKC8C9D2D
Storage Element
2:Empty:VolumeTag=
Storage Element 3:Full
:VolumeTag=BAKB38D69C
Storage Element 4:Full
:VolumeTag=BAKB31D695
Storage Element 5:Full
:VolumeTag=BAKB32D696
Storage Element 6:Full
:VolumeTag=BAKB3FD69B
Storage Element 7:Full
:VolumeTag=BAKB39D69D
Storage Element 8:Full
:VolumeTag=BAKB3AD69E
Storage Element 9:Full
:VolumeTag=BAKB33D697
Storage Element 10:Full
:VolumeTag=BAKB3CD698
Storage Element 11:Full
:VolumeTag=BAKEEC9D4D
Storage Element
12:Empty:VolumeTag=
Storage Element 13:Full
:VolumeTag=BAKC909D31
Storage Element 14:Full
:VolumeTag=BAKC889D29
Storage Element 15:Full
:VolumeTag=BAKC8D9D2C
Storage Element 16:Full
:VolumeTag=BAKC8E9D2F
Storage Element 17:Full
:VolumeTag=BAKC919D30
Storage Element 18:Full
:VolumeTag=BAKC8F9D2E
Storage Element 19:Full
:VolumeTag=BAKC8B9D2A
Storage Element 20:Full
:VolumeTag=BAKC939D32
Storage Element 21:Full
:VolumeTag=BAKEE69D47
Storage Element
22:Empty:VolumeTag=
Storage Element 23:Full
:VolumeTag=BAKDE39D42
Storage Element 24:Full
:VolumeTag=BAKDE49D45
Storage Element 25:Full
:VolumeTag=BAKDE79D46
Storage Element 26:Full
:VolumeTag=BAKDE19D40
Storage Element 27:Full
:VolumeTag=BAKD9E9D3F
Storage Element 28:Full
:VolumeTag=BAKDE29D43
Storage Element 29:Full
:VolumeTag=BAKD9F9D3E
Storage Element 30:Full
:VolumeTag=BAKD9C9D3D
Storage Element 31:Full
:VolumeTag=BAKDE59D44
Storage Element
32:Empty:VolumeTag=
Storage Element 33:Full
:VolumeTag=BAKEE89D49
Storage Element 34:Full
:VolumeTag=BAKEE99D48
Storage Element 35:Full
:VolumeTag=BAKEEA9D4B
Storage Element 36:Full
:VolumeTag=BAKEED9D4C
Storage Element 37:Full
:VolumeTag=BAKEEE9D4F
Storage Element 38:Full
:VolumeTag=BAKEEB9D4A
Storage Element 39:Full :VolumeTag=BAKEEF9D4E
*release
Automatically selected Storage: VTL
Enter autochanger drive[0]:
3307 Issuing autochanger "unload slot 2, drive 0" command.
3922 Device ""Drive-0"
(/dev/tape/by-path/ip-172.31.52.111:3260-iscsi-iqn.1997-05.com.amazon:sgw-c2e005ab-tapedrive-01-lun-0-nst)"
released.
*release
Automatically selected Storage: VTL
Enter autochanger drive[0]: 1
3307 Issuing autochanger "unload slot 12, drive 1" command.
3022 Device ""Drive-1"
(/dev/tape/by-path/ip-172.31.52.111:3260-iscsi-iqn.1997-05.com.amazon:sgw-c2e005ab-tapedrive-02-lun-0-nst)"
released.
*release
Automatically selected Storage: VTL
Enter autochanger drive[0]: 2
3307 Issuing autochanger "unload slot 22, drive 2" command.
3022 Device ""Drive-2"
(/dev/tape/by-path/ip-172.31.52.111:3260-iscsi-iqn.1997-05.com.amazon:sgw-c2e005ab-tapedrive-03-lun-0-nst)"
released.
*release
Automatically selected Storage: VTL
Enter autochanger drive[0]: 3
3307 Issuing autochanger "unload slot 32, drive 3" command.
3022 Device ""Drive-3"
(/dev/tape/by-path/ip-172.31.52.111:3260-iscsi-iqn.1997-05.com.amazon:sgw-c2e005ab-tapedrive-04-lun-0-nst)"
released.
/usr/sbin/mtx -f /dev/tape/by-id/scsi-2414d5a4e5f5347572d433245
status | head -n 50
Storage Changer
/dev/tape/by-id/scsi-2414d5a4e5f5347572d433245:10 Drives, 3200
Slots ( 1600 Import/Export )
Data Transfer Element 0:Empty
Data Transfer Element 1:Empty
Data Transfer Element 2:Empty
Data Transfer Element 3:Empty
Data Transfer Element 4:Empty
Data Transfer Element 5:Empty
Data Transfer Element 6:Empty
Data Transfer Element 7:Empty
Data Transfer Element 8:Empty
Data Transfer Element 9:Empty
Storage Element 1:Full
:VolumeTag=BAKC8C9D2D
Storage Element 2:Full
:VolumeTag=BAKB3DD699
Storage Element 3:Full
:VolumeTag=BAKB38D69C
Storage Element 4:Full
:VolumeTag=BAKB31D695
Storage Element 5:Full
:VolumeTag=BAKB32D696
Storage Element 6:Full
:VolumeTag=BAKB3FD69B
Storage Element 7:Full
:VolumeTag=BAKB39D69D
Storage Element 8:Full
:VolumeTag=BAKB3AD69E
Storage Element 9:Full
:VolumeTag=BAKB33D697
Storage Element 10:Full
:VolumeTag=BAKB3CD698
Storage Element 11:Full
:VolumeTag=BAKEEC9D4D
Storage Element 12:Full
:VolumeTag=BAKC8A9D2B
Storage Element 13:Full
:VolumeTag=BAKC909D31
Storage Element 14:Full
:VolumeTag=BAKC889D29
Storage Element 15:Full
:VolumeTag=BAKC8D9D2C
Storage Element 16:Full
:VolumeTag=BAKC8E9D2F
Storage Element 17:Full
:VolumeTag=BAKC919D30
Storage Element 18:Full
:VolumeTag=BAKC8F9D2E
Storage Element 19:Full
:VolumeTag=BAKC8B9D2A
Storage Element 20:Full
:VolumeTag=BAKC939D32
Storage Element 21:Full
:VolumeTag=BAKEE69D47
Storage Element 22:Full
:VolumeTag=BAKDE09D41
Storage Element 23:Full
:VolumeTag=BAKDE39D42
Storage Element 24:Full
:VolumeTag=BAKDE49D45
Storage Element 25:Full
:VolumeTag=BAKDE79D46
Storage Element 26:Full
:VolumeTag=BAKDE19D40
Storage Element 27:Full
:VolumeTag=BAKD9E9D3F
Storage Element 28:Full
:VolumeTag=BAKDE29D43
Storage Element 29:Full
:VolumeTag=BAKD9F9D3E
Storage Element 30:Full
:VolumeTag=BAKD9C9D3D
Storage Element 31:Full
:VolumeTag=BAKDE59D44
Storage Element 32:Full
:VolumeTag=BAKEF19D50
Storage Element 33:Full
:VolumeTag=BAKEE89D49
Storage Element 34:Full
:VolumeTag=BAKEE99D48
Storage Element 35:Full
:VolumeTag=BAKEEA9D4B
Storage Element 36:Full
:VolumeTag=BAKEED9D4C
Storage Element 37:Full
:VolumeTag=BAKEEE9D4F
Storage Element 38:Full
:VolumeTag=BAKEEB9D4A
Storage Element 39:Full :VolumeTag=BAKEEF9D4E
Now, when I mount a volume which has already been used for
previous jobs, I get:
*mount
Automatically selected Storage: VTL
Enter autochanger drive[0]: 3
Enter autochanger slot: 11
3304 Issuing autochanger "load slot 11, drive 3" command.
3305 Autochanger "load slot 11, drive 3", status is OK.
3902 Cannot mount Volume on Storage Device ""Drive-3"
(/dev/tape/by-path/ip-172.31.52.111:3260-iscsi-iqn.1997-05.com.amazon:sgw-c2e005ab-tapedrive-04-lun-0-nst)"
because:
Could not unserialize Volume label: ERR=label.c:873 Expecting
Volume Label, got FI=SOS_LABEL Stream=404 len=174
3905 Device ""Drive-3"
(/dev/tape/by-path/ip-172.31.52.111:3260-iscsi-iqn.1997-05.com.amazon:sgw-c2e005ab-tapedrive-04-lun-0-nst)"
open but no Bacula volume is mounted.
If this is not a blank tape, try unmounting and remounting the
Volume.
MTX shows the correct volume label:
/dev/tape/by-id/scsi-2414d5a4e5f5347572d433245:10 Drives, 3200
Slots ( 1600 Import/Export )
Data Transfer Element 0:Empty
Data Transfer Element 1:Empty
Data Transfer Element 2:Empty
Data Transfer Element 3:Full (Storage Element 11
Loaded):VolumeTag = BAKEEC9D4D
Data Transfer Element 4:Empty
Data Transfer Element 5:Empty
Data Transfer Element 6:Empty
Data Transfer Element 7:Empty
Data Transfer Element 8:Empty
Data Transfer Element 9:Empty
Storage Element 1:Full
:VolumeTag=BAKC8C9D2D
Storage Element 2:Full
:VolumeTag=BAKB3DD699
Storage Element 3:Full
:VolumeTag=BAKB38D69C
Storage Element 4:Full
:VolumeTag=BAKB31D695
Storage Element 5:Full
:VolumeTag=BAKB32D696
Storage Element 6:Full
:VolumeTag=BAKB3FD69B
Storage Element 7:Full
:VolumeTag=BAKB39D69D
Storage Element 8:Full
:VolumeTag=BAKB3AD69E
Storage Element 9:Full
:VolumeTag=BAKB33D697
Storage Element 10:Full
:VolumeTag=BAKB3CD698
Storage Element
11:Empty:VolumeTag=
Storage Element 12:Full
:VolumeTag=BAKC8A9D2B
Storage Element 13:Full
:VolumeTag=BAKC909D31
Storage Element 14:Full
:VolumeTag=BAKC889D29
Storage Element 15:Full
:VolumeTag=BAKC8D9D2C
Storage Element 16:Full
:VolumeTag=BAKC8E9D2F
Storage Element 17:Full
:VolumeTag=BAKC919D30
Storage Element 18:Full
:VolumeTag=BAKC8F9D2E
Storage Element 19:Full
:VolumeTag=BAKC8B9D2A
Storage Element 20:Full
:VolumeTag=BAKC939D32
Storage Element 21:Full
:VolumeTag=BAKEE69D47
Storage Element 22:Full
:VolumeTag=BAKDE09D41
Storage Element 23:Full
:VolumeTag=BAKDE39D42
Storage Element 24:Full
:VolumeTag=BAKDE49D45
Storage Element 25:Full
:VolumeTag=BAKDE79D46
Storage Element 26:Full
:VolumeTag=BAKDE19D40
Storage Element 27:Full
:VolumeTag=BAKD9E9D3F
Storage Element 28:Full
:VolumeTag=BAKDE29D43
Storage Element 29:Full
:VolumeTag=BAKD9F9D3E
Storage Element 30:Full
:VolumeTag=BAKD9C9D3D
Storage Element 31:Full
:VolumeTag=BAKDE59D44
Storage Element 32:Full
:VolumeTag=BAKEF19D50
Storage Element 33:Full
:VolumeTag=BAKEE89D49
Storage Element 34:Full
:VolumeTag=BAKEE99D48
Storage Element 35:Full
:VolumeTag=BAKEEA9D4B
Storage Element 36:Full
:VolumeTag=BAKEED9D4C
Storage Element 37:Full
:VolumeTag=BAKEEE9D4F
Storage Element 38:Full
:VolumeTag=BAKEEB9D4A
Storage Element 39:Full :VolumeTag=BAKEEF9D4E
Any ideas why this would happen? This also explains (I think)
why the jobs were asking me to mount a volume or label a new
one.......
Thanks,
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users
|