11-08-2001
Severd_Nerv,
This is TOTALLY irrelevant with the current thread, sorry.
The thread is:
quote:
--------------------------------------------------------------------------------
. If you wanted to restore a file from that second dump, you would first need to "mt fsf" to get there.
--------------------------------------------------------------------------------
I "ufsdump" many file systems as you said one after the other using the no rewind optionbut when I do a restore I use 'ufsrestore si (Number)' and restore the appropriate file system.
What do you mean by that ??
quote:
--------------------------------------------------------------------------------
. You better specify the no rewind when you do. Then for the restore, you could use an auto-rewind special file.
--------------------------------------------------------------------------------
Thanks for your help
10 More Discussions You Might Find Interesting
1. Solaris
hi all ,
i have just installed solris 9 on a sun 280R ,and i have appleid the recommended patches .
after the installation i have found that /dev/rmt/ directory is empty , i thought that was normal , so i attached my DDS4 external tape drive and treid :
devfsadm -C
devfsadm -v
reboot --... (1 Reply)
Discussion started by: ppass
1 Replies
2. UNIX for Dummies Questions & Answers
/dev/rmt/0: No such device or address
I get this when I do a "mt -f /dev/rmt/0 rewind"
This is on a Solaris 7 system.
I tried
devfsadm -c tape
and
drvconfig ; tape
and both didn't work.
Help please....... :confused: (4 Replies)
Discussion started by: shorty
4 Replies
3. AIX
Hi.
After the shutdown for SWIFT Alliance Server, tape backup process will be done. Unfortunately, I encountered this error message when I performed the database tape backup. The error was "/dev/rmt 0.1 block size is 0; variable; must be 1024 fixed. Consider reconfiguration through 'chdev'... (2 Replies)
Discussion started by: MariaLuisa
2 Replies
4. Solaris
Hi Guys,
I a newbie in Unix environment. I need a help to detect my external SCSI tape drive. I tried with command drvconfig;devlinks;tapes.. but when I go to /dev/rmt/, the directory is still empty.
I also tried with add_drv -v st but I'm getting this message
# add_drv -v st
exit... (8 Replies)
Discussion started by: akuslive
8 Replies
5. AIX
Hi all,
Sometimes, when I reboot my AIX server, my tape drive /dev/rmt# assignments change. This creates some tedious TSM work prior to and after a reboot of the server.
Is there a way to ensure that the /dev/rmt# assignments come up the same every time?
Thanks (5 Replies)
Discussion started by: jwholey
5 Replies
6. Solaris
I have an HP Proliant DL380 with Intel Processors that I recently loaded Solaris 10 with latest patches on it. I'm trying to do a ufsdump to an HP DAT 40 tape drive via SCSI, but I can't get it to do anything because /dev/rmt is empty. I've tried the following with luck:
touch /reconfigure,... (7 Replies)
Discussion started by: cvaughn
7 Replies
7. Hardware
# mt stat
HP DDS-4 DAT (Sun) tape drive:
sense key(0x0)= No Additional Sense residual= 0 retries= 0
file no= 0 block no= 0
mt -f /dev/rmt/0mn erase
/dev/rmt/0mn: write protected or reserved.
Getting error while ufsdump ....
--- Dumping / to /dev/rmt/0mn ---
DUMP: Date... (1 Reply)
Discussion started by: vickyingle5
1 Replies
8. Solaris
# mt stat
HP DDS-4 DAT (Sun) tape drive:
sense key(0x0)= No Additional Sense residual= 0 retries= 0
file no= 0 block no= 0
mt -f /dev/rmt/0mn erase
/dev/rmt/0mn: write protected or reserved.
Getting error while ufsdump ....
--- Dumping / to /dev/rmt/0mn ---
DUMP: Date... (5 Replies)
Discussion started by: vickyingle5
5 Replies
9. AIX
Hello,
I attached a tape drive to one of my partitions but i cannot find the device.
I run the command lsdev|grep rmt but i dont get anything in return.
When i run lsslot -c slot i can see the slot number and the device that belongs to the tape drive but i cannot find any rmt files in /dev.... (6 Replies)
Discussion started by: omonoiatis9
6 Replies
10. HP-UX
Hi,
Unable to make tape backup, please help.
/opt/ignite/bin/make_tape_recovery -a /dev/rmt/?mn -I -v -m tar -x inc_entire=vg00
* Creating local directories for configuration files and archive.
======= 04/25/16 16:28:08 IST Started /opt/ignite/bin/make_tape_recovery.
(Mon... (4 Replies)
Discussion started by: anuragr
4 Replies
RESTOR(8) System Manager's Manual RESTOR(8)
NAME
restor - incremental file system restore
SYNOPSIS
restor key [ argument ... ]
DESCRIPTION
Restor is used to read magtapes dumped with the dump command. The key specifies what is to be done. Key is one of the characters rRxt
optionally combined with f.
f Use the first argument as the name of the tape instead of the default.
r or R The tape is read and loaded into the file system specified in argument. This should not be done lightly (see below). If the key is
R restor asks which tape of a multi volume set to start on. This allows restor to be interrupted and then restarted (an icheck -s
must be done before restarting ).
x Each file on the tape named by an argument is extracted. The file name has all `mount' prefixes removed; for example, /usr/bin/lpr
is named /bin/lpr on the tape. The file extracted is placed in a file with a numeric name supplied by restor (actually the inode
number). In order to keep the amount of tape read to a minimum, the following procedure is recommended:
Mount volume 1 of the set of dump tapes.
Type the restor command.
Restor will announce whether or not it found the files, give the number it will name the file, and rewind the tape.
It then asks you to `mount the desired tape volume'. Type the number of the volume you choose. On a multivolume dump the recom-
mended procedure is to mount the last through the first volume in that order. Restor checks to see if any of the files requested
are on the mounted tape (or a later tape, thus the reverse order) and doesn't read through the tape if no files are. If you are
working with a single volume dump or the number of files being restored is large, respond to the query with `1' and restor will read
the tapes in sequential order.
If you have a hierarchy to restore you can use dumpdir(8) to produce the list of names and a shell script to move the resulting
files to their homes.
t Print the date the tape was written and the date the file system was dumped from.
The r option should only be used to restore a complete dump tape onto a clear file system or to restore an incremental dump tape onto this.
Thus
mkfs /dev/hp0a 4807
restor r /dev/hp0a
is a typical sequence to restore a complete dump. Another restor can be done to get an incremental dump in on top of this.
A dump followed by a mkfs and a restor is used to change the size of a file system.
FILES
/dev/rmt1 default file name
rst* temporary files
SEE ALSO
dump(8), dumpdir(8), mkfs(8)
DIAGNOSTICS
There are various diagnostics involved with reading the tape and writing the disk. There are also diagnostics if the i-list or the free
list of the file system is not large enough to hold the dump.
If the dump extends over more than one tape, it may ask you to change tapes. Reply with a newline when the next tape has been mounted.
Dump tapes made before the new ondisc directory structure will be converted automatically by restor .
BUGS
There is redundant information on the tape that could be used in case of tape reading problems. Unfortunately, restor does't use it.
3rd Berkeley Distribution RESTOR(8)