I had the same problem.  I tried debugging it, but couldn't figure out 
why it was failing, because the code returned was for success.  So, I turned 
the die() into a warn(), which, since it wasn't actually failing, never fired 
off.

        -Sandro


-----Original Message-----
From: [email protected] [mailto:[email protected]] On 
Behalf Of Jean-Francois Malouin
Sent: Monday, November 14, 2016 8:06 AM
To: AMANDA users <[email protected]>
Subject: amanda-3.4 amtapetype: Error setting FSF_AFTER_FILEMARK

Hi,

Amanda-3.4 and a new LTO6 tape library:

~amanda/sbin/amtapetype --version
amtapetype-3.4

~amanda/sbin/amtapetype -b 2048k -t tape-lto6 -f /dev/nst1 Checking for 
FSF_AFTER_FILEMARK requirement
amtapetype: Error setting FSF_AFTER_FILEMARK: Success at 
/opt/amanda/sbin/amtapetype line 372.

Any ideas?

The 3.3.6 version happily produced an tapetype entry:

/usr/sbin/amtapetype --version
amtapetype-3.3.6

/usr/sbin/amtapetype -b 2048k -t tape-lto6 -f /dev/nst1

define tapetype tape-lto6 {                                 
    comment "Created by amtapetype; compression disabled"
    length 2459914240 kbytes
    filemark 3227 kbytes
    speed 156832 kps
    blocksize 2048 kbytes
}
# LEOM is not supported for this drive and kernel


Thanks,
jf

Reply via email to