From: niko@iastate.edu (Nikolaus E Schuessler)
Subject: Re: why can't I repartition a not-in-use disk?
Date: Tue, 14 Dec 1993 00:13:06 GMT [thread overview]
Message-ID: <CI00Lu.BGL@news.iastate.edu> (raw)
In-Reply-To: CHF74G.KBH@helios.physics.utoronto.ca
>
>However, when I try to use "disklabel" to rewrite the partition table, here's
>what happens:
>
> CARIBOU> disklabel -e -r rz9
> [ make my changes to partition table ]
> write new label? [y]: y
> disklabel: ioctl DIOCSDINFO: Open partition would move or shrink
> Use alternate partition
> re-edit the label? [y]:
>
>What's going on? What's with the reference to an "open partition"? Opened
>by what?
>
This took me a while to figure out ... I had this problem when
changing the a partition on the boot disk. I had to mop boot (across
the network) to get it fixed ...
It seems the mere existance of the device file in /dev can cause
the device to be "open". Since it seems your disks are external,
i'd boot into single user mode, delete /dev/rz9[abdefgh], do
the disklabel thing, and re MAKEDEV the devices.
>And, given that disklabel doesn't want to let me write the new label to my
>not-in-use disk, how *can* I repartition it? Will I have to boot from the
>distribution CD? As usual, many TIA ...
If the above suggestion doesn't work, you will prolly need to boot
from the distribution CD:
* chose system maintenance mode
* cd /dev
* MAKEDEV rz9
* rm rz9[abdefgh]
* disklabel
* halt and reboot
--
Niko Schuessler
Project Vincent Systems Manager email: niko@iastate.edu
Iowa State University Computation Center voice: (515) 294-1672
Ames IA 50011 snail: 291 Durham
next prev parent reply other threads:[~1993-12-14 0:13 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
1993-12-02 18:24 why can't I repartition a not-in-use disk? Mark Bartelt
1993-12-14 0:13 ` Nikolaus E Schuessler [this message]
1993-12-21 22:14 ` J Lee Jaap
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