From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,54ba1bc1e04e8a32,start X-Google-Attributes: gid1164f8,public X-Google-Thread: fee84,54ba1bc1e04e8a32,start X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1993-08-07 18:58:43 PST Xref: gmd.de comp.sys.dec:9345 comp.unix.osf.osf1:790 Path: gmd.de!xlink.net!rz.uni-karlsruhe.de!news.uni-stuttgart.de!news.belwue.de!news.dfn.de!darwin.sura.net!wupost!usc!news.service.uci.edu!nntpsrv From: fredv@abba.acs.uci.edu (Fred Velijanian) Subject: Problems with DEC OSF/1 rdump/rrestore Nntp-Posting-Host: abba.acs.uci.edu Message-ID: <2C6444F2.21329@news.service.uci.edu> Newsgroups: comp.sys.dec,comp.unix.osf.osf1 Organization: University of California, Irvine Keywords: rdump rrestore Date: 8 Aug 93 00:12:34 GMT I have several problems/question with rdump/rrestore on OSF/1 V1.2, hopefully some may be fixed in V1.3, but I don't have it yet. We have tape drives on a SUNOS 4.1.3 system which we backup remote systems to using rdump. I have come across a few differences between the way rdump/rrestore work between OSF/1 and Ultrix in conjunction with using the SUN drives. We use a regular account called "dumper" on OSF/1 & Ultrix to run the backup scripts, rather than the "root" account. Major problem: - OSF/1 rrestore generates the following errors, when run from the "dumper" account, but works ok if run from "root". rrestore is setuid root, so I don't believe that it's a permission problem. The command used was: /usr/sbin/rrestore -tf sun:/dev/exa >> filename Cannot read single character from socket rmt_getb(): read(): Address already in use Communication error in connection to remote peer Remote restore is aborted. Minor problems: - OSF/1 rrestore seems to need to communicate with a similarly named account on the SUN, and thus an account with the same name with appropriate .rhosts file needs to be setup on the SUN for this purpose. OSF/1 rdump and Ultrix rdump/rrestore default to using the "root" account and thus only /.rhosts needs to be used. - Any chance of seeing support for username@hostname:/dev/tape type of file specification for rdump/rrestore on OSF/1? Ultrix doesn't have it, but I can always hope for OSF/1! - OSF/1 rdump has difficulty opening the /dev/rrz* devices even if it's been setuid'd to root. I still have to change the file protections of the /dev/rrz* files so that it can be opened by the account that runs the "rdump". Anyone know why? On Ultrix all I have to do is setuid /etc/rdump and it's able to open the devices. (In fact I have the same situation with SGI systems...) Slight problems: - OSF/1 rrestore seems to printout the output of the "-t" switch to the stderr instead of stdout. Thus I need to use a command such as "rrestore -tf sun:/dev/exa >>& filename" instead of ">> filename". - OSF/1 rrestore expects the SUN "rmt" to be in /usr/sbin/rmt, so I've made a link on the SUN to /etc/rmt. (Interestingly enough OSF/1 rdump checks both /usr/sbin and /etc for SUN rmt!). Overall it seems that OSF/1 rdump works OK, but rrestore has the most problems. Thanks for any help. Fred Velijanian UC Irvine fredv@uci.edu