vxvm:vxconfigd: V-5-1-12223 Error in claiming /dev/sdclh: Too many open files
When disks attached to a system are in an "online invalid" state, the VxVM vxconfigd daemon will read these devices to confirm whether the underlying device(s) have a VxVM Private region present on them. This cannot be avoided from a VxVM perspective.
To prevent such unwanted reads against the “online invalid” disks, the disks can be offlined.
NOTE: Do not offline any internal disks, only SAN attached devices reporting an "online invalid" state.
As "vxdmpadm exclude dmpnodename=" can be an expensive operation when a large number of LUNs and paths are presented. The "vxdisk offline
VMWare SNAPSHOTs taken against the VMWare datastore LUNs can still be accessed when in an offline state, as the underlying paths are still in an ENABLED state.
Products such as NetBackup will still be able to access the underlying sd# device paths.
Where a large number of online invalid disks are present, the user can create a file containing the device names to be offline/onlined:
# vxdisk -l filename offline
# vxdisk -l filename online
When using the -l filename option, disk access names can be specified through a file. Each line in the file should contain one disk access (da) name.
Sample syntax
To offline all emc and san disks, type:
vxdisk -q list | grep "online invalid" | egrep 'emc|san' | awk ' { print $1 }' > /tmp/disklist
vxdisk -l /tmp/disklist offline
NOTE: The offline state is not persistent across reboots.
Due to the CPU cycles required to manage 3 or more paths per DMPNODE, Veritas also recommends changing the DMP iopolicy from MinimumQ (default) to round-robin where possible.
# vxdmpadm setattr enclosure
online invalid" VxVM disk status.