can't remove fcs0

Hi,

I can't remove a fiber adapter.

# rmdev -dl fcs0
Method error (/usr/lib/methods/undefine):
0514-029 Cannot perform the requested function because a
child device of the specified device is not in a correct state.

Also when doing a reconfiguration.

# cfgmgr
Method error (/etc/methods/cfglft -l lft0 ):
0514-032 Cannot perform the requested function because the
specified device is dependent on another device which does
not exist.

The config/mksysb of AIX is from 7026-6H1 to 7026-B80 on an AIX43 ML 9.

Thanks in advance,
itik

Did you remove any child devices yet?

odmget -q parent=fcs0 CuDv

on one of my systems returns two devices:
fcnet0 and fscsi1

Actually, it worked when I add -R on the

# rmdev -dl fcs0 -R

and cfgmgr give me no error.

Thanks!

Thanks for the answer itik. It will help people searching this thread in the future.

The child devices, fscsi and fcnet, were preventing the removal of the adapter fcs.

fscsi and fcnet are children of the adapter,fcs,so must be removed, either by running rmdev -dl to each child device first, or with the -R switch which is a recursive delete, before you can delete the adapter.

The cfgmgr error on the lft0 device is another matter, probably generated because the original system had a graphics card and the B80 does not, but that is a matter for another thread.