Linux下硬盘IDE接口和盘阵区分
来源:岁月联盟
时间:2012-05-07
Linux下硬盘IDE接口和盘阵区分 盘阵和IDE可以使用sda和hda参数区分,ide接口的没有scsi-list:fdisk -l #scsi盘阵Disk /dev/sda: 18.2 GB, 18210037760 bytes255 heads, 63 sectors/track, 2213 cylindersUnits = 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 swapmore /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 -lDisk /dev/hda: 40.0 GB, 40027029504 bytes255 heads, 63 sectors/track, 4866 cylindersUnits = 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