From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10872d,ded6cbba07e31c8 X-Google-Attributes: gid10872d,public X-Google-Thread: 10d752,ded6cbba07e31c8 X-Google-Attributes: gid10d752,public X-Google-Thread: 1070f0,ded6cbba07e31c8 X-Google-Attributes: gid1070f0,public X-Google-Thread: 1020c6,b879e608413f8ad8 X-Google-Attributes: gid1020c6,public X-Google-Thread: 1122ea,ded6cbba07e31c8 X-Google-Attributes: gid1122ea,public X-Google-Thread: fee84,ded6cbba07e31c8 X-Google-Attributes: gidfee84,public X-Google-Thread: 115614,ded6cbba07e31c8 X-Google-Attributes: gid115614,public X-Google-Thread: 10ddbc,ded6cbba07e31c8 X-Google-Attributes: gid10ddbc,public X-Google-ArrivalTime: 1995-02-26 22:58:46 PST Newsgroups: comp.unix.admin,comp.unix.osf.osf1,comp.sys.sun.admin,comp.sys.sgi.admin,comp.sys.hp.hardware,comp.unix.aix,comp.sys.next.sysadmin,biz.sco.general,comp.os.linux.admin Path: nntp.gmd.de!newsserver.jvnc.net!darwin.sura.net!convex!news.duke.edu!news.mathworks.com!panix!bloom-beacon.mit.edu!world!bzs From: bzs@world.std.com (Barry Shein) Subject: Re: Opinions wanted: HP vs SGI vs SUN In-Reply-To: olson@anchor.engr.sgi.com's message of 25 Feb 1995 21:00:05 GMT Message-ID: Sender: bzs@world.std.com (Barry Shein) Organization: The World References: <94122858192@microserve.com> <3i5odn$gc0@rugch4.chem.rug.nl> <3iarfd$c03@ra.nrl.navy.mil> <3ic4ue$oht@fido.asd.sgi.com> <3ig2uc$b7v@sol.ctr.columbia.edu> <3ijv1t$rl5@gazette.engr.sgi.com> <3ilnf7$nq@heidelberg.rutgers.edu> <3io5ol$kmu@gazette.engr.sgi.com> Date: Mon, 27 Feb 1995 06:58:46 GMT Xref: nntp.gmd.de comp.unix.admin:26044 comp.unix.osf.osf1:7957 comp.sys.sun.admin:50406 comp.sys.sgi.admin:16453 comp.sys.hp.hardware:7069 comp.unix.aix:49010 comp.sys.next.sysadmin:18540 biz.sco.general:27172 comp.os.linux.admin:27227 From: olson@anchor.engr.sgi.com (Dave Olson) >hedrick@heidelberg.rutgers.edu (Chuck Hedrick) writes: >| I think there used to be one good argument: You wanted root to be as >| small as possible to minimize the probability that the file system >| would be messed up in a crash. Traditionally root had enough files > >I don't buy this. All the OS/filesystem bugs I've seen that would cause >a whole filesystem to be trashed are completely independent of the number >of files or the size; it's true that most of them (but not all!) are >related to the amount of activity, but even more than that, the type >of filesystem activity. > >I think most unix systems have been robust against this kind of issue >for a number of years now; that is, the size of the root filesystem isn't >likely to affect whether it will come up single user or not. I've had the misfortune of a system refusing to come up because the passwd file was gone, probably being modified when the system crashed and that was that. It was usually in /lost+found but you can't even get into single user to fix that w/o one, we now have a check in our boot scripts which copies in minimal passwd, group and shadow files if any aren't found. You don't need much trashed to have a hassle on your hands. I think it's fair to say that a possibly laudable goal is that / and perhaps /usr should ideally be mountable read only and the few files that must change should be symlinks pointing elsewhere. Or at least / should be, in theory, mountable read-only. This won't avoid the disappearing passwd (&c) file syndrome since it just moves it somewhere else and the same thing could happen on that file sys but it would help stabilize things. I'll guess that's roughly what Chuck Hedrick is getting at (btw, as a recommendation, on a scale of 1-10 on understanding system design issues I'd give Chuck an 11, he's been known as a bright light in the systems community for decades.) Also, a common problem of a root partition filling up is the passwd or similar file being truncated or trashed. Not all utilities check carefully enough. -- -Barry Shein Software Tool & Die | bzs@world.std.com | uunet!world!bzs Purveyors to the Trade | Voice: 617-739-0202 | Login: 617-739-WRLD