感谢支持
我们一直在努力

Linux下硬盘IDE接口和盘阵区分

盘阵和IDE可以使用sda和hda参数区分,ide接口的没有scsi-list:


fdisk -l      #scsi盘阵


Disk /dev/sda: 18.2 GB, 18210037760 bytes
255 heads, 63 sectors/track, 2213 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes


   Device Boot    Start       End    Blocks   Id  System
/dev/sda1   *         1        13    104391   83  Linux
/dev/sda2            14      2083  16627275   83  Linux
/dev/sda3          2084      2213   1044225   82  Linux swap


more /proc/scsi/scsi
Attached devices:
Host: scsi0 Channel: 00 Id: 00 Lun: 00
  Vendor: HP 18.2G Model: MAN3184MP        Rev: HP04
  Type:   Direct-Access                    ANSI SCSI revision: 02


 


IDE的:


/sbin/fdisk -l


Disk /dev/hda: 40.0 GB, 40027029504 bytes
255 heads, 63 sectors/track, 4866 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes


   Device Boot      Start         End      Blocks   Id  System
/dev/hda1   *           1        4605    36989631   83  Linux
/dev/hda2            4606        4866     2096482+  82  Linux swap / Solaris

赞(0) 打赏
转载请注明出处:服务器评测 » Linux下硬盘IDE接口和盘阵区分
分享到: 更多 (0)

听说打赏我的人,都进福布斯排行榜啦!

支付宝扫一扫打赏

微信扫一扫打赏