Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* Can OSF/1 run diskless without swap configured?
@ 1995-02-04  1:19 John Birrell
  1995-02-04 22:53 ` Andrew Gallatin
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: John Birrell @ 1995-02-04  1:19 UTC (permalink / raw)


We currently have an application which deserves a portable OSF/1 work
station running multimedia software. The application is in a factory where
it is inconvenient to have to walk back to a central console containing the
work station, get the information and then walk back to the place where the
information is required. Since the system is diagnosing factory control
system problems, it is not possible to choose a convenient place to install
the system.

It occurred to me recently, as I was wheeling an AXP 3000-300X with its 19 inch
monitor around the factory, that the UPS that I was using was powerful
enough to keep the Alpha alive while it is moved near to where the problem
occurred. Because the factory floor is not smooth, I doubt that a spinning
disk drive would last long if it is subjected to the vibration that my
system was as I wheeled it around (I had the luxury of being able to power
the system down while I moved it - a luxury that the customer cannot afford
given that downtime costs them A$1000 a minute).

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



^ 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
                   ` (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-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-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-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

* 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

end of thread, other threads:[~1995-02-16 12:37 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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-15  5:13     ` Torbj|rn Lindgren
1995-02-16 12:37       ` Dave Parker
1995-02-09 20:55 ` Peter da Silva
1995-02-15  5:00 ` Torbj|rn Lindgren

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox