Re: Getting "Boot error" after replacing a disk in softraid

2024-04-27 Thread obsdml
a bit late, but fwiw - I have 7.5 on an optiplex 990 on SSD, no issues. Not quite a 980, but I honestly doubt that this matters given my experience on these boxes. (I also have 7.5 on a 960, and have had it on a 955 and 945. There’s nothing special about the Dells that I have and booting

Re: Getting "Boot error" after replacing a disk in softraid [SOLVED]

2024-04-26 Thread Stuart Henderson
On 2024-04-25, Chris Petrik wrote: > Remember softraid isn't the same as hw raid and I will always chose hw over > soft this includes zfs. There are advantages and disadvantages for both. e.g. a software setup with multiple disk controllers can, if there's support for data error detection[1],

Re: Getting "Boot error" after replacing a disk in softraid [SOLVED]

2024-04-25 Thread Martin
> Hello, > > Remember softraid isn't the same as hw raid and I will always chose hw over > soft this includes zfs. > > Chris I am sorry, but what relevance does your personal preferences have to anything regarding this issue? FWIW, I have seen more than one example of some really crappy

Re: Getting "Boot error" after replacing a disk in softraid [SOLVED]

2024-04-25 Thread Chris Petrik
Hello, Remember softraid isn't the same as hw raid and I will always chose hw over soft this includes zfs. Chris Sent from Proton Mail Android Original Message On 4/25/24 3:14 PM, Martin wrote: > > On Thu, Apr 25, 2024 at 09:12:47AM +0200, Stefan Sperling wrote: > > >

Re: Getting "Boot error" after replacing a disk in softraid [SOLVED]

2024-04-25 Thread Martin
> On Thu, Apr 25, 2024 at 09:12:47AM +0200, Stefan Sperling wrote: > > > I checked, the softraid manual page already has an example installboot > > invocation in EXAMPLES, which should be clear enough. > > > Regardless, I've tweaked the wording a bit. Hopefully more clear now. Indeed :) Thank

Re: Getting "Boot error" after replacing a disk in softraid [SOLVED]

2024-04-25 Thread Stefan Sperling
On Thu, Apr 25, 2024 at 09:12:47AM +0200, Stefan Sperling wrote: > I checked, the softraid manual page already has an example installboot > invocation in EXAMPLES, which should be clear enough. Regardless, I've tweaked the wording a bit. Hopefully more clear now.

Re: Getting "Boot error" after replacing a disk in softraid [SOLVED]

2024-04-25 Thread Stefan Sperling
On Thu, Apr 25, 2024 at 03:27:29AM +, Martin wrote: > I eventually found out what was going on. > > The FreeBSD boot problem was not related at all. > > Long story short and for future reference, installboot needs > to be run on the softraid volume, NOT on the physical disk. And this > has

Re: Getting "Boot error" after replacing a disk in softraid [SOLVED]

2024-04-24 Thread Martin
I eventually found out what was going on. The FreeBSD boot problem was not related at all. Long story short and for future reference, installboot needs to be run on the softraid volume, NOT on the physical disk. And this has to be repeated after a softraid volume rebuild in order for the new

Re: Getting "Boot error" after replacing a disk in softraid

2024-04-24 Thread Mihai Popescu
> That seems... unusual. Do you have an (old) IDE compatibility option turned > on in > the BIOS? I would have expected it to attach via AHCI: > sd0 at scsibus1 targ 2 lun 0:

Re: Getting "Boot error" after replacing a disk in softraid

2024-04-24 Thread Joseph Olatt
On Tue, Apr 23, 2024 at 08:26:40PM -0500, Brian Conway wrote: > > wd0 at pciide0 channel 0 drive 0: > > That seems... unusual. Do you have an (old) IDE compatibility option turned > on in the BIOS? I would have expected it to attach via AHCI: > > sd0 at scsibus1 targ 2 lun 0: >

Re: Getting "Boot error" after replacing a disk in softraid

2024-04-24 Thread Stuart Henderson
On 2024-04-24, Brian Conway wrote: >> wd0 at pciide0 channel 0 drive 0: > > That seems... unusual. Do you have an (old) IDE compatibility option turned > on in the BIOS? I would have expected it to attach via AHCI: Optiplex 980 is from ~2010, similar age to the HP N54L microserver etc. Disks

Re: Getting "Boot error" after replacing a disk in softraid

2024-04-23 Thread Martin
> RAID replicates the data in the RAIDed area, yes? > > Do you have some reason to believe that the boot information (MBR, etc) is > _inside_ the RAID area, because I do not believe that. Really feels like > installboot needs to be run on this drive to, uh, install the proper boot > info. > >

Re: Getting "Boot error" after replacing a disk in softraid

2024-04-23 Thread Brian Conway
> wd0 at pciide0 channel 0 drive 0: That seems... unusual. Do you have an (old) IDE compatibility option turned on in the BIOS? I would have expected it to attach via AHCI: sd0 at scsibus1 targ 2 lun 0: naa.5002538e304456ac Brian Conway

Re: Getting "Boot error" after replacing a disk in softraid

2024-04-23 Thread Philip Guenther
RAID replicates the data in the RAIDed area, yes? Do you have some reason to believe that the boot information (MBR, etc) is _inside_ the RAID area, because I do not believe that. Really feels like installboot needs to be run on this drive to, uh, install the proper boot info. Philip Guenther

Re: Getting "Boot error" after replacing a disk in softraid

2024-04-23 Thread Martin
> FWIW, my current desktop which is a Dell OptiPlex 745 is booting off an SSD. > > joji@surya$ dmesg | grep -iE "optiplex|Samsung" > bios0: Dell Inc. OptiPlex 745 > wd0 at pciide0 channel 0 drive 0: > > > joji@surya$ uname -a > OpenBSD surya 7.5 GENERIC.MP#82 amd64 > > Don't know if your

Re: Getting "Boot error" after replacing a disk in softraid

2024-04-23 Thread Joseph Olatt
On Tue, Apr 23, 2024 at 09:08:26PM +, Martin wrote: > Turns out this machine, for some reason, simply cannot boot of SSDs with > neither OpenBSD or FreeBSD on the box. Only spinning drives work. > > It's an old Dell Inc. OptiPlex 980. > > I suspect there is some issue with the BIOS of the

Re: Getting "Boot error" after replacing a disk in softraid

2024-04-23 Thread Martin
Turns out this machine, for some reason, simply cannot boot of SSDs with neither OpenBSD or FreeBSD on the box. Only spinning drives work. It's an old Dell Inc. OptiPlex 980. I suspect there is some issue with the BIOS of the machine and the BSD bootloaders as Linux with GRUB works on SSDs.

Re: Getting "Boot error" after replacing a disk in softraid

2024-04-23 Thread iio7
Also, if I boot from a USB stick, with only the new SSD attached, the softraid is registered as degraded (as the other old disk is missing), so it has been populated, and the partition is also marked with an asterisk for boot, but I still cannot boot from that drive.

Re: Getting "Boot error" after replacing a disk in softraid

2024-04-23 Thread iio7
> I suspect this error comes from your BIOS/UEFI rather than the OpenBSD > boot loader. Did you check how boot drives are configured in firmware? I already tested that by moving the new disk to another box and boot it from that, unfortunately I get the same error.

Re: Getting "Boot error" after replacing a disk in softraid

2024-04-23 Thread Stefan Sperling
On Tue, Apr 23, 2024 at 12:51:41AM +, i...@protonmail.com wrote: > I have a softraid mirror setup with two old spinning disks. I have detached > one of the disks from the mirror and attached a new SSD. I then wanted to > rebuild the mirror, using one old spinning drive and the new SSD, and

Getting "Boot error" after replacing a disk in softraid

2024-04-22 Thread iio7
I have a softraid mirror setup with two old spinning disks. I have detached one of the disks from the mirror and attached a new SSD. I then wanted to rebuild the mirror, using one old spinning drive and the new SSD, and then afterwards, remove the old spinning drive and replace with yet another