issue108:labolinux2
Différences
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
issue108:labolinux2 [2016/05/02 09:39] – auntiee | issue108:labolinux2 [2016/05/04 12:36] (Version actuelle) – d52fr | ||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
**Several years ago, I bought a number of new components from an online retailer only to discover some of the equipment was bad. I figured since the hardware was new and in the sealed packing when I bought it, I wouldn’t have any problems. Whether you’re building a new system or refurbishing an old one, it’s always a good idea to test your hardware. Since hard drives are most people’s permanent storage, having a healthy hard drive is almost as important as good steady power to the computer.** | **Several years ago, I bought a number of new components from an online retailer only to discover some of the equipment was bad. I figured since the hardware was new and in the sealed packing when I bought it, I wouldn’t have any problems. Whether you’re building a new system or refurbishing an old one, it’s always a good idea to test your hardware. Since hard drives are most people’s permanent storage, having a healthy hard drive is almost as important as good steady power to the computer.** | ||
- | Il y a plusieurs années, j'ai acheté pas mal de nouvelles | + | Il y a plusieurs années, j'ai acheté pas mal de nouveaux |
**In the past, our refurbishing project has used a few methods to detect bad drives: The first method was just listening to the drive. If the drive sounded whiny (or had the notorious click of death), we either wiped the drive with DBAN (Darik’s Boot and Nuke - http:// | **In the past, our refurbishing project has used a few methods to detect bad drives: The first method was just listening to the drive. If the drive sounded whiny (or had the notorious click of death), we either wiped the drive with DBAN (Darik’s Boot and Nuke - http:// | ||
- | Par le passé, notre projet de remise à neuf de vieux ordinateurs utilisait quelques méthodes pour détecter les mauvais disques : tout d' | + | Par le passé, notre projet de remise à neuf de vieux ordinateurs utilisait quelques méthodes pour détecter les mauvais disques : tout d' |
- | To augment our SMART testing, we’re starting to use WHDD, a tool ported to Ubuntu by Eugene San. WHDD bills itself as a hard disk drive diagnostic and recovery tool. What we like about WHDD is that it can run a disk read surface scan fairly rapidly. Smartmontools and Gsmartcontrol can be used to run a short (approximately 2 minute) electrical and mechanical test, but the short test covers only a small part of the drive. Both tools can also be used to run a Long/ | + | **To augment our SMART testing, we’re starting to use WHDD, a tool ported to Ubuntu by Eugene San. WHDD bills itself as a hard disk drive diagnostic and recovery tool. What we like about WHDD is that it can run a disk read surface scan fairly rapidly. Smartmontools and Gsmartcontrol can be used to run a short (approximately 2 minute) electrical and mechanical test, but the short test covers only a small part of the drive. Both tools can also be used to run a Long/ |
- | This is where WHDD comes in handy. WHDD can run a complete surface READ scan on an 80GB hard drive in under 22 minutes | + | Pour augmenter l' |
- | The ETA is an approximate Estimated Time of Arrival (finish) WHDD displays at the beginning of the test. For the most part, the ETA, unlike many time indicators, is fairly accurate – to within a few minutes. But, like other time indicators, it does suffer time creep when the test comes across several slowly read sectors. We tested several drives and found the average time for an 80GB hard drive to be about 22 minutes. | + | **This is where WHDD comes in handy. WHDD can run a complete surface READ scan on an 80GB hard drive in under 22 minutes (17 minutes on one of our Seagate drives). Our larger 3TB drive (which was completely full of data) finished in 245 minutes. Below is a small sampling of the time/size ratio we found for different drives we measured.** |
+ | |||
+ | C'est ici que WHDD est appréciable. WHDD peut faire un scan READ (de lecture) complet de la surface d'un disque dur de 80 Go en moins de 22 minutes (17 minutes sur un de nos disques Seagate). Le scan d'un disque de 3 To (rempli de données) fut terminé en 245 minutes. Voici un petit échantillon du rapport temps/ | ||
+ | |||
+ | //AE : Voici les entêtes du tableau : Fabricant et Modèle | ||
+ | |||
+ | **The ETA is an approximate Estimated Time of Arrival (finish) WHDD displays at the beginning of the test. For the most part, the ETA, unlike many time indicators, is fairly accurate – to within a few minutes. But, like other time indicators, it does suffer time creep when the test comes across several slowly read sectors. We tested several drives and found the average time for an 80GB hard drive to be about 22 minutes.** | ||
+ | |||
+ | L'ETA est l' | ||
The Speed of the drive is a fluctuating number. In general, we found the larger the drive the higher the speed. This makes a lot of sense since newer drives should have faster technology to read the surface of larger sized drives. We tested 15 drives of different sizes and makes, and found (with the odd exception) the trend of faster speed seems to correlate with size. Drive content didn’t seem to affect the numbers as much as the number of slowly read sectors. | The Speed of the drive is a fluctuating number. In general, we found the larger the drive the higher the speed. This makes a lot of sense since newer drives should have faster technology to read the surface of larger sized drives. We tested 15 drives of different sizes and makes, and found (with the odd exception) the trend of faster speed seems to correlate with size. Drive content didn’t seem to affect the numbers as much as the number of slowly read sectors. | ||
- | During the read test, WHDD charts the number of blocks read at each of the following speeds: <3 ms, <10 ms, <50 ms, <150 ms, <500 ms, > 500 ms. If you see a lot of blocks in the <500 ms range and > 500 ms range it’s a really good idea to back up your data and switch to a drive with better read times. Below is a small sample of read times for the same drives. | + | La Vitesse du scan d'un disque peut varier beaucoup. En règle générale, nous avons trouvé que plus la taille du disque est grande et plus la vitesse du scan est élevée. C'est logique, car la technologie de lecture de la surface des disques plus récents et de plus grande taille devrait être meilleure. On a testé 15 disques de taille et de marque différentes et nous avons trouvé (sauf quelques exceptions) que la tendance d'une plus grande vitesse semble être en rapport avec la taille. Le contenu du disque ne semble pas affecter les chiffres autant que le nombre de secteurs lus très lentement. |
- | In the example, the Western Digital WD5000AAKS-65V0 500GB hard drive has 3 blocks | + | **During |
- | But what about data? Does the amount of data affect the time data is read by WHDD? In these charts, all the drives were blank with the exception of the 3TB Seagate ST3000DM001-1ER166 which was almost full of very large files (20GB+ files). Although it took the longest | + | In the example, the Western Digital WD5000AAKS-65V0 500GB hard drive has 3 blocks in the above 500 millisecond and 22 blocks in the between 150 to 500 millisecond range. If you’re concerned about your drive being fast, or worried about bad blocks, this might be a good indication |
- | WHDD is a command line tool and needs sudo permission to run: | + | Pendant le test de lecture, WHDD porte sur un tableau le nombre de blocs lus à chacune des vitesses suivantes : < 3 ms, < 10 ms, < 520 ms, < 150 ms, < 500 ms, > 500 ms. Si vous voyez de nombreux blocs dans la plage < 500 ms et > 500 ms, je vous conseille de sauvegarder vos données sans attendre et de changer pour un disque dont les temps de lecture sont meilleurs. Ci-dessous, vous trouverez un petit échantillon des temps de lecture des mêmes disques. |
+ | |||
+ | Dans l' | ||
+ | |||
+ | **But what about data? Does the amount of data affect the time data is read by WHDD? In these charts, all the drives were blank with the exception of the 3TB Seagate ST3000DM001-1ER166 which was almost full of very large files (20GB+ files). Although it took the longest to read, it’s also 6 times the size of the 500GB drive. If we take the 90 minutes of the 500GB drive, and multiply it by 6, we get 540 minutes, almost double the time the 3TB actually took to read. From this we can conclude that WHDD doesn’t seem to be affected much by the amount of data on a computer (it also helps that newer drives are simply faster).** | ||
+ | |||
+ | Mais quid des données ? Est-ce que la quantité des données affecte le temps du scan fait par WHDD ? Dans les tableaux, tous les disques était vides - sauf le Seagate ST3000DM001-1ER166 de 3 To qui était presque plein de très grands fichiers (des fichiers de 20 Go et plus). Bien que sa lecture ait pris le plus de temps, sa taille est également six fois celle du disque de 500 Go. Si on multiplie les 90 minutes du disque de 500 Go par 6, on arrive à 540 minutes, presque le double du temps qu'il a fallu pour lire le disque de 3 To. Nous pouvons donc conclure que WHDD n'est pas affecté par la quantité de données se trouvant sur un ordinateur (en plus, les disques plus récents sont de toute façon plus rapides et ça aide). | ||
+ | |||
+ | **WHDD is a command line tool and needs sudo permission to run: | ||
sudo whdd | sudo whdd | ||
Ligne 27: | Ligne 43: | ||
WHDD can show SMART attributes, run a read test, run a copy test, run a write test, or set up a host protected area (HPA), a hidden area of the drive an OS can’t normally read. WHDD doesn’t do the kind of SMART short test that Smartmontools or Gsmartcontrol does, but one of the neat things that WHDD might tell you (when looking at the SMART attributes) is if the hard drive has a firmware update available. | WHDD can show SMART attributes, run a read test, run a copy test, run a write test, or set up a host protected area (HPA), a hidden area of the drive an OS can’t normally read. WHDD doesn’t do the kind of SMART short test that Smartmontools or Gsmartcontrol does, but one of the neat things that WHDD might tell you (when looking at the SMART attributes) is if the hard drive has a firmware update available. | ||
+ | Read, Copy and Write tests are all visual. As each block is read/ | ||
- | Read, Copy and Write tests are all visual. As each block is read/ | + | WHDD est un outil en ligne de commande et a besoin des droits d' |
- | At any time during a test, you can stop the test by pressing CTRL+C. To get back to the WHDD menu, press m (after aborting the test with CRTL+C). | + | sudo whdd |
+ | |||
+ | WHDD peut afficher des attributs SMART, faire un test de lecture, faire un test de copie, faire un test d' | ||
+ | |||
+ | Les tests Read, Copy et Write sont tous visuels. Pendant que chaque bloc est lu/ | ||
+ | |||
+ | **At any time during a test, you can stop the test by pressing CTRL+C. To get back to the WHDD menu, press m (after aborting the test with CRTL+C). | ||
WHDD is a great tool when SMART doesn’t tell the whole story. SMART can tell you a lot about a hard drive: it can tell you the number of hours in use, whether a sector has been reallocated, | WHDD is a great tool when SMART doesn’t tell the whole story. SMART can tell you a lot about a hard drive: it can tell you the number of hours in use, whether a sector has been reallocated, | ||
- | Of course there is no substitute for a good backup. More than any other tool, a good backup can save you the most grief. Whether you’re a system administrator or just storing terabytes of music and video on your home media server, you want some kind of backup to ensure your data (and effort) doesn’t disappear if a drive fails. | + | Of course there is no substitute for a good backup. More than any other tool, a good backup can save you the most grief. Whether you’re a system administrator or just storing terabytes of music and video on your home media server, you want some kind of backup to ensure your data (and effort) doesn’t disappear if a drive fails. |
- | Alan Ward wrote an excellent article on backup using rsync in FCM#83: http:// | + | À n' |
+ | |||
+ | WHDD est un outil génial quand SMART ne vous dit pas tout. SMART peut vous en apprendre beaucoup sur un disque dur : le nombre d' | ||
+ | |||
+ | Bien entendu, rien ne vaut une bonne sauvegarde. Plus que tout, une bonne sauvegarde peut vous éviter de gros ennuis. Que vous soyez administrateur système ou une personne qui stocke des téraoctets de musique et de vidéos sur votre serveur multimédia domestique, vous devez avoir un quelconque système de sauvegarde pour vous assurer que vos données (et tous vos efforts) ne disparaissent pas si un disque meurt. | ||
+ | |||
+ | **Alan Ward wrote an excellent article on backup using rsync in FCM#83: http:// | ||
In summary: if you’re just checking out blank drives, listen first – if a drive sounds bad, but tests good with a SMART tool like Gsmartcontrol or Smartmontools, | In summary: if you’re just checking out blank drives, listen first – if a drive sounds bad, but tests good with a SMART tool like Gsmartcontrol or Smartmontools, | ||
Ligne 44: | Ligne 73: | ||
Smartmontools: | Smartmontools: | ||
- | WHDD: http:// | + | WHDD: http:// |
+ | |||
+ | Alan Ward a écrit un excellent article sur les sauvegardes avec rsync dans le FCM n° 83 : http:// | ||
+ | |||
+ | En résumé : si vous ne faites qu'une vérification de disque vide, écoutez-le d' | ||
+ | |||
+ | GSmartcontrol : http:// | ||
+ | |||
+ | Smartmontools : https:// | ||
+ | |||
+ | WHDD : http:// |
issue108/labolinux2.1462174789.txt.gz · Dernière modification : 2016/05/02 09:39 de auntiee