1、查看磁盘信息:

 

#smartctl -i /dev/sda

smartctl 5.42 2011-10-20 r3458 [x86_64-linux-2.6.18-308.16.1.el5] (local build)

Copyright (C) 2002-11 by Bruce Allen, http://smartmontools.sourceforge.net

 

Smartctl open device: /dev/sda failed: DELL or MegaRaid controller, please try adding '-d megaraid,N'

2、查看做了raid的磁盘信息:

 

#smartctl -a -d megaraid,0 /dev/sda

其megaraid,0中的0代表的是在megaraid中的物理盘编号

 

3、smartctl命令 -d 参数:

-d TYPE, --device=TYPE

         Specify device type to one of: ata, scsi, sat[,N][+TYPE], usbcypress[,X], usbjmicron[,x][,N], usbsunplus, marvell, areca,N, 3ware,N, hpt,L/M/N, megaraid,N, cciss,N, auto, test

 

http://blog.51cto.com/shouhouzhe/1555491

相关文章:

  • 2022-12-23
  • 2021-11-24
  • 2021-11-21
  • 2021-12-18
  • 2021-06-06
  • 2021-05-18
  • 2021-11-11
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-08-22
  • 2021-12-04
相关资源
相似解决方案