Re: ZFS server has gone crazy slow

2020-04-12 Thread Chris Ross
> On Apr 12, 2020, at 01:48, Eugene Grosbein wrote: > > There is very simple way to prevent such problem, use: zfs set reservation=1G > for single "root" file system of the pool. > > This way ZFS won't allow applications to fill the pool to the point it starts > crawling. > Instead, writing a

make kernel ignore broken SATA disk

2020-04-12 Thread Stefan Bethke
I have a server I don't have physical access to right now, which has a broken SATA disk that produces mostly errors (but not entirely). The disk has two partitions that are part of a zpool each. I can't bring the system up with this disk being online, because ZFS is trying its darndest to use i

Re: make kernel ignore broken SATA disk

2020-04-12 Thread Eugene Grosbein
12.04.2020 21:37, Stefan Bethke wrote: > I have a server I don't have physical access to right now, which has a broken > SATA disk that produces mostly errors (but not entirely). > > The disk has two partitions that are part of a zpool each. I can't bring the > system up with this disk being on

Re: make kernel ignore broken SATA disk

2020-04-12 Thread Stefan Bethke
> Am 12.04.2020 um 16:45 schrieb Eugene Grosbein : > > 12.04.2020 21:37, Stefan Bethke wrote: > >> I have a server I don't have physical access to right now, which has a >> broken SATA disk that produces mostly errors (but not entirely). >> >> The disk has two partitions that are part of a zp

Re: make kernel ignore broken SATA disk

2020-04-12 Thread Slawa Olhovchenkov
On Sun, Apr 12, 2020 at 04:37:06PM +0200, Stefan Bethke wrote: > I have a server I don't have physical access to right now, which has a broken > SATA disk that produces mostly errors (but not entirely). > > The disk has two partitions that are part of a zpool each. I can't bring the > system up

Re: make kernel ignore broken SATA disk

2020-04-12 Thread Stefan Bethke
Am 12.04.2020 um 17:43 schrieb Slawa Olhovchenkov : > > On Sun, Apr 12, 2020 at 04:37:06PM +0200, Stefan Bethke wrote: > >> I have a server I don't have physical access to right now, which has a >> broken SATA disk that produces mostly errors (but not entirely). >> >> The disk has two partition

Re: make kernel ignore broken SATA disk

2020-04-12 Thread Eugene Grosbein
12.04.2020 21:57, Stefan Bethke wrote: >>> Is there a way, ideally in the loader, to tell the kernel to ignore ada1 >>> and/or ahcich5? Or can I force ZFS some other way to ignore the disk? I do >>> have a spare disk I can use to replace the failed one, but I can't get the >>> machine into a st

Re: make kernel ignore broken SATA disk

2020-04-12 Thread Slawa Olhovchenkov
On Sun, Apr 12, 2020 at 06:24:09PM +0200, Stefan Bethke wrote: > Am 12.04.2020 um 17:43 schrieb Slawa Olhovchenkov : > > > > On Sun, Apr 12, 2020 at 04:37:06PM +0200, Stefan Bethke wrote: > > > >> I have a server I don't have physical access to right now, which has a > >> broken SATA disk that

Re: make kernel ignore broken SATA disk

2020-04-12 Thread Stefan Bethke
Am 12.04.2020 um 18:29 schrieb Eugene Grosbein : > > 12.04.2020 21:57, Stefan Bethke wrote: > Is there a way, ideally in the loader, to tell the kernel to ignore ada1 and/or ahcich5? Or can I force ZFS some other way to ignore the disk? I do have a spare disk I can use to replace

Re: make kernel ignore broken SATA disk

2020-04-12 Thread Stefan Bethke
> Am 12.04.2020 um 18:31 schrieb Slawa Olhovchenkov : > > On Sun, Apr 12, 2020 at 06:24:09PM +0200, Stefan Bethke wrote: > >> Am 12.04.2020 um 17:43 schrieb Slawa Olhovchenkov : >>> >>> On Sun, Apr 12, 2020 at 04:37:06PM +0200, Stefan Bethke wrote: >>> I have a server I don't have physic

Re: make kernel ignore broken SATA disk

2020-04-12 Thread Ian Lepore
On Sun, 2020-04-12 at 16:37 +0200, Stefan Bethke wrote: > I have a server I don't have physical access to right now, which has > a broken SATA disk that produces mostly errors (but not entirely). > > The disk has two partitions that are part of a zpool each. I can't > bring the system up with this

Re: make kernel ignore broken SATA disk

2020-04-12 Thread Slawa Olhovchenkov
On Sun, Apr 12, 2020 at 06:38:10PM +0200, Stefan Bethke wrote: > > > > Am 12.04.2020 um 18:31 schrieb Slawa Olhovchenkov : > > > > On Sun, Apr 12, 2020 at 06:24:09PM +0200, Stefan Bethke wrote: > > > >> Am 12.04.2020 um 17:43 schrieb Slawa Olhovchenkov : > >>> > >>> On Sun, Apr 12, 2020 at 04

Re: make kernel ignore broken SATA disk

2020-04-12 Thread Stefan Bethke
Am 12.04.2020 um 19:03 schrieb Slawa Olhovchenkov : > > On Sun, Apr 12, 2020 at 06:38:10PM +0200, Stefan Bethke wrote: > >> >> >>> Am 12.04.2020 um 18:31 schrieb Slawa Olhovchenkov : >>> >>> On Sun, Apr 12, 2020 at 06:24:09PM +0200, Stefan Bethke wrote: >>> Am 12.04.2020 um 17:43 schrieb

Re: make kernel ignore broken SATA disk

2020-04-12 Thread Stefan Bethke
Am 12.04.2020 um 18:53 schrieb Ian Lepore : > > On Sun, 2020-04-12 at 16:37 +0200, Stefan Bethke wrote: >> I have a server I don't have physical access to right now, which has >> a broken SATA disk that produces mostly errors (but not entirely). >> >> The disk has two partitions that are part of

Re: make kernel ignore broken SATA disk

2020-04-12 Thread Steven Hartland
On 12/04/2020 18:08, Stefan Bethke wrote: Am 12.04.2020 um 19:03 schrieb Slawa Olhovchenkov : Now I can't boot into single user mode anymore, ZFS just waits forever, and the kernel is printing an endless chain of SATA error messages. I really need a way to remove the broken disk before ZFS tri

Re: make kernel ignore broken SATA disk

2020-04-12 Thread Eugene Grosbein
12.04.2020 23:30, Stefan Bethke пишет: > Am 12.04.2020 um 18:29 schrieb Eugene Grosbein >: >> >> 12.04.2020 21:57, Stefan Bethke wrote: >> > Is there a way, ideally in the loader, to tell the kernel to ignore ada1 > and/or ahcich5? Or can I force ZFS some other

Re: make kernel ignore broken SATA disk

2020-04-12 Thread Stefan Bethke
Am 12.04.2020 um 19:24 schrieb Eugene Grosbein : > > Try something like this at loader prompt: > > set hint.ahcich.5.disabled=1 Thank you, that did the trick! Stefan -- Stefan BethkeFon +49 151 14070811 signature.asc Description: Message signed with OpenPGP

Re: make kernel ignore broken SATA disk

2020-04-12 Thread Slawa Olhovchenkov
On Sun, Apr 12, 2020 at 07:08:06PM +0200, Stefan Bethke wrote: > Am 12.04.2020 um 19:03 schrieb Slawa Olhovchenkov : > > > > On Sun, Apr 12, 2020 at 06:38:10PM +0200, Stefan Bethke wrote: > > > >> > >> > >>> Am 12.04.2020 um 18:31 schrieb Slawa Olhovchenkov : > >>> > >>> On Sun, Apr 12, 2020

Re: make kernel ignore broken SATA disk

2020-04-12 Thread Warner Losh
Boot single user. Zfs won't import and you can do what you need. Warner On Sun, Apr 12, 2020, 8:37 AM Stefan Bethke wrote: > I have a server I don't have physical access to right now, which has a > broken SATA disk that produces mostly errors (but not entirely). > > The disk has two partitions

Re: make kernel ignore broken SATA disk

2020-04-12 Thread Chris
On Sun, 12 Apr 2020 16:37:06 +0200 Stefan Bethke s...@lassitu.de said I have a server I don't have physical access to right now, which has a broken SATA disk that produces mostly errors (but not entirely). The disk has two partitions that are part of a zpool each. I can't bring the system up wi

Re: make kernel ignore broken SATA disk

2020-04-12 Thread Stefan Bethke
Am 12.04.2020 um 19:59 schrieb Warner Losh : > > Boot single user. Zfs won't import and you can do what you need. Not if you have root on ZFS, and it's on the affected pool. Stefan -- Stefan BethkeFon +49 151 14070811 signature.asc Description: Message signed with OpenPGP

Re: make kernel ignore broken SATA disk

2020-04-12 Thread Stefan Bethke
Am 12.04.2020 um 20:44 schrieb Chris : > > On Sun, 12 Apr 2020 16:37:06 +0200 Stefan Bethke s...@lassitu.de said > >> I have a server I don't have physical access to right now, which has a broken >> SATA disk that produces mostly errors (but not entirely). >> The disk has two partitions that are

Re: make kernel ignore broken SATA disk

2020-04-12 Thread Oscar Carlsson via freebsd-stable
Steven Hartland writes: Might be a silly suggestion but unplug it? Quoting the first message: I have a server I don't have physical access to right now, which has a broken SATA disk that produces mostly errors (but not entirely). :( Oscar ___

FreeBSD Quarterly Status Report - First Quarter 2020

2020-04-12 Thread Lorenzo Salvadore
FreeBSD Project Quarterly Status Report - First Quarter 2020 Introduction Welcome, to the quarterly reports, of the future! Well, at least the first quarterly report from 2020. The new timeline, mentioned in the last few reports, still holds, which brings us to this report, which cover