Страница 1 из 1

Как определить какой уровень raid блочного устройства?

Добавлено: 2009-05-13 9:02:50
korbnik
Как определить какой уровень raid блочного устройства?
Например есть устройство /dev/sdb1

Код: Выделить всё

# df -h | grep sdb1
/dev/sdb1             673G   36G  603G   6% /mnt/u00
#
Какой командой определить какого уровня raid этого устройства?
Или в каталоге /proc что-то надо посмотреть?

Заранее благодарен. Борис.

Re: Как определить какой уровень raid блочного устройства?

Добавлено: 2009-05-13 9:55:38
terminus
Что это за устройство - сторейдж подключенный через HBA?

Re: Как определить какой уровень raid блочного устройства?

Добавлено: 2009-05-13 10:48:31
korbnik
sas, не scsi

Re: Как определить какой уровень raid блочного устройства?

Добавлено: 2009-05-13 10:55:51
terminus
А dmesg что говорит об этом устройстве?

Re: Как определить какой уровень raid блочного устройства?

Добавлено: 2009-05-13 11:57:26
didmoro3
По всей видимости речь идет о linux's. В FreeBSD, кажется можно так:

Код: Выделить всё

atacontrol status your_device

Re: Как определить какой уровень raid блочного устройства?

Добавлено: 2009-05-13 14:23:33
zingel
в dmesg что в линуксе что во фре

Re: Как определить какой уровень raid блочного устройства?

Добавлено: 2009-05-13 15:27:02
korbnik
zingel писал(а):в dmesg что в линуксе что во фре
Вот:

Код: Выделить всё

QLogic Fibre Channel HBA Driver
Adaptec aacraid driver 1.1-5[2447]
ACPI: PCI interrupt 0000:09:00.0[A] -> GSI 19 (level, low) -> IRQ 185
PCI: Setting latency timer of device 0000:09:00.0 to 64
aacraid0: kernel 5.2-0[15583] Nov 27 2007
aacraid0: monitor 5.2-0[15583]
aacraid0: bios 5.2-0[15583]
aacraid0: serial AA1539
aacraid0: Non-DASD support enabled.
aacraid0: 64 Bit DAC enabled
scsi6 : aacraid
Using cfq io scheduler
  Vendor: Sun       Model: SYSTEM            Rev: V1.0
  Type:   Direct-Access                      ANSI SCSI revision: 02
62 [RAIDarray.mpp]Device 0x08b75500 is not an array
SCSI device sda: 286494720 512-byte hdwr sectors (146685 MB)
sda: Write Protect is off
sda: Mode Sense: 06 00 10 00
SCSI device sda: drive cache: write back
SCSI device sda: 286494720 512-byte hdwr sectors (146685 MB)
sda: Write Protect is off
sda: Mode Sense: 06 00 10 00
SCSI device sda: drive cache: write back
 sda: sda1 sda2
Attached scsi removable disk sda at scsi6, channel 0, id 0, lun 0
62 [RAIDarray.mpp]Device 0x08b75500 is not an array
Attached scsi generic sg0 at scsi6, channel 0, id 0, lun 0,  type 0
  Vendor: Sun       Model: bckp              Rev: V1.0
  Type:   Direct-Access                      ANSI SCSI revision: 02
62 [RAIDarray.mpp]Device 0x08b74e80 is not an array
SCSI device sdb: 1432535040 512-byte hdwr sectors (733458 MB)
sdb: Write Protect is off
sdb: Mode Sense: 06 00 10 00
SCSI device sdb: drive cache: write back
SCSI device sdb: 1432535040 512-byte hdwr sectors (733458 MB)
sdb: Write Protect is off
sdb: Mode Sense: 06 00 10 00
SCSI device sdb: drive cache: write back
 sdb: sdb1
Attached scsi removable disk sdb at scsi6, channel 0, id 1, lun 0
62 [RAIDarray.mpp]Device 0x08b74e80 is not an array
Attached scsi generic sg1 at scsi6, channel 0, id 1, lun 0,  type 0
  Vendor: SEAGATE   Model: ST914602SSUN146G  Rev: 0603
  Type:   Direct-Access                      ANSI SCSI revision: 05
62 [RAIDarray.mpp]Device 0x08b74800 is not an array
Attached scsi generic sg2 at scsi6, channel 1, id 0, lun 0,  type 32
  Vendor: SEAGATE   Model: ST914602SSUN146G  Rev: 0603
  Type:   Direct-Access                      ANSI SCSI revision: 05
62 [RAIDarray.mpp]Device 0x08b74180 is not an array
Attached scsi generic sg3 at scsi6, channel 1, id 1, lun 0,  type 32
  Vendor: SEAGATE   Model: ST914602SSUN146G  Rev: 0603
  Type:   Direct-Access                      ANSI SCSI revision: 05
62 [RAIDarray.mpp]Device 0x08735540 is not an array
Attached scsi generic sg4 at scsi6, channel 1, id 2, lun 0,  type 32
  Vendor: SEAGATE   Model: ST914602SSUN146G  Rev: 0603
  Type:   Direct-Access                      ANSI SCSI revision: 05
62 [RAIDarray.mpp]Device 0x08734ec0 is not an array
Attached scsi generic sg5 at scsi6, channel 1, id 3, lun 0,  type 32
  Vendor: SEAGATE   Model: ST914602SSUN146G  Rev: 0603
  Type:   Direct-Access                      ANSI SCSI revision: 05
62 [RAIDarray.mpp]Device 0x08734840 is not an array
Attached scsi generic sg6 at scsi6, channel 1, id 4, lun 0,  type 32
  Vendor: SEAGATE   Model: ST914602SSUN146G  Rev: 0603
  Type:   Direct-Access                      ANSI SCSI revision: 05
62 [RAIDarray.mpp]Device 0x087341c0 is not an array
Attached scsi generic sg7 at scsi6, channel 1, id 5, lun 0,  type 32
  Vendor: SEAGATE   Model: ST914602SSUN146G  Rev: 0603
  Type:   Direct-Access                      ANSI SCSI revision: 05
62 [RAIDarray.mpp]Device 0x0807b580 is not an array
Attached scsi generic sg8 at scsi6, channel 1, id 6, lun 0,  type 32
  Vendor: SEAGATE   Model: ST914602SSUN146G  Rev: 0603
  Type:   Direct-Access                      ANSI SCSI revision: 05
62 [RAIDarray.mpp]Device 0x0807af00 is not an array
Attached scsi generic sg9 at scsi6, channel 1, id 7, lun 0,  type 32
  Vendor: ADAPTEC   Model: Virtual SGPIO  0  Rev: 0001
  Type:   Enclosure                          ANSI SCSI revision: 05
Attached scsi generic sg10 at scsi6, channel 3, id 0, lun 0,  type 13
  Vendor: ADAPTEC   Model: Virtual SGPIO  1  Rev: 0001
  Type:   Enclosure                          ANSI SCSI revision: 05
Attached scsi generic sg11 at scsi6, channel 3, id 1, lun 0,  type 13

Re: Как определить какой уровень raid блочного устройства?

Добавлено: 2009-05-13 15:45:18
zingel
http://wiki.club.cc.cmu.edu/org/ccwiki/ ... on/AACRAID

как вариант - afacli но не уверен