tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* Cannot change disklabel of unmounted root disk
@ 1997-07-31 12:58 Joseph P. Perez
  0 siblings, 0 replies; only message in thread
From: Joseph P. Perez @ 1997-07-31 12:58 UTC (permalink / raw)
  To: tru64-unix-managers

Hello all,

I have read pertinent mail here concerning "disklabel" usage, but still
cannot update the disklabel on my root rz1 drive.  My rz1 disk layout is
such:  a = root, b = usr, g = swap, h = data. I am basically trying to
increase my root parition, and am using regular UFS (4.2BSD) fstypes.  To
do this I need to shrink the size of the adjacent partition, namely b, or
"usr". Here is what I have done to try and accomplish this:

1.  Perform complete system backup.

2.  Boot from 4.0a install CD-ROM and set my TERM and EDITOR variables
appropiately, making sure root rz1 disk is not mounted.

3.  "disklabel -e /dev/rrz1a", then make changes to label info for 'b'.

- I get the following error message when I try to save the new label info: 

"Partition 'b' is in-use; Cannot modify its size or location"

4.  I then try disklabel on the alternate "c" partition, which encompasses
the entire disk, but is marked as "unused" (first had to "MAKEDEV rz1" to
create special file for rrz1c)

"disklabel -e /dev/rrz1c", then make changes to label

- I still get the following error message when trying to save the new
label info:

"Partition 'b' is in-use; Cannot modify its size or location"

I have even tried setting the fstype to "unused" for the affected
partitions while in disklabel edit mode, but still am not allowed to
change the label upon exiting from disklabel. I have also tried to change
SIZE/ OFFSET/ FSTYPE params for my "h" or data partition which does not
contain any os-specific files, but no luck there also. I still get the
"Partition 'x' is in-use; Cannot modify its zise or location" error
message, where 'x' is the partition I am trying to modify. 

What am I missing?  Any help will be appreciated.


Thanks Again,

- Joseph

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

only message in thread, other threads:[~1997-07-31 12:58 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-07-31 12:58 Cannot change disklabel of unmounted root disk Joseph P. Perez

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