blkid command takes too much time to finish
Issue
-
When using
blkid
it takes too long to finish when the system has thousands of disks. -
The
blkid
command takes around five seconds to finish processing the disk even when adding the device path:# date; blkid -o value -s TYPE /dev/sdmc1; date Wed Oct 9 13:16:42 -03 2019 oracleasm Wed Oct 9 13:16:51 -03 2019
Environment
- Red Hat Enterprise Linux (RHEL) 7
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.