* Re: Can OSF/1 run diskless without swap configured?
1995-02-04 1:19 Can OSF/1 run diskless without swap configured? John Birrell
@ 1995-02-04 22:53 ` Andrew Gallatin
1995-02-09 19:11 ` George Chaltas
` (2 subsequent siblings)
3 siblings, 0 replies; 8+ messages in thread
From: Andrew Gallatin @ 1995-02-04 22:53 UTC (permalink / raw)
In article <3guknb$dk3@werple.mira.net.au>,
John Birrell <jb@werple.mira.net.au> wrote:
>
>If I had my way, I'd boot the workstation from a server using bootp, but
>prevent the operating system from trying to swap by installing enough
>memory for the application we are running. For data files, the system
>would talk to the server and we could make the software tolerant of
>being disconnected from the network while it is moved. We doubt that a
>standard diskless configuration that swaps across the network would
>tolerate the network going away. We need to hide the network recovery
>from the users.
>
>Does anyone know if this is possible with DEC OSF/1 V3.0? Any
>assistance would be greatly appreciated.
I know that the ris installation kernel is booted via bootp. I've
hacked up an installation process to custom-install multiple
workstations using the ris stuff as a basis.
I'd assume you'd want a kernel that gets boots via bootp, doesn't
swap, and gets its / and /usr via NFS. I don't think this is possible.
The root filesystem is hardcoded into the ris kernel as a memory
filesystem, and it probably wouldn't be useful for what you want to
do.
As far as I know, its not possible to compile your own kernel to boot
via bootp, but I don't have all the documentation to say so for sure.
If you make progress, please let me know..
Drew
##############################################################################
# Andrew Gallatin, Computer Project Manager #
# Institute of Statistics and Decision Sciences #
# Box 90251, Duke University, Durham, NC 27708-0251 #
##############################################################################
^ permalink raw reply [flat|nested] 8+ messages in thread* Re: Can OSF/1 run diskless without swap configured?
1995-02-04 1:19 Can OSF/1 run diskless without swap configured? John Birrell
1995-02-04 22:53 ` Andrew Gallatin
@ 1995-02-09 19:11 ` George Chaltas
1995-02-10 12:41 ` Dave Parker
1995-02-09 20:55 ` Peter da Silva
1995-02-15 5:00 ` Torbj|rn Lindgren
3 siblings, 1 reply; 8+ messages in thread
From: George Chaltas @ 1995-02-09 19:11 UTC (permalink / raw)
jb@werple.mira.net.au (John Birrell) wrote:
> ...
> ...
> If I had my way, I'd boot the workstation from a server using bootp, but
> prevent the operating system from trying to swap by installing enough
> memory for the application we are running. For data files, the system
> would talk to the server and we could make the software tolerant of
> being disconnected from the network while it is moved. We doubt that a
> standard diskless configuration that swaps across the network would
> tolerate the network going away. We need to hide the network recovery
> from the users.
>
> Does anyone know if this is possible with DEC OSF/1 V3.0? Any
> assistance would be greatly appreciated.
>
> Thanks in advance.
>
> John Birrell
> CIMlogic Pty Ltd
>
I'm not sure about booting diskless, but it is certainly possible
to run DEC OSF/1 V3.0 without any swapfile. I'm writing this reply
on a system configured that way. The only gotcha is that the system
must have enough memory so that it *never* tries to page out. If it
does, processes will start dying and your system may crash.
To run like this, you must do two things:
1) Remove all swap entries from /etc/fstab
2) Remove the file link /etc/swapdefault
The change will take effect when the system boots. I can't think
of anyway to make the standard system installation scripts do
this -- they insist on having at least one swap partition.
Just 'cause I work for Digital doesn't mean that this is a supported
configuration; as far as I know the system documentation doesn't
even mention it.
George Chaltas
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Can OSF/1 run diskless without swap configured?
1995-02-09 19:11 ` George Chaltas
@ 1995-02-10 12:41 ` Dave Parker
1995-02-15 5:13 ` Torbj|rn Lindgren
0 siblings, 1 reply; 8+ messages in thread
From: Dave Parker @ 1995-02-10 12:41 UTC (permalink / raw)
In article <3hdpcj$7bf@mrnews.mro.dec.com>, George Chaltas <chaltas@fluid.mro.dec.com> writes:
|>
|>jb@werple.mira.net.au (John Birrell) wrote:
|>> ...
|>> ...
|>> If I had my way, I'd boot the workstation from a server using bootp, but
|>> prevent the operating system from trying to swap by installing enough
|>> memory for the application we are running. For data files, the system
|>> would talk to the server and we could make the software tolerant of
|>> being disconnected from the network while it is moved. We doubt that a
|>> standard diskless configuration that swaps across the network would
|>> tolerate the network going away. We need to hide the network recovery
|>> from the users.
|>>
|>> ...
|>>
|>I'm not sure about booting diskless, but it is certainly possible
|>to run DEC OSF/1 V3.0 without any swapfile. I'm writing this reply
|>on a system configured that way. The only gotcha is that the system
|>must have enough memory so that it *never* tries to page out. If it
|>does, processes will start dying and your system may crash.
|>
|>To run like this, you must do two things:
|> 1) Remove all swap entries from /etc/fstab
|> 2) Remove the file link /etc/swapdefault
|>
|>The change will take effect when the system boots. I can't think
|>of anyway to make the standard system installation scripts do
|>this -- they insist on having at least one swap partition.
|>Just 'cause I work for Digital doesn't mean that this is a supported
|>configuration; as far as I know the system documentation doesn't
|>even mention it.
|>
|> George Chaltas
|>
The dataless configuration supported by DEC OSF/1 Version 3.0 uses a local disk
for swapping while having the other file systems remotely served. It may be
appropriate for what you want to do.
Dave
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Can OSF/1 run diskless without swap configured?
1995-02-10 12:41 ` Dave Parker
@ 1995-02-15 5:13 ` Torbj|rn Lindgren
1995-02-16 12:37 ` Dave Parker
0 siblings, 1 reply; 8+ messages in thread
From: Torbj|rn Lindgren @ 1995-02-15 5:13 UTC (permalink / raw)
In article <3hfmts$gh6@jac.zko.dec.com>,
Dave Parker <djp@peewee.unx.dec.com> wrote:
>The dataless configuration supported by DEC OSF/1 Version 3.0 uses a local disk
>for swapping while having the other file systems remotely served. It may be
The swapping ought to be cured if you remove /sbin/swapdefault from
the root filesystem it uses. Without that file, and no swap
filesystems in /etc/fstab it shouldn't swap at all (if you exceed the
memory available it will start killing processes, but...).
Does it get the root filesystem from ethernet too? (seems likely)
Can you modify the root filesystem? (if not, stupid design!)
If the answer is Yes to both these queries then it shouldn't be that
hard to do a truly diskless system under OSF/1 3.0 (if you have a lot
of main memory). If you then add remote swapping you get real diskless
machines :)
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Can OSF/1 run diskless without swap configured?
1995-02-15 5:13 ` Torbj|rn Lindgren
@ 1995-02-16 12:37 ` Dave Parker
0 siblings, 0 replies; 8+ messages in thread
From: Dave Parker @ 1995-02-16 12:37 UTC (permalink / raw)
In article <3hs2hi$mkk@nyheter.chalmers.se>, tl@ae.chalmers.se (Torbj|rn Lindgren) writes:
|>In article <3hfmts$gh6@jac.zko.dec.com>,
|>Dave Parker <djp@peewee.unx.dec.com> wrote:
|>>The dataless configuration supported by DEC OSF/1 Version 3.0 uses a local disk
|>>for swapping while having the other file systems remotely served. It may be
|>
|>The swapping ought to be cured if you remove /sbin/swapdefault from
|>the root filesystem it uses. Without that file, and no swap
|>filesystems in /etc/fstab it shouldn't swap at all (if you exceed the
|>memory available it will start killing processes, but...).
|>
Yup. This is true in any configuration.
|>Does it get the root filesystem from ethernet too? (seems likely)
|>Can you modify the root filesystem? (if not, stupid design!)
|>
Yes to the first question. If the second question is about root being
writable by the client, then the answer is yes.
|>If the answer is Yes to both these queries then it shouldn't be that
|>hard to do a truly diskless system under OSF/1 3.0 (if you have a lot
|>of main memory). If you then add remote swapping you get real diskless
|>machines :)
2/3 of the work is done. However, there is no support for swapping remotely
at this time - so real diskless isn't possible. :-(
Dave
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Can OSF/1 run diskless without swap configured?
1995-02-04 1:19 Can OSF/1 run diskless without swap configured? John Birrell
1995-02-04 22:53 ` Andrew Gallatin
1995-02-09 19:11 ` George Chaltas
@ 1995-02-09 20:55 ` Peter da Silva
1995-02-15 5:00 ` Torbj|rn Lindgren
3 siblings, 0 replies; 8+ messages in thread
From: Peter da Silva @ 1995-02-09 20:55 UTC (permalink / raw)
This sounds like a job for an X-terminal to me. There are X-terminals with
audio support now, and they have no disk drives. X applications can be set
up to continue where they left off when the terminal is reconnected.
--
Peter da Silva `-_-'
Network Management Technology Incorporated 'U`
1601 Industrial Blvd. Sugar Land, TX 77478 USA
+1 713 274 5180 "Hast du Heute schon deinen Wolf umarmt?"
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Can OSF/1 run diskless without swap configured?
1995-02-04 1:19 Can OSF/1 run diskless without swap configured? John Birrell
` (2 preceding siblings ...)
1995-02-09 20:55 ` Peter da Silva
@ 1995-02-15 5:00 ` Torbj|rn Lindgren
3 siblings, 0 replies; 8+ messages in thread
From: Torbj|rn Lindgren @ 1995-02-15 5:00 UTC (permalink / raw)
In article <3guknb$dk3@werple.mira.net.au>,
John Birrell <jb@werple.mira.net.au> wrote:
>standard diskless configuration that swaps across the network would
>tolerate the network going away. We need to hide the network recovery
>from the users.
>
>Does anyone know if this is possible with DEC OSF/1 V3.0? Any
>assistance would be greatly appreciated.
I *do* know that it is possible to this kind of things using DEC OSF/1
2.x, so it ought to be possible using 3.0. In fact, it's probably far
easier to do it under 3.0, since you don't have to reinvent those
parts that DEC didn't deliver/support with 2.0.
A friend of mine did this for 2.0 (the aim was to do seamless network
install, just boot against the ethernet and it does the rest for you).
My memory of this is a bit hazy, but I think the main thing that was
needed under OSF/1 2.x was a virtual memory filesystem (a custom
device-drive, fairly small) used for the root filesystem and some
changes in the boot-scripts in OSF/1 2.x (to make OSF/1 2.x able to
data-less boot, there is a file describing this and I have seen an
article somewhere too)
It ought to be easier to do this using 3.0 than 2.x, since 3.0
supports use of a remote /usr. I don't know if you can supply a custom
root-filesystem (RIS seems to be able to do this, but it's possible
that it isn't provide so other can use it), but it should be possible
to use the same kind of memory filesystem otherwise.
^ permalink raw reply [flat|nested] 8+ messages in thread