issue80:labo_linux
Différences
Ci-dessous, les différences entre deux révisions de la page.
Prochaine révision | Révision précédente | ||
issue80:labo_linux [2014/01/22 16:17] – créée andre_domenech | issue80:labo_linux [2014/05/05 18:48] (Version actuelle) – auntiee | ||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
+ | ** | ||
When the 1 terabyte hard drive in my wife’s PC failed almost 2 years ago we bought a 2 terabyte hard drive to replace it. We were very fortunate because 2 terabyte hard drives were at an all time low price and our 1 terabyte drive hadn’t completely failed yet (smart reported errors) so we were able to copy all the data over to the new hard drive. Even if the drive had completely failed we had regular backups of her most important data. Although we had backups, it was still several days before I was able to buy a new hard drive from our favourite computer store. | When the 1 terabyte hard drive in my wife’s PC failed almost 2 years ago we bought a 2 terabyte hard drive to replace it. We were very fortunate because 2 terabyte hard drives were at an all time low price and our 1 terabyte drive hadn’t completely failed yet (smart reported errors) so we were able to copy all the data over to the new hard drive. Even if the drive had completely failed we had regular backups of her most important data. Although we had backups, it was still several days before I was able to buy a new hard drive from our favourite computer store. | ||
Ever since that drive failure I intended to investigate RAID, Redundant Array of Independent Disks. The key for us is redundancy, if one hard drive fails, we want the system to keep humming until we have a replacement drive. | Ever since that drive failure I intended to investigate RAID, Redundant Array of Independent Disks. The key for us is redundancy, if one hard drive fails, we want the system to keep humming until we have a replacement drive. | ||
+ | ** | ||
+ | Lorsque le disque dur de 1 téraoctet du PC de ma femme tomba en panne il y a presque 2 ans, nous avons acheté un disque dur de 2 téraoctets en remplacement. Nous avons été très heureux parce que les disques durs de 2 To étaient soldés et notre disque dur de 1 To n' | ||
+ | |||
+ | Depuis le plantage du disque, j' | ||
+ | |||
+ | ** | ||
Before looking into RAID I knew a few things about RAID: it involves multiple hard drives, sometimes the drives are used in a stripe, combined together for more space and speed, and sometimes for redundancy, when one drive mirrors the contents of another, and sometimes a combination of both. I also knew that there were several levels of RAID, RAID 0, 1, 2, 3, 4, 5, 6, and nested RAID levels (0+1/10, 100, 30, 50 and 60). | Before looking into RAID I knew a few things about RAID: it involves multiple hard drives, sometimes the drives are used in a stripe, combined together for more space and speed, and sometimes for redundancy, when one drive mirrors the contents of another, and sometimes a combination of both. I also knew that there were several levels of RAID, RAID 0, 1, 2, 3, 4, 5, 6, and nested RAID levels (0+1/10, 100, 30, 50 and 60). | ||
What I didn’t really know was that RAID is not a backup solution. It’s true that when you mirror a drive you do get an identical copy of the drive, but therein lies the backup problem - if you accidentally delete a file from one drive it’s gone from all mirrored drives. If you really want a backup, RAID by itself isn’t going to help you retrieve lost data. | What I didn’t really know was that RAID is not a backup solution. It’s true that when you mirror a drive you do get an identical copy of the drive, but therein lies the backup problem - if you accidentally delete a file from one drive it’s gone from all mirrored drives. If you really want a backup, RAID by itself isn’t going to help you retrieve lost data. | ||
+ | ** | ||
+ | Avant d' | ||
+ | |||
+ | Ce que je ne savais pas vraiment c' | ||
+ | |||
+ | ** | ||
I also wasn’t sure about was which level to use, disks to buy, or how to best implement RAID. Luckily the organization I work for has a great sysadmin I can bug from time to time (thanks Paul!). If there’s one lesson I can impart: plan your RAID array before buying equipment. In our case we already had the computer the RAID array would go in, but I wished we had other equipment as I was building the array. | I also wasn’t sure about was which level to use, disks to buy, or how to best implement RAID. Luckily the organization I work for has a great sysadmin I can bug from time to time (thanks Paul!). If there’s one lesson I can impart: plan your RAID array before buying equipment. In our case we already had the computer the RAID array would go in, but I wished we had other equipment as I was building the array. | ||
I borrowed 4 x 250GB Seagate STxxxxxx drives from work to as a test before going out and shelling out lots of money for 4 new drives. As I went to put the drives into the computer I ran into 2 issues: even though there were lots of drive bays the case felt cramped and the new power supply I bought didn’t have enough Serial ATA ends to power all the drives plus the SATA Blueray drive. | I borrowed 4 x 250GB Seagate STxxxxxx drives from work to as a test before going out and shelling out lots of money for 4 new drives. As I went to put the drives into the computer I ran into 2 issues: even though there were lots of drive bays the case felt cramped and the new power supply I bought didn’t have enough Serial ATA ends to power all the drives plus the SATA Blueray drive. | ||
+ | ** | ||
+ | Je n' | ||
+ | |||
+ | J'ai emprunté 4 disques Seagate STxxxxxx de 250 Go à mon travail pour faire un test avant de dépenser beaucoup d' | ||
+ | |||
+ | ** | ||
All four hard drives fit into the case, however the top drive was getting dangerously close to blocking the SATA headers on the motherboard. When connecting the SATA power connectors it felt like there wasn’t enough space between drives. I’ve seen my fair share of broken SATA connections on both hard drives and optical media and the cramped nature of the power connections made me think that over time the drive power headers might break. The case I was working with was a mid-tower sized case but it really felt like I should have bought a roomier gaming case with a bit more space both horizontally and vertically. | All four hard drives fit into the case, however the top drive was getting dangerously close to blocking the SATA headers on the motherboard. When connecting the SATA power connectors it felt like there wasn’t enough space between drives. I’ve seen my fair share of broken SATA connections on both hard drives and optical media and the cramped nature of the power connections made me think that over time the drive power headers might break. The case I was working with was a mid-tower sized case but it really felt like I should have bought a roomier gaming case with a bit more space both horizontally and vertically. | ||
It also dawned on me that I might not have enough SATA data headers on the motherboard, | It also dawned on me that I might not have enough SATA data headers on the motherboard, | ||
+ | ** | ||
+ | Les quatre disques durs s' | ||
+ | |||
+ | Ça m'a aussi fait penser que je pourrais ne pas avoir assez de connecteurs SATA sur la carte mère, j' | ||
+ | |||
+ | ** | ||
My wife doesn’t like to wait on her computer, so while redundancy was important speed was also equally important - I couldn’t have the RAID array slowing down her system. RAID 0, known as striping, stripes your data across multiple drives giving you better performance, | My wife doesn’t like to wait on her computer, so while redundancy was important speed was also equally important - I couldn’t have the RAID array slowing down her system. RAID 0, known as striping, stripes your data across multiple drives giving you better performance, | ||
For this month we’ll be creating a RAID 10 configuration (RAID 1+0), we’ll mirror a couple of striped drives (250GB+250GB=500GB) to another set of drives. Although we’ll be using 1TB of drives only 500GB will be available to us. RAID 10 needs a minimum of 4 drives (Linux can do RAID 10 with only 2 drives using the Linux MD driver, but this isn’t official “industry standard” RAID 10), 2 get striped together and the other two mirror the data. | For this month we’ll be creating a RAID 10 configuration (RAID 1+0), we’ll mirror a couple of striped drives (250GB+250GB=500GB) to another set of drives. Although we’ll be using 1TB of drives only 500GB will be available to us. RAID 10 needs a minimum of 4 drives (Linux can do RAID 10 with only 2 drives using the Linux MD driver, but this isn’t official “industry standard” RAID 10), 2 get striped together and the other two mirror the data. | ||
+ | ** | ||
+ | Ma femme n'aime pas attendre que son ordinateur s' | ||
+ | |||
+ | Pour ce mois, nous allons créer une configuration RAID 10 (RAID 1+0), nous copions en miroir un couple de disques en bande (250 Go + 250 Go = 500 Go) vers un autre ensemble de lecteurs. Bien que nous utiliserons 1 To de disque, seulement 500 Go seront disponibles pour nous. RAID 10 a besoin de 4 disques au minimum (Linux peut faire un RAID 10 avec seulement 2 disques en utilisant le pilote Linux MD, mais ce n'est pas un RAID 10 officiel « standard de l' | ||
+ | |||
+ | ** | ||
When I started connecting up all the drives I noticed RAID features in the motherboard BIOS. Initially this was how I thought I’d set up the RAID array. Having lived through software replacements of hardware (winmodems, video cards stealing from motherboard RAM, etc) I’ve always subscribed to the idea that a hardware solution is better than a software one. I didn’t really want to go out and buy a couple of hardware RAID controllers for home because good hardware RAID controllers are costly and you need an identical controller for backup (even revision matters) if one fails. After spending a bunch of time fiddling with the RAID BIOS I did a bit more research and found a lot of advice against using motherboard RAID. Some research suggested that if the motherboard dies you lose your data, other research said it might be possible to recover the data using an identical board but indicated most motherboard RAID took more cycles away from your CPU than dedicated RAID hardware. | When I started connecting up all the drives I noticed RAID features in the motherboard BIOS. Initially this was how I thought I’d set up the RAID array. Having lived through software replacements of hardware (winmodems, video cards stealing from motherboard RAM, etc) I’ve always subscribed to the idea that a hardware solution is better than a software one. I didn’t really want to go out and buy a couple of hardware RAID controllers for home because good hardware RAID controllers are costly and you need an identical controller for backup (even revision matters) if one fails. After spending a bunch of time fiddling with the RAID BIOS I did a bit more research and found a lot of advice against using motherboard RAID. Some research suggested that if the motherboard dies you lose your data, other research said it might be possible to recover the data using an identical board but indicated most motherboard RAID took more cycles away from your CPU than dedicated RAID hardware. | ||
Ligne 24: | Ligne 55: | ||
TO BE CONTINUED…. | TO BE CONTINUED…. | ||
+ | ** | ||
+ | |||
+ | Quand j'ai commencé à connecter tous les disques, j'ai remarqué des fonctions RAID dans le BIOS de la carte mère. Au départ, c' | ||
+ | |||
+ | En fin de compte, j'ai décidé d' | ||
+ | |||
+ | À suivre... |
issue80/labo_linux.1390403850.txt.gz · Dernière modification : 2014/01/22 16:17 de andre_domenech