LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 12-13-2014, 07:32 PM   #1
drebin
LQ Newbie
 
Registered: Dec 2014
Posts: 2

Rep: Reputation: Disabled
RAID 5 Slow/going offline


Hi,
first I have to confess I am quite an amateur with Linux, however I try to get things done using thousands of Google searches to achieve that.

But I am running in some problems now with my RAID.

Let me explain the system itself first, as it is probably quite unusual:

It is a home data center, and I was cheap when buying it as any professional solution with that much space would cost me 3 times more and since I don't need enterprise-grade QoS at home, I didn't see any point in spending that much money.

System:
SOHO PC with AMD 8320 8 core cpu, GA-970A-DS3P, 16GB DDR3 1600MHz
Win Server 2012; Hyper-V

I have disks (connected through 2 Hyper-V SCSI controllers):
- 3*WD30EZRX (3TB)
- 1*WD20EARX (2TB)
- 1*WD20EARS (2TB)
- 2*Samsung D3 station USB 3.0 (3TB)

3TB drives are formattet to 2TB and 1TB partitions.

Together they form a 12TiB RAID 5 (7*2TB partition) and a 3TiB RAID 6 (5*1TB partition), both ext4 formatted.

My first problem is the speed, writing to RAID 5 achieves from 10 do 15MB/s, for comparison rebuilding goes up to 60MB/s. However I'd expect at least the speed of slowest drive (the 2TB WD; cca. 130MB/s). So, what can be wrong?

The other problem is, since I am used to Windows permissions delegation, I shared Raid 5 and Raid 6 only with the Win Server, on each of them there is a vhdx file, which is mounted on Win Server. However when I perform some massive writes to RAID, the Samba shared mapped drive goes offline from time to time for a few seconds, which is highly inconvenient since it dismounts my vhdx. Any idea why this happens? Maybe I should try sharing files directly from Linux? Is there any nice GUI solution to connect to ActiveDirectory and define permissions for every single directory in Samba?
 
Old 12-15-2014, 10:20 AM   #2
/dev/random
Member
 
Registered: Aug 2012
Location: Ontario, Canada
Distribution: Slackware 14.2, LFS-current, NetBSD 6.1.3, OpenIndiana
Posts: 319

Rep: Reputation: 112Reputation: 112
Hi Derbin,

Is your switch a Gbit? 10/15MB sounds like your running on 100Mbps hardware.

My guess on the second one is your USB chip can't handle the through put for that long, (cheap controller)
 
Old 12-15-2014, 03:29 PM   #3
drebin
LQ Newbie
 
Registered: Dec 2014
Posts: 2

Original Poster
Rep: Reputation: Disabled
Hi,
thanks for you reply, but unfortunately it doesn't solve my problems. I do gave a Gb network, and I can write at 100-115MB/s to RAID as long as Windows server doesn't run out of ram (it caches writes to the vhdx), so that's not the case.

About outages I forgot to say that usually just one raid goes offline at a time, so I lose only one vhdx mount (or maybe Windows just doesn't notice it on the idle vhdx). However I have experienced a momentary controller freeze, which resulted in a missing drive in RAID, so I guess in the controller was falling down, I would have to reassemble RAID every time that would happen. I have also blamed usb controller for low transfer speeds, so I installed a PCIe controller which gave me the same speeds - by the way R/W speeds of these USB disks are about 170/150MB/s

So, any other idea maybe? :-O
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Caching Slow when Offline anybody1234 Linux - Server 4 10-28-2006 08:47 AM
looking for a linux image & backup tool / offline / RAID zerobane Linux - Software 2 03-17-2006 02:48 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 04:53 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration