I have an IBM blade server with RedHat Linux installed.

How can we check to see if we have both disks running as a mirror, or if everything is only running on a single disk? What commands can I use to discover this?

I'm trying to use the cfggen utility to verify this configuration.

./cfggen controller DISPLAY

Please advise on how to find the controller number.

from cfggen docs:

   cfggen  -  Configures the Integrated Raid (IR) functionality of the HP
   SAS controllers used in LSI-1068-based HP SAS controllers.

   cfggen controller# command parameters

                    A unique controller number is assigned by the utility
                    to each PCI function found in the system.   Only  PCI
                    functions  on  controller  chips  recognized  by this
                    utility are assigned numbers.

     LSI Logic IR Configuration Utility 2.00.30
     cfggen <controller #> <command> <parameters> ...
     where <controller #> is:
     Number between 0 and 255

Assuming that you only have one of them in your machine:

./cfggen 0 [command] [parameters]

Normally numbering should start from 0 as described in your question ...

| improve this answer | |
  • I get the: ./cfggen 0 DISPLAY LSI Logic IR Configuration Utility 2.00.30 cfggen: couldn't open /dev/mptctl! cfggen: make sure the mptctl driver is loaded! – Diana Aug 4 '11 at 21:20
  • Have you ensured the mptctl driver is loaded? What does lsmod tell you? – user62491 Aug 4 '11 at 21:25
  • lsmod | grep -i raid dm_raid45 66509 0 dm_message 6977 1 dm_raid45 dm_region_hash 15681 1 dm_raid45 dm_log 14529 3 dm_mirror,dm_raid45,dm_region_hash dm_mod 62201 5 dm_mirror,dm_multipath,dm_raid45,dm_log dm_mem_cache 9537 1 dm_raid45 – Diana Aug 4 '11 at 21:34
  • from lsmod what I need to think? – Diana Aug 4 '11 at 21:35

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.