
[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
命令。它將顯示有關磁碟配置的詳細資訊。您將獲得供應商、磁碟類型等所有資訊。