
[root@testing ~]# df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/mapper/VolGroup00-LogVol00
274597936 23881492 236542648 10% /
/dev/sda1 101086 12964 82903 14% /boot
tmpfs 770076 0 770076 0% /dev/shm
ハードディスクのタイプやモデル番号を確認するにはどうすればいいでしょうか?
私は試した
[root@testing ~]# hdparm -i /dev/sda1
/dev/sda1:
HDIO_GET_IDENTITY failed: Inappropriate ioctl for device
[root@testing ~]# smartctl -H /dev/sda1
smartctl version 5.38 [x86_64-redhat-linux-gnu] Copyright (C) 2002-8 Bruce Allen
Home page is http://smartmontools.sourceforge.net/
SMART Health Status: OK
他に何ができるでしょうか? SATA か SCSI か、RAID か、Seagate のようなブランド名か、そういったことを知る必要があります。
答え1
コマンドを試してくださいlshw -class disk -class storage
。ディスク構成の詳細情報が表示されます。ベンダー、ディスクの種類などのすべての情報を取得できます。