How do you monitor the health of a mirrored disk in Windows?

I had the same question a while ago. The first thing I thought of was using WMI, but for some weird reason, WMI doesn’t expose the health of a RAID volume through any of the normal Win32_* classes. I eventually stumbled across the script in this article and made a few modifications to suit my … Read more

Implementing Linux fstrim on SSD with software md-raid

Patches for mdraid RAID 1 and 10 support for TRIM went up about a year ago. You can test your kernel’s support by mounting the filesystem with the discard option (which enables automatic TRIM). If it is supported, you’ll see a message in syslog or dmesg like the following: EXT4-fs (md1): re-mounted. Opts: discard,data=ordered Otherwise … Read more

How do I list which drives are part of each RAID array?

cat /proc/mdstat will give you the output you need, relatively easy to parse, because the mapped device is on the same line as its members, e.g.: $ cat /proc/mdstat Personalities : [raid0] [raid1] [raid10] [raid6] [raid5] [raid4] [linear] [multipath] md0 : active raid1 sdf2[1] sde2[0] 81854336 blocks super 1.2 [2/2] [UU] md127 : active raid0 … Read more

explain md’s raid10,f2

Actually I think Wikipedia explains it better than the actual docs. Here’s the text from the article. The Linux kernel software RAID driver (called md, for “multiple device”) can be used to build a classic RAID 1+0 array, but also (since version 2.6.9) as a single level with some interesting extensions. The standard “near” layout, … Read more

Sanity check on 40TB server configuration

Based on your problem description your issue isn’t so much the server as the storage. You want a reliable, robust filesystem like ZFS that’s designed to handle large storage capacity well, and has built-in management capabilities to make that end of the system easier to manage. As was mentioned in the comments, I’d go with … Read more