?
Solved

Solaris 2.6 backup

Posted on 1998-12-11
2
Medium Priority
?
487 Views
Last Modified: 2013-12-21
I installed my tape drive in my solaris machine and ran
mt status /dev/rmt/0 and got the following out put to the console
HP DDS-3 4MM DAT tape drive:
   sense key(0x0)= No Additional Sense   residual= 0   retries= 0
   file no= 0   block no= 0

now is this not saying that it sees the tape drive.?. I dont have any errors on bootup

anyways..  i tried this
mt retension /dev/rmt/0 and got this
/dev/rmt/0n retension 1 failed: Inappropriate ioctl for device
why does this not work?

but my true question is how do i tell solaris to format the tape ?  
0
Comment
Question by:tgreaser
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 2

Accepted Solution

by:
khaled022498 earned 400 total points
ID: 2008391
Solaris uses SCSI devices, so you do not need to format your tape, now to test if the tape drive is really working
insert the tape in the drive type the following ufsdump 0fu /dev/rmt/0 /
this will take system dump for root file system.
now suppose this did not work , try another approch, insert the tape into drive
login as root, go to the /dev/rmt directory remove all files using rm command
now type

drvconfig
devlinks
tapes

and retry the previous command, this way every thing should work fine with you, please check the cables and make sure that there is no other SCSI devices connected to the system ports.
regards.
0
 

Author Comment

by:tgreaser
ID: 2008392
Thanks...  !!!!!!!

0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Hello fellow BSD lovers, I've created a patch process for patching openjdk6 for BSD (FreeBSD specifically), although I tried to keep all BSD versions in mind when creating my patch. Welcome to OpenJDK6 on BSD First let me start with a little …
Using libpcap/Jpcap to capture and send packets on Solaris version (10/11) Library used: 1.      Libpcap (http://www.tcpdump.org) Version 1.2 2.      Jpcap(http://netresearch.ics.uci.edu/kfujii/Jpcap/doc/index.html) Version 0.6 Prerequisite: 1.      GCC …
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Suggested Courses

800 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question