LinuxQuestions.org
Help answer threads with 0 replies.
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 05-18-2006, 04:07 PM   #1
mattl
Member
 
Registered: Mar 2004
Location: MA, USA
Distribution: OpenSuse 10, FC4/5, Mepis
Posts: 95

Rep: Reputation: 15
quicker than mt -f /dev/st0 erase?


is there any quicker way to erase a tape?
my first tape drive doing this at the beginning of each backup works ok, it takes about 45 minutes but we have the time.

the current drive Im trying to setup dlt IV: 40/80gb) is taking hours.. im not sure its hung or what .. there must be some sort of quick erase??!? thanks so much for any tips. have no problems running backups and restores. it just seems to run and run.. i left it for 3 hours once.. spin and spin... thanks!
 
Old 05-18-2006, 05:43 PM   #2
Xolo
Member
 
Registered: Jul 2004
Location: The Netherlands
Distribution: Mandrake, Knoppix, Coyote Linux, RedHat
Posts: 354
Blog Entries: 3

Rep: Reputation: 31
HP's DLT drives aren't great performers.. I had one and finally replaced it with a Sony DDS3/260GB, which is *much* faster. HP had the balls to say "You should be happy if it stores just 40GB." in those exact words when we called for support when the bloody drive locked into some sort of irreversible 45GB storage limit on 80GB tapes. We hung up and trashed the drive.. which right now is kinda a problem because I can't really help you that much that way.
My guess is either you request a full format or the drive itself is interpreting the command as a full format command. The DLT is a horrible machine when it comes to formatting/searching/rewinding, it's almost as if it's doing the same action twice or more just to annoy you. If you still hear that awful whingy intermitted scratching/rattling, the drive is still working to complete the requested task. I believe the average transfer rate is about 12mb/s for a SCSI DLT drive, if memory serves.
 
Old 05-18-2006, 08:04 PM   #3
mattl
Member
 
Registered: Mar 2004
Location: MA, USA
Distribution: OpenSuse 10, FC4/5, Mepis
Posts: 95

Original Poster
Rep: Reputation: 15
thanks for your help. well you appear to be right as my first "scsi" tape drive on the last server was actually one of those sony ait IDE drives and its way way faster than this real scsi drive. its one of the ones that came with an old dell server.

thanks for trying to help but i think i have a workaround, it appears that every backup (i'm using cpio) just startes writing at the curent tape position, and it LOOKS like it just overwrites everything thats there. i just tested doing a backup (using /dev/st0 knowing it always rewinds the tape). i listed the tape contents to make sure it backed up, then i backup up another directory and listed the tape, only the most recent backup is showing. SO>>> ill test a bit more but this looks like the behavior im looking for so i wont need to erase the tape (with a separate command).

i think the dlt is 3mbps transfer rate and up to 6 with compression.

thanks!
 
Old 05-20-2006, 10:38 AM   #4
Xolo
Member
 
Registered: Jul 2004
Location: The Netherlands
Distribution: Mandrake, Knoppix, Coyote Linux, RedHat
Posts: 354
Blog Entries: 3

Rep: Reputation: 31
That's rather poor even for a DLT.. might want to try to see if you can find a newer firmware for your drive and see if that helps the transfer rate a little.
If your tests prove the behaviour is favorable you're set, it will save a lot of time if you don't have to format in advance. Good luck
 
  


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
tar on /dev/st0 input/output error Alkisx Slackware 5 04-17-2006 11:18 AM
/dev/st0 : Input/Output error sharonenoch Linux - Hardware 1 02-10-2006 12:44 PM
no /dev/st0 for scsi tape on RH8.0 dkinzer Linux - Hardware 9 01-20-2004 03:30 PM
various /dev/(n)st0? devices coreyw Linux - Hardware 1 11-03-2003 05:53 PM
alias /dev/st0? utabintarbo Linux - Newbie 1 04-19-2002 01:17 PM


All times are GMT -5. The time now is 07:09 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration