간단한것 하드디스크 정보
[root@localhost ~]# cat /proc/scsi/scsi
Attached devices:
Host: scsi0 Channel: 00 Id: 00 Lun: 00
Vendor: ATA Model: Hitachi HDS72105 Rev: JP2O
Type: Direct-Access ANSI SCSI revision: 05
Host: scsi1 Channel: 00 Id: 00 Lun: 00
Vendor: HL-DT-ST Model: DVDRAM GT20N Rev: CQ01
Type: CD-ROM ANSI SCSI revision: 05
Host: scsi4 Channel: 00 Id: 00 Lun: 00
Vendor: Adaptec Model: DATA Rev: V1.0
Type: Direct-Access ANSI SCSI revision: 02
Host: scsi4 Channel: 01 Id: 00 Lun: 00
Vendor: Hitachi Model: HDS721010CLA332 Rev: JP4O
Type: Direct-Access ANSI SCSI revision: 05
Host: scsi4 Channel: 01 Id: 01 Lun: 00
Vendor: Hitachi Model: HDS721010CLA332 Rev: JP4O
Type: Direct-Access ANSI SCSI revision: 05
Host: scsi4 Channel: 01 Id: 02 Lun: 00
Vendor: Hitachi Model: HDS721010CLA332 Rev: JP4O
Type: Direct-Access ANSI SCSI revision: 05
Host: scsi4 Channel: 01 Id: 03 Lun: 00
Vendor: Hitachi Model: HDS721010CLA332 Rev: JP4O
Type: Direct-Access ANSI SCSI revision: 05
Host: scsi4 Channel: 01 Id: 04 Lun: 00
Vendor: Hitachi Model: HDS721010CLA332 Rev: JP4O
Type: Direct-Access ANSI SCSI revision: 05
Host: scsi4 Channel: 01 Id: 05 Lun: 00
Vendor: Hitachi Model: HDS721010CLA332 Rev: JP4O
Type: Direct-Access ANSI SCSI revision: 05
Host: scsi4 Channel: 01 Id: 06 Lun: 00
Vendor: Hitachi Model: HDS721010CLA332 Rev: JP4O
Type: Direct-Access ANSI SCSI revision: 05
Host: scsi4 Channel: 01 Id: 07 Lun: 00
Vendor: Hitachi Model: HDS721010CLA332 Rev: JP4O
Type: Direct-Access ANSI SCSI revision: 05
Host: scsi4 Channel: 03 Id: 00 Lun: 00
Vendor: ADAPTEC Model: Virtual SGPIO 0 Rev: 0001
Type: Enclosure ANSI SCSI revision: 05
Host: scsi4 Channel: 03 Id: 01 Lun: 00
Vendor: ADAPTEC Model: Virtual SGPIO 1 Rev: 0001
Type: Enclosure ANSI SCSI revision: 05
[root@localhost ~]#
이렇게 나오면 하드디스크가 9개 라는 건가요?
..
fdisk -l
로 보시는것이 편하지 않을까요? :)
--------------- 절취선 ------------------------
하늘은 스스로 삽질하는 자를 삽으로 팬다.
http://glay.pe.kr
--------------- 절취선 ------------------------
하늘은 스스로 삽질하는 자를 삽으로 팬다.
http://glay.pe.kr
이렇게 나오는데 하드디스크의 갯수, 각각의 모델명,용량, 방식(SAS,SATA2,...)은 알수가 없네요.
Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 1 25 200781 83 Linux
/dev/sda2 26 547 4192965 82 Linux swap / Solaris
/dev/sda3 548 60801 483990255 83 Linux
WARNING: GPT (GUID Partition Table) detected on '/dev/sdb'! The util fdisk doesn't support GPT. Use GNU Parted.
WARNING: The size of this disk is 6.0 TB (5997911343104 bytes).
DOS partition table format can not be used on drives for volumes
larger than 2.2 TB (2199023255040 bytes). Use parted(1) and GUID
partition table format (GPT).
Disk /dev/sdb: 5997.9 GB, 5997911343104 bytes
255 heads, 63 sectors/track, 729204 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sdb1 1 267350 2147483647+ ee EFI GPT
댓글 달기