My original question was concerning being able to modify the size of the
root partition. I got a number of excellent replies. Thanks goes to:
alan_at_nabeth.cxo.dec.com
Andrew Brennan <BRENNAN_at_HAL.HAHNEMANN.EDU>
"Donald L. Ritchey" <dritchey_at_chipsi.com>
Martin Moore <martin_at_jerry.alf.dec.com>
Simon Tardell <tardell_at_particle.kth.se>
"Kris Chandrasekhar _at_ALF" <chandrasek_at_odixie.ENET.dec.com>
"Dr. Tom Blinn, 603-881-0646" <tpb_at_zk3.dec.com>
Louis Bouchard - Decylog <bouchard_l_at_decus.fr>
ron_barrett_at_corp.cubic.com
"Paul E. Rockwell" <rockwell_at_rch.dec.com>
Basically, to be able to edit partition A, starting in Stand-Alone mode
is required. Command: disklabel -e -r /dev/rrz0c (instead of A) can now
be used to modify the size of the root partition. To be able to increase
the size of the root partition I needed to add a couple of megs to A, set
partition B (I use it for swap) to its current size minus what I added
to A, and set the offset for B to size of A. Then I rebuild
the root domain:
mkfdmn rz26 /dev/rz0a root_domain
Then to create the fileset:
mkfset root_domain root
Mount newly created partition:
mkdir -p /etc/fdmns/root_domain
ln -s /dev/rz0a /etc/fdmns/root_domain/rz0a
mount root_domain#root /mnt
Then to restore previously backed up root domain:
restore -x -D /mnt
After rebooting the system, everything works prefectly fine..
As a side-effect it gets rid of the overgrown quota.user files :)
=-----------------------+--------------------------------------=
Igor Natanzon | Office Phone : 284-1771
System Administrator | E-Mail: sysadmin_at_homer.bus.miami.edu
| igor_at_cs.cs.miami.edu
University Of Miami |
School of Business |
=-----------------------+--------------------------------------=
Received on Sat Jan 27 1996 - 04:54:55 NZDT