Solved

ufsdump parameters for 4mm (DAT) tape

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

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

730 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