07-02-2007
"The first one can be tested by trying to run 'pwd', eg 'rsh -n server pwd'. "
We seem to have a problem here from server 2 as root I can rsh to Server3 but not Server1
However from Server3 I can rsh to both Server1 and Server2
/etc/hosts on each machine has entries for the others
/.rhosts on each server has entries for the other servers
What else would be controlling ability to rsh??
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I was recently given the responsibility of the unix box at our work. Without much training, I now have to go back and restore a file from tape. I'm having some trouble with it. I'm getting an error with the blocksize.
The part of the script that does the tar looks like this:
tar cvfX... (11 Replies)
Discussion started by: citrowske
11 Replies
2. Shell Programming and Scripting
Hi,
Would appreciate if anyone could tell me if it is possible to mount (and use) a remote tape drive on a AIX server, and if so, what are the precise configuration steps needed?
The tape drive to be mounted as a remote tape drive is present on another AIX server in the same network.
... (0 Replies)
Discussion started by: dnicky
0 Replies
3. AIX
Hi,
Would appreciate if anyone could tell me if it is possible to mount (and use) a remote tape drive on a AIX server, and if so, what are the precise configuration steps needed?
The tape drive to be mounted as a remote tape drive is present on another AIX server in the same network.
... (5 Replies)
Discussion started by: dnicky
5 Replies
4. UNIX for Dummies Questions & Answers
Hi all,
I have kinda inherited this problem, but was wondering if anyone else had any ideas.
Currently all our backup rentention periods are set to 2 weeks, so that we can cycle through tapes (save money etc...). Anyhow the guys next door in IT, decided one day long long ago, that it would... (0 Replies)
Discussion started by: B14speedfreak
0 Replies
5. 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
6. 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
7. Solaris
Hello all,
I'm trying to backup some files on a solaris 10 machine to the remote tape drive connected to another solaris 10 machine.
I have set up rsh to allow for password-less connection between the servers, but I'm not able to write to the tape with the command:
root@sdp4a>tar cvf... (1 Reply)
Discussion started by: kerrygold
1 Replies
8. UNIX for Advanced & Expert Users
Good day all!
I need to recover FS from backup, but the thing is that tape drive cable is not compatible with the server's input (tape drive's cable is wide, but at the server input (V240) is tight one). So, I want to connect this tape drive to another Solaris based server and mount tape drive... (3 Replies)
Discussion started by: nypreH
3 Replies
9. Shell Programming and Scripting
hi all ,
a messages appeared to me when i was checking my /var/adm/messages
and the below code was in it
Oct 6 13:15:21 medprod scsi: /pci@3,700000/SUNW,emlxs@0/fp@0,0/st@w21000024ff305234,7 (st1):
Oct 6 13:15:21 medprod Restoring tape position at fileno=320,... (5 Replies)
Discussion started by: semaan
5 Replies
10. UNIX for Dummies Questions & Answers
Hello everyone.
I googled a little bit, and the best anwers i had were found in this forum. But , unfortunately, they couldn't give me a solution. So i decided to ask the question completely.
I have two servers:
One RHEL 5 , x64 , with a SCSI DAT72 Tape Drive.
Another (the new one), with... (0 Replies)
Discussion started by: pablobhz
0 Replies
mt(1) User Commands mt(1)
NAME
mt - magnetic tape control
SYNOPSIS
mt [-f tapename] command... [count]
DESCRIPTION
The mt utility sends commands to a magnetic tape drive. If -f tapename is not specified, the environment variable TAPE is used. If TAPE
does not exist, mt uses the device /dev/rmt/0n.
OPTIONS
The following option is supported:
-f tapename Specifies the raw tape device.
OPERANDS
The following operands are supported:
count The number of times that the requested operation is to be performed. By default, mt performs command once. Multiple opera-
tions of command may be performed by specifying count.
command Available commands that can be sent to a magnetic tape drive. Only as many characters as are required to uniquely identify
a command need be specified.
eof Writes count EOF marks at the current position on the tape.
weof
fsf Forward spaces over count EOF marks. The tape is positioned on the first block of the file.
fsr Forward spaces count records.
bsf Back spaces over count EOF marks. The tape is positioned on the beginning-of-tape side of the EOF mark.
bsr Back spaces count records.
nbsf Back spaces count files. The tape is positioned on the first block of the file. This is equivalent to
count+1 bsf's followed by one fsf.
asf Specifies absolute space to count file number. This is equivalent to a rewind followed by a fsf count.
If count is specified with any of the following commands, the count is ignored and the command is performed only once.
eom Spaces to the end of recorded media on the tape. This is useful for appending files onto previously written
tapes.
rewind Rewinds the tape.
offline Rewinds the tape and, if appropriate, takes the drive unit off-line by unloading the tape.
rewoffl
status Prints status information about the tape unit.
retension Rewinds the cartridge tape completely, then winds it forward to the end of the reel and back to beginning-
of-tape to smooth out tape tension.
reserve Allows the tape drive to remain reserved after closing the device. The drive must then be explicitly
released.
release Re-establishes the default behavior of releasing at close.
forcereserve Breaks the reservation of the tape drive held by another host and then reserves the tape drive. This com-
mand can be executed only with super-user privileges.
erase Erases the entire tape. Caution: Some tape drives have option settings where only portions of the tape may
be erased. Be sure to select the correct setting to erase the whole tape. Erasing a tape may take a long
time depending on the device and/or tape. Refer to the device specific manual for time details.
config Reads the drives current configuration from the driver and displays it in st.conf format. See st(7D) for
definition of fields and there meanings.
EXIT STATUS
0 All operations were successful.
1 Command was unrecognized or mt was unable to open the specified tape drive.
2 An operation failed.
FILES
/dev/rmt/* magnetic tape interface
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWcsu |
+-----------------------------+-----------------------------+
SEE ALSO
tar(1), tcopy(1), ar.h(3HEAD), environ(4), attributes(5), mtio( 7I), st(7D)
BUGS
Not all devices support all options. Some options are hardware-dependent. Refer to the corresponding device manual page.
mt is architecture sensitive. Heterogeneous operation (that is, SPARC to x86 or the reverse) is not supported.
SunOS 5.10 1 Sep 2004 mt(1)