Recommendation: always read the full ReleaseNotes for all major versions when 
upgrading.  In your case:  1.38.11 and 2.0.2.

You are apparently missing the new Autochanger resource introduced in 1.38.x, 
which is required.



On Monday 05 March 2007 13:56, Andrew Paterson wrote:
> Hi,
>       Solaris 9 (sun4u) bacula-2.0.2 (recently upgraded from 1.36.1)
> [Mysql 4.0.21 Solaris 8,9,10, Linux 2.6 (FC5 & GENTOO), WIN-32 (WIN-XP)
> Clients.]
>
> - Bacula built from source.
> - Director & Storage Daemon on same machine.
> - Storage device LTO STOREDGE-L8 Autochanger (Actually an HP autochanger).
> ------------------------------------------------------------
> Having recently upgraded my site, bacula ran ok until the current volume in
> my autochanger filled up then an automatic media change failed.
>
> Initially, the mtx-changer script didn't work properly (apparently it was
> updated in the upgrade). I found a solaris specific version in
> examples/autochangers/solaris-mtx-changers which I have attempted to use
> (having set the correct paths to mtx). [also having found that I actually
> had two version of mtx on my system one took a -d flag the other took a -f
> flag!!!!! - so I messed things up a bit there].
>
> Now, when I run this script manually : e.g.
> ./mtx-changer /dev/scsi/changer/c1t0d0 loaded 1 /dev/rmt/1mbn
> It seems to work ok & returns the correct value saying e.g. slot 6 is
> loaded.
>
> However in bconsole.
> * status storage
> Gives:
> Device status:
> Device "STOREDGE-L8" (/dev/rmt/1mbn) is mounted with Volume="backup029"
> Pool="*unknown*" Drive 0 status unknown.
>     Total Bytes Read=0 Blocks Read=0 Bytes/block=0
>     Positioned at File=0 Block=0
>
> I have only ever used the default pool. - I don't recall getting
> "*unknown*" before!.
>
> However:
> * update slots scan
> Gives:
> The defined Storage resources are:
>      1: File
>      2: HP-DDS3 4mm DAT Loader
>      3: STOREDGE-L8
> Select Storage resource (1-3): 3
> Connecting to Storage daemon STOREDGE-L8 at aaaaaaaaaa:9103 ...
> 3995 Device "STOREDGE-L8" (/dev/rmt/1mbn) is not an autochanger.
> Enter autochanger drive[0]:
>
> Bacula no longer thinks my autochanger is really an autochanger!!
>
> Obviously something has changed that I am not aware of.
>
> Relevent bits from my config files......
>
> bacula-dir.conf:
> _________________
>
> ....
> ....
> # Definition of SUN StorEdge-L8 (Ultrium)
> Storage
>     {
>     Name = STOREDGE-L8
>     Autochanger = yes
>     Address = aaaaaaaaaa         # N.B. May need to use a fully qualified
> name here SDPort = 9103
>     Password = bbbbbb
>     Device = STOREDGE-L8
>     MediaType = LTO
>     Maximum Concurrent Jobs = 2  # enable status requests whilst writing
>     }
> .....
> .....
>
> bacula-sd.conf
> ______________
>
> ....
> ....
> Device
>     {
>     Name = STOREDGE-L8
> #    Tape Drive : HP Ultrium 1-SCSI
> #    Changer ADIC FastStor 2
>     Archive Device = /dev/rmt/1mbn
>     Device Type = Tape
>     Media Type = "LTO"                  # Linear Tape Open
>     Autochanger = Yes
>     Changer Device = /dev/scsi/changer/c1t0d0
>     Changer Command = "/etc/bacula/mtx-changer %c %o %S %a %d"
>     Drive Index = 0                     # Added this (to try to get 2.0.2
> working) LabelMedia = no;
>     AutomaticMount = yes;
>     RemovableMedia = yes
>     AlwaysOpen = Yes;
>     Hardware End of Medium = Yes;
>     Fast Forward Space File = No
>     Hardware end of file = no;
> #    Not sure what this is supposed to do
> #   MountAnonymousVolumes = no;
>     Maximum Spool Size = 5g
>     Spool Directory = /archive/spooling
>     }
> ....
> ....
>
> I attach my mtx-changer script(slightly fixed paths) which should not be
> causing a problem.. but since its in the "critical Path" here it is!.
>
> Any help/suggestions gratefully received.
>
> Many Thanks
>
> Andrew R Paterson
> DS Ltd.
> Cedar Office Park
> Cobham Road
> Ferndown
> Dorset BH21 7SB
>
> Tel: +44 (0) 1202 877188
> Fax: +44 (0) 1202 871297
> www.ds.co.uk

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to