[prev in list] [next in list] [prev in thread] [next in thread] 

List:       qubes-users
Subject:    Re: [qubes-users] SOS - Where is mdadm.conf?! I really really need to edit mdadm.conf on dom0
From:       brick <leo28c () gmail ! com>
Date:       2023-04-13 23:19:12
Message-ID: 5cda58f2-3189-471c-9ca5-56822a55cecbn () googlegroups ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


I fixed the problem. Turns out there's a --config option. I just forced it 
to use my config once which was enough to repair the array that was broken. 
I rebooted and all my stuff is back :)

On Thursday, April 13, 2023 at 4:28:37 PM UTC-5 brick wrote:

> Any Qubes devs/experts please...? I asked on linuxquestions as well and 
> according to them, mdadm will try to load whatever file it listed under 
> `man mdadm.conf`, which in the case of dom0 is at /etc/mdadm.conf... but 
> that file did not exist until I put it there so *this is Qubes specific.* *Where 
> does Qubes OS's mdadm get its settings from at boot?* I need to change 
> those settings because they are corrupted... I literally have nowhere else 
> to go but this mailing list. PLEASE HELP
> 
> On Thursday, April 13, 2023 at 3:10:09 PM UTC-5 brick wrote:
> 
> > Actually yeah that's not it at all. That's a `systemd-tmpfiles` file 
> > whatever the fudge that is, nothing at all to do with mdadm
> > 
> > On Thursday, April 13, 2023 at 2:34:38 PM UTC-5 brick wrote:
> > 
> > > I don't think that's it. It's only one line long and has no reference to 
> > > my arrays. I tried to put mine there anyway and rebooted but my arrays are 
> > > still all raid0
> > > 
> > > On Thursday, April 13, 2023 at 2:18:59 PM UTC-5 Mike Keehan wrote:
> > > 
> > > > On Thu, 13 Apr 2023 11:08:09 -0700 (PDT) 
> > > > leo...@gmail.com wrote: 
> > > > 
> > > > > Long story short I had a drive failure, now all my RAID arrays 
> > > > incorrectly 
> > > > > show up as "raid0 inactive". Apparently one way to fix this is to 
> > > > manually 
> > > > > change the arrays to the correct levels in mdadm.conf, but I can't 
> > > > seem to 
> > > > > find that in my dom0 with the `locate` command. 
> > > > > 
> > > > > Please help. I really need these arrays back. My damn fedora-34 
> > > > template is 
> > > > > there so I can't even use sys-net 
> > > > > 
> > > > 
> > > > Try "find / -name mdadm.conf -print 
> > > > 
> > > > It's in /usr/lib/tmpfiles.d/ on my laptop, but I don't have raid. 
> > > > 
> > > > Mike. 
> > > > 
> > > 

-- 
You received this message because you are subscribed to the Google Groups \
"qubes-users" group. To unsubscribe from this group and stop receiving emails from \
it, send an email to qubes-users+unsubscribe@googlegroups.com. To view this \
discussion on the web visit \
https://groups.google.com/d/msgid/qubes-users/5cda58f2-3189-471c-9ca5-56822a55cecbn%40googlegroups.com.



[Attachment #5 (text/html)]

I fixed the problem. Turns out there's a --config option. I just forced it to use my \
config once which was enough to repair the array that was broken. I rebooted and all \
my stuff is back :)<br /><br /><div class="gmail_quote"><div dir="auto" \
class="gmail_attr">On Thursday, April 13, 2023 at 4:28:37 PM UTC-5 brick \
wrote:<br/></div><blockquote class="gmail_quote" style="margin: 0 0 0 0.8ex; \
border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Any Qubes devs/experts \
please...? I asked on linuxquestions as well and according to them, mdadm will try to \
load whatever file it listed under `man mdadm.conf`, which in the case of dom0 is at \
/etc/mdadm.conf... but that file did not exist until I put it there so <b>this is \
Qubes specific.</b>  <b>Where does Qubes OS&#39;s mdadm get its settings from at \
boot?</b>  I need to change those settings because they are corrupted... I literally \
have nowhere else to go but this mailing list. PLEASE HELP<br><br><div \
class="gmail_quote"><div dir="auto" class="gmail_attr">On Thursday, April 13, 2023 at \
3:10:09 PM UTC-5 brick wrote:<br></div><blockquote class="gmail_quote" \
style="margin:0 0 0 0.8ex;border-left:1px solid \
rgb(204,204,204);padding-left:1ex">Actually yeah that&#39;s not it at all. That&#39;s \
a `systemd-tmpfiles` file whatever the fudge that is, nothing at all to do with \
mdadm<br><br><div class="gmail_quote"><div dir="auto" class="gmail_attr">On Thursday, \
April 13, 2023 at 2:34:38 PM UTC-5 brick wrote:<br></div><blockquote \
class="gmail_quote" style="margin:0 0 0 0.8ex;border-left:1px solid \
rgb(204,204,204);padding-left:1ex">I don&#39;t think that&#39;s it. It&#39;s only one \
line long and has no reference to my arrays. I tried to put mine there anyway and \
rebooted but my arrays are still all raid0<br><br><div class="gmail_quote"><div \
dir="auto" class="gmail_attr">On Thursday, April 13, 2023 at 2:18:59 PM UTC-5 Mike \
Keehan wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 \
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Thu, 13 Apr 2023 \
11:08:09 -0700 (PDT) <br><a rel="nofollow">leo...@gmail.com</a> wrote:
<br>
<br>&gt; Long story short I had a drive failure, now all my RAID arrays incorrectly 
<br>&gt; show up as &quot;raid0 inactive&quot;. Apparently one way to fix this is to \
manually  <br>&gt; change the arrays to the correct levels in mdadm.conf, but I \
can&#39;t seem to  <br>&gt; find that in my dom0 with the `locate` command.
<br>&gt; 
<br>&gt; Please help. I really need these arrays back. My damn fedora-34 template is 
<br>&gt; there so I can&#39;t even use sys-net
<br>&gt; 
<br>
<br>Try &quot;find / -name mdadm.conf -print
<br>
<br>It&#39;s in /usr/lib/tmpfiles.d/ on my laptop, but I don&#39;t have raid.
<br>
<br>Mike.
<br></blockquote></div></blockquote></div></blockquote></div></blockquote></div>

<p></p>

-- <br />
You received this message because you are subscribed to the Google Groups \
&quot;qubes-users&quot; group.<br /> To unsubscribe from this group and stop \
receiving emails from it, send an email to <a \
href="mailto:qubes-users+unsubscribe@googlegroups.com">qubes-users+unsubscribe@googlegroups.com</a>.<br \
/> To view this discussion on the web visit <a \
href="https://groups.google.com/d/msgid/qubes-users/5cda58f2-3189-471c-9ca5-56822a55ce \
cbn%40googlegroups.com?utm_medium=email&utm_source=footer">https://groups.google.com/d \
/msgid/qubes-users/5cda58f2-3189-471c-9ca5-56822a55cecbn%40googlegroups.com</a>.<br \
/>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic