Why are df and ls -l so slow on a GFS filesystem?

Updated -

This depends on how much activity is or has been occurring. For a df to complete all the nodes have to update any information held in cache. The same is true of any stat operation like ls -l. All nodes in the cluster have to write all their data to disk in order for the information to be accurate.


Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In