From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,fa29dfa295bdfb5c X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1994-03-09 01:43:35 PST Path: gmd.de!xlink.net!howland.reston.ans.net!vixen.cso.uiuc.edu!uwm.edu!reuter.cse.ogi.edu!netnews.nwnet.net!news.u.washington.edu!dirac!root From: root@dirac.phys.washington.edu Newsgroups: comp.unix.osf.osf1 Subject: Re: DEC OSF/1 rdump fails to SGI Date: 9 Mar 94 09:43:35 GMT Organization: University of Washington Distribution: na Message-ID: References: NNTP-Posting-Host: dirac.phys.washington.edu Sorry to follow up my own posting, but in the complete absence of any response whatsoever (apparently this is not a burning issue with people)... I have found an rmt.c program that can replace rmt on our SGI system and I successfully patched it to ignore I 13 1 so the SGI no longer ejects the tape during rdump from an OSF/1 system. This is not an entirely satisfactory solution though, since this replacement rmt causes 30% or so slowdown of the rdump when compared to SGI's rmt (for some non OSF/1 systems). I may try switching between my rmt and SGI's rmt dynamically during our dumps when OSF/1 partitions are being dumped. I am not expert enough C programmer to tell whether something simple can be done to possibly improve the speed of this rmt.c , It is from dump_fast.tar.Z which I think I found on gatekeeper. It is documented as being... > If you want to understand more about how this works, read my paper on > it in the USENIX LISA III ('89) proceedings. > > -- Paul Placeway > paul@cis.ohio-state.edu I will be e-mailing to him to see if he has any interest in the speed problem, but since this rmt was written to go with a patched rdump, I doubt if he has much interest in the normal mode with unpatched rdump. Thanks for any help you can give me on OSF/1 rdump to non-OSF/1 systems. I may be down to dump | rsh tape-host dd solutions. Anyone have suggestions about the exact look of such a command line ? Any disadvantages which may disqualify it as a reasonable substitute for rdump ? I presume the error handling will be worse than rdump ? I.e. no information about what causes errors ? Just something vague like 'broken pipe' or a process hang ? belonis@dirac.phys.washington.edu writes: >rdump from a DEC OSF/1 1.2 (Rev. 10) causes 8mm tape drive on >SGI Indigo to eject. >I turned on the rmt log file on the SGI to capture what the OSF/1 >system was sending that was so obnoxious and found to my horror >that it sends >I 13 1 >intending to "enable default eot code" according to the meaning of >0x0d=13=MTENAEOT /usr/include/sys/mtio.h on the OSF/1 system. >I have no idea what this is intended to accomplish on an OSF/1 >system, but on a Sun it is apparently ignored because such high >ioctl function numbers are unused but on an SGI >it unloads the tape drive, and on MIPS it formats a QIC tape. >All my systems types have different ioctl functions above 8 . >Clearly it is bogus for OSF/1 systems to use non-standard ioctl functions >with no way to turn them off if they want to allow rdump to remote >non-DEC systems. >Is there a way to turn this off with an rdump command-line option ? >I see nothing obvious in the man pages ( c & N do nothing useful >about this problem, even E causes eject). >I used beav to look at the /usr/sbin/rdump executable and couldn't find >an obvious '13' to patch to the less obnoxious '7' no-op. >If not, >can I replace the SGI rmt by a program that filters out the >two lines >I 13 >1 >and returns >A1 >like the OSF/1 rdump probably expects ? >If all else fails, is there a more reasonable replacement rdump for OSF/1 ? >-- >J.James(Jim)Belonis II, U of Washington Physics Computer Cost Center Manager >belonis@dirac.phys.washington.edu Internet Physics Hall FM-15 >BELONIS@UWAPHAST BITNET noon to midnite U of W, Seattle, WA 98195 >24683::PHAST::BELONIS SPAN,HEPNET 7 days room 32a (206) 685-8695 -- J.James(Jim)Belonis II, U of Washington Physics Computer Cost Center Manager belonis@dirac.phys.washington.edu Internet Physics Hall FM-15 BELONIS@UWAPHAST BITNET noon to midnite U of W, Seattle, WA 98195 24683::PHAST::BELONIS SPAN,HEPNET 7 days room 32a (206) 685-8695