LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 02-05-2014, 05:26 AM   #1
iwbnwif
LQ Newbie
 
Registered: Feb 2014
Posts: 5

Rep: Reputation: Disabled
Retention DAT Tape?


I have a Dell Powervault 100T DAT drive. Although this is badged as Dell I think it is in fact a Seagate unit.

The drive is about 4 years old.

When backing up it has started taking forever with a lot of streaming, stopping, rewinding and then streaming again. I have tried cleaning and new tapes but the same thing happens.

Now I have discovered that if I use mt -f /dev/st0 erase on a tape the backup runs smoothly.

AFAIK there is no specific formatting on these tapes so I can only assume that the erase command retensions the tape.

Is there is a quicker way to retension a tape than a full erase? I have tried mt -f /dev/st0 retension but nothing happens.
 
Old 02-07-2014, 07:58 AM   #2
Soadyheid
Senior Member
 
Registered: Aug 2010
Location: Near Edinburgh, Scotland
Distribution: Cinnamon Mint 20.1 (Laptop) and 20.2 (Desktop)
Posts: 1,672

Rep: Reputation: 486Reputation: 486Reputation: 486Reputation: 486Reputation: 486
When you say new" tapes what do you mean? New as in "new to you and the drive" or new as in "still in the cellophane wrapper?"

DAT drives are like mini VHS video recorders in that they wrap the tape round the read/write head drum which spins at an angle writing data stripes diagonally across the tape. Exabyte drives are the bigger version.
Like VHS video recorders you can suffer from tracking errors so I reckon your erase is actually matching the tape back up to the drive. Your stop/rewind/start backups implies that the drive is having problems writing the data, you'd get this by using tapes written on a different slightly misaligned drive.

Hope this helps!

Play Bonny!

 
1 members found this post helpful.
Old 02-07-2014, 09:25 AM   #3
iwbnwif
LQ Newbie
 
Registered: Feb 2014
Posts: 5

Original Poster
Rep: Reputation: Disabled
Firstly many thanks for your response.

Quote:
When you say new" tapes what do you mean? New as in "new to you and the drive" or new as in "still in the cellophane wrapper?"
New as in "still in the cellophane wrapper?". Even the old tapes have only been used within this drive but maybe I haven't been as careful with them as I should have been?

I read on another forum that it is quicker to fill the tape with data rather than erase it but haven't found any command line utilities that will do it (perhaps write a script that repeatedly appends a 1Mb file to the tape?).

I am only using tar, mt and tapeinfo. Are there any other commands I should be researching?

Thanks again
 
Old 02-07-2014, 10:18 AM   #4
Soadyheid
Senior Member
 
Registered: Aug 2010
Location: Near Edinburgh, Scotland
Distribution: Cinnamon Mint 20.1 (Laptop) and 20.2 (Desktop)
Posts: 1,672

Rep: Reputation: 486Reputation: 486Reputation: 486Reputation: 486Reputation: 486
Quote:
I am only using tar, mt and tapeinfo. Are there any other commands I should be researching?
I can't think of any off the top of my head. The only other reason I can think of which would do the stop/rewind/start type of writing is if the files you are backing up are very short. Each file has to be written individually and the tape re-positioned to allow it to accelerate to the correct speed before writing the next file. (I come from the era of old DEC TU10 reel-to-reel tape drives with vacuum tensioning where it was very noticeable!) If the backup was perhaps one large compressed file where the data was streamed, it would run more smoothly.
No... Don't ask me how to organise that.

Play Bonny!

 
Old 02-07-2014, 10:23 AM   #5
iwbnwif
LQ Newbie
 
Registered: Feb 2014
Posts: 5

Original Poster
Rep: Reputation: Disabled
Okay, thank you for your insight!

Some of the files are very small (emails in maildir format) but I would expect to see the same problem after erasing the tape. I think you are right with the alignment issue though.

I will try to perform an erase cycle on every new tape and thereafter on every 5 uses of the tape and see how that goes.
 
  


Reply



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
How to use the DAT-tape with Linux czezz Linux - Hardware 7 02-05-2007 07:10 AM
Tape dat andre.it Slackware 1 04-27-2006 09:39 PM
Can anyone help me with a DAT tape? drako12 Linux - General 5 03-11-2004 12:07 PM
DAT Tape drive sanw2k Linux - Networking 4 10-10-2003 11:16 PM
DAT tape pk21 Linux - Newbie 0 06-14-2002 06:51 AM

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

All times are GMT -5. The time now is 06:08 AM.

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