I labeled the tapes in bconsole, it said it worked (I ejected them and mounted
them with mtx). However, I still get:


*mount
Automatically selected Storage: File1
3905 Device ""Drive-1" (/dev/nst0)" open but no Bacula volume is mounted.
If this is not a blank tape, try unmounting and remounting the Volume.
*unmount
Automatically selected Storage: File1
3002 Device ""Drive-1" (/dev/nst0)" unmounted.
*mount
Automatically selected Storage: File1
3902 Cannot mount Volume on Storage Device ""Drive-1" (/dev/nst0)" because:
Could not unserialize Volume label: ERR=label.c:873 Expecting Volume Label, got 
FI=0 Stream=0 len=64412

3905 Device ""Drive-1" (/dev/nst0)" open but no Bacula volume is mounted.
If this is not a blank tape, try unmounting and remounting the Volume.

And it still does not see the tapes. Am I using the wrong device??



----- Original Message -----
> From: "William Muriithi" <will...@perasotech.com>
> To: "Robert Minvielle" <robe...@louisiana.edu>, 
> bacula-users@lists.sourceforge.net
> Sent: Tuesday, May 7, 2019 2:36:51 PM
> Subject: Re: Autochanger not working?
> 
> Hi Robert,
> 
> ===========
> 
> Autochanger {
>   Name = LTO5
>   Device = Drive-1
>   Changer Command = "/etc/bacula/scripts/mtx-changer %c %o %S %a %d"
>   Changer Device = /dev/sg3
> }
> ========
> Be aware that /dev/sg3 can change when the system is rebooted.
> 
> ===============
> Device {
>   Name = Drive-1
>   Drive Index = 0
>   Device Type = Tape
>   Media Type = LTO-5
>   Archive Device = /dev/nst0
>   Changer Command = "/etc/bacula/scripts/mtx-changer %c %o %S %a %d"
>   Label Media = yes;                   # lets Bacula label unlabeled media
>   Random Access = Yes;
>   Automatic Mount = yes;               # when device opened, read it
>   Removable Media = yes;
>   Always Open = yes;
>   Maximum Concurrent Jobs = 5
> }
> ==========
> 
> Don't have "Drive Index = 0", think its only needed when your tape devices
> have multiple drives/head
> Use  "Random Access = no"  since you are using the tapes
> 
> ============
> Device "Drive-1" (/dev/nst0) open but no Bacula volume is currently mounted.
>     Total Bytes Read=64,512 Blocks Read=1 Bytes/block=64,512
>     Positioned at File=0 Block=0
> ======================
> You may not have labelled the tapes, so bacula didn't attempt loading them.
> 
> Try manually attempting to load them from bconsole and see what happens.
> 
> Sorry for the formatting, using a horrible mail client called outlook, hence
> the mess
> 
> Regards,
> William


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

Reply via email to