Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

ufsdump parameters for 4mm (DAT) tape

Posted on 1997-06-03
3
Medium Priority
?
462 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 300 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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

Attention: This article will no longer be maintained. If you have any questions, please feel free to mail me. jgh@FreeBSD.org Please see http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-update-server/ for the updated article. It is avail…
I have been running these systems for a few years now and I am just very happy with them.   I just wanted to share the manual that I have created for upgrades and other things.  Oooh yes! FreeBSD makes me happy (as a server), no maintenance and I al…
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.
Suggested Courses

610 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