Hello all,

I'm trying a new, fresh deploy of bacula 9.4.2 and AWS VTL.
The thing is: I can make manual backups and scheduled backups runs fine as
well, problem is when bacula asks to mount one volume to a different drive
(tape), sometimes it asks it on backup and ALWAYS ask it on restore, so my
backup sometimes stuck and I can't do ANY restore at all.


Before I try to run restore:

Autochanger "aws.vtlchanger" with devices:
   "aws.vtldrive.01"
(/dev/tape/by-path/ip-192.168.1.250:3260-iscsi-iqn.1997-05.com.amazon:sgw-ae9b7ac7-tapedrive-01-lun-0-nst)
   "aws.vtldrive.02"
(/dev/tape/by-path/ip-192.168.1.250:3260-iscsi-iqn.1997-05.com.amazon:sgw-ae9b7ac7-tapedrive-02-lun-0-nst)
   "aws.vtldrive.03"
(/dev/tape/by-path/ip-192.168.1.250:3260-iscsi-iqn.1997-05.com.amazon:sgw-ae9b7ac7-tapedrive-03-lun-0-nst)
   "aws.vtldrive.04"
(/dev/tape/by-path/ip-192.168.1.250:3260-iscsi-iqn.1997-05.com.amazon:sgw-ae9b7ac7-tapedrive-04-lun-0-nst)

Device "RestoreStorage" is not open or does not exist.
==

Device Tape is "aws.vtldrive.01"
(/dev/tape/by-path/ip-192.168.1.250:3260-iscsi-iqn.1997-05.com.amazon:sgw-ae9b7ac7-tapedrive-01-lun-0-nst)
mounted with:
    Volume:      Diario-0005
    Pool:        Pool_Diario
    Media type:  ULT3580-TD5
    Total Bytes=9,098,514,432 Blocks=141,035 Bytes/block=64,512
    Positioned at File=11 Block=0
   Drive 0 is not loaded.
==

Device Tape is "aws.vtldrive.02"
(/dev/tape/by-path/ip-192.168.1.250:3260-iscsi-iqn.1997-05.com.amazon:sgw-ae9b7ac7-tapedrive-02-lun-0-nst)
mounted with:
    Volume:      Vol-0008
    Pool:        *unknown*
    Media type:  ULT3580-TD5
    Total Bytes Read=0 Blocks Read=0 Bytes/block=0
    Positioned at File=0 Block=0
   Drive 1 is not loaded.
==

Device Tape is "aws.vtldrive.03"
(/dev/tape/by-path/ip-192.168.1.250:3260-iscsi-iqn.1997-05.com.amazon:sgw-ae9b7ac7-tapedrive-03-lun-0-nst)
mounted with:
    Volume:      Vol-0002
    Pool:        *unknown*
    Media type:  ULT3580-TD5
    Total Bytes Read=0 Blocks Read=0 Bytes/block=0
    Positioned at File=0 Block=0
   Drive 2 is not loaded.
==

Device Tape is "aws.vtldrive.04"
(/dev/tape/by-path/ip-192.168.1.250:3260-iscsi-iqn.1997-05.com.amazon:sgw-ae9b7ac7-tapedrive-04-lun-0-nst)
mounted with:
    Volume:      Diario-0010
    Pool:        *unknown*
    Media type:  ULT3580-TD5
    Total Bytes Read=0 Blocks Read=0 Bytes/block=0
    Positioned at File=0 Block=0
   Drive 3 is not loaded.
==
====

Used Volume status:
Reserved volume: Diario-0005 on Tape device "aws.vtldrive.01"
(/dev/tape/by-path/ip-192.168.1.250:3260-iscsi-iqn.1997-05.com.amazon:sgw-ae9b7ac7-tapedrive-01-lun-0-nst)
    Reader=0 writers=0 reserves=0 volinuse=0 worm=0
Reserved volume: Diario-0010 on Tape device "aws.vtldrive.04"
(/dev/tape/by-path/ip-192.168.1.250:3260-iscsi-iqn.1997-05.com.amazon:sgw-ae9b7ac7-tapedrive-04-lun-0-nst)
    Reader=0 writers=0 reserves=0 volinuse=0 worm=0
Reserved volume: Vol-0002 on Tape device "aws.vtldrive.03"
(/dev/tape/by-path/ip-192.168.1.250:3260-iscsi-iqn.1997-05.com.amazon:sgw-ae9b7ac7-tapedrive-03-lun-0-nst)
    Reader=0 writers=0 reserves=0 volinuse=0 worm=0
Reserved volume: Vol-0008 on Tape device "aws.vtldrive.02"
(/dev/tape/by-path/ip-192.168.1.250:3260-iscsi-iqn.1997-05.com.amazon:sgw-ae9b7ac7-tapedrive-02-lun-0-nst)
    Reader=0 writers=0 reserves=0 volinuse=0 worm=0
====


After I try to run restore:
Device status:
Autochanger "aws.vtlchanger" with devices:
   "aws.vtldrive.01"
(/dev/tape/by-path/ip-192.168.1.250:3260-iscsi-iqn.1997-05.com.amazon:sgw-ae9b7ac7-tapedrive-01-lun-0-nst)
   "aws.vtldrive.02"
(/dev/tape/by-path/ip-192.168.1.250:3260-iscsi-iqn.1997-05.com.amazon:sgw-ae9b7ac7-tapedrive-02-lun-0-nst)
   "aws.vtldrive.03"
(/dev/tape/by-path/ip-192.168.1.250:3260-iscsi-iqn.1997-05.com.amazon:sgw-ae9b7ac7-tapedrive-03-lun-0-nst)
   "aws.vtldrive.04"
(/dev/tape/by-path/ip-192.168.1.250:3260-iscsi-iqn.1997-05.com.amazon:sgw-ae9b7ac7-tapedrive-04-lun-0-nst)

Device "RestoreStorage" is not open or does not exist.
==

Device Tape is "aws.vtldrive.01"
(/dev/tape/by-path/ip-192.168.1.250:3260-iscsi-iqn.1997-05.com.amazon:sgw-ae9b7ac7-tapedrive-01-lun-0-nst)
mounted with:
    Volume:      Diario-0005
    Pool:        Pool_Diario
    Media type:  ULT3580-TD5
    Total Bytes=9,098,514,432 Blocks=141,035 Bytes/block=64,512
    Positioned at File=11 Block=0
   Drive 0 is not loaded.
==

Device Tape is "aws.vtldrive.02"
(/dev/tape/by-path/ip-192.168.1.250:3260-iscsi-iqn.1997-05.com.amazon:sgw-ae9b7ac7-tapedrive-02-lun-0-nst)
mounted with:
    Volume:      Vol-0008
    Pool:        *unknown*
    Media type:  ULT3580-TD5
    Total Bytes Read=809,690,112 Blocks Read=0 Bytes/block=809,690,112
    Positioned at File=27 Block=12,551
   Drive 1 is not loaded.
==

Device Tape is "aws.vtldrive.03"
(/dev/tape/by-path/ip-192.168.1.250:3260-iscsi-iqn.1997-05.com.amazon:sgw-ae9b7ac7-tapedrive-03-lun-0-nst)
waiting for:
    Volume:      Vol-0002
    Pool:        *unknown*
    Media type:  ULT3580-TD5
    Total Bytes Read=64,512 Blocks Read=1 Bytes/block=64,512
    Positioned at File=0 Block=0
   Device is BLOCKED waiting for mount of volume "Vol-0008",
       Pool:        pool.restore
       Media type:  ULT3580-TD5
   Drive 2 is not loaded.
==

Device Tape is "aws.vtldrive.04"
(/dev/tape/by-path/ip-192.168.1.250:3260-iscsi-iqn.1997-05.com.amazon:sgw-ae9b7ac7-tapedrive-04-lun-0-nst)
mounted with:
    Volume:      Diario-0010
    Pool:        *unknown*
    Media type:  ULT3580-TD5
    Total Bytes Read=0 Blocks Read=0 Bytes/block=0
    Positioned at File=0 Block=0
   Drive 3 is not loaded.
==
====

Used Volume status:
Reserved volume: Diario-0005 on Tape device "aws.vtldrive.01"
(/dev/tape/by-path/ip-192.168.1.250:3260-iscsi-iqn.1997-05.com.amazon:sgw-ae9b7ac7-tapedrive-01-lun-0-nst)
    Reader=0 writers=0 reserves=0 volinuse=0 worm=0
Reserved volume: Diario-0010 on Tape device "aws.vtldrive.04"
(/dev/tape/by-path/ip-192.168.1.250:3260-iscsi-iqn.1997-05.com.amazon:sgw-ae9b7ac7-tapedrive-04-lun-0-nst)
    Reader=0 writers=0 reserves=0 volinuse=0 worm=0
Reserved volume: Vol-0008 on Tape device "aws.vtldrive.02"
(/dev/tape/by-path/ip-192.168.1.250:3260-iscsi-iqn.1997-05.com.amazon:sgw-ae9b7ac7-tapedrive-02-lun-0-nst)
    Reader=0 writers=0 reserves=0 volinuse=0 worm=0
Volume: Vol-0008 no device. volinuse=0
====


Bacula cant mount the right volume on the tape it asks.
Can someone help me?
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to