Le 26/04/2018 à 09:40, Stuart Henderson a écrit :
On 2018-04-25, MImoza <open...@zhext.tk> wrote:
I have swapped out hardware (cable, HDD, port), re-created the RAID from
scratch, but at each time the Thosiba HDD is offline at reboot.
I don't think it's hardware incompatibility because with 6.2 everything
was Ok.
I think it's software, because the rebuilding doesn't work at all
without any warning or error.
What happens if you boot a 6.2 kernel? (Just copy it to / and select
it at the boot loader).
Hi Stuart,
Thanks for your help.
Well i downloaded the 6.2 kernel here :
https://mirrors.ircam.fr/pub/OpenBSD/6.2/i386/
renamed it as bsd_62, copy in / and boot with the following commande :
> boot bsd_62
And nothing change …
softraid0 at root
scsibus4 at softraid0: 256 targets
sd4 at scsibus4 targ 1 lun 0: <OPENBSD, SR RAID 1, 006> SCSI2 0/direct fixed
sd4: 30098MB, 512 bytes/sector, 61640890 sectors
softraid0: trying to bring up sd5 degraded
sd5 at scsibus4 targ 2 lun 0: <OPENBSD, SR RAID 1, 006> SCSI2 0/direct fixed
sd5: 1907728MB, 512 bytes/sector, 3907028640 sectors
When i try a rebuilding :
$ bioctl -R /dev/sd2a sd5
softraid0: rebuild of sd5 started on sd2a
$ bioctl sd5
Volume Status Size Device
softraid0 1 Degraded 2000398663680 sd5 RAID1
0 Offline 2000398663680 1:0.0 noencl <sd2a>
1 Online 2000398663680 1:1.0 noencl <sd3a>
I have try with MP kernel too, but with the same result.
I don't know if is important but the faulty HDD have some bad sector.