Am 19.06.19 um 19:30 schrieb Stefan G. Weichinger:
> 
> I get
> 
> $ amrestore  --config abt /dev/nst0 jupi smb_revision
> ERROR: Error reading Amanda header: block size too small
> 
> $ amrestore  --config abt -b 32768 /dev/nst0 jupi smb_revision
> ERROR: Error reading Amanda header: block size too small
> 
> I don't have to say that I need these restores ...
> 
> Never really understood these blocksize issues anyway.
> 
> The tapetype used for long says:
> 
> define tapetype LTO-4 {
>         length 698510208 kbytes
>         filemark 0 kbytes
>         speed 36696 kps
>         blocksize 32 kbytes
> }
> 
> How to restore, please?



$ amrestore  --config abt -b 2097152 /dev/nst0 jupi smb_revision

seems to work now ... at least it starts searching.

I don't know why I have to tell that ... but it seems I have a mismatch:


tapetype says 32 kbytes:

define tapetype LTO-4 {
        comment "Created by amtapetype; compression disabled; 2017-10-31
sgw"
        length 698510208 kbytes
        filemark 0 kbytes
        speed 36696 kps
        blocksize 32 kbytes
}


changer def sets "2 mbytes":

define changer robot {
    tpchanger "chg-robot:/dev/sg1"
    property "tape-device" "0=tape:/dev/nst0"
    device-property "BLOCK_SIZE" "2 mbytes"
    device-property "READ_BLOCK_SIZE" "2 mbytes"
    property "eject-before-unload" "no"
    property "use-slots" "1-24"
    changerfile "/etc/amanda/abt/chg-robot-dev-sg1"
}


storage def pulls in both:


define storage abt {
        tapepool "abt"
        tapetype "LTO-4"
        tpchanger "robot"

[..]

}


Maybe then amrecover would also work (bailed out before as well)

Reply via email to