02-08-2002
KN,
Try this out,
tar cvf /dev/rmt/0cb <files>
this will copy the files from OS to tape.
And if u want to append to the tape,
tar rvf /dev/rmt/0cb <files>
Hope this helps u. But it will be helpful if u go through the man pages.
8 More Discussions You Might Find Interesting
1. Solaris
Server 1 - Sun Solaris 5.8 sparc SUNW,Sun-Fire-480R with attached DLT tape drive /dev/rmt/0n
Server 2 - Old DG-UX box which has restore command on it compatible with the files on the backyup tape - backed up with dump2
Server 3 - Sun solaris 5.9 sparc SUNW,Sun-Fire-V490 with lots of free space... (4 Replies)
Discussion started by: lindab
4 Replies
2. BSD
Hi all!
I have problem with copying files from tape drive.
The contents of tape:
silverman# tcopy /dev/sa1
file 0: block size 10240: 21 records
file 0: eof after 21 records: 215040 bytes
file 1: block size 10240: 20712 records
file 1: eof after 20712 records: 212090880 bytes
file 2:... (2 Replies)
Discussion started by: d3m00n
2 Replies
3. UNIX for Dummies Questions & Answers
We have 2 UNIX machines,
1.HP-UX 11i where oracle database running on it.
2.AIX 5 with Ultrium LTO3 tape drive connected.
My query is, i want to send oracle database archive files from HP machine to the tape drive which connected on AIX machine, everyday.
These files should be appended.
I... (3 Replies)
Discussion started by: yashdbad
3 Replies
4. Filesystems, Disks and Memory
I've starting playing with a tape drive for the first time. Its a new one, an IBM Ultrium LTO 4. After initially copying a file to the tape with tar cvf /dev/st0 /root/dummy, all subsequent files appended take an increasing amount of time with tar rvf /dev/st0 /root/dummyX. Is it normal for each... (2 Replies)
Discussion started by: jeriryan87
2 Replies
5. AIX
I have tape drive in one Lpar. when i saw that time tape is in defined state. After that i deleted the tape drive using the rmdev -R command. Then fired the cfgmgr -v command. But I am not getting the tape drive. Now the drive is even not in defined state also. It is not shown the tape drive. How... (1 Reply)
Discussion started by: pernasivam
1 Replies
6. Solaris
Hi,
I want to take backup of files older than 20 days from a directory onto a tape drive on remote machine on Solaris.
The files are of format abc-20100301000000.gz on my local machine.
I know the below commands for searching files older than x days and command for backup procedure.
solar1 #... (7 Replies)
Discussion started by: jyothi_wipro
7 Replies
7. Solaris
Hey folks,
Linux admin here, forced to use Opensolaris to try to use ufsdump/ufsrestore to get some data of some old tapes.
I've got Opensolaris 2009.06 on x86 and a Sony SDX-700V.
As a "control" experiment, I booted the system with a Linux live CD and the tape drive worked perfectly.
... (2 Replies)
Discussion started by: eddy_sysad
2 Replies
8. HP-UX
I have used ioscan -fnC tape and the system identified the tape drive. what is the command to show a listing of what is on the tape? I have used ls /dev/rmt/rmt0 to no avail. can anyone help?
Thanks in advance (10 Replies)
Discussion started by: Randydog
10 Replies
LEARN ABOUT DEBIAN
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
# 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
SEE ALSO
allocate(1), bsmconv(1M), deallocate(1), dminfo(1M), list_devices(1)
NOTES
The functionality described in this man page is available only if the Basic Security Module (BSM) has been enabled. See bsmconv(1M) for
more information.
SunOS 5.10 16 Jan 2001 device_maps(4)