Re: Does mdadm in the installer read its config file?

2020-09-14 Thread john doe
On 9/14/2020 6:45 PM, Andy Smith wrote: Hello, On Mon, Sep 14, 2020 at 08:08:39AM +0200, john doe wrote: Not realy an answer to your question, you could rebuild the package to your liking then fetch it from a local mirror. Since my strace did show that it tries to also open

Re: Does mdadm in the installer read its config file?

2020-09-14 Thread Andy Smith
Hello, On Mon, Sep 14, 2020 at 08:08:39AM +0200, john doe wrote: > Not realy an answer to your question, you could rebuild the package to > your liking then fetch it from a local mirror. Since my strace did show that it tries to also open /tmp/mdadm.conf.d, maybe I could make that directory and

Re: Does mdadm in the installer read its config file?

2020-09-14 Thread john doe
On 9/13/2020 11:33 PM, Andy Smith wrote: Hello, I did work out that mdadm in d-i uses a config file of /tmp/mdadm.conf instead of the usual /etc/mdadm/mdadm.conf. I thought this meant that if I put the things I needed into that file then that would work out. Unfortunately I see that any time

Re: Does mdadm in the installer read its config file?

2020-09-13 Thread Andy Smith
Hello, I did work out that mdadm in d-i uses a config file of /tmp/mdadm.conf instead of the usual /etc/mdadm/mdadm.conf. I thought this meant that if I put the things I needed into that file then that would work out. Unfortunately I see that any time you go into mdcfg it clobbers any existing

Re: Does mdadm in the installer read its config file?

2020-09-11 Thread Lennart Sorensen
On Fri, Sep 11, 2020 at 04:56:34AM +, Andy Smith wrote: > Hello, > > TL;DR: the Debian installer uses an mdadm.conf located at > /tmp/mdadm.conf. > > On Thu, Sep 10, 2020 at 04:18:27PM +, Andy Smith wrote: > > I have confirmed that creating a new array from the d-i shell using > > mdadm

Re: Does mdadm in the installer read its config file?

2020-09-10 Thread Andy Smith
Hello, TL;DR: the Debian installer uses an mdadm.conf located at /tmp/mdadm.conf. On Thu, Sep 10, 2020 at 04:18:27PM +, Andy Smith wrote: > I have confirmed that creating a new array from the d-i shell using > mdadm commands manually does result in a new array without a bbl (so > this

Does mdadm in the installer read its config file?

2020-09-10 Thread Andy Smith
Hi, By default mdadm will create md arrays with a bad blocks list feature unless you tell it not to. I wish to tell the Debian installer's mdadm to not do this. The documented way to tell mdadm to not create arrays with a bad blocks list is to put: CREATE bbl=no in /etc/mdadm/mdadm.conf Once