Solved

Solaris 2.6 backup

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

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

Let's say you need to move the data of a file system from one partition to another. This generally involves dismounting the file system, backing it up to tapes, and restoring it to a new partition. You may also copy the file system from one place to…
Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
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.

737 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