> >Hi, > >I have Bacula running with an IBM TL3400. As the tapes are bar coded >Bacula can read the library and add the tapes to it's catalogue. I can >than move then to the backup pools. My issue is the tapes have not had a >volume written to the front of the tape using the label command they >fail to mount with the following bconsole status. > >Device "Drive-3" (/dev/nst2) open but no Bacula volume is currently >mounted. > Device is BLOCKED waiting for mount of volume "CBP10020", > Pool: snapshot-pool > Media type: LTO-3 > Slot 11 is loaded in drive 2. > Total Bytes Read=0 Blocks Read=0 Bytes/block=0 > Positioned at File=0 Block=0 > > >Tape CBP10020 is in /dev/nst2 but is blank. How do I get Bacula to >automatically initialise the tape and write the volume label. My storage >definition is as follows:- > >Device { > Name = Drive-3 # > Drive Index = 2 > Media Type = LTO-3 > Archive Device = /dev/nst2 > AutomaticMount = yes; # when device opened, read it > AlwaysOpen = yes; > RemovableMedia = yes; > RandomAccess = no; > AutoChanger = yes > Alert Command = "sh -c 'smartctl -H -l error %c'" >Maximum Spool Size = 100GB ># Spool Size = 40GB >Maximum Job Spool Size = 40GB >Spool Directory = /backup/hosts/SPOOL >} > > >I sort of assumed that AutomaticMount would do it. I am reluctant to use >LabelMedia because I am not sure it will use that label on the bar code >rather than issuing a new one. Can anyone confirm that behaviour of >LabelMedia when used with a bar coded auto-changer? >
I have tried "LabelMedia = yes" and I still have the same issue There must be a fix for this but at the moment I am a loss I Suspect there is a fix but I just don't know the magic word >Robert Mortimer >Linux Systems Administrator > > > > > http://www.lifestylegroup.co.uk/ http://www.linkedin.com/company/39206 This e-mail is confidential and only intended for the named recipient. If you are not the intended recipient please notify the sender immediately by phone or email. Please then delete it from your system. Any opinions are those of the author and do not necessarily represent those of Lifestyle Services Group Ltd. Please note that this e-mail and any attachments have not been encrypted. They may therefore be liable to be compromised. We do not accept any liability for any virus infection, external compromise of security or confidentiality in relation to e-mails. Lifestyle Services Group Limited (LSG) is a company registered in England and Wales No. 5114385 and is authorised and regulated by the Financial Services Authority in respect of insurance mediation activities. Registered Office: Osprey House, Ore Close, Lymedale Business Park, Newcastle-under-Lyme, Staffordshire ST5 9QD. ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users