From: System Administrator <sysadmin () homer ! bus ! miami ! edu>
To: tru64-unix-managers
Subject: SUMMARY: Rewriting Disk Labels
Date: Sat, 27 Jan 1996 03:40:15 +0000 [thread overview]
Message-ID: <96076327921517.tru64-unix-managers.marc@archive.invalid> (raw)
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@nabeth.cxo.dec.com
Andrew Brennan <BRENNAN@HAL.HAHNEMANN.EDU>
"Donald L. Ritchey" <dritchey@chipsi.com>
Martin Moore <martin@jerry.alf.dec.com>
Simon Tardell <tardell@particle.kth.se>
"Kris Chandrasekhar @ALF" <chandrasek@odixie.ENET.dec.com>
"Dr. Tom Blinn, 603-881-0646" <tpb@zk3.dec.com>
Louis Bouchard - Decylog <bouchard_l@decus.fr>
ron_barrett@corp.cubic.com
"Paul E. Rockwell" <rockwell@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@homer.bus.miami.edu
| igor@cs.cs.miami.edu
University Of Miami |
School of Business |
=-----------------------+--------------------------------------=
reply other threads:[~1996-01-27 3:40 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox