LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Linux Tape Drive Backup Error (https://www.linuxquestions.org/questions/linux-newbie-8/linux-tape-drive-backup-error-622510/)

chunsa 02-20-2008 09:29 AM

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

jailbait 02-20-2008 12:34 PM

Quote:

Originally Posted by chunsa (Post 3063773)
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

choogendyk 02-20-2008 06:59 PM

/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. ;)


All times are GMT -5. The time now is 04:31 PM.