Solved

ufsdump parameters for 4mm (DAT) tape

Posted on 1997-06-03
3
456 Views
Last Modified: 2013-12-27
I use the following command line in my backup script for
the first Exabyte 8mm tape drive on sunOS:
/etc/dump 0udsbf 54000 12000 126 /dev/nrst1 /dev/sd3h

What is the corresponding command line for the first SCSI
4mm (DAT) tape drive connected to a SUN Enterprise server
running Solaris 2.5 ?
0
Comment
Question by:domino050797
  • 2
3 Comments
 
LVL 4

Accepted Solution

by:
jlms earned 100 total points
ID: 2006358
/usr/sbin/ufsdump 0ubf 126 /dev/rmt/0un /dev/dsk/c0t0d0s7

Now the explanation:

As you can see the new command is ufsdump.

The options " 0ubf"  mean the same (check man page).

You don't need the options "ds" because the command detect the end of media and combined with the name of the device you use (read next paragraphs) the size and density are implicitly given in the command. Anyway, you can still use these command's opttions.

The tape devices are in /dev/rmt, une number is assigned to each tape, so one tape will have assigned the number 0, the next the number 1 and so on. To specify wich density you are using you write a letter chossen from "l,m,h,c or u" , indicating "low, medium, high, compressed or ultrahigh" densities. If you want to use the non rewind device you append a "n" to the end of the name of the device. Please check the man page for "st" for further details.

About your hard disk partitions, they are named now /dev/dsk/cNtMdXsY
where:
N: number of the scsi controller (0,1,2, etc.)
M:scsi target or ID of your device(valid numbres 0 to 6).
X: usually 0.
Y: number of slice (partition). Old SunOS's partitions (a,b,c,d,e,f,g,h) become numbers (0,1,2,3,4,5,6,7).
Check the sd man page for more details.

Note that your tape could have a different name, if you are unsure remove all the entries in /dev/rmt, shutdown and in the ok> prompt type:
boot -r
this should detect your tape and you will find the right names in place.


0
 

Author Comment

by:domino050797
ID: 2006359
Thanks !
0
 
LVL 4

Expert Comment

by:jlms
ID: 2006360
You're welcome.
And by the way, maybe you could rate my answer  so I get some points!
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

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…
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…
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.:

943 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

9 Experts available now in Live!

Get 1:1 Help Now