nas:build_a_linux_nas:prepare_the_raid_disks
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
nas:build_a_linux_nas:prepare_the_raid_disks [2021/10/12 20:26] – [Obtain the Serial Numbers of the Disks] peter | nas:build_a_linux_nas:prepare_the_raid_disks [2021/10/12 20:36] (current) – [Test the Disks] peter | ||
---|---|---|---|
Line 68: | Line 68: | ||
See S.M.A.R.T. to view smart data and run smart tests. | See S.M.A.R.T. to view smart data and run smart tests. | ||
+ | |||
+ | Do a short smart test: | ||
<code bash> | <code bash> | ||
- | export DRIVE_PATH=< | + | smartctl -t short /dev/sdb [-d sat] |
</ | </ | ||
- | Do a short smart test: | + | Do a long smart test: |
<code bash> | <code bash> | ||
- | smartctl -t short " | + | smartctl -t long / |
</ | </ | ||
- | # Do a long smart test: | + | Check all smart attributes: |
<code bash> | <code bash> | ||
- | smartctl -t long " | + | smartctl -a / |
</ | </ | ||
- | # Check all smart attributes | + | Do a random readwrite test: |
- | smartctl -a " | + | |
- | </ | + | |
- | # Do a random readwrite test | + | <code bash> |
- | sudo fio --filename=" | + | sudo fio --filename=" |
</ | </ | ||
Line 99: | Line 99: | ||
sudo apt install smartmontools | sudo apt install smartmontools | ||
</ | </ | ||
+ | |||
+ | * **-d sat**: | ||
+ | |||
+ | See: https:// | ||
</ | </ | ||
+ | |||
+ | ---- | ||
===== Initialize the free disks ===== | ===== Initialize the free disks ===== |
nas/build_a_linux_nas/prepare_the_raid_disks.1634070364.txt.gz · Last modified: 2021/10/12 20:26 by peter