SUMMARY: multi-volume usr_domain bad idea

From: Ellen Davis <daviser_at_email.uc.edu>
Date: Mon, 14 Sep 1998 09:11:01 -0400

Thanks to all who replied:

"Dr. Tom Blinn, 603-884-0646" <tpb_at_doctor.zk3.dec.com>
Roger Picard <Roger.Picard_at_digital.com>
Tom Webster <webster_at_ssdpdc.lgb.cal.boeing.com>
Brenden Phillips <B.C.Phillips_at_massey.ac.nz>
Lars Bro <lbr_at_dksin.dk>
Dejan Muhamedagic <dejan_at_yunix.co.yu>

Original questoin:
>I have an AlphaServer 1000A running DU4.0D patch kit #1.
>
>I recently was talking to DEC software support about an issue on my system.
> During the discussion, it came out that the way I set up usr_domain may
>cause problems. Multiple volumes on usr_domain is not a good idea. The
>addvol command is in /usr, so if there was a problem and a need to restore,
>the second volume would not be able to be added.
>
>Therefore, I would like to seperate the 2 volumes into seperate domains.
>usr_domain currently consists of rz0g and rz3g. I'd like usr_domain on
>rz0g and local_domain on rz3g. I figure the below command should do the
>trick. Is there anything I am missing or should be aware of?
>
>vdump -D /usr/local -f /work/local.dump
>rm -r /usr/local
>rmvol /dev/rz3g usr_domain
>mkfdmn -x 2048 -p 2048 /dev/rz3g local_domain
>mount /dev/rz3g /usr/local
>cd /usr/local
>vrestore -f/work/local.dump
>(edit fstab to reflect changes)
>

Dr. Blinn noted "If you boot from the installation media, then you should
be able to get to
the AdvFS software and restore enough of it to use commands like "addvol"."
 So perhaps it is not as critical to only have one volume on /usr as I had
first thought.

It seems I missed a couple of steps. Here is the revised list of commands.

 vdump -D /usr/local -f /work/local.dump
 (verify the dump)
 rm -r /usr/local (or rm -rf /usr/local)
 mkdir /usr/local
 chown root.system /usr/local
 chmod 0775 /usr/local
 rmvol /dev/rz3g usr_domain
 mkfdmn -x 2048 -p 2048 /dev/rz3g local_domain
 mkfset local_domain local
 mount -t advfs local_domain#local /usr/local
 cd /usr/local
 vrestore -f /work/local.dump
 (edit fstab to reflect changes)


 Ellen Davis
 Ellen.Davis_at_uc.edu
Received on Mon Sep 14 1998 - 13:10:33 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:38 NZDT