Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1244701

Bug#1104677: mkfs.ext4: Error formatting raid array partition on kernel 6.1.0-34-amd64

From Mohammadreza Nasrabadi <nasr.mareza1378@gmail.com>
Newsgroups linux.debian.bugs.dist
Subject Bug#1104677: mkfs.ext4: Error formatting raid array partition on kernel 6.1.0-34-amd64
Date 2025-05-04 16:20 +0200
Message-ID <KIImd-HiO-1@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


Package: mkfs.ext4
Severity: normal
X-Debbugs-Cc: nasr.mareza1378@gmail.com

We usually configure our physical servers with debian 12 stable OS. We
install RAID10 array on our NVMe partitions. Recently, formatting the
RAID array to ext4 has problems. If I execute the below command, The
procees of formatting the blocks will be killed:

command: /usr/sbin/mkfs.ext4 -F /dev/md3
stderr:
Discarding device blocks: Killed

The version of kernel is 6.1.0-34-amd64

After issuing the command led to error, every commands involving IO
operations on RAID device will be stuck forever.

I have tried to format with disabling discard operation and It worked
fine. I also tried the usual formatting of a single partition (not RAID)
and it worked as well.

I decieded to downgrade the kernel version to 6.1.0-32-amd64, because We
didn't saw any failure during our deployment. I saw mkfs on the
downgraded kernel version worked fine. even with discard option enabled
on RAID array.

Back to linux.debian.bugs.dist | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

Bug#1104677: mkfs.ext4: Error formatting raid array partition on kernel 6.1.0-34-amd64 Mohammadreza Nasrabadi <nasr.mareza1378@gmail.com> - 2025-05-04 16:20 +0200
  Bug#1104677: mkfs.ext4: Error formatting raid array partition on kernel 6.1.0-34-amd64 "Theodore Ts'o" <tytso@mit.edu> - 2025-05-05 14:20 +0200
  Bug#1104677: mkfs.ext4: Error formatting raid array partition on kernel 6.1.0-34-amd64 Salvatore Bonaccorso <carnil@debian.org> - 2025-05-05 16:10 +0200
  Bug#1104677:  Mohammadreza Nasrabadi <nasr.mareza1378@gmail.com> - 2025-05-06 10:30 +0200

csiph-web