Re: ZFS RAIDZ2 and wd uncorrectable data error - why does ZFS not notice the hardware error?

2021-07-17 Thread Michael van Elst
g...@lexort.com (Greg Troxel) writes: >Ah, interesting point. I find this confusing, because I thought an >uncorrectable read error would, for disks I've dealt with, cause the >sector to be marked as permanently failed and pending reallocation. It is. Doesn't mean that further read attempts

Re: ZFS RAIDZ2 and wd uncorrectable data error - why does ZFS not notice the hardware error?

2021-07-17 Thread Greg Troxel
Mr Roooster writes: > The wd driver is retrying, (IIRC it retries 3 times) and suceeding on > the second or 3rd attempt. (See xfer 338, retry 0, followed by a 'soft > error corrected' with the same xfer number 10 seconds later. This is > the retry suceeding). Ah, interesting point. I find

Re: backspace in wscons console sends ^H to processes

2021-07-17 Thread Michael van Elst
bl...@internode.on.net (Brett Lymn) writes: >On Sat, Jul 17, 2021 at 11:29:09AM -, Michael van Elst wrote: >> >> With >> stty erase '^?' >> you tell it to 'backspace' when receiving 0x7f. >> >> This is what you see when running 'cat'. >> >> >This seems to have changed some time. I

Re: ZFS RAIDZ2 and wd uncorrectable data error - why does ZFS not notice the hardware error?

2021-07-17 Thread Brad Spencer
Mr Roooster writes: [snip] > The wd driver is retrying, (IIRC it retries 3 times) and suceeding on > the second or 3rd attempt. (See xfer 338, retry 0, followed by a 'soft > error corrected' with the same xfer number 10 seconds later. This is > the retry suceeding). > > This sits below ZFS and

Re: ZFS RAIDZ2 and wd uncorrectable data error - why does ZFS not notice the hardware error?

2021-07-17 Thread Mr Roooster
On Wed, 14 Jul 2021 at 12:07, Matthias Petermann wrote: > > Hello all, > > > ``` > [ 87240.313853] wd2: (uncorrectable data error) > [ 87240.313853] wd2d: error reading fsbn 5707914328 of > 5707914328-5707914455 (wd2 bn 5707914328; cn 5662613 tn 6 sn 46) > [ 87465.637977] wd2d: error reading fsbn

Re: backspace in wscons console sends ^H to processes

2021-07-17 Thread Brett Lymn
On Sat, Jul 17, 2021 at 11:29:09AM -, Michael van Elst wrote: > > With > stty erase '^?' > you tell it to 'backspace' when receiving 0x7f. > > This is what you see when running 'cat'. > > This seems to have changed some time. I have noticed after updating recently that I have to do

Re: ZFS RAIDZ2 and wd uncorrectable data error - why does ZFS not notice the hardware error?

2021-07-17 Thread Michael van Elst
m...@petermann-it.de (Matthias Petermann) writes: >wedges at boot time unnecessarily endangers the RAID in the event of a=20 >disk change. Therefore the question: is there a better possibility=20 >besides using the wedges? I remember that I had also tried the variant=20 >with the label

Re: cgd + zfs

2021-07-17 Thread Michael van Elst
a...@absd.org (David Brownlee) writes: >zfs is setup to use wedges via /dev/wedges and then adjusted >rc.d/devpubd to run _before_ zfs, so I have stable zfs devices if >anything renumbers on reboot Since the standard devpubd hooks now run without /usr, we could make this official. There is no

Re: cgd + zfs

2021-07-17 Thread Brad Spencer
Greg Troxel writes: > Brad Spencer writes: > >>> I'm now thinking, would it make sense to do the layering the other >>> way around, i.e. have cgd on top of a zvol? I wonder if there would >>> be any resilience (and possibly performance) advantage to having zfs >>> directly access the hard

Re: backspace in wscons console sends ^H to processes

2021-07-17 Thread Michael van Elst
p...@bydasein.com ("Paul W. Rankin") writes: >I have a problem with my backspace key in wscons console (vt220 >emulated); backspace appears to send ^H, which is correctly interpreted >by the line editor, but not by child processes, e.g. > $ cat > hello wold^H^Hrld >My assumption is

backspace in wscons console sends ^H to processes

2021-07-17 Thread Paul W. Rankin
Hello, I have a problem with my backspace key in wscons console (vt220 emulated); backspace appears to send ^H, which is correctly interpreted by the line editor, but not by child processes, e.g. $ cat hello wold^H^Hrld My assumption is this can be fixed by remapping the keycode the

Re: ZFS RAIDZ2 and wd uncorrectable data error - why does ZFS not notice the hardware error?

2021-07-17 Thread Matthias Petermann
Hello together, The story is slowly coming to a conclusion and I would like to describe my observations for the sake of completeness. According to [1], SATA/ATA on NetBSD does not support hot swap. Therefore, I shut down the NAS and swapped the disk in a powerless state. I installed the