Solved

Solaris 2.6 backup

Posted on 1998-12-11
2
486 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 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

Industry Leaders: 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

A metadevice consists of one or more devices (slices). It can be expanded by adding slices. Then, it can be grown to fill a larger space while the file system is in use. However, not all UNIX file systems (UFS) can be expanded this way. The conca…
Why Shell Scripting? Shell scripting is a powerful method of accessing UNIX systems and it is very flexible. Shell scripts are required when we want to execute a sequence of commands in Unix flavored operating systems. “Shell” is the command line i…
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.

724 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