12-11-2008
# nohup tar cvf /dev/rmt/0n /tmp/backup/bkupinfo & OR
are you able to restore (for example) manually?
# cd /path/to/restore
# pwd
Now, do a restore from tape:
# tar xvf /dev/rmt/0
9 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Trying to set up AMANDA on my linux machine, with the DDS-3 HP Tape drive. Am having problems, in my amanda.conf it doesn't like /dev/st0 or /dev/st0nr and I need to have it as non rewinding, is there another command/params i can give it for the tape drive to be non rewinding? I'm trying to use... (1 Reply)
Discussion started by: kymberm
1 Replies
2. AIX
I would like to check for the existance of media in a DVD drive prior to running a mkcd. Is this possible? I have accomplished this in the past with tctl, but that was with a tape drive. Any help is appreciated.
Thanks (0 Replies)
Discussion started by: dmjoen
0 Replies
3. UNIX for Advanced & Expert Users
Trying to answer a question about whether tar table-of-contents is a good tool for verifying tape data. (1 Reply)
Discussion started by: tjlst15
1 Replies
4. Solaris
hello guys,
am trying to save a file file1 to a remote tape drive using tar and i get a permission denied error as shown below:
server1%tar cvf - file1 | rsh server2 dd of=/dev/rmt/1m conv=sync
a file1 1883905K
permission denied
since server2 requires login username and password, i see in... (3 Replies)
Discussion started by: nom
3 Replies
5. AIX
Every 3 months we have to do backups (smitth mksysb/lsmksysb + tar) on at least 30 workstations. We have to carry around 2 external tape drives to connect to them. It is a pain to do because it takes at least 3 days to do (evening/night shift) and users sometimes complain that there desk is not put... (1 Reply)
Discussion started by: Browser_ice
1 Replies
6. AIX
Hello,
It's some tool in AIX to check what kind of media (DVD+RW DVD-RW DVD-RAM) is inserted in drive?
In linux there is very nice tool called dvd+rw-mediainfo. (0 Replies)
Discussion started by: vikus
0 Replies
7. UNIX for Advanced & Expert Users
I want to use this command to tar to tape:
tar cf - DIR | compress > `hostname`_`date +%m-%d-%y`.DIR.tar.Z
this of course goes to the FS.
How do I modify this to go directly to tape?
My tape device is /dev/rmt/0
thanks.
Having so many posts you should be familiar using code tags.... (7 Replies)
Discussion started by: djehresmann
7 Replies
8. AIX
Hi, AIXers :)
Recently i'm playing around with cpio command, when i try to list out content from LTO2 Tape media using
command:
#cpio -itvc < /dev/rmt1
it's stopped at particular path
100777 root 1042591 Mar 24 10:09:05 2012 /home/uv/bin/usd
and there was an error thrown out:
... (2 Replies)
Discussion started by: polar
2 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
device_maps
device_maps(4) File Formats device_maps(4)
NAME
device_maps - device_maps file
SYNOPSIS
/etc/security/device_maps
DESCRIPTION
The device_maps file contains access control information about each physical device. Each device is represented by a one line entry of the
form:
device-name : device-type : device-list :
where
device-name
This is an arbitrary ASCII string naming the physical device. This field contains no embedded white space or non-printable characters.
device-type
This is an arbitrary ASCII string naming the generic device type. This field identifies and groups together devices of like type. This
field contains no embedded white space or non-printable characters.
device-list
This is a list of the device special files associated with the physical device. This field contains valid device special file path
names separated by white space.
The device_maps file is an ASCII file that resides in the /etc/security directory.
Lines in device_maps can end with a `' to continue an entry on the next line.
Comments may also be included. A `#' makes a comment of all further text until the next NEWLINE not immediately preceded by a `'.
Leading and trailing blanks are allowed in any of the fields.
The device_maps file must be created by the system administrator before device allocation is enabled.
This file is owned by root, with a group of sys, and a mode of 0644.
EXAMPLES
Example 1 A Sample device_maps File
The following is a sample device_maps file:
# scsi tape
st1:
rmt:
/dev/rst21 /dev/nrst21 /dev/rst5 /dev/nrst5 /dev/rst13
/dev/nrst13 /dev/rst29 /dev/nrst29 /dev/rmt/1l /dev/rmt/1m
/dev/rmt/1 /dev/rmt/1h /dev/rmt/1u /dev/rmt/1ln /dev/rmt/1mn
/dev/rmt/1n /dev/rmt/1hn /dev/rmt/1un /dev/rmt/1b /dev/rmt/1bn:
FILES
/etc/security/device_maps Contains access control information for devices.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Interface Stability |Uncommitted |
+-----------------------------+-----------------------------+
SEE ALSO
allocate(1), bsmconv(1M), deallocate(1), list_devices(1), dminfo(1M), device_allocate(4), attributes(5)
NOTES
The functionality described in this man page is available only if Solaris Auditing has been enabled. See bsmconv(1M) for more information.
On systems configured with Trusted Extensions, the functionality is enabled by default. On such systems, the device_allocate(4) file is
updated automatically by the system.
SunOS 5.11 30 Apr 2008 device_maps(4)