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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
08-06-2018, 05:42 AM
|
#1
|
Member
Registered: Aug 2006
Posts: 133
Rep:
|
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
|
|
|
08-06-2018, 12:09 PM
|
#2
|
Senior Member
Registered: Aug 2018
Location: Atlanta, GA - USA
Distribution: CentOS/RHEL, openSuSE/SLES, Ubuntu
Posts: 1,005
|
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?
|
|
|
08-07-2018, 05:15 AM
|
#3
|
Member
Registered: Aug 2006
Posts: 133
Original Poster
Rep:
|
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
|
|
|
11-07-2018, 01:36 AM
|
#4
|
LQ Newbie
Registered: Nov 2004
Posts: 22
Rep:
|
hi any luck with this one?
|
|
|
11-07-2018, 03:11 AM
|
#5
|
Member
Registered: Aug 2006
Posts: 133
Original Poster
Rep:
|
Quote:
Originally Posted by nkshirsagar
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 :-)
|
|
|
11-07-2018, 03:18 AM
|
#6
|
LQ Newbie
Registered: Nov 2004
Posts: 22
Rep:
|
thanks a lot for your quick reply..
Last edited by nkshirsagar; 11-07-2018 at 04:55 AM.
|
|
|
11-07-2018, 06:37 AM
|
#7
|
Member
Registered: Aug 2006
Posts: 133
Original Poster
Rep:
|
Quote:
Originally Posted by nkshirsagar
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.
|
|
|
All times are GMT -5. The time now is 07:00 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|