> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:bacula-users-
> [EMAIL PROTECTED] On Behalf Of Robin Blanchard
> Sent: Thursday, February 14, 2008 10:45 AM
> To: bacula-users@lists.sourceforge.net
> Subject: Re: [Bacula-users] restore ?
> 
> > -----Original Message-----
> > From: Alan Brown [mailto:[EMAIL PROTECTED]
> > Sent: Thursday, February 14, 2008 10:31 AM
> > To: Robin Blanchard
> > Cc: bacula-users@lists.sourceforge.net
> > Subject: Re: [Bacula-users] restore ?
> >
> > On Thu, 14 Feb 2008, Robin Blanchard wrote:
> >
> > >>> How am I supposed to know which autochanger slot to mount, when
> it
> > >> would
> > >>> seems bacula just randomly selects tapes from the pool (see
> > attached
> > >>> screenshot)?
> > >>
> > >> Mount slot 0
> > >>
> > >
> > > The restore job still has done nothing, resulting in queued other
> > jobs
> > > waiting on the sd.
> >
> > If it was waiting on an unmounted drive, then mounting slot 0 would
> > have reattached bacula to the drive.
> >
> > Did you "update slots" after inserting the tape to the changer?
> 
> 
> There has been no change of tapes/slots in the library. The tape that
> is currently in /dev/nsa0 I assume is the tape last written to during
a
> successful backup (which involved rotating tapes -- see attached
> screenshot and mtx status below).


I cancelled it and got an interesting message:

14-Feb 13:27 lewis.itos.uga.edu-sd JobId 18: Fatal error: 
     Device "LTO3-1" with MediaType "LTO3" requested by DIR not found in
SD Device resources.
14-Feb 13:27 lewis.itos.uga.edu-dir JobId 18: Fatal error: 
     Storage daemon didn't accept Device "LTO3-1" because:
     3924 Device "LTO3-1" not in SD Device resources.

Device {
  Name = LTO3-1
  Drive Index = 0
  Media Type = LTO3
  Description = "IBM Ultrium"
  Archive Device = /dev/nsa0
  #SpoolDirectory = /export/bacula/spool;
  AutomaticMount = yes;
  AlwaysOpen = yes
  RemovableMedia = yes;
  RandomAccess = no;
  AutoChanger = yes
  Offline On Unmount = no
  Hardware End of Medium = no
  BSF at EOM = yes
  Backward Space Record = no
  Fast Forward Space File = no
  TWO EOF = yes
  Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'"
}


*status storage=LTO3-1
Connecting to Storage daemon LTO3-1 at lewis.itos.uga.edu:9103

lewis.itos.uga.edu-sd Version: 2.2.8 (26 January 2008)
i386-portbld-freebsd6.3 freebsd 6.3-STABLE
Daemon started 11-Feb-08 12:42, 9 Jobs run since started.
 Heap: heap=425,984 smbytes=87,540 max_bytes=251,580 bufs=115
max_bufs=126
Sizes: boffset_t=8 size_t=4 int32_t=4 int64_t=8

Running Jobs:
Writing: Incremental Backup job hoover_data JobId=19 Volume="B00026L3"
    pool="Default" device="LTO3-1" (/dev/nsa0)
    spooling=0 despooling=0 despool_wait=0
    Files=0 Bytes=0 Bytes/sec=0
    FDSocket closed
====

Jobs waiting to reserve a drive:
   3603 JobId=19 device "LTO3-1" (/dev/nsa0) is busy reading.
====

Terminated Jobs:
 JobId  Level    Files      Bytes   Status   Finished        Name 
===================================================================
     1  Full    274,718    1.161 T  OK       12-Feb-08 02:19 hoover_gis
     2  Full    666,606    671.9 G  OK       12-Feb-08 07:37 hoover_data
     3  Full    274,753    1.161 T  OK       12-Feb-08 17:26 hoover_gis
     5  Incr      8,222    16.21 G  OK       13-Feb-08 00:20 hoover_data
     6  Incr        710    2.629 G  OK       13-Feb-08 00:25 hoover_gis
    12  Full          1    142.9 M  OK       13-Feb-08 09:08
BackupCatalog
    13                0         0   Error    13-Feb-08 09:47 Restores
    14                0         0   Cancel   13-Feb-08 09:59 Restores
    18                0         0   Cancel   14-Feb-08 13:27 Restores
====

Device status:
Autochanger "Autochanger" with devices:
   "LTO3-1" (/dev/nsa0)
Device "LTO3-1" (/dev/nsa0) open but no Bacula volume is currently
mounted.
    Slot 7 is loaded in drive 0.
    Total Bytes Read=0 Blocks Read=0 Bytes/block=0
    Positioned at File=73 Block=0
Device "FileStorage" (/export/bacula) is not open.
====

In Use Volume status:
B00026L3 on device "LTO3-1" (/dev/nsa0)
    Reader=1 writers=0 reserved=0 released=1
====

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to