Booting an installation CD and trying to remove previously created softraid partition may end up with the following error:
disklabel: ioctl DIOCWDINFO: Open partition would move or shrink disklabel: unable to write label
Continue to resolve this issue…
The problem is that the device nodes are not created automatically by default after the installation CD boots. Here is how to create them manually.
# cd /dev # sh MAKEDEV sd0 # sh MAKEDEV sd1 # continue for as many nodes as necessary...
Now, it is possible to detach a
sdX softraid0 partition:
# bioctl -d sdX
And finally, to edit the disklabel of disk
# disklabel -E sdY d a d b continue for as many partitions as necessary...
That’s it 🙂