I've got a small RAID0 array set up using softraid.  I've rebuilt it a
few times after unexpected shutdowns.  This time the manual rebuild is
giving an error.

        # bioctl -C forcec -c 0 -l /dev/sd0a,/dev/sd1a, \
                    /dev/sd2a,/dev/sd3a -R sd4 softraid0
        softraid0: disk c074c7f7-b3e2-42eb-ad97-3123886499f2 is
        currently in use; can't force create bioctl:
        BIOCCREATERAID: Invalid argument

     # bioctl -q sd4
     sd4: <OPENBSD, SR RAID 0, 003>, serial OPENBSD SR RAID 0 003

I am at a loss as to the next steps.

/Lars


The individual components seem OK, here's one:

 # fdisk sd0
 Disk: sd0       geometry: 498/255/63 [8011774 Sectors]
 Offset: 0       Signature: 0xAA55
            Starting         Ending         LBA Info:
 #: id   C  H  S -    C   H  S [start:      size ]
 ---------------------------------------------------------------
 0: 00   0  0  0 -    0   0  0 [    0:         0 ] unused
 1: 00   0  0  0 -    0   0  0 [    0:         0 ] unused
 2: 00   0  0  0 -    0   0  0 [    0:         0 ] unused
*3: A6   0  1  1 -  497 254 63 [   63:   8000307 ] OpenBSD

        # disklabel sd0
        # /dev/rsd0c:
        type: SCSI
        disk: SCSI disk
        label: TS4GJFT3
        flags:
        bytes/sector: 512
        sectors/track: 63
        tracks/cylinder: 255
        sectors/cylinder: 16065
        cylinders: 498
        total sectors: 8011774
        rpm: 3600
        interleave: 1
        boundstart: 63
        boundend: 8000370
        drivedata: 0
        
        16 partitions:
        #                size           offset  fstype [fsize bsize     cpg]
          a:          8000307               63    RAID
          c:          8011774                0  unused

Reply via email to