LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   AIX (https://www.linuxquestions.org/questions/aix-43/)
-   -   Method Error while runnign cfgmgr in aix. (https://www.linuxquestions.org/questions/aix-43/method-error-while-runnign-cfgmgr-in-aix-922805/)

bharathyb4u 01-09-2012 12:12 AM

Method Error while runnign cfgmgr in aix.
 
I am using DS4800 storage. After allocation 5 LUN from the storage i run cfgmgr in server. I am getting below error and disks are also not showing while runnig lspv command.
Please anyone helpe me to solve this issue.

Method error (/etc/methods/cfgfdar -l dar0 ):
0514-002 Cannot initialize the ODM.

TB0ne 01-09-2012 10:53 AM

Quote:

Originally Posted by bharathyb4u (Post 4569908)
I am using DS4800 storage. After allocation 5 LUN from the storage i run cfgmgr in server. I am getting below error and disks are also not showing while runnig lspv command.
Please anyone helpe me to solve this issue.

Method error (/etc/methods/cfgfdar -l dar0 ):
0514-002 Cannot initialize the ODM.

Is that the FULL error message, or just the first line?? Usually, cfgmgr errors are longer, and will have device names in them. Most importantly, you're using AIX, on IBM hardware...what did IBM support say?

bharathyb4u 01-09-2012 11:43 PM

yes this is the full error message.Some suggested to reboot the server and some suggested to recreate the dac and dar. I dont know how to recreate the dac and dar devices.

TB0ne 01-10-2012 10:44 AM

Quote:

Originally Posted by bharathyb4u (Post 4570714)
yes this is the full error message.Some suggested to reboot the server and some suggested to recreate the dac and dar. I dont know how to recreate the dac and dar devices.

Honestly, the DS4800 device can be a bear to configure. Calling IBM is your best bet.

Otherwise, just running cfgmgr *SHOULD* recreate your DAC devices, but the DS4800 is not a true MPIO array. You have to go into the array firmware and define things, such as the primary path for each LUN. Then, check the attributes on the devices ("lsattr -El hdisk#"). Other than the queue depth, there won't be much to chdev, after a reboot.

Some helpful commands:
Code:

lspv
Displays the information about the physical volumes attached to your system.

fget_config -Av
Should show you your DAR's

lsdev | grep disk
Shows LUN MAC's

lsdev -Ccadapter
Shows FC adapters

fcstat
Status of your FC cards

You can also try these steps:
  • umount all SAN-Filesystems
  • exportvg all SAN-VG
  • rmdev all 4800-hdisks
  • rmdev all dar-devices
  • rmdev -Rdl all fcs-Adapter
  • cfgmgr
But again, know what you're doing first, and I'd STRONGLY suggest contacting IBM.

bharathyb4u 01-10-2012 10:59 PM

Thanks for you reply. IBM also suggested the same.


All times are GMT -5. The time now is 05:09 PM.