🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: de.comp.os.linux.networking
3 messages
3 total messages Started by Lukas Karrer Sun, 22 Mar 1998 00:00
Q: dump linux -> solaris dat tape ???
#61
Author: Lukas Karrer
Date: Sun, 22 Mar 1998 00:00
48 lines
2430 bytes
Hallo,

ich habe ein Problem, Linux ueber rmt auf eine SUN SOlaris Box zu backuppen.

auf der LinuxBox mache ich:

chico:/root # rsh -l lkarrer nebula w
 10:45am  up 3 day(s), 15:17,  3 users,  load average: 0.04, 0.02, 0.02
User     tty           login@  idle   JCPU   PCPU  what
root     console       6:47pm 15:58                -bash
root     pts/0         6:47pm 15:56   1:06   1:06  netscape
lkarrer  pts/1        10:26am     7                -tcsh
lkarrer  pts/2        10:43am                      vi /var/adm/messages

Ich habe also die Berechtigung vie rsh / rpc Befehle auszufuehren.

Nun:

chico:/root # dump 0cfu 'lkarrer@nebula:/dev/rmt/0n' /
  DUMP: Date of this level 0 dump: Sun Mar 22 10:52:40 1998
  DUMP: Date of last level 0 dump: the epoch
  DUMP: Dumping /dev/hda1 (/) to /dev/rmt/0n on host lkarrer@nebula
  DUMP: mapping (Pass I) [regular files]
  DUMP: mapping (Pass II) [directories]
  DUMP: estimated 568302 tape blocks on 32.73 tape(s).
  DUMP: Protocol to remote tape server botched (code "rmt: Command not found.")
. rdump: Lost connection to remote host.
  DUMP: Bad return code from dump: 1
chico:/root #

Falls ich aber diesen Befehl von einer zweiten Solarisbox ausfuehre, geht alles
prima. D.h. der Benutzer lkarrer hat die Berechtigung /dev/rmt/0n auf Solaris
auszufuehren. (Auf der Linuxbox und der Solarrisbox ohne tape bin ich root,
auf der SOlarisbox mit tape bin ich ein user mit, (rhosts fuer die anderern
Maschinen.))

Ich sehe da nicht durch. Wer kann helfen?

Merci

Lukas Karrer
--
+--------------------------------------------------------------------------+
 	        Lukas Karrer           Email: lkarrer@mus.ch      	
 	          Sysadmin 	       WWW: http://www.trash.net/    
+--------------------------------------------------------------------------+
  Check out the stinkiest site on the web! Get a sniff from www.trash.net
Re: Q: dump linux -> solaris dat tape ???
#62
Author: Marc SCHAEFER
Date: Sun, 22 Mar 1998 00:00
16 lines
1172 bytes
Lukas Karrer <lkarrer@stud.ee.ethz.ch> wrote:
> ich habe ein Problem, Linux ueber rmt auf eine SUN SOlaris Box zu backuppen.

Personnaly I would do it that way:

cd /
find . -depth -print | cpio -o | ssh sun -l tape_priviledged_user \(echo "possibly tape init sequence here"\;dd of=/dev/tape_dev_name bs=32768 \)

> Ich habe also die Berechtigung vie rsh / rpc Befehle auszufuehren.

If I remember well, rsh and rmt is plain TCP, not RPC.

>   DUMP: Protocol to remote tape server botched (code "rmt: Command not found.")

whereis rmt on the server, and possibly add it to path.
Re: Q: dump linux -> solaris dat tape ???
#60
Author: Oliver Rebach
Date: Mon, 23 Mar 1998 00:00
31 lines
1674 bytes
lkarrer@stud.ee.ethz.ch (Lukas Karrer) writes:

> Hallo,
> 
> ich habe ein Problem, Linux ueber rmt auf eine SUN SOlaris Box zu backuppen.
> 
> auf der LinuxBox mache ich:
> ...
> chico:/root # dump 0cfu 'lkarrer@nebula:/dev/rmt/0n' /
>   DUMP: Date of this level 0 dump: Sun Mar 22 10:52:40 1998
>   DUMP: Date of last level 0 dump: the epoch
>   DUMP: Dumping /dev/hda1 (/) to /dev/rmt/0n on host lkarrer@nebula
>   DUMP: mapping (Pass I) [regular files]
>   DUMP: mapping (Pass II) [directories]
>   DUMP: estimated 568302 tape blocks on 32.73 tape(s).
>   DUMP: Protocol to remote tape server botched (code "rmt: Command
> not found.")

Sagt doch alles: rmt steht nicht PATH f�r lkarrer auf nebula
(rmt ist /usr/sbin/rmt).

Teste mal "rsh -l lkarrer nebula echo $PATH"

Tsch��
Oliver
-- 
O. Rebach <Oliver.Rebach@UniBw-Hamburg.DE>                /|\  /|\
Universitaet der Bundeswehr Hamburg, FB Maschinenbau     / | \/ |
Fachgebiet Maschinenelemente und Getriebetechnik        |--|    | ~|
- Labor fuer Datenverarbeitung in der Konstruktion -       |    | /
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads