Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* Two advfs domains on one disk?
@ 1996-08-04  4:00 Peter A. Smode
  1996-08-04  4:00 ` Bob Harris
  1996-08-06  4:00 ` Clare West
  0 siblings, 2 replies; 4+ messages in thread
From: Peter A. Smode @ 1996-08-04  4:00 UTC (permalink / raw)



Hello,

I am an old VMS hand still getting used to Digital Unix, so please, forgive my
ignorance (at least a little:) ).

I have an Alpha running DU 3.2D with a single RZ26 factory partitioned. By
following the instructions in the online docs, I have successfully converted
the factory installed UFS partitions (/ and /usr) to ADVFS.

Reading more of the docs, they suggest that one should have all the file
systems on a sinlge disk in the same domain in order to improve performance.
Unfortunately, my procedures have left me with the following /etc/fstab:

	/dev/rz0b       swap1   ufs sw 0 2
	root_domain#root / advfs rw 1 1
	/proc           /proc   procfs rw 0 0
	usr_domain#usr  /usr advfs rw

Should I move the root and usr file systems into a single domain (since
everything is living on the same disk)? Is is possible to do this with some
mkdir and link "slight-of-hand" or some other mechanism that does not involve
complete backup/restore? What resources am I burning up with two domains in
this environment?

Thanks
-- Peter
************************************************************************
*   Peter Smode                 E-mail:    psmode@jeslacs.bc.ca        *
*   JES Library Automation      Voice:     (604)939-6775               *
*   Coquitlam, BC, CANADA       Fax:       (604)939-5427               *
************************************************************************



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Two advfs domains on one disk?
  1996-08-04  4:00 Two advfs domains on one disk? Peter A. Smode
@ 1996-08-04  4:00 ` Bob Harris
  1996-08-06  4:00 ` Clare West
  1 sibling, 0 replies; 4+ messages in thread
From: Bob Harris @ 1996-08-04  4:00 UTC (permalink / raw)



In article <1996Aug4.133535@jeslacs>, psmode@jeslacs.bc.ca (Peter A.
Smode) wrote:

> I have an Alpha running DU 3.2D with a single RZ26 factory partitioned. By
> following the instructions in the online docs, I have successfully converted
> the factory installed UFS partitions (/ and /usr) to ADVFS.
> 
> Reading more of the docs, they suggest that one should have all the file
> systems on a sinlge disk in the same domain in order to improve performance.
> Unfortunately, my procedures have left me with the following /etc/fstab:
> 
>         /dev/rz0b       swap1   ufs sw 0 2
>         root_domain#root / advfs rw 1 1
>         /proc           /proc   procfs rw 0 0
>         usr_domain#usr  /usr advfs rw
> 
> Should I move the root and usr file systems into a single domain (since
> everything is living on the same disk)? Is is possible to do this with some
> mkdir and link "slight-of-hand" or some other mechanism that does not involve
> complete backup/restore? What resources am I burning up with two domains in
> this environment?

The root partition contains very little that is used extensivily during
normal operation.  Mostly it contains files needed to boot the system and
either mount points for other file systems or symbolic links to other file
systems.

In this case I think it would be better to keep things the way they are. 
If you are adding additional disks, you might consider keeping them in the
same domain (which could be part of the usr_domain if you desire.

I would also suggest adding a file set to the usr_domain for "tmp" and
then adding that to your fstab and mounting it on the /tmp mount point. 
This way all your temporary files will not land of the limited space of
the root partition.

-- 
                                      Bob Harris

I don't get to tell me what to do, I only get to tell me how to do it.
The opinions expressed are my own and do not represent Digital Equipment Corporation



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Two advfs domains on one disk?
  1996-08-04  4:00 Two advfs domains on one disk? Peter A. Smode
  1996-08-04  4:00 ` Bob Harris
@ 1996-08-06  4:00 ` Clare West
  1996-08-09  4:00   ` PAUL D. CHAPIN
  1 sibling, 1 reply; 4+ messages in thread
From: Clare West @ 1996-08-06  4:00 UTC (permalink / raw)



psmode@jeslacs.bc.ca (Peter A. Smode) writes:

> Reading more of the docs, they suggest that one should have all the file
> systems on a sinlge disk in the same domain in order to improve performance.
> Unfortunately, my procedures have left me with the following /etc/fstab:

> 	/dev/rz0b       swap1   ufs sw 0 2
> 	root_domain#root / advfs rw 1 1
> 	/proc           /proc   procfs rw 0 0
> 	usr_domain#usr  /usr advfs rw

As far as I am aware the docs need to make it clearer that you can't
put two file systems in the root domain. This is what the manual page
for mkfdmn says under the -r option:

       -r   Specifies the file domain as the  root  domain.  This
            prevents  multiple volumes in the root domain.  AdvFS
            supports only one volume in the root domain.

I have multiple domains on one disk with no problems. I think I take a
small performance hit from this but otherwise it's fine. /proc isn't a
real domain so don't worry about it. I think you need swap to be on its
own partition but it doesn't need to be on the same disk as your root
domain although that is the default.

the docs are obviously inadequate as this question comes up a lot both
here and on the osf-managers list

clare

--
clare@cs.auckland.ac.nz                              OWotRFA
http://clare.cs.auckland.ac.nz/
Thinking of Maud you forget everything else.  -- hack v1.0.3
Who was that Maud person anyway?  -- nethack v3.1.0



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Two advfs domains on one disk?
  1996-08-06  4:00 ` Clare West
@ 1996-08-09  4:00   ` PAUL D. CHAPIN
  0 siblings, 0 replies; 4+ messages in thread
From: PAUL D. CHAPIN @ 1996-08-09  4:00 UTC (permalink / raw)



Clare West (clare@cs.auckland.ac.nz) wrote:
: psmode@jeslacs.bc.ca (Peter A. Smode) writes:

: > Reading more of the docs, they suggest that one should have all the file
: > systems on a sinlge disk in the same domain in order to improve performance.
: > Unfortunately, my procedures have left me with the following /etc/fstab:

: > 	/dev/rz0b       swap1   ufs sw 0 2
: > 	root_domain#root / advfs rw 1 1
: > 	/proc           /proc   procfs rw 0 0
: > 	usr_domain#usr  /usr advfs rw

: As far as I am aware the docs need to make it clearer that you can't
: put two file systems in the root domain. This is what the manual page
: for mkfdmn says under the -r option:

:        -r   Specifies the file domain as the  root  domain.  This
:             prevents  multiple volumes in the root domain.  AdvFS
:             supports only one volume in the root domain.

I think this is actually saying that you can't have multiple
partitions in the root domain.  

--


Paul Chapin
Unix Systems Manager
Amherst College




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~1996-08-09  4:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-08-04  4:00 Two advfs domains on one disk? Peter A. Smode
1996-08-04  4:00 ` Bob Harris
1996-08-06  4:00 ` Clare West
1996-08-09  4:00   ` PAUL D. CHAPIN

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