LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 08-06-2018, 05:42 AM   #1
ThomasRonshof
Member
 
Registered: Aug 2006
Posts: 133

Rep: Reputation: 0
tar backup on LTO-6 drive


Hi,

I've just setup a IBM LTO6 drive on the latest Cent OS v. 7.5.

I have problems reading/writing backups.

I use: tar cvf /dev/st0 -b 4096 /home

After a while, there's a write error.

I've tried several block-sizes, 2048, 1024 and so on.

Even tried pipe to dd with: tar cvf - /home | dd ibs=10240 obs=1M of=/dev/st0

Same errors. With some block-sizes, I can write 50 GB on the tape, then there's a write error. Other times I can only write 5 GB.

What's the right way, using tar or cpio, to write to a ULT3580-HH6 IBM drive ?

Regards Thomas
 
Old 08-06-2018, 12:09 PM   #2
dc.901
Senior Member
 
Registered: Aug 2018
Location: Atlanta, GA - USA
Distribution: CentOS/RHEL, openSuSE/SLES, Ubuntu
Posts: 1,005

Rep: Reputation: 370Reputation: 370Reputation: 370Reputation: 370
What is the exact error? After the write-error, anything helpful in dmesg output or in syslog?

Have you run IBM diags tool:
https://www-01.ibm.com/support/docvi...d=ssg1S4000662

Are there any error codes on the tape drive itself?
 
Old 08-07-2018, 05:15 AM   #3
ThomasRonshof
Member
 
Registered: Aug 2006
Posts: 133

Original Poster
Rep: Reputation: 0
Hi,

No error codes on the tape drive. I haven't run diags.

When doing a backup of 23 GB, using 256k blocksize, no errors. But when reading the tape I get a read error after 3-4 Gb read and dmesg says:

[ 720.416206] mpt3sas_cm0: fault_state(0x2100)!
[ 720.416216] mpt3sas_cm0: sending diag reset !!
[ 721.164170] mpt3sas_cm0: diag reset: SUCCESS
[ 721.164812] st 1:0:0:0: [st0] Error 80000 (driver bt 0x0, host bt 0x8).
[ 721.277051] mpt3sas_cm0: SAS3408: FWVersion(05.125.02.00), ChipRevision(0x01), BiosVersion(00.00.00.00)
[ 721.277060] mpt3sas_cm0: Protocol=(
[ 721.277063] Initiator
[ 721.277067] ,Target
[ 721.277069] ),
[ 721.277072] Capabilities=(
[ 721.277074] TLR
[ 721.277077] ,EEDP
[ 721.277079] ,Diag Trace Buffer
[ 721.277083] ,Task Set Full
[ 721.277084] ,NCQ
[ 721.277087] )
[ 721.277128] mpt3sas_cm0: sending port enable !!
[ 729.363369] mpt3sas_cm0: port enable: SUCCESS
[ 729.363382] mpt3sas_cm0: search for end-devices: start
[ 729.363783] scsi target1:0:1: handle(0x0009), sas_addr(0x510600b00dbd7fb0)
[ 729.363790] scsi target1:0:1: enclosure logical id(0x500605b00dbd7fb0), slot(8)
[ 729.363876] scsi target1:0:0: handle(0x000a), sas_addr(0x5005076312564d18)
[ 729.363882] scsi target1:0:0: enclosure logical id(0x500605b00dbd7fb0), slot(0)
[ 729.363968] mpt3sas_cm0: search for end-devices: complete
[ 729.363971] mpt3sas_cm0: search for expanders: start
[ 729.363975] mpt3sas_cm0: search for expanders: complete
[ 729.363986] mpt3sas_cm0: _base_fault_reset_work: hard reset: success
[ 729.363994] mpt3sas_cm0: removing unresponding devices: start
[ 729.364002] mpt3sas_cm0: removing unresponding devices: end-devices
[ 729.364007] mpt3sas_cm0: removing unresponding devices: expanders
[ 729.364011] mpt3sas_cm0: removing unresponding devices: complete
[ 729.364017] mpt3sas_cm0: scan devices: start
[ 729.364205] mpt3sas_cm0: scan devices: expanders start
[ 729.364257] mpt3sas_cm0: break from expander scan: ioc_status(0x0022), loginfo(0x310f0400)
[ 729.364261] mpt3sas_cm0: scan devices: expanders complete
[ 729.364264] mpt3sas_cm0: scan devices: end devices start
[ 729.364800] mpt3sas_cm0: break from end device scan: ioc_status(0x0022), loginfo(0x310f0400)
[ 729.364803] mpt3sas_cm0: scan devices: end devices complete
[ 729.364807] mpt3sas_cm0: scan devices: complete


BR Thomas
 
Old 11-07-2018, 01:36 AM   #4
nkshirsagar
LQ Newbie
 
Registered: Nov 2004
Posts: 22

Rep: Reputation: 0
hi any luck with this one?
 
Old 11-07-2018, 03:11 AM   #5
ThomasRonshof
Member
 
Registered: Aug 2006
Posts: 133

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by nkshirsagar View Post
hi any luck with this one?
There was an driver update for the tape-controller.

Only for RedHat, but i made it work on Cent OS..

It works now :-)
 
Old 11-07-2018, 03:18 AM   #6
nkshirsagar
LQ Newbie
 
Registered: Nov 2004
Posts: 22

Rep: Reputation: 0
thanks a lot for your quick reply..

Last edited by nkshirsagar; 11-07-2018 at 04:55 AM.
 
Old 11-07-2018, 06:37 AM   #7
ThomasRonshof
Member
 
Registered: Aug 2006
Posts: 133

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by nkshirsagar View Post
thanks a lot for your quick reply..
On Lenovo/IBM's web-site, I found the following driver: lnvgy_dd_mpt3sas_25.125.01.00-3_rhel7_x86-64.tgz

After extracting, I had to rename RPMS/redhat-release-server-7.5/ to RPMS/centos-release-7-5 ;-)
Maybe I also had to change /etc/redhat-release: Substitue Cent OS with RedHat.

Then I could run ./install.sh

It's a little hack, but look in install.sh.

BR

Last edited by ThomasRonshof; 11-07-2018 at 06:38 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LTO TAR - cant allocate memory error robertkwild CentOS 1 09-19-2016 05:06 PM
How to backup Ubuntu server to LTO 5 tap drive iftikhar.tutul Linux - Server 5 01-02-2014 09:22 AM
Create TAR archives to two different LTO-5 drives at once timmcart Linux - Hardware 14 05-15-2013 10:30 AM
tar backup to LTO-4 tape drive wazzu62 Linux - Hardware 2 08-19-2009 10:07 AM
LTO compressed backup using tar in RH Linux ppanyam Red Hat 1 12-07-2007 03:14 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 07:00 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration