* Jean-Louis Martineau <[email protected]> [20170214 12:39]:
> On 14/02/17 12:18 PM, Jean-Francois Malouin wrote:
> > Hi,
> >
> > I've never really understood how to make use of the amanda.conf
> > parameter 'taper-parallel-write'.
> >
> > I have this tape library with 2 LTO6 tape drives and in the amanda
> > (3.4.2) config storage section I have set taper-parallel-write=2 along
> > with defines for the 2 drives in the tpchanger definition:
> >
> > define device "lto6-drive-0" {
> >    tapedev "tape:/dev/nst0"
> >    device-property "BLOCK_SIZE" "2 mbytes"
> > }
> > define device "lto6-drive-1" {
> >    tapedev "tape:/dev/nst1"
> >    device-property "BLOCK_SIZE" "2 mbytes"
> > }
> > define changer "neo-t48" {
> >    tpchanger "chg-robot:/dev/changer"
> >    changerfile "/opt/amanda/etc/amanda/neo-t48-state"
> >    property "tape-device" "0=lto6-drive-0" "1=lto6-drive-1"
> >    property "use-slots" "1-48"
> >    property "eject-before-unload" "yes"
> >    property "eject-delay" "20s"
> >    property "unload-delay" "2s"
> >    property "load-poll" "5s poll 20s until 180s"
> >    property "status-interval" "5s"
> > }
> > tpchanger "neo-t48"
> > define storage "bic-storage" {
> > ...
> >      taper-parallel-write=2
> I suppose it is: taper-parallel-write 2 # there is = sign in amanda.conf

My typo, it's really 

    taper-parallel-write 2

in the config file.

> >      tpchanger "neo-t48"
> > }
> You define the storage, but do you tell amanda to use it?
>    storage "bic-storage"

I think so:

define storage "bic-storage" {
   comment "First try at a storage section"
   policy "bic-policy"
   autoflush yes
   eject-volume yes
   labelstr "^NEO-T48-B[0-9][0-9]*"
   runtapes 3
   taper-parallel-write 2
   tapepool "tapepool-bic-neo-t48"
   taperalgo largestfit
   taperscan "oldest"
   tapetype "lto6-tapetype"
   tpchanger "neo-t48"
}
storage "bic-storage"

> There is many parameters amanda use t dermine if another tape is required:
>     tapetype length
>     flush-threshold-*
>     taperflush
>     ...

Those are defined as well but as default values in the config (not in
the storage section per se):

flush-threshold-dumped 100
flush-threshold-scheduled 100
taperflush 100

The tapetype "lto6-tapetype" is defined like this, using amtapetype:

define tapetype lto6-tapetype {                          
# LEOM is not supported for this drive and kernel
    comment "Created by amtapetype; compression disabled"
    length 2459914240 kbytes
    filemark 3227 kbytes
    speed 156842 kps
    blocksize 2048 kbytes
    part-size 200gb 
    part-cache-max-size 200gb
    part-cache-type disk
    part-cache-dir "/holddisk"
}

Thanks!
jf

> Jean-Louis

Reply via email to