On 2019-11-27 11:23, Kihaguru Gathura wrote: > Hi, > > An error while deleting softraid device follows > > ---------------------------------------------------------------------------------------------------------------------- > Available disks are: sd0 sd1 sd2. > Which disk is the root disk? ('?' for details) [sd0] ? > sd0: FUJITSU, MAT3073N SUN72G, 0602 > serial.FUJITSU_MAT3073N_SUN72G_000506B00RAR_AAN0P5200RAR (68.4G) > sd1: FUJITSU, MAT3073N SUN72G, 0602 > serial.FUJITSU_MAT3073N_SUN72G_000506B00SSL_AAN0P5200SSL (68.4G) > sd2: OPENBSD, SR RAID 1, 006 (68.4G) > Available disks are: sd0 sd1 sd2. > Which disk is the root disk? ('?' for details) [sd0] ! > Type 'exit' to return to install. > www# bioctl -d sd2 > bioctl: Can't locate sd2 device via /dev/bio > ------------------------------------------------------------------------------------------------------------------------ > > The aim is to remove the device from the system and then: > > # dd if=/dev/zero of=/dev/rsd0c bs=1m count=1 > # dd if=/dev/zero of=/dev/rsd1c bs=1m count=1 > > to reuse the disks. > > Thanks, > > Kihaguru >
The install kernels have very minimal disk support. In the case of amd64/i386, it's one wd device -- wd0, not sure about sparc64, but I'd bet a cheap lunch that sd2 is not there. :) After booting your install kernel, do this: # cd /dev # sh MAKEDEV sd0 sd1 sd2 or whatever you need to accomplish your task at hand. NOW you will be able to do what you wish. Yes, the installer script does this for you. And yes, this is a common issue regardless of platform. Nick.