- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: SureStore DAT 24 tape drive problem
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2004 07:13 AM
02-22-2004 07:13 AM
SureStore DAT 24 tape drive problem
/bin/tar: /dev/nst0: Wrote only 0 of 10240 bytes
/bin/tar: Error is not recoverable: exiting now
I suspected that the drive needs cleaning as I have read about it being picky about being cleaned regularly. But it won't take a cleaning tape. I put a new one in, the "tape" light on the front panel flicks for a few seconds and then the tape is ejected.
Any help would be greately appreciated. Thanks in advance here.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2004 07:30 AM
02-22-2004 07:30 AM
Re: SureStore DAT 24 tape drive problem
Double check your tape media; I have made the error in the past of purchasing almost the right media :o)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2004 09:13 AM
02-22-2004 09:13 AM
Re: SureStore DAT 24 tape drive problem
I can confirm that DAT drives are picky about being cleaned regularly. How long does it take the cleaning tape? If a "few" seconds means something like 30 or so this is expected behaviour for a cleaning cycle. Did you retry using the tape after cleaning? Else, since this most probably is an external device, checking all the connectors/terminators would be high on my list.
Greetings, Martin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2004 01:54 PM
02-22-2004 01:54 PM
Re: SureStore DAT 24 tape drive problem
Martin said: "I can confirm that DAT drives are picky about being cleaned regularly. How long does it take the cleaning tape? If a "few" seconds means something like 30 or so this is expected behaviour for a cleaning cycle. Did you retry using the tape after cleaning? Else, since this most probably is an external device, checking all the connectors/terminators would be high on my list."
Your response made me believe it is a cleaning problem.
By "a few seconds" I meant about 5 seconds, definitely not 30. Besides, there is a "clean" LED on the front panel, which did not even flick during the whole process.
I did try using the tape, which I found out was partially written -- I mean the previous day's backup was not a total failure, but failed after some 14,000+ blocks.
And this happens to be an internal tape drive. :-) And I don't think anyone has even moved the machine a bit since I put the tape drive in it -- which had worked for a while, by the way.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2004 04:36 PM
02-22-2004 04:36 PM
Re: SureStore DAT 24 tape drive problem
1, when using tar, always use -b option specify block size.
or
2, change device node to use 10K block size using command:
mt -f /dev/st0 setblk 10240
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-25-2004 10:34 AM
02-25-2004 10:34 AM
Re: SureStore DAT 24 tape drive problem
I don't quite understnad, though. Are you suggesting that I need to do a "mt -f /dev/st0 setblk 10240" to set the block size? However, the error I received from tar said it "Wrote only 0 of 10240 bytes". I took that as tar tried to write a 10K block but only wrote 0.
Well, I will add that command to my backup script anyway. I will report the result later.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-25-2004 03:05 PM
02-25-2004 03:05 PM
Re: SureStore DAT 24 tape drive problem
one thing I would still try is to see if you still can read data with this drive (do not use a tape with important data for this test!!!). If that also fails, you might face the fact that the drive is actually broken.
Greetings, Martin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2004 01:13 AM
02-27-2004 01:13 AM
Re: SureStore DAT 24 tape drive problem
If you use "mt -f /dev/st0 setblk 10240", execute it once should be good enough. Hope it works.
Also, HP has a diagnostic utility called Library and Tape Tools, which you can use to run diag and upgrade firmware on tape drive. You can download it from:
http://www.hp.com/support/tapetools/
It support RH linux 7.0 and above. It doesn't work well on SuSE Linux. Which distro are you using?
Brice
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2004 02:41 AM
02-27-2004 02:41 AM
Re: SureStore DAT 24 tape drive problem
Brice:
I have set the block size to 10K and here is the result from "mt status":
# mt -f /dev/nst0 status
SCSI 2 tape drive:
File number=1, block number=0, partition=0.
Tape block size 10240 bytes. Density code 0x25 (DDS-3).
Soft error count since last status=0
General status bits on (81010000):
EOF ONLINE IM_REP_EN
But I still get the same error message from tar.
Martin:
Yes, I am still able to read from one tape that is known with a good backup done days ago.
What I do as a daily cron job is to run tar to dump the whole samba directory onto the tape, then run tar again to do a check on the tape. Here is a report from yesterday from the script:
Fri Feb 27 01:00:00 EST 2004 Backup started
/bin/tar: /dev/nst0: Wrote only 0 of 10240 bytes
/bin/tar: Error is not recoverable: exiting now
Fri Feb 27 04:26:37 EST 2004 Backup completed.
Fri Feb 27 04:26:37 EST 2004 Current tape position: At block 1498164.
/bin/tar: Unexpected EOF in archive
/bin/tar: Error is not recoverable: exiting now
Fri Feb 27 07:52:13 EST 2004 Current tape position: At block 1498164.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2004 02:43 AM
02-27-2004 02:43 AM
Re: SureStore DAT 24 tape drive problem
Thanks for the pointer to tapetool. I have downloaded but not tried it yet. I need to get "rpm" installed first -- I am using gentoo.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2004 03:07 AM
02-27-2004 03:07 AM
Re: SureStore DAT 24 tape drive problem
since you can read old tapes, we at least know the drive is not totally broken. Next step would be to exclude any potential problems with changed tapes. If you do have an old scratch tape that you know you could write too before, try if that can be rewritten.
Greetings, Martin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2004 10:01 AM
02-27-2004 10:01 AM
Re: SureStore DAT 24 tape drive problem
You can also try:
mt -f /dev/st0 setblk 0
to use variable block size. See if it works.
If can not use L&TT, you can also erase a spare tape use command:
mt -f /dev/st0 erase
It might take long time to empty each bit on 125m tape. If it is done successfully, the drive can write properly, then you can try a small backup on that tape. If it's working, then the issue is "logical" not "physical".
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2004 11:33 AM
02-27-2004 11:33 AM
Re: SureStore DAT 24 tape drive problem
this new tape isn't by any chance a DDS-4 tape?
greetings,
Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-07-2004 06:23 PM
03-07-2004 06:23 PM
Re: SureStore DAT 24 tape drive problem
I trid "mt -f /dev/st0 setblk 0", that did not change a thing. The same message about "Wrote only 0 of 10240 bytes".
And I am sure those tapes are not DDS-4 tapes, since some are used for a while. And the company bought all of them with the tape drive.
By the way, I got ltt installed. But it complained about not being able to find the "sg" device, although I can find /dev/sg0 fine. I tried to download the manuals from HP but have only been getting FTP server timeouts. :-(
Is there a way to tell ltt what device to use?
Thanks again.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-08-2004 07:10 AM
03-08-2004 07:10 AM
Re: SureStore DAT 24 tape drive problem
I just went to
http://h18006.www1.hp.com/products/storageworks/ltt/documentation.html
and was able to get the documenation for ltt from there without problems.
Greetings, Martin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-09-2004 03:02 AM
03-09-2004 03:02 AM
Re: SureStore DAT 24 tape drive problem
The manuals do not address my problem, actually.
Anyway, here is how far I've got with hp_ltt:
+- Informational: Raw Text -----------------------------------------+
| |
| OC_Exception_c caught: Internal error (oc_devicemap_linux.cpp, |
| 534, Unable to find the sg device file) |
| |
| |
+- Press any key to continue ---------------------------------------+
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-09-2004 10:51 AM
03-09-2004 10:51 AM
Re: SureStore DAT 24 tape drive problem
sg is the SCSI device file. Can you do a
cdrecord -scanbus (as root)? If yes, what is the result.
Greetings, Martin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-09-2004 12:20 PM
03-09-2004 12:20 PM
Re: SureStore DAT 24 tape drive problem
Cdrecord-Clone 2.01a25 (i686-pc-linux-gnu) Copyright (C) 1995-2004 J�rg Schilling
Linux sg driver version: 3.1.25
Using libscg version 'schily-0.8'.
scsibus0:
0,0,0 0) *
0,1,0 1) *
0,2,0 2) *
0,3,0 3) 'HP ' 'C1537A ' 'L111' Removable Tape
0,4,0 4) *
0,5,0 5) *
0,6,0 6) *
0,7,0 7)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-09-2004 02:00 PM
03-09-2004 02:00 PM
Re: SureStore DAT 24 tape drive problem
this looks good, the tape is found on the SCSI bus and as you can see, so is the sg device. I do not know much about ltt, so hopefully somebody else can comment on the error you posted. Sorry I can not help better.
Greetings, Martin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-12-2004 06:53 AM
03-12-2004 06:53 AM
Re: SureStore DAT 24 tape drive problem
Could it be that simple?
I put a "mt -f /dev/st0 compress on" in my backup to see if that helps.
I will report back tomorrow.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-06-2004 03:02 AM
11-06-2004 03:02 AM
Re: SureStore DAT 24 tape drive problem
mknod /dev/sga c 21 0
mknod /dev/sgb c 21 1
mknod /dev/sgc c 21 2
...
Just wanted to make this thread help someonelse who was searching for the L&TT error
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-22-2004 01:36 PM
12-22-2004 01:36 PM
Re: SureStore DAT 24 tape drive problem
When I start the llt utility is does not find any devices. I've tried suggestions posted here. Any thoughts/comments as to how I can get this utility to work under this distro? Kernel Version 2.4.26
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-24-2004 03:11 AM
12-24-2004 03:11 AM
Re: SureStore DAT 24 tape drive problem
if you are going out of space you may set tar to ask for a new tape when the first one has finished. I guess that the option is -M (multiple volumes).
regards,
xyko