[ Contents ] [ Index
]
Updating the Object Data Manager on
an IBM AIX Host
For an IBM AIX host, to ensure the environment is stable and accurate after
making configuration changes, you need to update the Object Data Manager
(ODM).
- 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 on persistent
volume groups. If exportvg does not work, try rebooting.
- 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
- Run the following commands:
# /usr/bin/ksh93
# for ((i=1; i<20; i++))
> do
> rmdev -l gsc$i -d
> done
- Delete references in the
/dev directory by running the command:
# rm /dev/gsc*
- 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
]
|