On Tue, Dec 11, 2012 at 10:53:23AM +0000, deepak.pal AT wipro DOT 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 AT lists.sourceforge DOT 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 AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
|