Uneven Wear on SSDs in RAID1 Setup: How to Balance Writes?

0
10
Asked By TechnoTraveler88 On

I set up a Raspberry Pi 5 running Raspi OS with a Radxa Pentahat and two SSDs configured in RAID1 using OMV. After about 200 hours of operation, I noticed that the wear on the SSDs is quite uneven. According to the Total_LBAs_Written, one SSD (dev/sda) has around 360MB written, while the other (dev/sdb) shows about 2300MB. This isn't causing any immediate issues but I'm worried that dev/sdb will wear out faster. Is there a way to balance the write loads more evenly? Are there specific settings or options I can check to ensure the setup is functioning properly?

4 Answers

Answered By DataDynamo47 On

It's important to understand that RAID1 doesn't guarantee perfectly equal write distribution. Sometimes, issues like having swap on a mirrored volume can cause uneven wear. Have you checked if your swap is configured to use one of the disks? If so, consider switching to ZRAM for swap to prevent this kind of wear.

SSD_Skeptic99 -

Yeah, having swap on a RAID can definitely skew wear patterns. Using ZRAM might help keep things balanced.

Answered By ByteChaser21 On

You should check the details of your RAID setup with `mdadm --details /dev/md0`. That might give you insights into how your array is performing. Also, check for hardware issues; sometimes cables or drive locations can affect writing speed, causing one drive to get more writes than the other.

TechGuru42 -

Definitely run those commands to see if there's any underlying issue with the RAID configuration.

Answered By DiskDoctor23 On

Have you thought about swapping the drives' positions? This could help identify if the issue is with the drives themselves or the setup. Also, if they continue to show uneven wear after swapping, it might hint at a deeper problem.

ByteChaser21 -

That's a solid idea! Testing both drives in different slots could yield useful information.

Answered By DriveAnalyzer56 On

Consider running a SMART tool like `smartctl -a` on both drives. Understanding their health and wear levels could help. Remember, SSDs usually go into a read-only state well before they fail, so keep an eye on that.

DataDynamo47 -

Good point! Monitoring health can prevent surprises down the line.

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.