[ Contents ] [ Index ]

Updating the Object Data Manager on an IBM AIX Host

For an IBM AIX host, to ensure that

the environment is stable and accurate after making configuration changes, you must update the Object Data Manager (ODM).

  1. Run the following command for each deleted disk:

    # rmdev -l hdisk# -d

    where # is the number of the disk that was removed.

    CAUTION: Never remove hdisk0.

    To remove multiple disks (hdisk 1 up to hdisk19), run the following commands:

    # /usr/bin/ksh93
    # for ((i=1; i<20; i++))
    > do
    > rm dev -l hdisk$i -d
    > done

    If the rmdev command returns busy disk errors, use either the command line, smit, or smitty to make sure that any previously created volume groups have been varied off and that no file systems are mounted on the device(s). It might also be necessary to perform an exportvg function on persistent volume groups. If exportvg does not work, try rebooting.

  2. If using a JBOD, run the same command for generic devices, which can be determined from the results returned from running the following command:

    lsdev -Cc generic

  3. Run the following commands:

    # /usr/bin/ksh93
    # for ((i=1; i<20; i++))
    > do
    > rmdev -l gsc$i -d
    > done

  4. Delete references in the /dev directory by running the command:

    # rm /dev/gsc*

  5. Stop and start the agent and reread the system configuration into the ODM by running the following commands:

    # ssagent stop
    # ssagent start
    # cfgmgr -v

    CAUTION: Depending on the number of devices present in the OS, this command might take several minutes to complete. Do not make any configuration changes until cfgmgr has completed.

[ Contents ] [ Index ]