User Tools

Site Tools


disk:get_disk_info

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

disk:get_disk_info [2017/04/04 08:23] – created peterdisk:get_disk_info [2019/11/26 18:23] (current) – removed peter
Line 1: Line 1:
-====== 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: 
- 
-<code bash> 
-hdparm -i /dev/sda 
-</code> 
- 
- 
-For SCSI disk, a different command is to be used: 
- 
-<code bash> 
-sdparm /dev/sda 
-</code> 
- 
- 
-To check the hardisk capacity and partitions contained in the hardisk, fdisk can be used: 
- 
-<code bash> 
-fdisk -lu /dev/sda 
-</code> 
- 
- 
  
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