Hi,

11.01.2008 00:50, Jerry Lowry wrote:
> 
> 
> I have been trying to add another tape drive to my server.  These are 
> not in
> 
> an autochanger, they are separate tape drives.  I can access the tape 
> drive from
> 
> Linux with mt and as you will see in the documentation below btape 
> worked as
> 
> well.  But when I try to access the tape from bacula it does not see it.
> 
> I thought I had the configuration setup correctly but I must have missing
> 
> something.  I need another "pair" of eyes to look at the SD and DIR config.
> 
>  
> 
> thanks
> 
> -------------------------------------------------------------------
> 
> label
> 
> The defined Storage resources are:
> 
>      1: File
> 
>      2: Quantum-DLT-V4
> 
>      3: Quantum-DLT-V4-1
> 

It shows up here, so I suppose you reloaded the DIR configuration. But...

> 3999 Device "Quantum-DLT-1" not found or could not be opened.

... the SD doesn't know about this device.

> Label command failed for Volume distress-mon0208.
> 
> Do not forget to mount the drive!!!
> 
>  
> 
> st stor
> 
> The defined Storage resources are:
> 
>      1: File
> 
>      2: Quantum-DLT-V4
> 
>      3: Quantum-DLT-V4-1
> 
> Select Storage resource (1-3): 3
> 
> Connecting to Storage daemon Quantum-DLT-V4-1 at 
> distress.ACCOUNTING.EDT.LOCAL:9103
> 
>  
> 
> distress-sd Version: 2.0.3 (06 March 2007) i686-pc-linux-gnu redhat (Zod)
> 
> Daemon started 09-Jan-08 11:52, 11 Jobs run since started.
> 
>  Heap: bytes=19,491 max_bytes=152,863 bufs=84 max_bufs=103
> 
>  
> 
> Running Jobs:
> 
> No Jobs running.
> 
> ====
> 
>  
> 
> Jobs waiting to reserve a drive:
> 
> ====
> 
>  
> 
> Terminated Jobs:
> 
>  JobId  Level    Files      Bytes   Status   Finished        Name
> 
> ===================================================================
...
> ====
> 
>  
> 
> Device status:
> 
> Device "FileStorage" (/backupdb/backup) is not open.
> 
> Device "Quantum-DLT" (/dev/nst0) is mounted with 
> Volume="distress-010908" Pool="Default"
> 
>     Total Bytes=32,169,424,896 Blocks=498,657 Bytes/block=64,512
> 
>     Positioned at File=36 Block=0
> 
> ====

You probably didn't restart the SD after the configuration change.
reload only reloads the DIR config, FD and SD have to be restarted 
after a configuration change.

...

> bacula-sd.conf
> 
>  
> 
> Device {
> 
>   Name = Quantum-DLT                      # First tape – daily and weekly
> 
>   Drive Index = 0
> 
>   Media Type = DLT-V4
> 
>   Archive Device = /dev/nst0
> 
>   AutomaticMount = no;               # when device opened, read it
> 
>   AlwaysOpen = yes;
> 
>   RemovableMedia = yes;
> 
>   RandomAccess = no;
> 
>   AutoChanger = no
> 
>  
> 
> Device {
> 
>   Name = Quantum-DLT-1                    # Second tape – monthly and 
> yearly
> 
>   Drive Index = 1
> 
>   Media Type = DLT-V4
> 
>   Archive Device = /dev/nst1
> 
>   AutomaticMount = no;               # when device opened, read it
> 
>   AlwaysOpen = yes;
> 
>   RemovableMedia = yes;
> 
>   RandomAccess = no;
> 
>   AutoChanger = no
> 
>  
> 
> ***bacula-dir.conf-  storage device section
> 
...
> Storage {
> 
>   Name = Quantum-DLT-V4-1
> 
> #  Do not use "localhost" here
> 
>   Address = distress.ACCOUNTING.EDT.LOCAL                # N.B. Use a 
> fully qualified name here
> 
>   SDPort = 9103
> 
... and it's time to change the passwords :-)

>   Device = Quantum-DLT-1           # must be same as Device in Storage 
> daemon
> 
>   Media Type = DLT-V4              # must be same as MediaType in 
> Storage daemon
> 
> #  Autochanger = yes               # enable for autochanger device
> 
> }

Otherwise, the configuration looks good.

Arno

-- 
Arno Lehmann
IT-Service Lehmann
www.its-lehmann.de

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to