Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* rdump
@ 1993-08-05 12:43 Ami Kleinman
  1993-08-18  7:22 ` rdump Glenn Huxtable
  0 siblings, 1 reply; 4+ messages in thread
From: Ami Kleinman @ 1993-08-05 12:43 UTC (permalink / raw)



I'm trying to use rdump to backup my alpha 3000 on a Sun3 which is
connected to a tape drive.  This Sun3 is used to backup all of the
machines we have, including Suns, Decstations, MIPS, etc.

I've checked the links on the sun and they seem correct:

noa(1)% ls -l /etc/rmt
lrwxrwxrwx  1 root           12 Aug  5 11:28 /etc/rmt -> /usr/etc/rmt*
noa(2)% ls -l /usr/sbin/rmt
lrwxrwxrwx  1 root            8 Jul 28 09:57 /usr/sbin/rmt -> /etc/rmt*
noa(3)% ls -l /usr/etc/rmt
-rwxr-xr-x  1 root        16384 Oct 14  1990 /usr/etc/rmt*


I've also tried using rdump from the alpha to a decstation runing ULTRIX4.2
with no success.

Any help would be appreciated.



Ami



--
+----------------+----------------------------------------------------------+
|  Ami Kleinman  |                    ami@shum.cc.huji.ac.il                |
|		 |		      Hebrew University Computation Center
+----------------+----------------------------------------------------------+





^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: rdump
  1993-08-05 12:43 rdump Ami Kleinman
@ 1993-08-18  7:22 ` Glenn Huxtable
  0 siblings, 0 replies; 4+ messages in thread
From: Glenn Huxtable @ 1993-08-18  7:22 UTC (permalink / raw)


In <1993Aug5.124400.1240@vms.huji.ac.il> ami@shum.cc.huji.ac.il (Ami Kleinman) writes:


>I'm trying to use rdump to backup my alpha 3000 on a Sun3 which is
>connected to a tape drive.  This Sun3 is used to backup all of the
>machines we have, including Suns, Decstations, MIPS, etc.

>I've checked the links on the sun and they seem correct:

>noa(1)% ls -l /etc/rmt
>lrwxrwxrwx  1 root           12 Aug  5 11:28 /etc/rmt -> /usr/etc/rmt*
>noa(2)% ls -l /usr/sbin/rmt
>lrwxrwxrwx  1 root            8 Jul 28 09:57 /usr/sbin/rmt -> /etc/rmt*
>noa(3)% ls -l /usr/etc/rmt
>-rwxr-xr-x  1 root        16384 Oct 14  1990 /usr/etc/rmt*


>I've also tried using rdump from the alpha to a decstation runing ULTRIX4.2
>with no success.

>Any help would be appreciated.



>Ami

A few things to be wary of. Firstly, OSF's "rdump" uses the rcmd library call
to execute /usr/etc/rmt on the remote machine. This means that rdump *must*
run as root, as only root can call rcmd. I'm not sure, but I think Sun's rdump
uses "rsh" to run the remote rmt, which means you can run rdump as any user
with privilege to dump disks and run remote rmt's.

Another gotcha (not to do with your problem) is that OSF's rdump *knows*
the string /dev/nrmt* means non-rewinding magtape. If your remote tape is
a SCSI tape (/dev/rst*) and you ask it to dump to the non-rewinding SCSI
tape (/dev/nrst*) then rdump will manually rewind the tape anyway. You can tell
it to nick off (don't rewind the tape) with the -N option.

I consider both these problems to be cases of poor design. There is no reason 
why dump should need know about tape device names (and their implied meanings) 
and there is no (good?) reason why it should only allow root to run rdump, 
other filesystem and network protections should be sufficient for that purpose.
dump is enough of a pain as it is, why did OSF need to break it more?

I hope that helps.

Glenn Huxtable
-- 
Email  - glenn@cs.uwa.edu.au      ,-_|\                          glenn huxtable
phone  - +61 9 380 2878          /     \               dept of computer science
fax    - +61 9 380 1089          *_,-._/        university of western australia
                                      v


^ permalink raw reply	[flat|nested] 4+ messages in thread

* rdump.
@ 1995-04-18  4:00 Jerry Waldorf
  1995-04-21  4:00 ` rdump Codex Chen
  0 siblings, 1 reply; 4+ messages in thread
From: Jerry Waldorf @ 1995-04-18  4:00 UTC (permalink / raw)


I get this when I run the command on charybdis:

# /usr/sbin/rdump 0f charybdis:/dev/rmt0h /dev/rz3a
rdump: Dumping from host charybdis
rdump: Date of this level 0 dump: Tue Apr 18 15:39:03 1995 PDT
rdump: Date of last level 
rdump: Dumping /dev/rrz3a (/) to /dev/rmt0h on host charybdis.stc.com
rdump: Mapping (Pass I) [regular files]
rdump: Mapping (Pass II) [directories]
rdump: rmt_reply(): Protocol to remote tape server botched (code O/dev/rmt0h: Command not found.
)
rdump: Communication error in connection to remote peer
rdump: SIGTERM received -- Try rewriting
rdump: Unexpected signal -- cannot recover
rdump: The ENTIRE dump is aborted
rdump: SIGTERM received -- Try rewriting
rdump: Unexpected signal -- cannot recover
rdump: The ENTIRE dump is aborted
# 

Does anyone have ideas about this?



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: rdump.
  1995-04-18  4:00 rdump Jerry Waldorf
@ 1995-04-21  4:00 ` Codex Chen
  0 siblings, 0 replies; 4+ messages in thread
From: Codex Chen @ 1995-04-21  4:00 UTC (permalink / raw)


Jerry Waldorf (waldorf@charybdis.stc.com) wrote:
: I get this when I run the command on charybdis:

: # /usr/sbin/rdump 0f charybdis:/dev/rmt0h /dev/rz3a
: rdump: Dumping from host charybdis
: rdump: Date of this level 0 dump: Tue Apr 18 15:39:03 1995 PDT
: rdump: Date of last level 
: rdump: Dumping /dev/rrz3a (/) to /dev/rmt0h on host charybdis.stc.com
: rdump: Mapping (Pass I) [regular files]
: rdump: Mapping (Pass II) [directories]
: rdump: rmt_reply(): Protocol to remote tape server botched (code O/dev/rmt0h: Command not found.
: )
You could probably misused some stty settings in the host charybdis.stc.com.
To solve the problem try to move every 'stty' instruction in your run com
files(.?*rc) of the host charybdis into the loop:
if ( $?prompt ) then
..
endif
Or remove any 'stty' instruction out of the run com files of charybdis.
--
Department of Computer Science		| ambrosia@chpi.edu.tw
Chung Hua Polytechnic Institute 	| alias - Codex Chen
HsinChu, Taiwan 30067			|    - I don't speak for
Republic of China			| 		CHPI CC -



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~1995-04-21  4:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1995-04-18  4:00 rdump Jerry Waldorf
1995-04-21  4:00 ` rdump Codex Chen
  -- strict thread matches above, loose matches on Subject: below --
1993-08-05 12:43 rdump Ami Kleinman
1993-08-18  7:22 ` rdump Glenn Huxtable

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox