Bacula-users

Re: [Bacula-users] Correct bacula-sd.conf setup for Sony SDX-400V

2008-10-06 01:15:07
Subject: Re: [Bacula-users] Correct bacula-sd.conf setup for Sony SDX-400V
From: Arch Willingham <arch AT tuparks DOT com>
To: "'Jason A. Kates'" <jason AT kates DOT org>
Date: Mon, 6 Oct 2008 01:06:33 -0400
Thanks...I changed it and re-ran the test and it worked fine. Is the rest of 
that stuff ok?

Thanks!

Arch

-----Original Message-----
From: Jason A. Kates [mailto:jason AT kates DOT org]
Sent: Monday, October 06, 2008 12:52 AM
To: Arch Willingham
Cc: 'Bacula-users AT lists.sourceforge DOT net'
Subject: Re: [Bacula-users] Correct bacula-sd-conf setup for Sony SDX-400V

The device should never be st0 as it's a rewind devive,  you need the
non rewind device, you should test nst0.
                        -Jason
On Mon, 2008-10-06 at 00:30 -0400, Arch Willingham wrote:
> I have a Sony SDX-400V which I think is an AIT-1 drive. I ran all the
> utils (I am using Fedora F9) I could find and I think I got it working
> (“/root/bacula/bin/btape -c bacula-sd.conf /dev/st0” runs a test
> correctly). I took a giant SWAG at how to setup the bacula-sd-conf. I
> have no idea if half the stuff is correct…can someone out there verify
> that this is correct?
>
>
>
> Device {
>
>   Name = Sony_SDX-400V
>
>   Media Type = 8mmAIT-2 # (what is this supposed to be set to??)
>
>   #Archive Device = /dev/nst0
>
>   Archive Device = /dev/st0
>
>   AutomaticMount = yes
>
>   AlwaysOpen = yes
>
>   RemovableMedia = yes
>
>   RandomAccess = no;
>
>   Drive Index = 1
>
>   # as recommended by btape
>
> # Hardware End of Medium = yes
>
>   BSF at EOM             = no
>
> #  Autochanger     = Yes
>
> #  Changer Device  = /dev/changer
>
> #  Changer Command = "/home/bacula/etc/bacula/scripts/mtx-changer %c %
> o %S %a 1"
>
>   LabelMedia = yes
>
> }
>
>
>
> Here is the output from the different system utilities:
>
>
>
> # ./sonytape /dev/st0 -t
>
> SONY tape device detected.
>
> SONY SDX-400V   Revision: 0102
>
> Getting nori drive trace.
>
> This process can take a few minutes.
>
> Nori drive trace length = 0x69fc8
>
> Nori drive trace complete(see nori_trace.txt).
>
> Done.
>
>
>
> # ./sonytape /dev/st0 -x datap.bin
>
> SONY tape device detected.
>
> SONY SDX-700V   Revision: 0102
>
> Checking tape drive write and read function.
>
> Warning!! This process will write over data and takes several minutes.
>
> Data compression disabled.
>
>
>
> # ./sonytape /dev/st0 -w datap.bin
>
> SONY tape device detected.
>
> SONY SDX-700V   Revision: 0102
>
> Checking tape drive write and read function.
>
> Warning!! This process will write over data and takes several minutes.
>
> Data compression disabled.
>
>
>
>
>
> # ./sonytape /dev/st0 -d 1
>
> SONY tape device detected.
>
> SONY SDX-700V   Revision: 0102
>
> Data compression is currently disabled.
>
> Changing tape drive data compression setting.
>
> Data compression enabled.
>
> Done.
>
>
>
> I can’t remember what I ran to get this output below??
>
>
>
> SONY tape device detected.
>
> SONY SDX-700V   Revision: 0102
>
> Checking tape drive write and read function.
>
> Warning!! This process will write over data and takes several minutes.
>
> Data compression disabled.
>
> 1,638 MBytes of incremented data was written in 383 seconds.
>
> Write transfer rate = 4.28 MBytes/sec
>
> 1,638 MBytes of incremented data was read in 383 seconds.
>
> Read transfer rate = 4.28 MBytes/sec
>
> Data compression enabled.
>
> 1,638 MBytes of incremented data was written in 147 seconds.
>
> Write transfer rate = 11.14 MBytes/sec
>
> 1,638 MBytes of incremented data was read in 146 seconds.
>
> Read transfer rate = 11.22 MBytes/sec
>
> Current RAW count: 6
>
> Current ECC-3 count: 1
>
> Current tape load count: 73
>
> Write and read function check complete.
>
> Done.
>
>
>
> Product Type: Tape Drive
>
> Vendor ID: 'SONY    '
>
> Product ID: 'SDX-700V        '
>
> Revision: '0102'
>
> Attached Changer API: No
>
> SerialNumber: '0009751387'
>
> MinBlock: 2
>
> MaxBlock: 16777215
>
> SCSI ID: 2
>
> SCSI LUN: 0
>
> Ready: yes
>
> BufferedMode: yes
>
> Medium Type: Not Loaded
>
> Density Code: 0x30
>
> BlockSize: 0
>
> DataCompEnabled: yes
>
> DataCompCapable: yes
>
> DataDeCompEnabled: yes
>
> CompType: 0x3
>
> DeCompType: 0x3
>
> BOP: yes
>
> Block Position: 0
>
> Partition 0 Remaining Kbytes: 34866680
>
> Partition 0 Size in Kbytes: 34866680
>
> ActivePartition: 0
>
> EarlyWarningSize: 0
>
> NumPartitions: 0
>
> MaxPartitions: 1
>
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________ Bacula-users mailing list 
> Bacula-users AT lists.sourceforge DOT net 
> https://lists.sourceforge.net/lists/listinfo/bacula-users
--
----------------------------------------------------------------------------
Jason A. Kates (jason AT kates DOT org)
Fax:    208-975-1514
Phone:  212-400-1670 x2
============================================================================


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users