10-18-2002
Sorry that my wording 'backup' was misleading.
My ex-co-worker extracted some data in an Oracle database by using the Oracle "exp" utility and directly write data onto the tape device(hence the command exp ....... file=/dev/rmt/0n ....).
by looking at the script I thought the data would be stored in the filename /dev/rmt/0n, which is the same as the tape device, so I try 'cp' it but it didn't work. Is there a default filename for data stored on the tape device? I want to copy the file back to a disk to I can ftp it to somewhere else.
Also, I did a 'ls -l /dev/rmt/0n' and it showed a link to /devices/ssm@0,0/pci@1d,600000/pci@1/SUNW,isptwo@4/st04,0:n and then I did a 'ls -l ' on the file and it showed 33279 as the filesize. Does this number represent how much data that is currently stored on the tape device?
Thanks.
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
help please
i have "inherited" a Sco Server (the administrator departed in a hurry...yes we are chasing him..) and haven't used Unix for 8 years.
i have a file that i need to retrieve from a tape.
i have been able to find the file on tape using the cpio -ivt command.
however...
the problem I... (3 Replies)
Discussion started by: mfischer
3 Replies
2. UNIX for Dummies Questions & Answers
:mad: I did this the other day but one of my support personnel removed my history so i could call it back up to remeber the exact command since i am air-headed at times. I am trying to take a 30 MEG file off the system and drop it to tape then i want to make the file go back to being 0 bytes so... (1 Reply)
Discussion started by: JackieRyan26
1 Replies
3. UNIX for Dummies Questions & Answers
I have AIX 5.1. I would like to verify that I have a directory saved to tape. I have tried to do a but it brings up the info without reading the tape. What would I use to read this tape and look for a file or a directory?
Thanks
Dave (2 Replies)
Discussion started by: rocker40
2 Replies
4. UNIX for Advanced & Expert Users
Hi,
I' using a sun solaris server, I would like to known if there is the possibility to control how many space is free on a tape and how I can delete a single file on a tape.
Thanks
DOMENICO (3 Replies)
Discussion started by: Minguccio75
3 Replies
5. UNIX for Dummies Questions & Answers
Hi there: I'm new here
Can anyone help me:
I have DS15 Alpha server : Unix 5.1B
Now i need to connect a DLVT VS80 1U Rackmount Tape Drive unit.
What is the exact comman to mount the DLTape IV??
How do i make backuo @ copy file to the tape?
Thanx to all (0 Replies)
Discussion started by: ayzeayem
0 Replies
6. SCO
when I do a tape status /dev/rStp0 I get the following on a new tape and I have tried several:
Status : ready beginning-of-tape
soft errors : 0
hard errors: 2
underruns: 5
My BackupEdge has stopped backing up my system because it asks for a new volume yet my total system data is under 20... (5 Replies)
Discussion started by: psytropic
5 Replies
7. AIX
Hello,
We need to make a copy of a backup tape, using the 2 tape recorders in IBM 3582 Tape Library
We tried tu use "tcopy", it seems to work fine (no error messages) but we aren't sure if we can rely on it.
my question is how to check if the copy succeded or not, but i also want to know... (3 Replies)
Discussion started by: fastlane3000
3 Replies
8. UNIX for Dummies Questions & Answers
I am using a 4mm tape to backup my Unix system. However, I wanted to make a copy all of the files and archive headers (or just the archive headers if that's possible) created on one of my tapes to another 4mm tape. I only have one tape drive. Is there a command that will complete such task? ... (1 Reply)
Discussion started by: acoco
1 Replies
9. AIX
I am trying to use this command to eject the tape
mt -f /dev/rmt/0 unload
but it gives me error
mt -f /dev/rmt/0 unload
mt: 0511-575 unload is not a recognized subcommand.
Usage: mt Subcommand
Valid subcommands are:
weof
eof
fsf
bsf
... (5 Replies)
Discussion started by: filosophizer
5 Replies
LEARN ABOUT OPENSOLARIS
ndmpstat
ndmpstat(1M) System Administration Commands ndmpstat(1M)
NAME
ndmpstat - show NDMP backup progress statistics
SYNOPSIS
ndmpstat [tapes] [interval [count]]
DESCRIPTION
The ndmpstat utility reports Network Data Management Protocol (NDMP) statistics, among which are NDMP worker threads, disk IO, tape IO,
files operation, performance, and backup activity.
ndmpstat reports the aggregate statistics for all tapes and disks. In order to obtain statistics for specific tape devices, the tape device
name should be passed as argument to the utility.
When invoked, ndmpstat begins its display with a one-line summary of the NDMP daemon activity since the NDMP service was invoked.
Display Fields
The fields in ndmpstat output are described as follows:
wthr
Report the number of worker threads in each of the four following states:
r
the number of worker threads running
w
the number of blocked worker threads that are waiting for resources such as I/O and paging
b
the number of backup operations currently running
r
the number of restore operations currently running
file
Report on usage of filesystem.
rd
the number of files being read
wr
the number of files being written
disk
Report the number of disk operations per interval.
rd
the number of disk blocks being read
wr
the number of disk blocks being written
tape
Report the number of tape operations per interval. There are slots for up to four tapes, labeled with a single number. The number indi-
cates the name of the device under /dev/rmt.
rd
the number of tape blocks being read
wr
the number of tape blocks being written
bytes
Report the number of bytes transferred. This is the aggregate value of both tape and disk devices. The number is in kilobytes.
rd
the number of kilobytes being read
wr
the number of kilobytes being written
perf
Displays a rough estimate of performance of the backup/restore operation in megabytes per second.
bk
backup performance
rs
restore performance
prcnt
Display the comparative usage of resources, in percent.
dsk
disk I/O time
tpe
tape I/O time
otr
other time (memory or idle)
See EXAMPLES.
OPERANDS
The following operands are supported:
count Specifies the number of times that the statistics display is repeated.
tape Specifies which tapes are to be given priority in the output. A command line is limited to a maximum of four tape devices. A
common tape name is /dev/rmt/n, where n is an integer.
interval Specifies the number of seconds over which ndmpstat summarizes activity. The specified interval remains in effect till the com-
mand is terminated.
EXAMPLES
Example 1 Using ndmpstat
The following command displays a summary of NDMP daemon activity at five-second intervals.
example% ndmpstat 5
wthr file disk tape bytes perf prcnt
r w b r rd wr rd wr rd wr rd wr bk rs dsk tpe otr
1 0 3 6 50 9 1250 0 32544 4455 42335 3234 5 4 20 40 40
1 0 0 1 1 0 128 0 0 128 64 64 1 0 0 80 20
1 0 0 1 2 0 128 0 0 0 64 0 1 0 80 0 20
1 0 0 1 1 0 128 0 0 0 64 0 1 0 80 0 20
1 0 0 1 3 0 128 0 0 0 64 0 0 0 80 0 20
1 0 0 1 1 0 128 0 0 128 64 64 1 0 0 80 20
^C
example%
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWndmpu |
+-----------------------------+-----------------------------+
|Interface Stability |See below |
+-----------------------------+-----------------------------+
Invocation is evolving. Human readable output is unstable.
SEE ALSO
iostat(1M), mpstat(1M), ndmpd(1M), ndmpadm(1M), attributes(5)
NOTES
Performance numbers are not accurate and are rounded up at the MB/sec. boundary.
SunOS 5.11 21 Jun 2007 ndmpstat(1M)