Setup Storage Issue

Kumaran Palayathan <[email protected]> Sat, 29 Mar 2025 17:00:46 +0800
Newsgroups gmane.linux.debian.fai
Message-ID <CAHG3c4wOzDGNicdK+xpku_ox4_1B88bHwDtuY1YfVGb1bOObWg@mail.gmail.com>
--000000000000ddd8220631776c06
Content-Type: text/plain; charset="UTF-8"

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*

--000000000000ddd8220631776c06
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div dir=3D"ltr">Hi,<div><br></div><div>I have this issue =
with creating RAID0 array from multiple nvme devices.</div><div><br></div><=
div>It always fails with exit code 2 for the echo frozen=C2=A0command and s=
tops continuing=C2=A0the installation.</div><div><br></div><div>Executing: =
yes | mdadm --create -e 1.0 /dev/md0 --level=3Draid5 --force --run --raid-d=
evices=3D4 /dev/nvme0n1p1 /dev/nvme2n1p1 /dev/nvme1n1p1 /dev/nvme3n1p1<br>E=
xecuting: echo frozen &gt; /sys/block/md0/md/sync_action<br>Executing: mkfs=
.xfs -m bigtime=3D1 -f /dev/md0<br>Executing: yes | mdadm --create -e 1.0 /=
dev/md1 --level=3Draid0 --force --run --raid-devices=3D4 /dev/nvme3n1p2 /de=
v/nvme1n1p2 /dev/nvme2n1p2 /dev/nvme0n1p2<br>Executing: echo frozen &gt; /s=
ys/block/md1/md/sync_action<br>sh: 1: cannot create /sys/block/md1/md/sync_=
action: Permission denied<br>echo frozen &gt; /sys/block/md1/md/sync_action=
 had exit code 2<br>Command had non-zero exit code<br></div><div><br></div>=
<div>Hope someone can advise me on how to get past this error.</div><div><b=
r></div><div>Thank you and regards,</div><div><b><i>Kumaran</i></b></div><d=
iv><br></div></div>
</div>

--000000000000ddd8220631776c06--