06-11-2008
the tape unit mst be installed into the kernel and recogniced like a tape unit, maybe you scsi id isn't right, good luck
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi. I have been having problems with restoring from a tape backup. I use the following cpio command:
find / -print | cpio -ouvB > /dev/rStp0
After running this cpio command, the screen will display all files, but when I try to read or restore the tape I get the following error:
Tape input... (1 Reply)
Discussion started by: cstovall
1 Replies
2. Filesystems, Disks and Memory
I have been restoring from tape some old data. I have done quite a few tapes and have had no problems until now.
The command I am running is "dd if=/dev/rmt/1hbn bs=1024 | tar -pBxF - ".
This is the second tape have have come up with the error "Not enough space". This tape has a couple of... (1 Reply)
Discussion started by: mtoombs
1 Replies
3. HP-UX
I am trying to do a restore on a backup tape (DDS2) and am having a little trouble. For one, I dont know how the tape was made, whether is was tar, cpio, dump..etc. Anyone know how to restore a tape without knowing the format of the backup? (5 Replies)
Discussion started by: bake255
5 Replies
4. AIX
Hello everyone
I have a tape with some information that I got
to restore, the tape was made with the fbackup
command in a hp box.
My question is that I have to restore in a Ibm
box, how can I do this ?
Thanks in advance (1 Reply)
Discussion started by: lo-lp-kl
1 Replies
5. SCO
Here is the scenario. We have an billing system that ran on SCO 5.0.6. The HP Netserver went dwon, along with SCSI disks. They are unretrievable. I installed an IDE HDD, and reinstalled SCO. I am not too familiar w/ SCO or UNIX, and need to know how to install Tape drive, and how to restore from... (11 Replies)
Discussion started by: jlewis808
11 Replies
6. Solaris
I have a T2000 server that is JumpStarted with Solaris 10 from the JumpStart server. Host name and IP address is changed after that. Then we backup the server using FLAR to tape:
root.damas# date; flarcreate -c -t -n "Sol10_cairo_image" -a "engineering@starsolutions.com" -R / /dev/rmt/0n ;... (2 Replies)
Discussion started by: StarSol
2 Replies
7. SCO
Looking for specifically naming convention for a tape device for SCO Unix
What full system backup command should I use for SCO UNIX (1 Reply)
Discussion started by: jedimaster
1 Replies
8. Solaris
Hope someone can help me here...
I've got to restore an E450 with 300MHz cpus which was running Solaris 2.6 from tape. Regrettably the boot drive has failed.
I've access to the first release of Solaris 2.6 CD's and to a set of Solaris 9 CD's.
I remember that different E450 CPUs needed different... (1 Reply)
Discussion started by: pamplemousse
1 Replies
9. SCO
Hello folks. I have the following problem:
I'm trying to create a tape backup of a list of files on a 10 year old server, running SCO Openserver 5.0.5 (the tape drive is a Seagate STD224000N, connected as a SCSI drive).
I then want to restore the contents of this tape onto a new server... (6 Replies)
Discussion started by: klabelkholosh
6 Replies
10. Emergency UNIX and Linux Support
Hi
I recently deleted my /etc but I had a backup on tape. I was able to boot the server with a cd-rom and mounted the /c1t0d0s0 which is where the root directory resides. However when I tried to restore the backup with tar xvf /dev/rmt/0n I wasn't successful even though I was able to use the tar... (2 Replies)
Discussion started by: rahmantanko
2 Replies
TOPEN(3F) TOPEN(3F)
NAME
topen, tclose, tread, twrite, trewin, tskipf, tstate - f77 tape I/O
SYNOPSIS
integer function topen (tlu, devnam, label)
integer tlu
character*(*) devnam
logical label
integer function tclose (tlu)
integer tlu
integer function tread (tlu, buffer)
integer tlu
character*(*) buffer
integer function twrite (tlu, buffer)
integer tlu
character*(*) buffer
integer function trewin (tlu)
integer tlu
integer function tskipf (tlu, nfiles, nrecs)
integer tlu, nfiles, nrecs
integer function tstate (tlu, fileno, recno, errf, eoff, eotf, tcsr)
integer tlu, fileno, recno, tcsr
logical errf, eoff, eotf
DESCRIPTION
These functions provide a simple interface between f77 and magnetic tape devices. A ``tape logical unit'', tlu, is ``topen''ed in much the
same way as a normal f77 logical unit is ``open''ed. All other operations are performed via the tlu. The tlu has no relationship at all
to any normal f77 logical unit.
Topen associates a device name with a tlu. Tlu must be in the range 0 to 3. The logical argument label should indicate whether the tape
includes a tape label. This is used by trewin below. Topen does not move the tape. The normal returned value is 0. If the value of the
function is negative, an error has occured. See perror(3F) for details.
Tclose closes the tape device channel and removes its association with tlu. The normal returned value is 0. A negative value indicates an
error.
Tread reads the next physical record from tape to buffer. Buffer must be of type character. The size of buffer should be large enough to
hold the largest physical record to be read. The actual number of bytes read will be returned as the value of the function. If the value
is 0, the end-of-file has been detected. A negative value indicates an error.
Twrite writes a physical record to tape from buffer. The physical record length will be the size of buffer. Buffer must be of type char-
acter. The number of bytes written will be returned. A value of 0 or negative indicates an error.
Trewin rewinds the tape associated with tlu to the beginning of the first data file. If the tape is a labelled tape (see topen above) then
the label is skipped over after rewinding. The normal returned value is 0. A negative value indicates an error.
Tskipf allows the user to skip over files and/or records. First, nfiles end-of-file marks are skipped. If the current file is at EOF, this
counts as 1 file to skip. (Note: This is the way to reset the EOF status for a tlu.) Next, nrecs physical records are skipped over. The
normal returned value is 0. A negative value indicates an error.
Finally, tstate allows the user to determine the logical state of the tape I/O channel and to see the tape drive control status register.
The values of fileno and recno will be returned and indicate the current file and record number. The logical values errf, eoff, and eotf
indicate an error has occurred, the current file is at EOF, or the tape has reached logical end-of-tape. End-of-tape (EOT) is indicated by
an empty file, often referred to as a double EOF mark. It is not allowed to read past EOT although it is allowed to write. The value of
tcsr will reflect the tape drive control status register. See ht(4) for details.
FILES
/usr/lib/libU77.a
SEE ALSO
ht(4), perror(3F), rewind(1)
4.2 Berkeley Distribution May 15, 1985 TOPEN(3F)