Solved

Solaris 2.6 backup

Posted on 1998-12-11
2
484 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
2 Comments
 
LVL 2

Accepted Solution

by:
khaled022498 earned 100 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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

When you do backups in the Solaris Operating System, the file system must be inactive. Otherwise, the output may be inconsistent. A file system is inactive when it's unmounted or it's write-locked by the operating system. Although the fssnap utility…
My previous tech tip, Installing the Solaris OS From the Flash Archive On a Tape (http://www.experts-exchange.com/articles/OS/Unix/Solaris/Installing-the-Solaris-OS-From-the-Flash-Archive-on-a-Tape.html), discussed installing the Solaris Operating S…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
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.

820 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