Package: mkfs.ext4 Severity: normal X-Debbugs-Cc: [email protected]
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.

