Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
formatting a tape in a SCSI tape drive
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
lsiden
Tux's lil' helper
Tux's lil' helper


Joined: 09 Feb 2003
Posts: 116
Location: Ann Arbor, MI, USA

PostPosted: Fri Dec 26, 2003 1:57 am    Post subject: formatting a tape in a SCSI tape drive Reply with quote

I just installed a SCSI DDS tape drive. I think I have to format the tape, but I don't know how to do this. I looked up the "mt" utility, but it has no "format" command, unless it's "mt -f /dev/nst0 mkpartition 0", which fails and writes "/dev/nst0: invalid argument" to stderr. Am I doing something wrong, or is there another way?
_________________
-ls

"In Heaven, if everyone is supposed to be happy, who cleans the toilets?"
--Jordan Siden, age 10
Back to top
View user's profile Send private message
dbergst
Tux's lil' helper
Tux's lil' helper


Joined: 25 Mar 2003
Posts: 88

PostPosted: Fri Dec 26, 2003 2:44 am    Post subject: Re: formatting a tape in a SCSI tape drive Reply with quote

lsiden wrote:
I just installed a SCSI DDS tape drive. I think I have to format the tape, but I don't know how to do this. I looked up the "mt" utility, but it has no "format" command, unless it's "mt -f /dev/nst0 mkpartition 0", which fails and writes "/dev/nst0: invalid argument" to stderr. Am I doing something wrong, or is there another way?


If I am not mistaken, DDS data tapes are factory preformatted, since the calibration required for tape format reference marks require a higher precision than DDS drives can support. I'm not sure what do you want to do, is this for a backup program or do you just want to use the tapes with tar or cpio? If you are using tar or cpio, you should be able to write to the tapes directly without formatting them.

WIth regard to using mkpartition under the mt command, I'll have to defer to someone more knowledgeable in this area.
Back to top
View user's profile Send private message
lsiden
Tux's lil' helper
Tux's lil' helper


Joined: 09 Feb 2003
Posts: 116
Location: Ann Arbor, MI, USA

PostPosted: Fri Dec 26, 2003 9:48 pm    Post subject: Reply with quote

Thanks. After more searching on Google, I determined that the problem is probably that my tape drive needs to be cleaned. I bought it sight unseen on eBay for around $20. I guess it didn't say "cleaned and ready for usage!" in the ad. ;)
_________________
-ls

"In Heaven, if everyone is supposed to be happy, who cleans the toilets?"
--Jordan Siden, age 10
Back to top
View user's profile Send private message
dbergst
Tux's lil' helper
Tux's lil' helper


Joined: 25 Mar 2003
Posts: 88

PostPosted: Sat Dec 27, 2003 12:30 pm    Post subject: Reply with quote

lsiden wrote:
Thanks. After more searching on Google, I determined that the problem is probably that my tape drive needs to be cleaned. I bought it sight unseen on eBay for around $20. I guess it didn't say "cleaned and ready for usage!" in the ad. ;)


Cleaning the drive on a regular basis should help.

BTW, $20 - that's a sweet deal even for a used drive!
Back to top
View user's profile Send private message
SMoo
Tux's lil' helper
Tux's lil' helper


Joined: 08 Jul 2004
Posts: 140
Location: Leander, TX

PostPosted: Sat Apr 23, 2005 4:36 am    Post subject: Reply with quote

# mt -f /dev/st0 erase
Back to top
View user's profile Send private message
augury
l33t
l33t


Joined: 22 May 2004
Posts: 722
Location: philadelphia

PostPosted: Sat Apr 23, 2005 10:41 am    Post subject: Reply with quote

if you need a resized scsi drive geometry format it requires sformat. this is not in portage.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum