Remote system directories

Kevin D. Kinsey, DaleCo, S.P. kdk at daleco.biz
Mon Dec 20 21:13:52 PST 2004


Andrew P. wrote:

> Hello!
>
> I've got a freebsd box with a 2Gb hard drive and a server with a lot 
> of free space. I want
> to make use of nfs and let the "small" box mount most of its 
> directories in read-write mode from
> the server. What directories are safe to be moved to a remote 
> location? The idea is that should
> the server go down, the box must still be bootable and accessible via 
> ssh.
>
> I've read hier manual page, but it doesn't go deep into how bad the 
> system need each
> directory at startup - and how heavy access is to each folder during 
> normal operation.
>
> Can the system boot into multi-user mode in case /usr fails to mount?


I'd say "no" to that last; not.without some modifications (and I 
wouldn't care
to speculate on the advisability of that).  Here's the first obvious 
problem I see:

[642] Mon 20.Dec.2004 23:09:16    [kadmin at archangel][/home/kadmin]
 ps -aux | grep tty
root   68398  0.0  0.1  1408  600  p5  R+   11:09PM   0:00.00 grep tty
root     682  0.0  0.0  1280   12  v0  Is+  Wed12PM   0:00.00 
/usr/libexec/getty Pc ttyv0
root     683  0.0  0.0  1280   12  v1  Is+  Wed12PM   0:00.00 
/usr/libexec/getty Pc ttyv1
root     684  0.0  0.0  1280   12  v2  Is+  Wed12PM   0:00.00 
/usr/libexec/getty Pc ttyv2
root     685  0.0  0.0  1280   12  v3  Is+  Wed12PM   0:00.00 
/usr/libexec/getty Pc ttyv3
root     686  0.0  0.0  1280   12  v4  Is+  Wed12PM   0:00.00 
/usr/libexec/getty Pc ttyv4
root     687  0.0  0.0  1280   12  v5  Is+  Wed12PM   0:00.00 
/usr/libexec/getty Pc ttyv5
root     688  0.0  0.0  1280   12  v6  Is+  Wed12PM   0:00.00 
/usr/libexec/getty Pc ttyv6
root     689  0.0  0.0  1280   12  v7  Is+  Wed12PM   0:00.00 
/usr/libexec/getty Pc ttyv7

No tty's are available without /usr ....

Kevin Kinsey


More information about the freebsd-questions mailing list