From Newsgroup: alt.os.linux
On Wed, 8/5/2026 4:13 AM, Jeff Gaines wrote:
I built my Linux machine yesterday using the Asus Z170-P motherboard,
all went well, I even got the disk LED wired the right way round.
One fan is sticking, I'll change that today.
I put Linux Mint xfce on it and updated it, runs fine.
I then added my 4 x 4 TB spinning drives and followed online instructions to create a RAID 6 array:
sudo mdadm --create /dev/md0 --level=6 --raid-devices=4 /dev/sda /dev/sdb /dev/sdc /dev/sdd
Wait for it to build (it can take a while): You ain't kidding it ran overnight!
Next instruction:
Create a file system on the RAID device
Pick a file system. Common choice: ext4.
sudo mkfs.ext4 -F /dev/md0
Can I just double check that is correct and won't wipe out all the work mdadm did please?
All you can do, as far as the filesystem is concerned, is an "fsck".
The array rebuild at the physical level, merely ensures that all
the XORs or whatever, are in a consistent state, so that the
redundancy in the array properly represents the blocks. What
you write into it after that, that's another layer in a sense.
The mdadm has prepared a reliable storage surface for the next
layer.
If you built this array for a practical reason, in some cases
filling the EXT4 filesystem with files, would "prove" the
storage works. But nobody ever does this :-)
Paul
--- Synchronet 3.22a-Linux NewsLink 1.2