09-04-2001
Answer
This is the answer:
Example of writing separate archieves to tape:
mt -f /dev/nst0 rew
tar cf /dev/nst0 dir1/*.img
tar cf /dev/nst0 dir2/*.img
tar cf /dev/nst0 dir3/*.img
tar cf /dev/nst0 dir4/*.img
Example of retrieving separate archieves from tape:
cd mynewdir>
mt -f /dev/nst0 rew
tar xf /dev/nst0
mt -f /dev/nst0 fsf 1
tar xf /dev/nst0
mt -f /dev/nst0 fsf 1
tar xf /dev/nst0
mt -f /dev/nst0 fsf 1
tar xf /dev/nst0
mt -f /dev/nst0 fsf 1
tar xf /dev/nst0
mt -f /dev/nst0 fsf 1
tar xf /dev/nst0
mt -f /dev/nst0 fsf 1
tar xf /dev/nst0
mt -f /dev/st0 rewind
Thanks for your help, i'm really apreciate
4 More Discussions You Might Find Interesting
1. AIX
I need upgrade firmware for the device of p570, when I go to IBM FIX download website, there are a lot of device of p570 listed. How can I know what device I have on my p570? (4 Replies)
Discussion started by: rainbow_bean
4 Replies
2. Solaris
One of my team colleague mistakenly added non DID device to a metaset in a cluster node and inturn it is again added to concat .
In that metaset all devices are DID devices except only one . is it possible to convert this non DID device in metaset to DID device without recreating the whole... (0 Replies)
Discussion started by: sekarsamy
0 Replies
3. Red Hat
Hi All,
Could anyone please help to resolve the below problem.
I installed RHEL5.5 in my desktop.But when i try to activate the ethernet connection then it gives me the error.
I spent 2 days for the above and go through with several suggestion found by googling. But no luck.
... (0 Replies)
Discussion started by: Tanmoy
0 Replies
4. 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
LEARN ABOUT SUNOS
mkdevmaps
mkdevmaps(1M) System Administration Commands mkdevmaps(1M)
NAME
mkdevmaps - make device_maps entries
SYNOPSIS
/usr/sbin/mkdevmaps
DESCRIPTION
The mkdevmaps command writes to standard out a set of device_maps(4) entries describing the system's frame buffer, audio, and removable
media devices.
The mkdevmaps command is used by the init.d(4) scripts to create or update the /etc/security/device_maps file.
Entries are generated based on the device special files found in /dev. For the different categories of devices, the mkdevmaps command
checks for the following files under /dev:
audio /dev/audio, /dev/audioctl, /dev/sound/...
tape /dev/rst*, /dev/nrst*, /dev/rmt/...
floppy /dev/diskette, /dev/fd*, /dev/rdiskette, /dev/rfd*
removable disk /dev/dsk/c0t?d0s?, /dev/rdsk/c0t?d0s?
frame buffer /dev/fb
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWcsu |
+-----------------------------+-----------------------------+
|Interface Stability |Obsolete |
+-----------------------------+-----------------------------+
SEE ALSO
allocate(1), bsmconv(1M), attributes(5)
NOTES
mkdevmaps might not be supported in a future release of the Solaris operating system.
SunOS 5.10 8 Oct 2003 mkdevmaps(1M)