Input/output error on WORM tape

18 views
Skip to first unread message

DUCARROZ Birgit

unread,
Sep 10, 2020, 2:34:49 AM9/10/20
to bareos-users
Hi,

This seems not to be a bareos problem, but maybe someone here could help
me anyway:

I would like to archive some data on a WORM tape, but I get the
following Error:

Warning: stored/mount.cc:270 Open device "LTO7-Tape-Drive"
(/dev/tape/by-id/scsi-350050763121460f3-nst) Volume "WORM-0003" failed:
ERR=backends/generic_tape_device.cc:146 Unable to open device
"LTO7-Tape-Drive" (/dev/tape/by-id/scsi-350050763121460f3-nst):
ERR=Input/output error

I've tried several commands, each time the same error:

------------------
btape LTO7-Tape-Drive
Tape block granularity is 1024 bytes.
btape: stored/butil.cc:282-0 Using device: "LTO7-Tape-Drive" for writing.
10-Sep 07:58 btape: Fatal Error at stored/device.cc:294 because:
dev open failed: backends/generic_tape_device.cc:146 Unable to open
device "LTO7-Tape-Drive" (/dev/tape/by-id/scsi-350050763121460f3-nst):
ERR=Input/output error

------------------
mt -f /dev/nst0 fsf
/dev/nst0: Input/output error
------------------
mt -f /dev/nst0 eof
/dev/nst0: Input/output error
------------------
mt -f /dev/nst0 rewind
/dev/nst0: Input/output error

------------------
ltfs -o devname=/dev/sg3 /mnt
d18 LTFS14000I LTFS starting, QUANTUMLTFS Standalone version 2.2.0, log
level 2
d18 LTFS14058I LTFS Format Specification version 2.2.0
d18 LTFS14104I Launched by "ltfs -o devname=/dev/sg3 /mnt"
d18 LTFS14105I This binary is built for Linux (x86_64)
d18 LTFS14106I GCC version is 5.4.0 20160609
d18 LTFS17087I Kernel version: Linux version 4.4.0-176-generic
(buildd@lgw01-amd64-035) (gcc version 5.4.0 20160609 (Ubuntu
5.4.0-6ubuntu1~16.04.12) ) #206-Ubuntu SMP Fri Feb 28 05:02:04 UTC 2020 i386
d18 LTFS17089I Distribution: NAME="Ubuntu"
d18 LTFS17089I Distribution: DISTRIB_ID=Ubuntu
d18 LTFS14063I Sync type is "time", Sync time is 300 sec
d18 LTFS17085I Plugin: Loading "ltotape" driver
d18 LTFS17085I Plugin: Loading "unified" iosched
d18 LTFS20013I Drive type is ULTRIUM-HH7, serial number is 10WT032652,
firmware revision is G9Q1
d18 LTFS17160I Maximum device block size is 1048576
d18 LTFS11005I Mounting the volume
d18 LTFS11006E Cannot read volume: failed to load the tape
d18 LTFS20064E Locate failed (-1)
d18 LTFS20076I Triggering drive diagnostic dump
d18 LTFS20096I Diagnostic dump complete
d18 LTFS12037E Cannot seek: backend call failed (-1)
d18 LTFS11006E Cannot read volume: failed to load the tape
d18 LTFS10023I LTFS volume information:
d18 LTFS10031I Volume Name : (null)
d18 LTFS10024I Volser(Barcode) :
d18 LTFS10025I Volume UUID :
d18 LTFS10026I Format Time : 1970-01-01 01:00:00.000000000 CET
d18 LTFS10027I Block Size : 524288
d18 LTFS10028I Compression : Disabled
d18 LTFS12029E Device is not ready (-20209)
d18 LTFS11128E Cannot get extended attribute: failed to look for virtual
xattrs (-20209)
d18 LTFS10029I Index Partition : ID = , SCSI Partition = 0, Total
Capacity = unknown MiB, Available Space = 0 MiB
d18 LTFS10030I Data Partition : ID = , SCSI Partition = 0, Total
Capacity = 0 MiB, Available Space = 0 MiB

d18 LTFS14013E Cannot mount the volume

------------------

Is this really a tape error or am I missing something?

Thank you for any suggestion.
Regards,
Birgit

DUCARROZ Birgit

unread,
Sep 10, 2020, 5:19:24 AM9/10/20
to bareos...@googlegroups.com
Hi again,

It turned out that the problem is solved. I don't know what happened
exactly, but I ejected the tape manually several times and did a reset
of the drive.
Actually it works.

Regards,
Birgit
Reply all
Reply to author
Forward
0 new messages