Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* disklabel -e two-step?
@ 1997-06-05  4:00 Robert Lowe
  1997-06-06  4:00 ` Bob Harris
  0 siblings, 1 reply; 2+ messages in thread
From: Robert Lowe @ 1997-06-05  4:00 UTC (permalink / raw)



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'???

-Robert



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: disklabel -e two-step?
  1997-06-05  4:00 disklabel -e two-step? Robert Lowe
@ 1997-06-06  4:00 ` Bob Harris
  0 siblings, 0 replies; 2+ messages in thread
From: Bob Harris @ 1997-06-06  4:00 UTC (permalink / raw)



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.



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1997-06-06  4:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-06-05  4:00 disklabel -e two-step? Robert Lowe
1997-06-06  4:00 ` Bob Harris

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