From: harris@zk3.dec.com (Bob Harris)
Subject: Re: disklabel -e two-step?
Date: 1997/06/06 [thread overview]
Message-ID: <harris-ya023680000606971325480001@usenet.pa.dec.com> (raw)
In-Reply-To: 33977B28.2B5134A2@lawrence.no.spam.edu
In article <33977B28.2B5134A2@lawrence.no.spam.edu>, Robert Lowe
<Robert.H.Lowe@lawrence.no.spam.edu> wrote:
>I just have opportunity to use disklabel under 4.0B. Curiously enough,
>when changing partitions that were previously in use, one must now edit
>the disklabel **twice** -- once to mark the parition as 'unused' and a
>second time to change size and/or offset. If you attempt to do this
>all in one edit, writing the label fails with the complaint that the
>parition is in use. I don't remember this being the case with v3.2.
>Can someone else confirm this, or better yet, tell me why the need
>for the 'two-step'???
I did a little more research, and someone at work pointed out the Digital
UNIX V4.0 AdvFS Admin Guide. Under trouble shooting there is a section
called "Recovering from Failure of the Root Domain". It explicitly
mentions booting from the CD-ROM. It says to just do the normal stuff
MAKEDEV rz1 # or whatever the disk device is
MAKEDEV tz1 # or whatever the backup device is
disklabel -rw advfs rrz1a # or whatever the boot disk really is
mkfdmn -r /dev/rz1a root_domain # or whatever the boot disk really is
mkfset root_domain root
mount root_domain#root /mnt
cd /mnt
vrestore -x -D .
The manual doesn't say, but someone else said that the CD-ROM boot system
knows you will need to create devices and modify some /etc/fdmns stuff so
it mounts a memory file system for those functions.
Try it and see. What could it hurt.
--
Bob Harris
"I don't get to tell me what to do, I only get to tell me how to do it."
Comments expressed here are my own and _NOT_ those of my employer.
prev parent reply other threads:[~1997-06-06 4:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1997-06-05 4:00 disklabel -e two-step? Robert Lowe
1997-06-06 4:00 ` Bob Harris [this message]
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