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



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  www.2cto.com  
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
 
 
 
作者 asd1986_n

相关内容

    暂无相关文章