From: "Robert L. Millner" <rmillner@nrao.edu>
To: axp-list@redhat.com
Subject: Re: fsck.nfs???
Date: Wed, 24 Jun 1998 23:00:26 -0400 (EDT) [thread overview]
Message-ID: <199806250300.XAA07748@pongo.cv.nrao.edu> (raw)
In-Reply-To: Your message of Fri, July 24, 1998 17:31:06 -0400
Hello Keith,
Keith> Ok... I have both of the last numbers as 0's... Fsck seems to
Keith> insist that it be checked anyhow! What do I need to do? I do
How exactly have you configured this system? Could you post your fstab
and tell us what you are really trying to do?
Keith> "hard,intr,nodev" in fstab instead I think it is what ever the
Keith> standard fstab would have for /... What exactly do these
Hard means that the system should not not bail out on operations of NFS
accesses time out. I usually set it for nfs mounts in fstab and make
automounted filesystems "soft". The "intr" flag means that you can kill
a program waiting on IO and it will abort the system call. Nodev means
that no device files are allowed. Its a good idea for nfs mounted
filesystems that mere mortals have the ability to change.
The stock RedHat install is not good meat for a diskless system (/
mounted via NFS). I have done this before with RedHat as a base and it
takes some fiddling and a few ramdisks (along with the initrd) to really
do it well. The startup script /etc/rc.d/rc.sysinit explicitly checks
/ and must be changed. You'll need an initrd which includes all of
/dev.
Keith> Which parts of the filesystem can be shared accross many remote
Keith> machines?
You can share the whole thing if you are treacherous. What I had setup
was based on RedHat 4.2 and had symlinks into /initrd and /tmp. The
initrd filesystem was mounted at boot and it setup the system for an
NFS, read only root. The /tmp filesystem was made out of a second
ramdisk (make a 4MB dd of /dev/zero, put an FS on it and compress is one
way) and any files that needed to be RW were created in there from a set
of tarballs sitting in /boot. The initrd had /dev, mounted /proc and
shared some of the writable files. This lends itself well to supporting
an arbitrary number of clients but costs client memory.
You can make /usr shared read-only far more simply then setting up a
diskless system. You need /lib for running the system startup scripts.
You may be able to get away with having most of /lib symlinked out of
/usr but there are libs you'll need to get the system up (like glibc
which is needed for /bin/mount unless you recompile static versions).
Keith> How exactly can I do this remotely... I know I shouldn't sym link these
Keith> directories into each exported root filesystem... do I have to make
Keith> sepreate mount points?
You would need to make a mount point for /usr if you plan on mounting
anything there. You can use a symlink if you'd prefer to mount the
directory somewhere else.
If you are operating in the mode of a separate read-write NFS mounted /
per machine then you can share /usr separately and mount it in place
from fstab.
Keith> Also... What shutdown order whould the machine have? By default
Keith> redhat blows up because it shuts off nfs and networking... How
Keith> can I shut down the system when the steps involve shutting down
Keith> the filesystem which tell it how to continue shutting down?!?!
I forget off hand what `umount -a -t nfs` will do to the kernel's NFS
root but like I said before, the stock RedHat is not good meat for a
totally diskless system without modifications. You need a kernel with
NFS root support compiled in to make this work so check the one you are
using.
Are you sure that the time involved in setting this up would be worth
more than the disks cost and the time to setup kickstart to re-install
as necessary?
Rob
next prev parent reply other threads:[~1998-06-25 3:00 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-07-24 5:27 fsck.nfs??? Keith Baker
1998-06-24 9:05 ` fsck.nfs??? Maciej W. Rozycki
1998-06-24 9:11 ` fsck.nfs??? David Alan Gilbert
1998-06-24 9:38 ` fsck.nfs??? Maciej W. Rozycki
1998-06-24 13:58 ` fsck.nfs??? Robert L. Millner
1998-07-24 21:31 ` fsck.nfs??? Keith Baker
1998-06-25 1:33 ` fsck.nfs??? Maciej W. Rozycki
1998-06-25 3:00 ` Robert L. Millner [this message]
1998-07-07 16:24 ` poll(2) Francesco Callari
1998-07-07 21:46 ` poll(2) Uncle George
1998-07-07 23:20 ` poll(2) Quant-X Alpha Linux Support
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox