Re: Setup Storage Issue

2025-03-29 Diskussionsfäden Étienne Mollier via linux-fai
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.--- Begin Message ---
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/27c7267badb46918ef669c84aef0275a9fc438c0

As far as I know FAI in Debian 11 is still affected, so you may
want to upgrade to a newer version or patch your install,
depending on what options are feasible for you.

In hope this helps,
-- 
Étienne Mollier 
Fingerprint:  8f91 b227 c7d6 f2b1 948c  8236 793c f67e 8f0d 11da
Sent from /dev/pts/3, please excuse my verbosity.
On air: Jethro Tull - Locomotive Breath


signature.asc
Description: PGP signature
--- End Message ---


Re: Setup Storage Issue

2025-03-29 Diskussionsfäden Kumaran Palayathan
Hi Etienne,

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?

Thank you for your assistance.

Regards,
*Kumaran*

On Sat, Mar 29, 2025 at 5:42 PM Étienne Mollier via linux-fai <
linux-fai@uni-koeln.de> 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: "Étienne Mollier" 
> To: fully automatic installation for Linux 
> Cc:
> Bcc:
> Date: Sat, 29 Mar 2025 10:42:20 +0100
> 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/27c7267badb46918ef669c84aef0275a9fc438c0
>
> As far as I know FAI in Debian 11 is still affected, so you may
> want to upgrade to a newer version or patch your install,
> depending on what options are feasible for you.
>
> In hope this helps,
> --
> Étienne Mollier 
> Fingerprint:  8f91 b227 c7d6 f2b1 948c  8236 793c f67e 8f0d 11da
> Sent from /dev/pts/3, please excuse my verbosity.
> On air: Jethro Tull - Locomotive Breath
>


Setup Storage Issue

2025-03-29 Diskussionsfäden Kumaran Palayathan
Hi,

I have this issue with creating RAID0 array from multiple nvme devices.

It always fails with exit code 2 for the echo frozen command and stops
continuing the installation.

Executing: yes | mdadm --create -e 1.0 /dev/md0 --level=raid5 --force --run
--raid-devices=4 /dev/nvme0n1p1 /dev/nvme2n1p1 /dev/nvme1n1p1 /dev/nvme3n1p1
Executing: echo frozen > /sys/block/md0/md/sync_action
Executing: mkfs.xfs -m bigtime=1 -f /dev/md0
Executing: yes | mdadm --create -e 1.0 /dev/md1 --level=raid0 --force --run
--raid-devices=4 /dev/nvme3n1p2 /dev/nvme1n1p2 /dev/nvme2n1p2 /dev/nvme0n1p2
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
Command had non-zero exit code

Hope someone can advise me on how to get past this error.

Thank you and regards,
*Kumaran*