How to see disk information like supplier in Linux
With sfdisk -s
I can see the disk ability as adheres to:
$ sfdisk -s
/dev/cciss/c0d0: 143338560
total: 143338560 blocks
How do I see disk information like disk supplier? I attempted hdparm
, yet obtained a mistake:
$ hdparm -i /dev/cciss/c0d0
/dev/cciss/c0d0:
HDIO_GET_IDENTITY failed: Inappropriate ioctl for device
0
Answers: 3
Try these commands:
lshw -class disk
hwinfo --disk
You might need to install hwinfo
.
Worrying hdparm
:
hdparm (8) claims:
Although this utility is intended primarily for use with SATA/IDE hard disk
devices, several of the options are also valid (and permitted) for use with
SCSI hard disk devices and MFM/RLL hard disks with XT interfaces.
and also:
Some options (eg. -r for SCSI) may not work with old kernels as necessary
ioctl()´s were not supported.
0
wag 2019-05-17 19:38:26
Source
Share
Related questions