Home > backup > HP Storageworks 448 tape drive input/output error with Ubuntu

HP Storageworks 448 tape drive input/output error with Ubuntu

March 24Hits:3
Advertisement

I'm trying to set a backup to tape of a machine using flexbackup. However any attempt to write to the tape drive (via either flexbackup or just tar) results in "/dev/st0: Input/output error"

The machine seems to recognise the drive (HP Storageworks Ultrium 448) and that there's a tape in it and "mt status" seems to work... "mt -f /dev/st0 rewind" or "erase" throw no errors...

[email protected]:/# mt status SCSI 2 tape drive: File number=0, block number=0, partition=0. Tape block size 0 bytes. Density code 0x42 (LTO-2). Soft error count since last status=0 General status bits on (41010000):  BOT ONLINE IM_REP_EN  [email protected]:/# cat /proc/scsi/scsi Attached devices: Host: scsi0 Channel: 00 Id: 00 Lun: 00   Vendor: HL-DT-ST Model: DVDRAM GSA-4084N Rev: KS02   Type:   CD-ROM                           ANSI  SCSI revision: 05 Host: scsi2 Channel: 00 Id: 03 Lun: 00   Vendor: HP       Model: Ultrium 2-SCSI   Rev: S65D   Type:   Sequential-Access                ANSI  SCSI revision: 03 

"tell" does however

[email protected]:/# mt -f /dev/st0 tell /dev/st0: Input/output error 

Based on a forum post I found, I tried:

[email protected]:/# dd if=/dev/zero of=/dev/nst0 bs=1024 count=10 10+0 records in 10+0 records out 10240 bytes (10 kB) copied, 5.0815 s, 2.0 kB/s 

which gave the person on the forum an error but seems to work for me.

If anyone has any suggestions, I'm all ears...

Answers

1) first are you sure to use the correct version of mt ?

# mt --version

should return "mt-st" name of binary.

If you only get "mt", then download the mt-st package.

# apt-get install mt-st

2) "tell" is only available since SCSI-2, so try this once after each load of tape.

# mt -f /dev/nst0 stsetoptions scsi2logical

then try again the "tell"

3) just a remark : use "/dev/nst0" instead of "/dev/st0", or the drive is rewinded after each operation...

Related Articles

  • HP Storageworks 448 tape drive input/output error with UbuntuMarch 24

    I'm trying to set a backup to tape of a machine using flexbackup. However any attempt to write to the tape drive (via either flexbackup or just tar) results in "/dev/st0: Input/output error" The machine seems to recognise the drive (HP Storagewo

  • dd clone hard drive: Input/Output Error though "chkdsk" says OKSeptember 3

    I've used dd to clone hard drives before using 'dd' and a live cd, but have run into a problem. The issue: dd fails with an "Input/Output Error" on /dev/sda3 , even though windows "check disk" (chkdsk) says it's ok. Context: Trying to

  • VMWare Input/Output error on ubuntu host Win7 guestJanuary 12

    I am running ubuntu 10.10 as my host with Windows 7 as the guest. About a couple weeks ago I started getting error pop-ups from vmware reporting inability to read or write to a particular file. On futher investigation, I've noticed that I cannot copy

  • Errno 5 Input/output error in ubuntu 13.04 May 8

    This question already has an answer here: "errno 5 - input/output error" when trying to install 8 answers I'm trying to install Ubuntu 13.04 in VMWare but while on the middle of copying files, a pop-up error would appear: The installer encounter

  • input/output error during write on /dev/sdb during Ubuntu installationMay 4

    I am trying to install Ubuntu 14.04 on a clean hard drive but it gives an error: input/output error during write on /dev/sdb What should I do to fix it? Thanks in advance I haven't tried anything as I am a newbie. --------------Solutions-------------

  • Disk Utility Error: Input/output error during writeNovember 28

    I can't format my flash drive any more I tried different things: https://stackoverflow.com/questions/32945228/usb-flash-drive-input-output-error-during-write I've also tried to scan the flash drive for badblocks but I couldn't find one: How do I fix

  • input / output error, drives randomly refusing to read / write November 30

    I have an issue with one of our servers running Ubuntu 10.04, it is running BackupPC and collects backups from various machines / servers around the building. On the 8th minute (12:08, 12:18, 12:28 etc) the backups are transferred to an external hard

  • Can't do a full mac hard drive clone because of input/output errorsJuly 14

    I do a nightly SuperDuper! clone on my MacBook Pro. Ever since updating to their latest (Lion-compatible) version, it won't do a full clone, but the logs report copy failures because of Input/Output errors. (Unfortuantely, the previous version succes

  • Input/Output Error Copying Files from Internal Harddrive to External Drive. (Ubuntu running from Live CD)June 26

    I am attempting to transfer files from an internal hard drive to an external hard drive. Both mount fine and I can view files in them. When I try to copy a few of the image files they fail and pass an input/output error. However other files work fine

  • Input/output error reading USB backup drive on CentOS 6.4October 21

    I'm suddenly seeing some strange behaviour on our USB backup drive that doesn't make sense to me: (2013-10-21 14:58:23 [[email protected] /]$ cd /mnt/backup/ (2013-10-21 14:59:03 [[email protected] backup]$ ls -la ls: reading directory .: Input/output error total

  • Cannot format read-only USB; 'Error calling fsync(2) on /dev/sdb: Input/output error ' when I try to format the driveJuly 4

    I'm trying to format this USB, when I plug it in it mounts and I can read what's on it, but can't write to it or delete anything (read-only error). First I tried the normal 'Disk utility' - unmount - Format drive/volume, but I get: Error calling fsyn

  • Cannot open: Input/output error with tar command in a shell scriptFebruary 18

    I am trying to create a tar ball in a shell script (I have enabled set -x), but I get an error: + cd /home5/mysite/public_html + TAR_DUMP=gypo_2012-02-18-03:51:15.tar.gz + echo 'Tar name: gypo_2012-02-18-03:51:15.tar.gz' Tar name: gypo_2012-02-18-03:

  • tar: /dev/nst0: Cannot write: Input/output error when taking backupApril 25

    When I try to take backup of data more than 1MB in a tape (LTO3) using tar command it showing me the following error. [email protected]# tar -cvf /dev/nst0 file1.tar file1.tar tar: /dev/nst0: Cannot write: Input/output error tar: Error is not recoverable

  • tar: /dev/st0: Cannot write: Input/output errorJune 23

    When we attempt to use tar to write data to an LTO-5 tape, we get the following error. The device starts to write, and then fails. See the tar command and output, followed by the dmesg output. I included the mt status as well. Any help is appreciated

  • Input/output error using Mac Disk Utility?September 4

    I began trying to backup my dvd collection to an external hard drive. I do this my making disk images(.iso) from the dvds. To do this I use disk utility > new image > save as dvd/cd master. Started with some Battlestar Galactica. First 6 disks of se

  • What does input/output error mean with Disk UtilitySeptember 4

    I began trying to backup my dvd collection to an external hard drive. I do this my making disk images(.iso) from the dvds. To do this I use disk utility > new image > save as dvd/cd master. Started with some Battlestar Galactica. First 6 disks of se

  • Input/output error on Linux MachineJanuary 25

    I keep getting the following error my Linux machine. Input/output error It occurs when I try to us commands like df or change to certain directories on the drive. Could this be caused by a hard drive failure? --------------Solutions------------- Yes,

  • Mac Disk-Utility input/output errorMay 4

    a couple of other people have posted about this but my specific problem has not been addressed. For months I have been backing up DVDs and home movies with no problem then all of a sudden I get an "input/output" error. Yes I have cleaned the dis

  • LVM input/output errorAugust 25

    When I run the lvdisplay, it showed the following error... /usr/sbin/lvdisplay /dev/sdb: read failed after 0 of 2048 at 0: Input/output error /dev/sdb1: read failed after 0 of 2048 at 0: Input/output error /dev/sdb2: read failed after 0 of 2048 at 0:

  • "input/output error during read on /dev/sda" during installation September 15

    at the moment my laptop does not have any os i am trying to install ubuntu 10.04 but after the initial installation steps it shows an "input/output error during read on /dev/sda" and the installation stops i have no idea what to do? any help wou

Copyright (C) 2018 ceus-now.com, All Rights Reserved. webmaster#ceus-now.com 14 q. 0.859 s.