1Dentro HDD LogoProblemas de RAID de hardware e HDD consumidor

A couple of years ago I was lucky enough to have the opportunity to purchase a second hand hardware raid 5 cartão (uma Areca 1220) por um preço muito baixo. Since then I have used the card along with several sets of drives (originally 300gig, then 750gig and currently 1Tb) in a dedicated server PC as a large network file-store for the family’s music, fotos, vídeos e back-ups.

Before I obtained the hardware card I tried using software raid, but found the results very disappointing. The server has a low power, single core cpu which isn’t really up to the task of acting as a raid-5 engine. Whilst I’ve heard plenty of times that RAID isn’t a back-up, this is a case where only a cheap solution will do. RAID-5 offers protection from single drive failure, which is good enough for my purposes. The dedicated card offers an enormous performance advantage, but in practice this isn’t very important. The features it adds however are! The Areca card offers an OS independent raid solution which counts for a lot. It also offers online capacity expansion and raid-level migration (assim, por exemplo, I could upgrade to raid-6). Both of these features are much less simple with cheaper solutions.

Assim, você poderia pensar, what’s the problem. A resposta: the lack of options from Hard Disk manufacturers

Ever since using the Areca card I have suffered from occasional drivefailures”. Upon powering off and on the drive reappears as fully functional. I then have to spend many hours rebuilding the array from degraded back to normal. After much searching I have diagnosed the problem, but am unable to properly solve it.

Hard Drive manufacturers provide a range of drives for different purposes. The typical drives most of us buy are consumer level drives. The manufacturers also offer enterprise-class drives designed for servers which have intensive use patterns and 24.7 uptime. These drives are often physically identical, but have undergone additional testing and are supplied with slightly different firmware, optimised for server workloads.

One of these features is Error Recovery Control (ERC). This feature is also called CCTL (Command Completion Time Limit) by Samsung and Hitachi and TLER (Time-Limited Error Recovery) by Western Digital. All drives suffer the occasional error at a physical level, which could be caused by things like stray cosmic rays. These errors are handled by redundancy built into the way the drive stores data, but occasionally one can be severe enough to cause problems reading data. Normal consumer drives will spend a prolonged period attempting to read the damaged data to recover it. They then map it to a new part of the drive and everything continues as normal. Contudo, this delay can cause severe problems in enterprise environments, so enterprise drives will time-out their self-repair attempts after a short period (usually 7 segundos ou menos) and report the error to the raid controller. The raid controller then handles the error by recalculating the data using the other drives in the array. This prevents large delays in sending data, but requires the presence of other drives and a raid controller.

Assim, I have a proper hardware raid card. It expects to hear back from drives within no more than 7-8 seconds regardless of an error. I also have consumer hard drives, que tentar reparar seus próprios erros por um longo período. Assim, quando ocorre um erro na unidade tenta corrigi-lo, doesn’t respond within 7-8 segundos, and the raid controller than assumes the drive has failed and kicks it out of the array.

Assim, the obvious solutions would be either to tell the raid controller to wait longer without kicking a drive out, Ou dizer a unidade para desistir depois 7 seconds like an enterprise driveInfuriatingly, nem é possível!

I have searched extensively, mas eu não posso encontrar qualquer adequadas RAID-5 cartões que permitem ao usuário alterar o tempo que eles vão esperar por uma unidade. In the past there were some WD drives which could have the TLER feature enabled with a utility released by WD called WD-TLER, but recently WD have disabled this option, presumably toprotectthe huge markup on their enterprise drives (que são o dobro do preço para o mesmo hardware)

Some people have found ways to temporarily enable ERC on some drives using either HDAT2, SmartCTL ou hdparm, however these do not support my RAID card under Windows, ea alteração é perdida se o PC é desligado e ligado novamente.

For users like myself that need a large capacity storage, and the features offered by a hardware raid-5 solution, mas que não precisa 24.7 uptime, long warranties or drives designed for heavy duty usage there is currently NO appropriate solution. Its about time either a drive manufacturer addressed this market (by releasing a consumer drive with ERC enabled for a small, por exemplo. 15%, prêmio) or a raid-card manufacturer addressed the market by offering a card with the option to increase the time before drives are timed out. Creating either of these solutions is trivial, a simple firmware tweak would do the job.

Até então, I advise others to avoid using hardware raid cards with consumer drives, and given the price premium of enterprise drives I recommending avoiding hardware raid altogether.

Por favor envie-nos a sua opinião comentando abaixo! Se você deseja se inscrever, use o link de inscrição no menu no canto superior direito. Você também pode compartilhar isso com seus amigos usando os links sociais abaixo. Felicidades.

Deixe uma resposta

1 Comente