On Sun, 10 Nov 2019 15:18:42 -0800
John Jason Jordan <[email protected]> wrote:

> I have a 2-bay Mediasonic enclosure with two WD red drives in Raid 0,
> one 6TB, about 4 years old, and the other 8TB, about three years old.
> The enclosure has a USB3 jack and an eSata jack. I use the USB3 jack,
> but at one time I used the eSata connector and performance was the
> same. The drives are formatted ext4 and the Raid was created using the
> built-in Mediasonic software. The data is backed up nightly via rsync
> to a 16TB Synology NAS with two 8TB WD red drives, also in Raid 0.
> 
> I have had this setup for close to three years now, and it works great
> except when I try to read or write to the array and I have to sit and
> twiddle my thumbs for up to two full minutes waiting for the drive
> lights and the disk rumbling to stop. Once the drives are ready file
> transfers are reasonably fast - ~10-20 seconds to transfer a 2GB file.
> But then, even though I continue to do file transfers every couple of
> minutes, suddenly it will decide it needs to refresh itself, and then
> I have to stop everything until it finishes.
> 
> I've been putting up with this for long enough. Is there any way to
> get this array to stop constantly refreshing itself?
> 
> _______________________________________________
> PLUG mailing list
> [email protected]
> http://lists.pdxlinux.org/mailman/listinfo/plug

Really would not recommend using hardware raid. There are a lot of
things you have to ask yourself, like what happens if the raid
controller dies. Most of the time you have to get the exact same make
and model to get your data back with hardware raids. Also, using ext4
filesystem for raid while works, is hardly an ideal situation in
today's age.

Sounds like there are a lot of implementation shortcomings with
MediaSonic's hardware raid not not properly prioritizing scrubbing.

Here is what I would recommend. If you can put your enclosure into JBOD
mode. This presents the disks in the enclosure to the OS directly
without any special mapping going on. From there Follow the
installation instructions for the OS of your choice for installing the
OpenZFS kernel modules. From there setup an OpenZFS zraid to your
liking and fill back up the NAS with your data. Ounce done you can put
zfs scrub into a monthly cronjob to keep the system maintained.

https://zfsonlinux.org/

http://www.open-zfs.org/wiki/Newcomers

Highly recommend using OpenZFS .8 or newer if you can. There were a lot
of great features brought about in this release.
_______________________________________________
PLUG mailing list
[email protected]
http://lists.pdxlinux.org/mailman/listinfo/plug

Reply via email to