smartctl -x instead of --all
This commit is contained in:
parent
d0a1ede3e9
commit
a82d0bc345
2 changed files with 10 additions and 4 deletions
|
@ -58,8 +58,11 @@ for d in $BLOCK_DEVICES
|
|||
do
|
||||
echo "# block device /dev/$d => hdparm -Iv #" | tee -a $LOGFILE
|
||||
sudo hdparm -Iv /dev/$d 2>&1 | tee -a $LOGFILE
|
||||
echo "# block device /dev/$d => smartctl --all #" | tee -a $LOGFILE
|
||||
sudo smartctl --all /dev/$d
|
||||
done
|
||||
for d in $BLOCK_DEVICES
|
||||
do
|
||||
echo "# block device /dev/$d => smartctl -x #" | tee -a $LOGFILE
|
||||
sudo smartctl -x /dev/$d
|
||||
done
|
||||
|
||||
echo ' ' | tee -a $LOGFILE
|
||||
|
|
|
@ -53,8 +53,11 @@ for d in $BLOCK_DEVICES
|
|||
do
|
||||
echo "# block device /dev/$d => hdparm -Iv #" | tee -a $LOGFILE
|
||||
sudo hdparm -Iv /dev/$d 2>&1 | tee -a $LOGFILE
|
||||
echo "# block device /dev/$d => smartctl --all #" | tee -a $LOGFILE
|
||||
sudo smartctl --all /dev/$d
|
||||
done
|
||||
for d in $BLOCK_DEVICES
|
||||
do
|
||||
echo "# block device /dev/$d => smartctl -x #" | tee -a $LOGFILE
|
||||
sudo smartctl -x /dev/$d
|
||||
done
|
||||
|
||||
echo ' ' | tee -a $LOGFILE
|
||||
|
|
Loading…
Reference in a new issue