Re: Setup Storage Issue
Kumaran Palayathan <[email protected]> Mon, 31 Mar 2025 11:22:59 +0800
| Newsgroups | gmane.linux.debian.fai |
|---|---|
| Message-ID | <CAHG3c4wc44aYhL0skq-csJxOQixKArqoE_9zwu+-YkqdEgzEtg@mail.gmail.com> |
--00000000000090b3d106319af0ab
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Hi Etienne,
I have made changes to the Commands.pm file and setup-storage continues
with the RAID0 device creation.
Commented out
if ($FAI::do_init_tasks) { # no sync when initial installation
and added
if ($FAI::do_init_tasks && $level ne 'raid0') { # no sync when initial
installation
Thank you very much for your assistance.
Regards,
*Kumaran*
On Mon, Mar 31, 2025 at 5:15=E2=80=AFAM =C3=89tienne Mollier via linux-fai =
<
[email protected]> wrote:
> Diese Nachricht wurde eingewickelt um DMARC-kompatibel zu sein. Die
> eigentliche Nachricht steht dadurch in einem Anhang.
>
> This message was wrapped to be DMARC compliant. The actual message
> text is therefore in an attachment.
>
>
> ---------- Forwarded message ----------
> From: "=C3=89tienne Mollier" <[email protected]>
> To: fully automatic installation for Linux <[email protected]>
> Cc:
> Bcc:
> Date: Sun, 30 Mar 2025 23:14:38 +0200
> Subject: Re: Setup Storage Issue
> Hi Kumaran,
>
> >> This error ressembles to something that should be fixed by FAI
> >> commit 27c7267badb46918ef669c84aef0275a9fc438c0[1]:
> >>
> >>> Executing: echo frozen > /sys/block/md1/md/sync_action
> >>> sh: 1: cannot create /sys/block/md1/md/sync_action: Permission denied
> >>> echo frozen > /sys/block/md1/md/sync_action had exit code 2
> >>
> >> [1]:
> https://github.com/faiproject/fai/commit/27c7267badb46918ef669c84aef0275a=
9fc438c0
>
> > The commit seems to be for FAI version 6.3.1 but I am running version
> > 5.10.3. Would I have any issues if I apply this fix?
>
> You may have some fuzz (the patch is off by a few lines) and
> still run into issues with md_linear raid (not that this layout
> is particularly common), but it will be otherwise okay.
>
> In hope this helps,
> --
> =C3=89tienne Mollier <[email protected]>
> Fingerprint: 8f91 b227 c7d6 f2b1 948c 8236 793c f67e 8f0d 11da
> Sent from /dev/pts/1, please excuse my verbosity.
> On air: James Taylor - Grass is not greener
>
--00000000000090b3d106319af0ab
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
<div dir=3D"ltr">Hi Etienne,<div><br></div><div>I have made changes to the =
Commands.pm file and setup-storage continues with the RAID0 device creation=
.</div><div><br></div><div>Commented out=C2=A0<br>if ($FAI::do_init_tasks) =
{ # no sync when initial installation<br><br></div><div>and added</div><div=
>if ($FAI::do_init_tasks && $level ne 'raid0') =C2=A0{ # no=
sync when initial installation</div><div><br></div><div>Thank you very muc=
h for your assistance.</div><div><br></div><div>Regards,</div><div><b><i>Ku=
maran</i></b><br><br></div></div><br><div class=3D"gmail_quote gmail_quote_=
container"><div dir=3D"ltr" class=3D"gmail_attr">On Mon, Mar 31, 2025 at 5:=
15=E2=80=AFAM =C3=89tienne Mollier via linux-fai <<a href=3D"mailto:linu=
[email protected]">[email protected]</a>> wrote:<br></div><blockqu=
ote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px=
solid rgb(204,204,204);padding-left:1ex">Diese Nachricht wurde eingewickel=
t um DMARC-kompatibel zu sein. Die<br>
eigentliche Nachricht steht dadurch in einem Anhang.<br>
<br>
This message was wrapped to be DMARC compliant. The actual message<br>
text is therefore in an attachment.<br><br><br>---------- Forwarded message=
----------<br>From:=C2=A0"=C3=89tienne Mollier" <<a href=3D"m=
ailto:[email protected]" target=3D"_blank">[email protected]</a>>=
;<br>To:=C2=A0fully automatic installation for Linux <<a href=3D"mailto:=
[email protected]" target=3D"_blank">[email protected]</a>><br=
>Cc:=C2=A0<br>Bcc:=C2=A0<br>Date:=C2=A0Sun, 30 Mar 2025 23:14:38 +0200<br>S=
ubject:=C2=A0Re: Setup Storage Issue<br>Hi Kumaran,<br>
<br>
>> This error ressembles to something that should be fixed by FAI<br>
>> commit 27c7267badb46918ef669c84aef0275a9fc438c0[1]:<br>
>><br>
>>> Executing: echo frozen > /sys/block/md1/md/sync_action<br>
>>> sh: 1: cannot create /sys/block/md1/md/sync_action: Permission=
denied<br>
>>> echo frozen > /sys/block/md1/md/sync_action had exit code 2=
<br>
>><br>
>> [1]: <a href=3D"https://github.com/faiproject/fai/commit/27c7267ba=
db46918ef669c84aef0275a9fc438c0" rel=3D"noreferrer" target=3D"_blank">https=
://github.com/faiproject/fai/commit/27c7267badb46918ef669c84aef0275a9fc438c=
0</a><br>
<br>
> The commit seems to be for FAI version 6.3.1 but I am running version<=
br>
> 5.10.3. Would I have any issues if I apply this fix?<br>
<br>
You may have some fuzz (the patch is off by a few lines) and<br>
still run into issues with md_linear raid (not that this layout<br>
is particularly common), but it will be otherwise okay.<br>
<br>
In hope this helps,<br>
-- <br>
=C3=89tienne Mollier <<a href=3D"mailto:[email protected]" target=3D=
"_blank">[email protected]</a>><br>
Fingerprint:=C2=A0 8f91 b227 c7d6 f2b1 948c=C2=A0 8236 793c f67e 8f0d 11da<=
br>
Sent from /dev/pts/1, please excuse my verbosity.<br>
On air: James Taylor - Grass is not greener<br>
</blockquote></div>
--00000000000090b3d106319af0ab--