Thanks for clue, I hope this changes happen in bacula-sd.conf
Which is: Bacula-sd.conf [root@backup bacula]# cat bacula-sd.conf # # Default Bacula Storage Daemon Configuration file # # For Bacula release 5.0.3 (30 August 2010) -- redhat Enterprise release # # You may need to change the name of your tape drive # on the "Archive Device" directive in the Device # resource. If you change the Name and/or the # "Media Type" in the Device resource, please ensure # that dird.conf has corresponding changes. # Storage { # definition of myself Name = backup.saha.ac.in-sd SDPort = 9103 # Director's port WorkingDirectory = "/var/lib/bacula" Pid Directory = "/var/run" Maximum Concurrent Jobs = 100 } # # List Directors who are permitted to contact Storage daemon # Director { Name = backup.saha.ac.in-dir Password = "BIKFkf6J6jlSFJJ9wPwsxEjIwb//qEN/wRIVSO9iZ6qS" } # # Restricted Director, used by tray-monitor to get the # status of the storage daemon # Director { Name = backup.saha.ac.in-mon Password = "ubM9y7eaXq1jyGWHIg2iDxOThprEiqY+ahjbo7a945ZK" Monitor = yes } # An autochanger device with two drives # Autochanger { Name = Autochanger-TS3500-1 Device = Drive-1 Device = Drive-2 Device = Drive-3 Device = Drive-4 Changer Command = "/usr/lib64/bacula/mtx-changer %c %o %S %a %d" #Changer Device = /dev/sg14 Changer Device = /dev/sg11 } Device { Name = Drive-1 Drive Index = 0 Media Type = ULT3580-TD4 # Archive Device = /dev/IBMtape0 Archive Device = /dev/nst0 AutomaticMount = yes; AlwaysOpen = yes; RemovableMedia = yes; RandomAccess = no; AutoChanger = yes Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'" } Device { Name = Drive-2 Drive Index = 1 Media Type = ULT3580-TD4 # Archive Device = /dev/IBMtape1 Archive Device = /dev/nst1 AutomaticMount = yes; AlwaysOpen = yes; RemovableMedia = yes; RandomAccess = no; AutoChanger = yes Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'" } Device { Name = Drive-3 Drive Index = 2 Media Type = ULT3580-TD4 # Archive Device = /dev/IBMtape2 Archive Device = /dev/nst2 AutomaticMount = yes; AlwaysOpen = yes; RemovableMedia = yes; RandomAccess = no; AutoChanger = yes Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'" } Device { Name = Drive-4 Drive Index = 3 Media Type = ULT3580-TD4 # Archive Device = /dev/IBMtape3 Archive Device = /dev/nst3 AutomaticMount = yes; AlwaysOpen = yes; RemovableMedia = yes; RandomAccess = no; AutoChanger = yes Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'" } # # Send all messages to the Director, # mount messages also are sent to the email address # Messages { Name = Standard director = backup.saha.ac.in-dir = all } [root@backup bacula]# Is this is possible due to below change # Archive Device = /dev/IBMtape0 Archive Device = /dev/nst0 How can I resolve it ? Regards, -----Original Message----- From: Uwe Schuerkamp [mailto:uwe.schuerk...@nionex.net] Sent: Tuesday, December 11, 2012 5:11 PM To: Deepak Pal (WI01 - GIS) Cc: bacula-users@lists.sourceforge.net Subject: Re: [Bacula-users] Bacula stopped suddenly working with tape drives On Tue, Dec 11, 2012 at 10:53:23AM +0000, deepak....@wipro.com wrote: > Hi guys, > > I am a new user of bacula. It was working fine previously but suddenly it > stopped working with tape drives. I am not sure why it happens it may be due > to some internal network changes in organization. > > Now... > > In Bconsole status storage command is showing below output. > > *status storage > Automatically selected Storage: Autochanger-TS3500-1 > Connecting to Storage daemon Autochanger-TS3500-1 at backup:9103 > > backup.pal.ac.in-sd Version: 5.0.3 (30 August 2010) x86_64-redhat-linux-gnu > redhat Enterprise release > Daemon started 31-Oct-12 18:25. Jobs: run=115, running=0. > Heap: heap=618,496 smbytes=505,289 max_bytes=603,996 bufs=152 max_bufs=161 > Sizes: boffset_t=8 size_t=8 int32_t=4 int64_t=8 > > Running Jobs: > Writing: Full Backup job BackupCatalog JobId=955 Volume="Catalog0016" > pool="Catalog" device="Drive-1" (/dev/nst0) > spooling=0 despooling=0 despool_wait=0 > Files=0 Bytes=0 Bytes/sec=0 > FDReadSeqNo=6 in_msg=6 out_msg=4 fd=6 > ==== > > Jobs waiting to reserve a drive: > ==== > > Terminated Jobs: > JobId Level Files Bytes Status Finished Name > =================================================================== > 1053 Incr 0 0 OK 08-Dec-12 03:44 > dcc3a.pal.ac.in-backup > 1055 Incr 0 0 OK 08-Dec-12 03:44 > backup.pal.ac.in-backup > 1056 Incr 0 0 Cancel 08-Dec-12 03:46 > dcc2a.pal.ac.in-backup > 1057 Incr 0 0 OK 08-Dec-12 03:47 > dcc3a.pal.ac.in-backup > 1059 Incr 0 0 OK 08-Dec-12 03:47 > backup.pal.ac.in-backup > 1060 Incr 0 0 Cancel 08-Dec-12 03:48 > dcc2a.pal.ac.in-backup > 1061 Incr 0 0 OK 08-Dec-12 03:50 > dcc3a.pal.ac.in-backup > 1063 Incr 0 0 OK 08-Dec-12 03:50 > backup.pal.ac.in-backup > 1064 Incr 0 0 Cancel 08-Dec-12 03:51 > dcc2a.pal.ac.in-backup > 1065 Incr 0 0 OK 08-Dec-12 03:52 > dcc3a.pal.ac.in-backup > ==== > > Device status: > Autochanger "Autochanger-TS3500-1" with devices: > "Drive-1" (/dev/nst0) > "Drive-2" (/dev/nst1) > "Drive-3" (/dev/nst2) > "Drive-4" (/dev/nst3) > Device "Drive-1" (/dev/nst0) is not open. > Device is BLOCKED waiting for mount of volume "Catalog0016", > Pool: Catalog > Media type: ULT3580-TD4 > Drive 0 status unknown. > Device "Drive-2" (/dev/nst1) is not open. > Slot 15 is loaded in drive 1. > Device "Drive-3" (/dev/nst2) is mounted with: > Volume: A00055L4 > Pool: *unknown* > Media type: ULT3580-TD4 > Drive 2 status unknown. > Total Bytes Read=0 Blocks Read=0 Bytes/block=0 > Positioned at File=0 Block=0 > Device "Drive-4" (/dev/nst3) is not open. > Drive 3 status unknown. > ==== > > Used Volume status: > A00055L4 on device "Drive-3" (/dev/nst2) > Reader=0 writers=0 devres=0 volinuse=0 > Catalog0016 on device "Drive-1" (/dev/nst0) > Reader=0 writers=0 devres=1 volinuse=0 > > > > And in logs its showing this. > > /var/lib/bacula/log > 11-Dec 15:56 backup.pal.ac.in-sd JobId 955: Invalid slot=0 defined in catalog > for Volume "Catalog0016" on "Drive-1" (/dev/nst0). Manual load may be > required. The clue is above: Bacula doesn't know which autochanger slot to load the tape from. Did you change the volume's status recently (like setting it to "archive")? uwe > 11-Dec 15:56 backup.pal.ac.in-sd JobId 955: 3301 Issuing autochanger "loaded? > drive 0" command. > 11-Dec 15:56 backup.pal.ac.in-sd JobId 955: 3302 Autochanger "loaded? drive > 0", result: nothing loaded. > 11-Dec 15:56 backup.pal.ac.in-sd JobId 955: 3301 Issuing autochanger "loaded? > drive 0" command. > 11-Dec 15:56 backup.pal.ac.in-sd JobId 955: 3302 Autochanger "loaded? drive > 0", result: nothing loaded. > 11-Dec 15:56 backup.pal.ac.in-sd JobId 955: Warning: mount.c:217 Open device > "Drive-1" (/dev/nst0) Volume "Catalog0016" failed: ERR=dev.c:491 Unable to > open device "Drive-1" (/dev/nst0): ERR=No medium found > > 11-Dec 16:01 backup.pal.ac.in-sd JobId 955: Invalid slot=0 defined in catalog > for Volume "Catalog0016" on "Drive-1" (/dev/nst0). Manual load may be > required. > 11-Dec 16:01 backup.pal.ac.in-sd JobId 955: 3301 Issuing autochanger "loaded? > drive 0" command. > 11-Dec 16:01 backup.pal.ac.in-sd JobId 955: 3302 Autochanger "loaded? drive > 0", result: nothing loaded. > 11-Dec 16:01 backup.pal.ac.in-sd JobId 955: 3301 Issuing autochanger "loaded? > drive 0" command. > 11-Dec 16:01 backup.pal.ac.in-sd JobId 955: 3302 Autochanger "loaded? drive > 0", result: nothing loaded. > 11-Dec 16:01 backup.pal.ac.in-sd JobId 955: Warning: mount.c:217 Open device > "Drive-1" (/dev/nst0) Volume "Catalog0016" failed: ERR=dev.c:491 Un > > > I will be thankful if someone will help me out in figuring out this issue. > > > Thanks in advance, > > Deepak > ------------------------------------------------------------------------------ > LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial > Remotely access PCs and mobile devices and provide instant support > Improve your efficiency, and focus on delivering more value-add services > Discover what IT Professionals Know. Rescue delivers > http://p.sf.net/sfu/logmein_12329d2d > _______________________________________________ > Bacula-users mailing list > Bacula-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/bacula-users -- NIONEX --- Ein Unternehmen der Bertelsmann SE & Co. KGaA ------------------------------------------------------------------------------ LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users