pvdisplay command fails with "Too many open files" on systems with many disks
Issue
-
pvdisplay
command fails with Too many open files on systems with many disks# pvdisplay [...] /sys/dev/block/253:766/holders/: opendir failed: Too many open files /sys/dev/block/253:255/holders/: opendir failed: Too many open files /sys/dev/block/253:511/holders/: opendir failed: Too many open files /sys/dev/block/253:767/holders/: opendir failed: Too many open files [...]
Environment
- Red Hat Enterprise Linux 7
- lvm2
- many storage devices (> 1000)
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.