LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-20-2008, 09:29 AM   #1
chunsa
LQ Newbie
 
Registered: Feb 2008
Posts: 1

Rep: Reputation: 0
Question Linux Tape Drive Backup Error


I have just started working with unix a few weeks ago. I am now doing bakcups on my servers but while on the server after the tape is inserted into the tape drive I get this error after inputing the following command:

# mt status
/dev/rmt/0n: No such device or address

If anyone knows what steps I am to take in order to correct this error please let me know.

Thank you
 
Old 02-20-2008, 12:34 PM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,337

Rep: Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548
Quote:
Originally Posted by chunsa View Post
I have just started working with unix a few weeks ago. I am now doing bakcups on my servers but while on the server after the tape is inserted into the tape drive I get this error after inputing the following command:

# mt status
/dev/rmt/0n: No such device or address

If anyone knows what steps I am to take in order to correct this error please let me know.

Thank you
This problem could be either that the device /dev/rmt does not exist or that its corresponding driver does not exist or is not loaded. Look for the device with:

ls -l /dev | less

I think that the driver name starts with st. Check to see if the driver is part of the kernel:

find /lib -name "*st*"

See if the driver is loaded with:
lsmod

Check /etc/modprobe.conf to see if the module-device correspondence is known to the kernel.

---------------------
Steve Stites
 
Old 02-20-2008, 06:59 PM   #3
choogendyk
Senior Member
 
Registered: Aug 2007
Location: Massachusetts, USA
Distribution: Solaris 9 & 10, Mac OS X, Ubuntu Server
Posts: 1,197

Rep: Reputation: 105Reputation: 105
/dev/rmt/0n is typically used by Solaris for tape drives (or /dev/rmt/1n if you've added an external one).

/dev/nst0 is more likely for linux.

You could just try that (`mt -f /dev/nst0 status`). If it works, then you've gotten off easy without a lot of investigation.

Last edited by choogendyk; 02-20-2008 at 07:01 PM.
 
  


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
Linux backup into tape drive ? shipon_97 Linux - Newbie 1 10-05-2007 08:01 PM
Linux backup solution on tape drive tsaravan Linux - Newbie 11 10-09-2006 03:59 AM
how to backup the entire linux os to the dat tape drive cwng76 Linux - Software 1 07-12-2006 02:41 AM
Using a DDS5 tape drive to restore from a DDS3 backup tape. AndrewCAtWayofthebit Linux - Hardware 1 05-14-2006 09:15 AM
Backup to tape drive kwtan Linux - Software 1 01-11-2006 10:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:49 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