Solved

Solaris 2.6 backup

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

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…
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 navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
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.

911 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

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now