Saturday, 30 April 2016

Checking your harddisk using smartctl or hdparm

This short tip is to check your harddisk to check if it is active or in standby mode using smartctl  command:

 sudo smartctl -i -n standby /dev/sdx

Note:
x = a letter representing the device you are checking

Update: In addition, the following command helps using hdparm which should works if your drive is in 'sleep' state without waking the drive:

sudo hdparm -C /dev/sdx

Happy holidays!


Follow my blog with Bloglovin

No comments:

Post a Comment

Experimenting with Archlinux on Legacy Bios system

nano /etc/wpa_suppplicant/wpa_supplicant.conf    ctrl_interface=/run/wpa_supplicant    update_config=1 wpa_supplicant -B -i wlan0 -c /e...