12-20-2000
Quote:
Originally posted by PxT
Try fast-forwarding through the tape with the 'mt' command.
Something like:
mt -f /dev/rmt0n fsf 1
Will fast-forward the tape by one set. Then you could try your tar command again when you get to the appropriate place in the tape.
Make sure you are using the "no-rewind" version of the tape device. See the mt man page for more info.
HTH
I tried the mt command and when I displayed the table of contents, it was information from the first save set again. I also tried to tar -xvf the directory I needed, but again it ran for a few minutes but did not restore anything that I needed from the tape. I need to go 15 save sets into the tape. Does that matter? I don't have man pages available here, what is the "no-rewind" version?
7 More Discussions You Might Find Interesting
1. News, Links, Events and Announcements
Fun With Automounting on FreeBSD
Link: Nice tips for FreeBSD Unix.
http://ezine.daemonnews.org/200202/automounting.html (2 Replies)
Discussion started by: killerserv
2 Replies
2. UNIX for Advanced & Expert Users
Hai Friends
I have installed FreeBSD in my system... I have installed it to work in text mode don't have the GUI. The default text color is Black background with White Foreground. I want it to be with Black background with Green Foreground. How could i do that.
Thanks in advance
Collins (4 Replies)
Discussion started by: collins
4 Replies
3. UNIX for Dummies Questions & Answers
Hi all,
4 files are returned when i issue 'find . -mtime -1 -type f -ls'.
./ora_475244.aud
./ora_671958.aud
./ora_934052.aud
./ora_934050.aud
However, when I issued the below command:
tar -cvf test.tar `find . -mtime -1 -type f`, the tar file only contains the 1st file -... (2 Replies)
Discussion started by: ahSher
2 Replies
4. What is on Your Mind?
Lets get a list of everyones funny scripts (8 Replies)
Discussion started by: JamieMurry
8 Replies
5. Shell Programming and Scripting
uggc://ra.jvxvcrqvn.bet/jvxv/EBG13
#!/usr/bin/awk -f
BEGIN {
for (n=0;n<26;n++) {
x=sprintf("%c",n+65); y=sprintf("%c",(n+13)%26+65)
r=y; r=tolower(y)
}
}
{
b = ""
for (n=1; x=substr($0,n,1); n++) b = b ((y=r)?y:x)
print b
}
... (0 Replies)
Discussion started by: colemar
0 Replies
6. Shell Programming and Scripting
#!/usr/bin/ksh
ls -l $@ | awk '
/^-/ {
l = 5*log($5)
h = sprintf("%7d %-72s",$5,$8)
print "\x1B
ls command with histogram of file sizes.
The histogram scale is logaritmic, to avoid very short bars for smaller files or very long bars for bigger files.
Screenshot: (4 Replies)
Discussion started by: colemar
4 Replies
7. Shell Programming and Scripting
Hi all,
I have a tar file and inside that tar file is a folder with additional tar.gz files. What I want to do is look inside the first tar file and then find the second tar file I'm looking for, look inside that tar.gz file to find a certain directory. I'm encountering issues by trying to... (1 Reply)
Discussion started by: bashnewbee
1 Replies
LEARN ABOUT HPUX
st_san_safe
st_san_safe(5) OBSOLETED st_san_safe(5)
NAME
st_san_safe - determine whether access to tape device special files without the no-rewind-on-close option is allowed (OBSOLETED)
VALUES
Failsafe
Default
Allowed values
Recommended values
or
DESCRIPTION
Note: this tunable is obsoleted and has been renamed to beginning with release HP-UX 11i v3.
This tunable notifies the tape driver whether it should allow access to device special files without the no-rewind-on-close option. When
this tunable is on the tape driver will fail any open on a tape device special file without the no-rewind-on-close option (that is, or with
a status of
The tunable allows the safe sharing of tape devices in SAN tape backup solution configurations. The disabling of device special files
without no-rewind-on-close in a SAN tape backup solution configuration prevents the accidental sending of a rewind command on close from
HP-UX systems via standard tape commands like which would corrupt a backup in process.
Who Is Expected to Change This Tunable?
Anyone.
Restrictions on Changing
Changes to this tunable take effect immediately.
When Should the Tunable Be Turned On?
This tunable should be turned on if the system is going to be used in a SAN tape backup solution configuration.
What Are the Side Effects of Turning the Tunable On?
The tape driver will fail any open to a tape device special file that does not have the no-rewind-on-close option with a status of This
behavior prevents the usage of any tape device special file without the no-rewind-on-close option.
When Should the Tunable Be Turned Off?
This tunable should be turned off if the system is not part of a SAN tape backup solution configuration or the system utilizes will not
function unless it has access to device special files without the no-rewind-on-close option.
What Are the Side Effects of Turning the Tunable Off?
A rewind may be issued from this system accidentally on close possibly corrupting a backup being issued from another system on the SAN.
What Other Tunables Should Be Changed at the Same Time?
None.
WARNINGS
All HP-UX kernel tunable parameters are release specific. This parameter may be removed or have its meaning changed in future releases of
HP-UX.
Installation of optional kernel software, from HP or other vendors, may cause changes to tunable parameter values. After installation,
some tunable parameters may no longer be at the default or recommended values. For information about the effects of installation on tun-
able values, consult the documentation for the kernel software being installed. For information about optional kernel software that was
factory installed on your system, see at
AUTHOR
was developed by Hewlett-Packard.
SEE ALSO
norewind_close_disabled(5), scsi_tape(7), scsimgr_estape(7).
Tunable Kernel Parameters st_san_safe(5)