tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* SUMMARY: Rewriting Disk Labels
@ 1996-01-27  3:40 System Administrator
  0 siblings, 0 replies; only message in thread
From: System Administrator @ 1996-01-27  3:40 UTC (permalink / raw)
  To: tru64-unix-managers

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     |
=-----------------------+--------------------------------------=       

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1996-01-27  3:40 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-01-27  3:40 SUMMARY: Rewriting Disk Labels System Administrator

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