Subject: Re: Disklabel
To: None <jason@logical.thought.net>
From: None <brandon+00000001@powertie.org>
List: port-pmax
Date: 06/27/1997 22:40:18
On Sat, 28 Jun 1997, jason@logical.thought.net wrote:
> I'm having a hard time getting disklabels installed on my 1.2E pmax. My
> userland (at least disklabel) is more of less -current.
>
> I'm using the following disk info:
[snip]
> I'm getting (from /sbin/disklabel -r -R rz1c proto)
> disklabel: ioctl DIOCSDINFO: Open partition would move or shrink
>
> While this entry is suboptimal, it should work with disk (A Maxtor
> 290). I've had this problem before and can't for the life of me
> figure out how I got around it *sigh*.
The answer is more simple than it is obvious. I spent a few nights on
this one before I figured it out. Here's my original post from
November (aren't there archives somewhere?):
----------------------------------------------------------------------
Date: Wed, 27 Nov 1996 17:32:23 PST
From: Brandon Browning <brandon@nwnet.net>
Cc: port-pmax@NetBSD.ORG
Subject: Re: (Fwd) Re: how to disklabel a RZ58 ???
[snip]
> disklabel: ioctl DIOCSDINFO: Open partition would move or shrink
Heh... spent two nights on this one setting up my machine. The
solution is easier than it seems.
1) 'disklabel -e -r /dev/rrz2c' & add a partition 'a' (doesn't matter
how big). Save it.
2) 'disklabel -e -r /dev/rrz2a' <-- this is the critical line. Notice
that the "open" partition is now _a_. Modify your c partition to your
hearts content. Save it.
3) 'disklabel -e -r /dev/rrz2c' <-- add your other partitions.
----------------------------------------------------------------------
HTH,
--
Brandon M. Browning ~ Powertie Software
Mail brandon+pgp for public PGP key c[] Powered by Linux 2 & NetBSD
The man who sets out to carry a cat by its tail learns something that
will always be useful and which never will grow dim or doubtful.
-- Mark Twain