-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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

What gives with the Quantum-DLTV4-1 vs. Quantum-DLT-1?

> -------------------------------------------------------------------
> 
> label
> 
> The defined Storage resources are:
> 
>      1: File
> 
>      2: Quantum-DLT-V4
> 
>      3: Quantum-DLT-V4-1
> 
> Select Storage resource (1-3): 3
> 
> Enter new Volume name: distress-mon0208
> 
> Defined Pools:
> 
>      1: Default
> 
>      2: Monthly
> 
> Select the Pool (1-2): 2
> 
> Connecting to Storage daemon Quantum-DLT-V4-1 at
> distress.ACCOUNTING.EDT.LOCAL:9103 ...
> 
> Sending label command for Volume "distress-mon0208" Slot 0 ...
> 
> 3999 Device "Quantum-DLT-1" not found or could not be opened.
> 
> 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
> 
> ===================================================================
> 
>   1800  Incr        202    11.02 G  OK       09-Jan-08 19:24 Futility
> 
>   1801  Incr        114    995.0 M  OK       09-Jan-08 20:07 Denial
> 
>   1802  Incr        174    266.9 M  OK       09-Jan-08 21:07 nestucca
> 
>   1803  Incr        447    1.864 G  OK       09-Jan-08 22:10 Bagby
> 
>   1804  Full     35,512    15.28 G  OK       09-Jan-08 22:41 Destruction
> 
>   1805  Full          0         0   Other    09-Jan-08 23:11 Doom
> 
>   1806  Incr      1,349    1.758 G  OK       10-Jan-08 08:47 Gloom
> 
>   1807  Incr        663    777.3 M  OK       10-Jan-08 08:49 Distress
> 
>   1808  Full          1    162.4 M  OK       10-Jan-08 08:49 BackupCatalog
> 
>   1809  Full          0         0   Cancel   10-Jan-08 14:43 Doom
> 
> ====
> 
>  
> 
> 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
> 
> ====
> 
>  
> 
> In Use Volume status:
> 
> distress-010908 on device "Quantum-DLT" (/dev/nst0)
> 
> ====
> 
>  
> 
> [EMAIL PROTECTED] bin]# btape -c /usr/local/bacula/bin/bacula-sd.conf 
> /dev/nst1
> 
> Tape block granularity is 1024 bytes.
> 
> btape: butil.c:286 Using device: "/dev/nst1" for writing.
> 
> btape: btape.c:368 open device "Quantum-DLT-1" (/dev/nst1): OK
> 
> *test
> 
> I'm going to write 1000 records and an EOF
> 
> then write 1000 records and an EOF, then rewind,
> 
> and re-read the data to verify that it is correct.
> 
>  
> 
> This is an *essential* feature ...
> 
>  
> 
> btape: btape.c:825 Wrote 1000 blocks of 64412 bytes.
> 
> btape: btape.c:499 Wrote 1 EOF to "Quantum-DLT-1" (/dev/nst1)
> 
> btape: btape.c:841 Wrote 1000 blocks of 64412 bytes.
> 
> btape: btape.c:499 Wrote 1 EOF to "Quantum-DLT-1" (/dev/nst1)
> 
> btape: btape.c:850 Rewind OK.
> 
> 1000 blocks re-read correctly.
> 
> Got EOF on tape.
> 
> 1000 blocks re-read correctly.
> 
> === Test Succeeded. End Write, rewind, and re-read test ===
> 
>  
> 
>  
> 
> .... The test ran through without errors...only copied first part for
> brevity
> 
>  
> 
> 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
> 
>  
> 
> # Definition of DDS tape storage device
> 
> Storage {
> 
>   Name = Quantum-DLT-V4
> 
> #  Do not use "localhost" here
> 
>   Address = distress.ACCOUNTING.EDT.LOCAL                # N.B. Use a
> fully qualified name here
> 
>   SDPort = 9103
> 
>   Password = "Dn91BxJ/wNTn+9u3OX4ef1iRBXh1/Ch2GBaNiQzoQ9ny"          #
> password for Storage daemon
> 
>   Device = Quantum-DLT             # 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
> 
> }
> 
>  
> 
> 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
> 
>   Password = "Dn91BxJ/wNTn+9u3OX4ef1iRBXh1/Ch2GBaNiQzoQ9ny"          #
> password for Storage daemon
> 
>   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
> 
> }
> 
>  
> 
>  
> 
> 
> ------------------------------------------------------------------------
> 
> -------------------------------------------------------------------------
> 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


- --
 ---- _  _ _  _ ___  _  _  _
 |Y#| |  | |\/| |  \ |\ |  | |Ryan Novosielski - Systems Programmer II
 |$&| |__| |  | |__/ | \| _| |[EMAIL PROTECTED] - 973/972.0922 (2-0922)
 \__/ Univ. of Med. and Dent.|IST/AST - NJMS Medical Science Bldg - C630
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHhrAOmb+gadEcsb4RAmVRAJ9cddtE3mGJM9RMHdKtChMs/vmvpQCdGPNn
DlvK/OuxWT3Sw/fLH/Aptkw=
=Dvkw
-----END PGP SIGNATURE-----
begin:vcard
fn:Ryan Novosielski
n:Novosielski;Ryan
org:UMDNJ;IST/AST
adr;dom:MSB C630;;185 South Orange Avenue;Newark;NJ;07103
email;internet:[EMAIL PROTECTED]
title:Systems Programmer III
tel;work:(973) 972-0922
tel;fax:(973) 972-7412
tel;pager:(866) 20-UMDNJ
x-mozilla-html:FALSE
version:2.1
end:vcard

-------------------------------------------------------------------------
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