amrecover does not interpret blocksize correctly
Amanda Network Backup
Brought to you by:
amandatrusted
Originally created by: stefangweichinger
see this thread in the ML :: https://www.mail-archive.com/amanda-users@amanda.org/msg50692.html
amrecover does not interpret the parameters correctly.
$ 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"
[..]
}