Re: OpenBSD softraid can do scrub, hotspare, hotswap? How do rebuild + those 3 really done? (Absence of docs and howtos - ultimate Q!)

2016-02-21 Thread Patrick Dohman
Another feature to look for is spin down of the dedicated hot spare. Go Vikings :) Patrick > On Feb 21, 2016, at 7:23 AM, Marcus MERIGHI wrote: > > ti...@openmailbox.org (Tinker), 2016.02.20 (Sat) 21:05 (CET): >> So glad to understand better what's in the box. >> >> Also please note that I'm not

Re: OpenBSD softraid can do scrub, hotspare, hotswap? How do rebuild + those 3 really done? (Absence of docs and howtos - ultimate Q!)

2016-02-21 Thread Marcus MERIGHI
ti...@openmailbox.org (Tinker), 2016.02.20 (Sat) 21:05 (CET): > So glad to understand better what's in the box. > > Also please note that I'm not trying to suggest to implement lots of > crap, am perfectly clear that high security is correlated with low > complexity. > > On 2016-02-21 00:29, Marcus

Re: OpenBSD softraid can do scrub, hotspare, hotswap? How do rebuild + those 3 really done? (Absence of docs and howtos - ultimate Q!)

2016-02-20 Thread Constantine A. Murenin
On 20 February 2016 at 14:29, Tinker wrote: [..] > On 2016-02-21 04:39, Constantine A. Murenin wrote: [..] >> When you do http://mdoc.su/o/newfs.8, it does not write to every >> sector of the underlying partition; thus you cannot expect all sectors >> to be the same. > > > Ah right, so at least to

Re: OpenBSD softraid can do scrub, hotspare, hotswap? How do rebuild + those 3 really done? (Absence of docs and howtos - ultimate Q!)

2016-02-20 Thread Tinker
On 2016-02-21 05:05, Karel Gardas wrote: The RAID 1 discipline does not initialize the mirror upon creation. This is by design because all sectors that are read are written first. There is no point in wasting a lot of time syncing random data. I'm afraid the claim "all sectors that are read a

Re: OpenBSD softraid can do scrub, hotspare, hotswap? How do rebuild + those 3 really done? (Absence of docs and howtos - ultimate Q!)

2016-02-20 Thread Karel Gardas
On Sat, Feb 20, 2016 at 8:44 PM, Constantine A. Murenin wrote: > > Scrub cannot possibly be supported due to the design of the softraid: > > http://mdoc.su/o/softraid.4 > > The RAID 1 discipline does not initialize the mirror upon creation. This > is by design because all sectors that are

Re: OpenBSD softraid can do scrub, hotspare, hotswap? How do rebuild + those 3 really done? (Absence of docs and howtos - ultimate Q!)

2016-02-20 Thread Constantine A. Murenin
On 20 February 2016 at 12:23, Tinker wrote: > > On 2016-02-21 01:29, Karel Gardas wrote: >> >> scrub is IIRC not supported by any softraid yet. > > > But there's "patrol"! > > "bioctl -t start mysoftraid" [...] > On 2016-02-21 02:44, Constantine A. Murenin wrote: >> >> On 20 February 2016 at 10:

Re: OpenBSD softraid can do scrub, hotspare, hotswap? How do rebuild + those 3 really done? (Absence of docs and howtos - ultimate Q!)

2016-02-20 Thread Karel Gardas
On Sat, Feb 20, 2016 at 9:23 PM, Tinker wrote: > > On 2016-02-21 01:29, Karel Gardas wrote: >> >> scrub is IIRC not supported by any softraid yet. > > > But there's "patrol"! > > "bioctl -t start mysoftraid" bioctl also supports hardware raid cards besides softraid, so that's what you are looking

Re: OpenBSD softraid can do scrub, hotspare, hotswap? How do rebuild + those 3 really done? (Absence of docs and howtos - ultimate Q!)

2016-02-20 Thread Tinker
On 2016-02-21 01:29, Karel Gardas wrote: scrub is IIRC not supported by any softraid yet. But there's "patrol"! "bioctl -t start mysoftraid" Rebuild by all which support redundancy. Yey! Clarified by Marcus & looking forward to his clarification Marcus recommendation to read man pages ca

Re: OpenBSD softraid can do scrub, hotspare, hotswap? How do rebuild + those 3 really done? (Absence of docs and howtos - ultimate Q!)

2016-02-20 Thread Tinker
Marcus, Holy moly, that is beautiful. So glad to understand better what's in the box. Also please note that I'm not trying to suggest to implement lots of crap, am perfectly clear that high security is correlated with low complexity. On 2016-02-21 00:29, Marcus MERIGHI wrote: ti...@openma

Re: OpenBSD softraid can do scrub, hotspare, hotswap? How do rebuild + those 3 really done? (Absence of docs and howtos - ultimate Q!)

2016-02-20 Thread Constantine A. Murenin
On 20 February 2016 at 10:29, Karel Gardas wrote: > scrub is IIRC not supported by any softraid yet. Rebuild by all which > support redundancy. Marcus recommendation to read man pages can just > be highlighted here. Otherwise just read the code for ultimate > reference of what is or is not done.

Re: OpenBSD softraid can do scrub, hotspare, hotswap? How do rebuild + those 3 really done? (Absence of docs and howtos - ultimate Q!)

2016-02-20 Thread Karel Gardas
scrub is IIRC not supported by any softraid yet. Rebuild by all which support redundancy. Marcus recommendation to read man pages can just be highlighted here. Otherwise just read the code for ultimate reference of what is or is not done.

Re: OpenBSD softraid can do scrub, hotspare, hotswap? How do rebuild + those 3 really done? (Absence of docs and howtos - ultimate Q!)

2016-02-20 Thread Marcus MERIGHI
ti...@openmailbox.org (Tinker), 2016.02.20 (Sat) 16:43 (CET): > On 2016-02-20 22:23, Marcus MERIGHI wrote: > >ti...@openmailbox.org (Tinker), 2016.02.20 (Sat) 15:29 (CET): > >>This email is an attempt to get some knowledge on how softraid works. > > > >So many of your questions are answered if you

Re: OpenBSD softraid can do scrub, hotspare, hotswap? How do rebuild + those 3 really done? (Absence of docs and howtos - ultimate Q!)

2016-02-20 Thread Tinker
On 2016-02-20 22:23, Marcus MERIGHI wrote: ti...@openmailbox.org (Tinker), 2016.02.20 (Sat) 15:29 (CET): This email is an attempt to get some knowledge on how softraid works. So many of your questions are answered if you start with bioctl(8)[1], and continue with softraid(4)[2]. Maybe bio(4)[3

Re: OpenBSD softraid can do scrub, hotspare, hotswap? How do rebuild + those 3 really done? (Absence of docs and howtos - ultimate Q!)

2016-02-20 Thread Marcus MERIGHI
ti...@openmailbox.org (Tinker), 2016.02.20 (Sat) 15:29 (CET): > This email is an attempt to get some knowledge on how softraid works. So many of your questions are answered if you start with bioctl(8)[1], and continue with softraid(4)[2]. Maybe bio(4)[3] helps, too. What's there is usually docum

OpenBSD softraid can do scrub, hotspare, hotswap? How do rebuild + those 3 really done? (Absence of docs and howtos - ultimate Q!)

2016-02-20 Thread Tinker
Hi, This email is an attempt to get some knowledge on how softraid works. There's basically zero docs on these topics out here (all docs are about how to set it up first & subsequent times in non-failure cases). If you would be able to respond in "HOWTO form" would be awesome, then at least