可以使用sg_vpd命令查看硬盘转速。
sg_vpd命令是sg3_utils其中一个工具,下载地址:http://sg.danny.cz/sg/sg3_utils.html
VPD:Vital Product Data
linux-suse11p1:~ # sg_vpd /dev/sg8 –page=0x89
ATA information VPD page:
SAT Vendor identification: LSI
SAT Product identification: LSI SATL
SAT Product revision level: 0008
ATA command IDENTIFY DEVICE response summary:
model: ST31000340NS
serial number: 9QJ4VPL1
firmware revision: SN06
linux-suse11p1:~ # sg_vpd /dev/sg8 –page=0xb1
Block device characteristics VPD page (SBC):
Nominal rotation rate: 7200 rpm
Nominal form factor not reported
linux-suse11p1:~ #
linux-suse11p1:~ # sg_vpd /dev/sg8 -e
Standard VPD pages:
ai 0x89 ATA information (SAT)
aod 0x82 ASCII implemented operating definition (obsolete)
adsn 0xb3 Automation device serial number (SSC)
bl 0xb0 Block limits (SBC)
bdc 0xb1 Block device characteristics (SBC)
cfa 0x8c CFA profile information
dc 0x8b Device constituents
di 0x83 Device identification
di_asis 0x83 Like ‘di’ but designators ordered as found
di_lu 0x83 Device identification, lu only
di_port 0x83 Device identification, target port only
di_target 0x83 Device identification, target device only
dtde 0xb4 Data transfer device element address (SSC)
ei 0x86 Extended inquiry data
iod 0x81 Implemented operating definition (obsolete)
lbpv 0xb2 Logical block provisioning (SBC)
mas 0xb1 Manufacturer assigned serial number (SSC)
masa 0xb1 Manufacturer assigned serial number (ADC)
mna 0x85 Management network addresses
mpp 0x87 Mode page policy
oi 0xb0 OSD information
po 0x8a Power condition
pslu 0x90 Protocol-specific logical unit information
pspo 0x91 Protocol-specific port information
ref 0xb3 Referrals (SBC)
sad 0xb0 Sequential access device capabilities (SSC)
sii 0x84 Software interface identification
sn 0x80 Unit serial number
sp 0x88 SCSI ports
st 0xb1 Security token (OSD)
sv 0x00 Supported VPD pages
tas 0xb2 TapeAlert supported flags (SSC)
Vendor specific VPD pages:
datc 0xc1,0 Date code (Seagate)
devb 0xc3,0 Device behavior (Seagate)
edid 0xc8,0 Extended device identification (RDAC)
feat 0xc3,1 Feature Parameters (RDAC)
firm 0xc0,0 Firmware numbers (Seagate)
jump 0xc2,0 Jump setting (Seagate)
sub 0xc4,0 Subsystem identifier (RDAC)
sver 0xc2,1 Software version (RDAC)
upr 0xc0,1 Unit path report (EMC)
vac 0xc9,0 Volume access control (RDAC)
Leave a Reply