On Thursday, November 28, 2019, Kihaguru Gathura <pqscr...@gmail.com> wrote: > > > > www# bioctl sd2 displays the raid but www# bioctl -d sd2 does not delete the raid. > > > > On Thursday, November 28, 2019, Kihaguru Gathura <pqscr...@gmail.com> wrote: >> >> >> On Thursday, November 28, 2019, Nick Holland <n...@holland-consulting.net> wrote: >>> 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. :) >>> >> >> sd2 exists and www# bioctl sd2 displays the mirror. >> >> > www# bioctl sd2 displays the raid but www# bioctl -d sd2 does not delete the raid. > Meanwhile done # dd if=/dev/zero of=/dev/rsd2c bs=1m count=1 and reused the raid device.
Kihaguru.