Notes preceded with *******

Don Hammer
IT Systems Admin and Fuel & Licensing for Sherman Bros Trucking
d...@sbht.com
Direct 541-998-7218
Main Office: 541-995-7751

-----Original Message-----
From: Bill Arlofski via Bacula-users <bacula-users@lists.sourceforge.net> 
Sent: Thursday, March 2, 2023 10:07 AM
To: bacula-users@lists.sourceforge.net
Subject: Re: [Bacula-users] Help with configuration

On 2/28/23 15:02, Don Hammer wrote:
> 
> 
> 3306 Issuing autochanger "slots" command.
> 
> Device "HP_SureStore" has 8 slots.
> 
> Connecting to Storage daemon harorbu01-sd at 192.168.1.16:9103 ...
> 
> 3306 Issuing autochanger "list" command.
> 
> Slot |   Volume Name    |   Status  |     Media Type       |      Pool        
>   
> |
> 
> ------+------------------+-----------+----------------------+--------------------|
>      1 |         BGB847L6 |      Used |                LTO-5 |             
> Weekly |
>      2 |         BGB846L6 |      Full |                LTO-5 |             
> Weekly |
>      3 |         BGB843L6 |      Full |                LTO-5 |             
> Weekly |
>      4 |         BGB842L6 |      Full |                LTO-5 |             
> Weekly |
>      5 |         BGB841L6 |      Full |                LTO-5 |             
> Weekly |
>      6 |         BGB840L6 |      Full |                LTO-5 |             
> Weekly |
>      7 |         BGB845L6 |      Full |                LTO-5 |             
> Weekly |
>      8*|         CLNU00L1 |         ? |                    ? |                
>   
> ? |
> 
> Which is correct, however when I load tape 2 BGB846L6 and then run 
> status slots it results in
> 
> *status slots*
> 
> 
> 3306 Issuing autochanger "list" command.
> 
> Slot |   Volume Name    |   Status  |     Media Type       |      Pool        
>   
> |
> 
> ------+------------------+-----------+----------------------+--------------------|
>      1 |                  |           |                      |                
>     
> |
>      2 |         BGB846L6 |      Full |                LTO-5 |             
> Weekly |
>      3 |         BGB843L6 |      Full |                LTO-5 |             
> Weekly |
>      4 |         BGB842L6 |      Full |                LTO-5 |             
> Weekly |
>      5 |         BGB841L6 |      Full |                LTO-5 |             
> Weekly |
>      6 |         BGB840L6 |      Full |                LTO-5 |             
> Weekly |
>      7 |         BGB845L6 |      Full |                LTO-5 |             
> Weekly |
>      8*|         CLNU00L1 |         ? |                    ? |                
>   
> ? |

Hello Dan,

It seems your tapes may be mislabeled, or you simply loaded tape BGB847L6 into 
some drive.  Notice volume BGB846L6 is still in slot 2, and slot 1 is empty.

Maybe just s typo.

BUT, in your next output we see BGB846L6 in the drive.


> *status drive
> 
> The defined Storage resources are:
> 
> Autochanger "HP_SureStore" with devices:
> 
>     "HP_LTO" (/dev/nst0)
> 
> Device Tape is "HP_LTO" (/dev/nst0) mounted with:
> 
>      Volume:      BGB846L6                            <--------------- 46
>
>     Slot 2 is loaded in drive 0.                     <---- HUH? We can 
> clearly see slot 1 is empty

I have a feeling that the Bacula labels written on the tape(s) do not match the 
barcodes. OR, you have provided mismatched
(timing-wise) outputs. :)

*******I ran the label command from Bacularis and they do match the tapes in 
inventory

*******The timing was correct. 

> Here are my device and autochanger configs
> 
> Device {
>    Name = "HP_LTO"
>    Description = "HP_LTO"
>    MediaType = "LTO-5"
>    DeviceType = "Tape"
>    ArchiveDevice = "/dev/nst0"
>    AutomaticMount = yes
>    AlwaysOpen = yes
>    Autochanger = yes

I would remove these three lines, they are not necessary in a Device 
configuration:
----8<----
>    ChangerDevice = "/dev/sg1"
>    ControlDevice = "/dev/nst0"
>    ChangerCommand = "/opt/bacula/scripts/mtx-changer %c %o %S %a %d"
----8<----

******I removed these 

>    AlertCommand = "/opt/bacula/scripts/tapealert %l"
>    MaximumNetworkBufferSize = 32768


You never want to set a MaximumVolumeSize for tapes (unless there is some 
special issue with your drives). Let the tape drive 
tell Bacula when the tape is full:
----8<----
>    MaximumVolumeSize = 1000000000000
----8<----

*******I am trying to do a weekly DR backup where I am not filling the tape but 
instead plan to do a Sunday backup then pull the tape on next business day for 
offsite retention. 

I do not see this option in the Enterprise, nor the Community manuals:
----8<----
 >    VolumeCapacity = 1000000000000
----8<----

*******This came from a Bacularis option

>    MaximumFileSize = 2000000000

>    MaximumConcurrentJobs = 1
>    SpoolDirectory = "/tmp"
>    MaximumSpoolSize = 5000000000
>    MaximumJobSpoolSize = 5000000000
>    LabelType = "Bacula"
> }
> 
> Autochanger {
>    Name = "HP_SureStore"
>    Device = "HP_LTO"
>    ChangerDevice = "/dev/sg1"
>    ChangerCommand = "/opt/bacula/scripts/mtx-changer %c %o %S %a %d"
> }


Please show us the Director's Storage resource that points to this SD's 
Autochanger named "HP_SureStore"

Additionally, please show us some logs of jobs that make you manually mount a 
volume:

* ll joblog jobid=xxxx

*******Job Log It keeps asking for appendable volumes and I want it to use a 
new labeled volume
harorbu01-sd JobId 299: Job Spice01.2023-03-05_02.00.01_38 is waiting. Cannot 
find any appendable volumes.
Please use the "label" command to create a new Volume for:
    Storage:      "HP_LTO" (/dev/nst0)
    Pool:         Weekly
    Media type:   LTO-5
harorbu01-sd JobId 299: Job Spice01.2023-03-05_02.00.01_38 is waiting. Cannot 
find any appendable volumes.
Please use the "label" command to create a new Volume for:
    Storage:      "HP_LTO" (/dev/nst0)
    Pool:         Weekly
    Media type:   LTO-5
harorbu01-sd JobId 299: Job Spice01.2023-03-05_02.00.01_38 is waiting. Cannot 
find any appendable volumes.
Please use the "label" command to create a new Volume for:
    Storage:      "HP_LTO" (/dev/nst0)
    Pool:         Weekly
    Media type:   LTO-5
harorbu01-sd JobId 299: Job Spice01.2023-03-05_02.00.01_38 is waiting. Cannot 
find any appendable volumes.
Please use the "label" command to create a new Volume for:
    Storage:      "HP_LTO" (/dev/nst0)
    Pool:         Weekly
    Media type:   LTO-5
harorbu01-sd JobId 299: Job Spice01.2023-03-05_02.00.01_38 is waiting. Cannot 
find any appendable volumes.
Please use the "label" command to create a new Volume for:
    Storage:      "HP_LTO" (/dev/nst0)
    Pool:         Weekly
    Media type:   LTO-5
harorbu01-sd JobId 299: Job Spice01.2023-03-05_02.00.01_38 is waiting. Cannot 
find any appendable volumes.
Please use the "label" command to create a new Volume for:
    Storage:      "HP_LTO" (/dev/nst0)
    Pool:         Weekly
    Media type:   LTO-5
spice01-fd JobId 299: Connected to Storage at 192.168.1.16:9103 with TLS
harorbu01-dir JobId 299: Connected to Client "Spice01" at 192.168.1.236:9102 
with TLS
harorbu01-dir JobId 299: Using Device "HP_LTO" to write.
harorbu01-dir JobId 299: Connected to Storage "harorbu01-sd" at 
192.168.1.16:9103 with TLS
harorbu01-dir JobId 299: Start Backup JobId 299, 
Job=Spice01.2023-03-05_02.00.01_38


Thank you,
Bill

-- 
Bill Arlofski
w...@protonmail.com


_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to