Not able to take backup of file size more than 1MB in tape
Hi All,
i am using HP LTO3 for data backup in tape but when i taking backup of more than 1MB files(using tar-1.23) its showing me the following error: xyz@localhost# tar -cvf /dev/nst0 file1.tar file1.tar tar: /dev/nst0: Cannot write: Input/output error tar: Error is not recoverable: exiting now Please help me guys and thanks in advance..!!!! |
What's the output of
Code:
mt -f /dev/st0 status |
@TenTenths thanks for the quick reply...out of mt -f /dev/nst0 status
mt -f /dev/st0 status SCSI 2 tape drive: File number=0, block number=0, partition=0. Tape block size 0 bytes. Density code 0x44 (LTO-3). Soft error count since last status=0 General status bits on (41010000): BOT ONLINE IM_REP_EN |
Ok so you are using tar to create file1.tar and then attempting to send that to the tape?
Have you tried using /dev/st0 instead of /dev/nst0 ? |
@TenTenths yes i tried that also it is showing the same error.
in dmesg i am getting this error st0: Sense Key : Aborted Command [current] st0: Add. Sense: Information unit iuCRC error detected and st0: <<vendor>> ASC=0xff ASCQ=0xffASC=0xff <<vendor>> ASCQ=0xff Errata on LSI53C1030 occurredsc->req_bufflen=0x2800, xfer_cnt=0x00,difftransfer= 0x1400 st0: Sense Key : Medium Error [current] Info fld=0x1400 output of cat /proc/scsi/scsi Attached devices: Host: scsi1 Channel: 00 Id: 00 Lun: 00 Vendor: NECVMWar Model: VMware IDE CDR10 Rev: 1.00 Type: CD-ROM ANSI SCSI revision: 05 Host: scsi2 Channel: 00 Id: 00 Lun: 00 Vendor: VMware Model: Virtual disk Rev: 1.0 Type: Direct-Access ANSI SCSI revision: 02 Host: scsi2 Channel: 00 Id: 01 Lun: 00 Vendor: HP Model: Ultrium 3-SCSI Rev: G54W Type: Sequential-Access ANSI SCSI revision: 03 Host: scsi2 Channel: 00 Id: 02 Lun: 00 Vendor: HP Model: 1x8 autoloader Rev: 1.50 Type: Medium Changer ANSI SCSI revision: 03 |
Strange, that all looks normal to me.
|
@TenTenths did you get something(i mean what is error)from the output of dmesg..?????
|
Note that may or may have no help.
Some of those tapes need to be initialized and for lack of the correct word, homed. |
@jefro thanks for your reply.
can you tell me how to initializad hp LTO-3 tape drive..???? |
All times are GMT -5. The time now is 07:19 AM. |