tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: Paul LaMadeleine <plamadeleine () lightbridge ! com>
To: tru64-unix-managers
Subject: SUMMARY: question on disklabel
Date: Mon, 05 Nov 2001 17:23:40 +0000	[thread overview]
Message-ID: <102653643321604.tru64-unix-managers.marc@archive.invalid> (raw)

Fantastic,

         Ok, the problem I had was that I referencing the "C" partition in 
the commands.  To do things like I was trying, you have to reference the 
"A" partition:

                 disklabel -r -e /dev/rdisk/dsk26a

         Once I did that, it worked.

         However, I better way was pointed out to me by most people:

                 disklabel -s -F /dev/rdisk/dsk26a unused

         The "-F" flag was needed in this case as the partition was already 
tagged as not "unused" (ie - raw).

         It was also suggested to zero out the label using "disklabel -z 
/dev/rdisk/dsk26a"

         Thanks to: Dr. Thomas P. Blinn, John Farmer, Dermot Paikkos, 
Selden E. Ball, Jr., Brandon Malli, Manish Soni, Jason Neil, Olle Eriksson, 
Oisin McGuinness, Alan Davis and anyone else who might respond after I send 
this.

         thanks,

         Paul


At 09:52 AM 11/5/01 -0500, Paul LaMadeleine wrote:
>Greetings,
>
>         I'm trying to edit the disklabel on a disk.  I know I've done 
> this before without an issue, but now the edit's I make don't seem to be 
> sticking.  what I'm doing is:
>
>         1)  disklabel -r /dev/rdisk/dsk26c
>         2)  The "C" partition is currently set to raw, I want it to be 
> unused so I can add it into and ADVFS domain
>         3)  disklabel -r -e /dev/rdisk/dsk26c
>                 3a)  once in vi, I change "raw" to "unused" for the "C" 
> partition
>                 3b)  save and quit
>         4)  disklabel -r /dev/rdisk/dsk26c
>         5)  I notice that the changes I made did not work.
>
>         What am I missing?
>
>         thanks,
>
>         Paul
>

                 reply	other threads:[~2001-11-05 17:23 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