[prev in list] [next in list] [prev in thread] [next in thread]
List: bacula-users
Subject: Re: [Bacula-users] Autochanger not working?
From: Robert Minvielle <robertm () louisiana ! edu>
Date: 2019-05-09 12:25:58
Message-ID: 1801076091.278510.1557404758071.JavaMail.zimbra () louisiana ! edu
[Download RAW message or body]
Just a small update, my labels that I performed seemed not to work. I labeled all
of the tapes two days ago, but now I get this (I have verified that tape 1 is in
the drive, which I labeled Vol00-01):
Connecting to Director localhost:9101
1000 OK: 1 cmixhyperv03-dir Version: 7.0.5 (28 July 2014)
Enter a period to cancel a command.
*status
Status available for:
1: Director
2: Storage
3: Client
4: Scheduled
5: All
Select daemon type for status (1-5): 2
Automatically selected Storage: File1
Connecting to Storage daemon File1 at localhost:9103
cmixhyperv03-sd Version: 7.0.5 (28 July 2014) x86_64-pc-linux-gnu ubuntu 16.04
Daemon started 09-May-19 07:23. Jobs: run=0, running=0.
Heap: heap=135,168 smbytes=213,200 max_bytes=343,348 bufs=68 max_bufs=72
Sizes: boffset_t=8 size_t=8 int32_t=4 int64_t=8 mode=0,0
Running Jobs:
No Jobs running.
====
Jobs waiting to reserve a drive:
====
Terminated Jobs:
====
Device status:
Autochanger "LTO5" with devices:
"Drive-1" (/dev/nst0)
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
==
====
Used Volume status:
====
====
*label
Automatically selected Catalog: MyCatalog
Using Catalog "MyCatalog"
Automatically selected Storage: File1
Enter new Volume name: Vol00-01
Media record for new Volume "Vol00-01" already exists.
Enter new Volume name:
Volume name must be at least one character long.
Any ideas?
----- Original Message -----
> From: "Robert Minvielle" <robertm@louisiana.edu>
> To: "William Muriithi" <william@perasotech.com>
> Cc: bacula-users@lists.sourceforge.net
> Sent: Thursday, May 9, 2019 7:18:57 AM
> Subject: Re: [Bacula-users] Autochanger not working?
>
> Still trying to figure this out... Am I reading this wrong, or it is telling
> me that
> it can not find the volume on the tape, or the volume in the config file?
>
> Does anyone have a bacula-dir and bacula-sd they would like to share with a
> single
> tape drive that works? I have a feeling I am misconfiguring something.
>
> Thank you.
>
> ----- Original Message -----
> > From: "Robert Minvielle" <robertm@louisiana.edu>
> > To: "William Muriithi" <william@perasotech.com>
> > Cc: bacula-users@lists.sourceforge.net
> > Sent: Tuesday, May 7, 2019 3:31:16 PM
> > Subject: Re: [Bacula-users] Autochanger not working?
> >
> > 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" <william@perasotech.com>
> > > To: "Robert Minvielle" <robertm@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
> >
>
>
> _______________________________________________
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
>
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic