February 5, 2009

did error: ioctl(IOCDID_INIT) failed

Posted in Sun Cluster at 3:22 pm by alessiodini

On this system when i launch scgdevs the output is:

bash-2.03# scgdevs
Configuring DID devices
ioctl(IOCDID_INIT) failed for path system01:/dev/rdsk/c5t4849544143484920373730353030303930343137d0
Invalid argument
Configuring the /dev/global directory (global devices)
obtaining access to all attached disks
bash-2.03#

Ok. scgdevs 1 – alessio 0

bash-2.03# scdidadm
Usage: scdidadm [disk]
-c check the configuration file against disks
-R perform repair procedure against the disks
-u upload the path information to the driver
-i initialize the did driver
-r reconfigure did, search for all disks
-C cleanup DID mappings to nonexistent devices
-U Upgrade from did.conf format to CCR format
-v Print program version
-l list device mappings for this host
-L list device mappings for all hosts
-h Print header for device listing
-o format where format is one of
inst instance path fullpath host name fullname diskid

I found an option for repair , i try it:

bash-2.03# scdidadm -R /dev/rdsk/c5t4849544143484920373730353030303930343137d0
device id for the device matches the data base

Then i run scgdevs

bash-2.03# scgdevs
Configuring DID devices
Configuring the /dev/global directory (global devices)
obtaining access to all attached disks
bash-2.03#

Good! scgdevs 1 – alessio 1

Advertisements

5 Comments »

  1. Albert said,

    You saved my day… I couldn’t find out what I was doing wrong :)))
    Thanks for sharing this!

    • alessiodini said,

      thank you for visit my blog! πŸ™‚

  2. dean said,

    thanks- our dids starting getting goofed up after adding 150th LUN- this fixed it!

  3. Sorry for my bad english. Thank you so much for your good post. Your post helped me in my college assignment, If you can provide me more details please email me.

  4. Benny Kleykens said,

    Excellent πŸ™‚ Thanks! Appreciate it : had the same problem and couldn’t figure out what was going on.


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: