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
>      tpchanger "neo-t48"
> }
You define the storage, but do you tell amanda to use it?
   storage "bic-storage"

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

Jean-Louis

>
> Yet I don't see amanda using the 2 drives at the same time. Right now
> there is an amdump running with a few dumps lying in the holdddisk but
> only taper running...amstatus shows, among other things:
>
> tutor172:/raid/data0     20170213213001 0   2075520m dump done, writing 
> (17206m done (0.83%)) (1+11:59:48)
> tutor172:/raid/data2     20170213213001 0   2091096m dump done, wait for 
> writing
> tutor172:/raid/data6     20170213213001 0   2074167m wait for dumping
> tutor172:/raid/data7     20170213213001 0   2080428m dumping (35488m done 
> (1.71%)) (1+11:59:48)
>
> taped           :  29   6717716m   4026246m (166.85%) ( 54.41%)
>      tape 1      :  27   3900014m   3900014m (162.35%) NEO-T48-B00029 (45 
> parts)
>      tape 2      :   2   2817702m   2817702m (117.29%) NEO-T48-B00030 (14 
> parts)
>
> 7 dumpers idle  : no-diskspace
> bic-storage qlen: 1
>                 0: writing (tutor172:/raid/data0)
>
>
> Maybe there is an interaction with other parameters that nullify its
> value. Any hints what I'm doing wrong and I could make that second drive
> go?
>
> Thanks,
> jf

Reply via email to