User Tools

Site Tools


disk:get_disk_info

This is an old revision of the document!


Disk - Get disk info

To check hardisk information such as model and serial number, there are a few useful commands like hdparm, sdparm and fdisk.

To check the information about first hardisk for PATA and SATA hardisk:

hdparm -i /dev/sda

For SCSI disk, a different command is to be used:

sdparm /dev/sda

To check the hardisk capacity and partitions contained in the hardisk, fdisk can be used:

fdisk -lu /dev/sda
disk/get_disk_info.1491294196.txt.gz ยท Last modified: 2020/07/15 09:30 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki