HDTenEightyP/NetNews huggingface dataset:
From: drears@pica.army.mil (Dennis G Rears <drears>)
Newsgroups: comp.sys.sun.admin
Subject: Re: Splitting an NIS domain across a router.
Date: 1 Sep 92 15:38:41 GMT
Organization: U.S. Army  Armament Research Development & Engineering Center, Dover NJ

In article <1992Sep1.145044.25312@pica.army.mil> I wrote:

>In article <1992Aug31.145450.24666@uunet.uu.net!mercomp> blu@uunet.uu.net!mercomp (Brian Utterback) writes:
>>We are in the process of splitting our current network into two, a
>>production network and a test network.  I don't know much about the
>>workinfs of NIS, so bear with me if this is a stupid question, but
>>how do I set up NIS under such a configuration?  Would it be best
>>to have two masters or what?  If I had two masters, how should I keep
>>them in sync?  Any one have a similar setup?
>
>   I have one NIS domain across 12 subnets with no problem.  You only
>only want 1 master server.  You will want at least 2 slave servers on
>each subnet.  The only problem you will have is creating the the first
>slave server on the subnet without the master server to do this do the
>following:
>
>	o Boot the slaver-server-to-be in single user mode.
>	o mv /etc/ypbind /etc/ypbind.dis
>       o go to multi user mode
>	o cd /usr/etc/yp

  I forgot to add:
	
	o mv /etc/ypbind.dis /etc/ypbind
	o rehash or for /bin/sh types 'hash -r'

>	o execute ypbind -ypset
>	o ./ypset IP_address_of master_server
>	o ypinit -s IP_address_of master_server
>
>   Works for me all the time.
>
>Dennis

Dennis
From: rodney@cssc-syd.tansu.com.au (Rodney Campbell)
Newsgroups: comp.sys.sun.admin
Subject: Re: Format.dat for Fujitsu M2266SA .
Keywords: format.dat ; FUJITSU ; M2266SA
Date: 31 Aug 92 04:13:49 GMT
Organization: Customised Software Solutions Centres, AOTC

vgovers@escher.earth.ruu.nl (H.M.V.C. Govers) writes:

>Who can help with a format.dat for :

>Fujitsu M2266SA 1.2 GB SCSI disc.

>Thanks in advance.

>H.M.V.C. Govers

Here are two that I know of - The first I got off the net and have been
using for about 18 months with no problems. The second is from the
format.faq which I have not tried.

disk_type = "Fujitsu 1.2G CRANEL-M2266SA" \
        : ctlr = MD21 : fmt_time = 2 \
        : cache = 0x11 : trks_zone = 15 : asect = 3 \
        : ncyl = 1642 : acyl = 2 : pcyl = 1644 : nhead = 15 : nsect = 85 \
        : rpm = 3600 : bpt = 46635

disk_type = "Fujitsu M2266SA 1.2GB" \
        : ctlr = MD21 : fmt_time = 4 \
        : trks_zone = 15 : asect = 1 : atrks = 10 \
        : ncyl =  1652 : acyl = 2 : pcyl = 1658 : nhead = 15 : nsect = 85 \
        : rpm = 3600 : bpt = 50830

			     					Rodney...
-- 
     Rodney Campbell - AOTC    |Email : rodney@cssc-syd.tansu.com.au
   Advanced Network Products   |Snail : Level 1, 18-20 Orion Rd, Lane Cove West
 Customised Software Solutions |  -  PO Box A226, Sydney South 2000, Australia.
        Centre - Sydney        |Phone : +61 (0)2 911 3123   Fax: +61 2 911 3199
Xref: sparky comp.sys.sun.admin:5927 comp.sys.sun.hardware:4127 comp.sys.sun.misc:3988
From: alexis@panix.com (Alexis Rosen)
Newsgroups: comp.sys.sun.admin,comp.sys.sun.hardware,comp.sys.sun.misc
Subject: RE:ST41600N drive format.dat entry - answers & new questions
Date: 28 Aug 92 08:17:52 GMT
Organization: PANIX Public Access Unix, NYC

lshao@netcom.com (Ling Shao) writes:
>I posted a message requesting format.dat entry for
>ST41600N drive. A few people told me to use the standard
>SUN1.3G entry in format.dat file. Thanks for their info.

You're welcome...

BTW, I wouldn't buy from relax. If you're willing to buy from a Mac-oriented
vendor, you might as well buy from Club Mac (1-800-club-mac). They're quite a
bit cheaper. Arrow's cheaper yet...

Anyway...

>Seagate people sent me their format entry. The data is 
>slightly different.

>for SUN1.3G:
>ncly=1965:pcyl=3500:nsect=80

>for Seagate entry I got:
>ncly=2096:pcyl=2099:nsect=75

Well that's damn weird. Here's the truth, direct from seagate's data sheets:
cylinders = 2101
sectors on drive = 2,768,896
The nsect model doesn't match real life for ZBR drives, so you have to
figure things by hand. So, figure like this:
surfaces = 17
tracks = cylinders * surfaces = 35717
Therefore, the average # of sectors/track is:
2,768,896 / 35717 = 77.52, so (rounding down, as you must):
nsect = 77

Now... multiplying nsect by ncly (don't you mean "ncyl"?) for each entry:
Sun- 1965 * 80 * 17 = 2672400
Sgt- 2096 * 75 * 17 = 2672400
Mine- 2101 * 77 * 17 = 2750209

As you can see, my number is closer to the total number of sectors on the drive
that either number generated from the the format.dat entries you had. But both
those entries have the same exact effect- they're equivalent, as far as the
Sun is concerned.

The question is, why are both of those numbers so low? Mine is off by about
9MB, but theirs is off by more like 46MB. That's a lot of space to waste.

I suspect that this has to do with sparing strategies. I don't remember the
SunOS docs' discussion of this issue. Can someone else enlighten us?

If worse comes to worst, I'd suggest using my entry, making a single filesystem
on the disk, and then writing to it until the whole drive fills up. If it fills
without getting trashed, my entry is probably safe. But I'm no SunOS expert
and I don't guarantee this.

On the other hand, either entry you provided is definitely OK, though it wastes
space. And there's quite possibly a good reason why those two independantly-
arrived-at entries multiply out the same way.

While I'm at it- can anyone comment on whether or not the format.dat info has
an appreciable effect on performance under SunOS, given the fact that big ZBR
disks like the Elite don't match the simplistic "sectors, tracks, and heads"
organization that SunOS believes in?

--
Alexis Rosen   Owner/Sysadmin,
PANIX Public Access Unix & Internet, NYC.
alexis@panix.com
{uupsi,cmcl2}!panix!alexis
Newsgroups: comp.sys.sun.admin
From: blu@uunet.uu.net!mercomp (Brian Utterback)
Subject: Splitting an NIS domain across a router.
Organization: Mercury Computer Systems
Date: Mon, 31 Aug 1992 14:54:50 GMT

We are in the process of splitting our current network into two, a
production network and a test network.  I don't know much about the
workinfs of NIS, so bear with me if this is a stupid question, but
how do I set up NIS under such a configuration?  Would it be best
to have two masters or what?  If I had two masters, how should I keep
them in sync?  Any one have a similar setup?

Thanks.
 
Brian Utterback
Mercury Computer Systems.
blu@mc.com
(508) 458-3100
From: dave@panda.mc.duke.edu (Dave Hoffman -- rjj)
Newsgroups: comp.sys.sun.admin
Subject: Re: Printing from Mac to Sun - NewsPrint 2.0
Date: 25 Aug 92 17:15:31 GMT
Organization: Duke University, Nuclear Medicine

In article <JC.92Aug24203720@albatross.bu.edu> jc@raven.bu.edu (James F. Cameron) writes:
>
>Question:  What is the best solution to print from the Mac to the
>           SparcPrinter?  What solutions are available in general?  
>
>           Basically, I simply want a user to choose "Print" and have
>           it sent over to the SparcPrinter without any other steps.
>           Since I am a complete novice when it comes to Macs, I am
>           asking the net for this info.
>

Here's how I do it.  It's not as simple as you'd like, but it works:

Choose "Print" from the File menu.  If you're using System 7, you select
the PostScript File radio button in the LaserWriter dialog box, then hit 
the Print button.  You will be prompted for a name for the file.  I take
the default "Postscript", in a folder called "SPARCprinter Folder."  You
will need to have a Control Panel called Trimmer (available from sumex)
in your System/Control Panels folder.  

Then, on the Sun end, I run the following script:

#! /bin/sh
# print_mac_files
echo Checking mac ...
ftp < /usr/local/bin/ftpprint > /dev/null
for file in /tmp/mac_print_queue/*
do
	if [ -f $file ]
	then
		echo Printing $file
		/usr/local/bin/macps $file | lpr
		rm -f $file
	else
		echo Nothing to Print!
	fi
done
#####################################################

######################################################
# ftpprint
open mac
prompt
cd "SPARCprinter Folder"
lcd /tmp/mac_print_queue
mget *
mdelete *
quit
#####################################################

The program macps is available on sumex as well.
I tried running print_mac_files as a cron job, but
the ftp to the mac ties up the mac, so I settled on
making the user run print_mac_files manually.  It's 
not bad if you put it on a pull-down menu.

Good luck!

-Dave
(email replies to dhoffman%lunis.dnet@lucpum.it.luc.edu)
From: wietse@wzv.win.tue.nl (Wietse Venema)
Newsgroups: comp.sys.sun.admin
Subject: Re: Sun 690MP performance problems
Date: 2 Sep 92 21:25:04 GMT
Organization: Eindhoven University of Technology, The Netherlands

feldman@comet.Tymnet.COM (Steve Feldman) writes:

>>in "D" state when the system performance gets bad.  Response time for
>>online users gets slow - people using the Gnu Emacs mhe mail package
>>wait a long time (minutes in some cases) for response to commands, "df"
>>takes up to a minute to complete, etc.

>I have seen problems similar to this on a Sparcstation 1+ which is our
>campus mail gateway and news server.  This machine gets very little
>interactive use, and the mail load is fairly light, so most of what it does
>is news processing and nntp.  It has two SCSI disks.  The symptoms sound
>remarkably similar to what you've reported, but since our machine isn't
>used as a timesharing system I haven't worried about it too much.

In this case, you are probably running up against the max number of
contexts that the hardware can handle (8-16 for the smaller sparcs, 64
or more for other models). When the number of active processes exceeds
this limit, context switches become extremely expensive and the machine
crawls to a halt.

	Wietse
Newsgroups: comp.sys.sun.admin
From: peter@merlin.acadiau.ca (Peter Steele)
Subject: Re: Sun 690MP performance problems
Organization: Acadia University
Date: Wed, 2 Sep 1992 11:09:51 GMT

>I have seen problems similar to this on a Sparcstation 1+ which is our
>campus mail gateway and news server.  This machine gets very little
>interactive use, and the mail load is fairly light, so most of what it does
>is news processing and nntp.  It has two SCSI disks.  The symptoms sound
>remarkably similar to what you've reported, but since our machine isn't
>used as a timesharing system I haven't worried about it too much.

>It has even happened even when I'm the only user logged in, but only when
>nntp is receiving news from our main feed.  I have speculated that it might
>be due to contention for the SCSI bus or the one drive which unfortunately
>has root, some swap, usr, and /var/spool/news on it.  It also seems to be
>connected to file lookups, rather than actual reads/writes.

We has the same symptoms when our mail/news server was an SLC with 8M
of memory. Now we have a 670 (dual processor, pre-super-sparc) and
there seems to be little impact on interactive users, and our news
feed comes in every 20 minutes.
--
Peter Steele        Unix Services Manager            peter.steele@acadiau.ca 
Acadia Univ., Wolfville, NS, Canada B0P 1X0  902-542-2201  Fax: 902-542-4364
From: jpeters@bbn.com (Jim Peters)
Newsgroups: comp.sys.sun.admin
Subject: Moving Sun 3/50 NFS root & swap to local disk
Date: 26 Aug 92 21:26:22 GMT
Reply-To: jpeters@bbn.com
Organization: BBN Communications (SD&S)
NNTP-Posting-Host: saavik.bbn.com

My goal is to have my 3/50 boot from the local disk and have both root and
swap local.  (/usr is done via NFS).  The current configuration is set up
to use an NFS root and a small NFS swap partition and then adds the local
swap as it mounts things.    

The NFS kernel has the config line:
	config  vmunix  root on type nfs

I have tried:
	config vmunix root on sd0a swap on type spec sd0b
and 
	config  vmunix  swap generic

The problem that I am trying to get by is having the kernel load fail with
the message Truncated file, just as it reaches the size of the old NFS
kernel.

In short here are the changes I have made:

	# mount /dev/sd0a /mnt
	# tar xpf <tar file made  on server of client's root>
	# cd dev ; MAKEDEV std &
	# sync; sync;
	# cp <newkernel> /mnt/vmunix
	# <Edit /etc/fstab to mount /dev/sd0a as root>
	# cp <server's /boot> /mnt/boot    - server is a 3/280.

    I only did this because there is no /boot in my NFS root and
    installboot will not proceed without it, it gives No such file or
    directory.  (As an aside, I'd like to understand how a local boot is
    different from a NFS one.)  Is there some way to create a /boot file?
	
	# cd /usr/mdec
	# installboot /mnt/boot bootsd /dev/rsd0a
	# sync; sync;
	# umount /mnt
	# /etc/halt
	> b -s
	Booting sd0(0,0,0).....
	<id's all the devices>
	...
	vmunix
->>	586016Truncated file
	root on sd0a
	root image: 

Note: /etc/bootparams does not exist.  The NIS bootparams file has been
changed to say root=/dev/sd0a swap=/dev/sd0b

I did this after trying to boot with the local disk with the old kernel and
noticing that it still picked up the NFS root and swap.

I am sure that I have missed some configuration steps or just have a bad
kernel config to begin with.   Any ideas?  

Thanks.

					-- Jim Peters (jpeters@bbn.com)
From: vgovers@escher.earth.ruu.nl (H.M.V.C. Govers)
Newsgroups: comp.sys.sun.admin
Subject: Format.dat for Fujitsu M2266SA .
Keywords: format.dat ; FUJITSU ; M2266SA
Date: 28 Aug 92 22:42:06 GMT
Organization: Dept. of Crystall. ; Fac. of Earth Sciences ; Univ. of Utrecht ;
                                       the Netherlands

Who can help with a format.dat for :

Fujitsu M2266SA 1.2 GB SCSI disc.

Thanks in advance.

H.M.V.C. Govers

-- 

_______________________________________________________________________________
H.M.V.C. Govers
vgovers@earth.ruu.nl
From: michaelg@samsara.tv.tek.com (Michael Gies)
Newsgroups: comp.sys.sun.admin
Subject: Backup.unet
Date: 1 Sep 92 22:18:17 GMT
Organization: Tektronix TV Products
Originator: michaelg@samsara.tv.tek.com

Howdy,
	I am interested in opinions (if any) of the backup.unet product by Systems
Center inc. which is on the cdware cd from sunsoft.  We are looking around at
different network backup tools to use in a mostly sun environment.

TIA


=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Michael Gies    Tektronix, Inc.  P.O. Box 500  MS 58-639  Beaverton, OR  97077
michaelg@tv.tv.tek.com, !tektronix!tv.tv.tek.com!michaelg Phone: (503) 627-2661
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Newsgroups: comp.sys.sun.admin
From: rmilner@zia.aoc.nrao.edu (Ruth Milner)
Subject: Re: how to determine if ypservices available
Reply-To: rmilner@zia.aoc.nrao.edu (Ruth Milner)
Organization: National Radio Astronomy Observatory, Socorro NM
Date: Tue, 25 Aug 92 18:31:45 GMT

In article <1992Aug25.121930.11832@iplmail.orl.mmc.com> chucks@iplmail.orl.mmc.com (Chuck Strickland) writes:
> Periodically we are required to set up a system as standalone to go off
> the net for various reasons. 
> [...] comes back on the net, sometimes after a couple of months, the yp maps
> a extremely out of date. Thus we have many strange problems until we realize 
> this system is on
> the net and other hosts have bound to it. Thus using outdated maps.
>
> A program that calls ypbind, if after
> a few seconds no server responds, assume you are off the net and exec
> ypserv. If a server responds, assume you are on the net and dont exec to
> ypserv and just remain a client.

If your YP master stays at the same IP address most of the time, why not use
"ping" instead? Before starting up YP, ping the address of the master (and
maybe one or two slaves as well, in case the master is down). If it answers,
you're on the net and you only want ypbind (assuming there's another server
on the same subnet, but if not you can use ypset to force the binding). If 
nothing answers, you aren't, and you start ypserv yourself.
-- 
Ruth Milner                          NRAO/VLA                  Socorro NM
Computing Division Head      rmilner@zia.aoc.nrao.edu
From: jdell@nefertiti.mit.edu (John Ellithorpe)
Newsgroups: comp.sys.sun.admin
Subject: Re: Help me with yppasswdd and 4.1.2
Date: 2 Sep 92 21:51:39 GMT
Organization: Massachusetts Institute of Technology

On Wed, 2 Sep 1992 16:27:32 GMT, kevin@rodin.wustl.edu (Kevin Ruland) said:
> Nntp-Posting-Host: rodin
>
> I can't seem to get rpc.yppasswdd to work correctly.  The symptom is:
> passwd will change the entry in the passwd input file but the make
> is not being done.   I know the make isn't being done because the
> timestamp, passwd.time, is always the old one.  My input files are in
> /var/etc (non-standard place) and I've started yppasswdd in rc.local
> with, rpc.yppasswdd /var/etc/passwd -m passwd .  The makefile in
> /var/yp works correctly by hand (that is DIR is set right).  This is
> exactly the same setup I used on my old machine running 4.1.1a.

Our server (SPARC 330) is still on SunOS 4.1, but all I did to get 
rpc.yppasswdd to work right is start it up:

/usr/etc/rpc.yppasswdd /var/etc/passwd -m passwd DIR=/var/etc

and it works fine.  I didn't have to change the Makefile in /var/yp.
This way obviously has the problem that I inadvertently go to the /var/yp
directory and type make, then it will take the passwd file in the /etc
directory, which doesn't have all the users in it.  Therefore, no users
can log on, which could be a bit of a problem ;-).  But I've just
written a very short shell script which remakes the NIS maps for me, so 
I don't have to remember little "bugs", like this, which I have created.

John
--

===============================================================================
John Ellithorpe                           | Internet: jdell@maggie.mit.edu
Dept. of Physics, Rm 26-349               | Phone   : (617) 253-3074  Office
Massachusetts Institute of Technology     |           (617) 253-3072  Lab
Cambridge, MA  02139                      |           (617) 236-4910  Home
===============================================================================
Newsgroups: comp.sys.sun.admin
From: laszlo@eclipse.cs.colorado.edu (Laszlo Nemeth)
Subject: Re: Tape Cleaning Services
Organization: University of Colorado Boulder, Pizza Disposal Group
Date: Thu, 27 Aug 1992 23:39:54 GMT

In article <3214@peking.gdwb.oz.au>, was@gdwb.oz.au (Warren Stokes) writes:
|> We have a company wishing to provide us with a tape media cleaning service.
|> They sent us the following blurb.
|> 
|> "Tape manufacturers recommend tapes be cleaned regularly as part of a 
|> preventative maintenance programme. Regular cleaning not only removes 
|> erros-causing oxide build-up and debris while restoring correct tape
|> tension, it also means that degraded tapes can be postively identified
|> and removed before they spread contamination throughout the system.
|> 
|> 	* CLEAN AND RETENSION FREQUENTLY-USED TAPES EVERY SIX MONTHS
|> 	* CLEAN AND RETENSION ALL TAPES ONCE A YEAR"


NOT!

|> My personal opinion is that it is a service that I could do without.

cleaning a tape? "hey sam got any more alcohol? i got this tape with
a bad block i need to clean"

|> Any opinions?

laz
i am not a sysadmin i only play on on the net and at my job
Newsgroups: comp.sys.sun.admin,comp.unix.admin,comp.unix.aix
From: kcasella@netcom.com (Karen Casella)
Subject: Preventative Maintenance
Date: Wed, 26 Aug 92 12:43:10 GMT
Organization: Netcom - Online Communication Services  (408 241-9760 guest) 
Summary: PM schedule tasks
Followup-To: sender
Distribution: usa
Keywords: PM schedule tasks sun ibm 


I am responsible for a network of Sun and IBM RS6K workstations and servers
and am currently working on a Preventative Maintenance plan and schedule.

What are others doing for PM on workstations and on what type of schedule?

Karen Casella
Engineering Network Support
kcasella@netcom.com
Newsgroups: comp.sys.sun.admin
From: peter@rwthi3.informatik.rwth-aachen.de (Peter Heimann)
Subject: Re: Automatic dump 0 backup, need help!
Organization: Informatik III, RWTH Aachen
Date: 27 Aug 92 13:22:22 GMT

In <13741@chalmers.se> d0bpl@dtek.chalmers.se (Patrik Larsson) writes:

>The question is: how do I tell cron to
>   1, enter single-user mode
>   2, make several dump 0's
>   3, reenter multiuser-mode and start up everything


1. Write a script /usr/local/bin/dumpscript that performs the dump
   operations.

2. Add the following to /etc/rc, after the execution of /etc/rc.single and
   the removal of /etc/ld.so.cache:
	#
	# automatic backup before multiuser startup?
	#
	if test -r /etc/do_backup ; then
	    rm -f /etc/do_backup
	    sh /usr/local/bin/dumpscript
	fi

3. Put in a tape, as root execute 
     touch /etc/do_backup ; /usr/etc/shutdown -r 22:00 " for backup"
   by hand, or put a similar line into root's crontab.

On reboot, the machine will check for the presence of /etc/do_backup. If
present, a dump will be performed before going from single- to multiuser
mode.

I have seen this idea first in a posting from 
Marc St.-Gil (mstgil@sol.acs.unt.edu) in comp.unix.admin last year.

-- Peter Heimann

Lehrstuhl fuer Informatik III        peter@rwthi3.informatik.rwth-aachen.de
RWTH Aachen

Xref: sparky comp.sys.sun.admin:5852 comp.sys.sun.hardware:4069
From: dla@se05.wg2.waii.com (Doug Acker)
Newsgroups: comp.sys.sun.admin,comp.sys.sun.hardware
Subject: Fast search on 8500 drives
Date: 26 Aug 92 14:31:33 GMT
Reply-To: acker@se01.wg2.waii.com
Followup-To: comp.sys.sun.admin
Organization: Western Geophysical Exploration Products

SunOS 4.1.2 supports the Exabyte 8500 drives ... unfortunetly, they forgot
to enable the fast search capability ....  my search time to near-EOT dropped
from 1 hr to about 50 sec ...


in /sys/scsi/targets/st_conf.c ....

Change line 126 to add:  | ST_KNOWS_EOD

[this line will have ST_VARIABLE|ST_BSF etc ...   

This is the statement about 8500 drives.  regen the kernel and install.



-- 
Douglas L. Acker

Western Geophysical Exploration Products
Systems Engineer

Email (internal):  acker                Phone:  713-964-6128
      (Internet):  acker@wg2.waii.com
Newsgroups: comp.sys.sun.admin,comp.windows.open-look
From: erwin@nioz.nl (Erwin Embsen)
Subject: Strange error message
Originator: erwin@nioz.nl
Keywords:  OW3, kernel
Organization: Nederlands Instituut voor Onderzoek der Zee (NIOZ)
Date: Thu, 3 Sep 1992 09:45:07 GMT

Hi,

This morning one of my colleagues got the following message after
running his program:

	loadmodule: /usr/sys/sun4c/OBJ/winlock-sun4c.o file does not exist
	Check your OpenWindows installation.

The program is written in FORTRAN using Sun FORTRAN 1.4, runs under OW3 and
uses SunGKS Version 4.1 to display graphics. Anyway, I am confused here
because the system complains about a 'kernel object file' and then
comes up with the message: Check your OpenWindows installation. ???
I did not know that the OpenWindows distribution had kernel files in it?!

Is there somebody who could clarify this?

Thanks,

Erwin.
-- 
Name      : Erwin Embsen                Email: erwin@nioz.nl
Department: BEWON (ERSEM Project)       Phone: +31 (0)2220 - 69424 (or 69300)
Institute : NIOZ, Texel - NL            Fax  : +31 (0)2220 - 19674
Xref: sparky comp.sys.sun.admin:6120 comp.sys.sun.apps:1822 comp.sys.sun.misc:4077 comp.sys.sun.hardware:4232 alt.sys.sun:3086 comp.lang.postscript:4569