Solved

ufsdump parameters for 4mm (DAT) tape

Posted on 1997-06-03
3
460 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
[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
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

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…
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 …
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.
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

688 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