Solved: A specific user is not able to see usage statistics in “df” command output ?
In this post, we will look at a small and interesting issue where when we do “df” to see the filesystem usage, we are not able to see the details from a specific user.
Lets see the actual issue below.
Issue Details
$ df -h /dev/mopprdlg2lv - - - - - /mopprd/db/archredo2 /dev/mopprdlg1lv - - - - - /mopprd/db/archredo1 /dev/redoblv 2.00 0.43 79% 34 1% /redob /dev/fralv 13.00 11.62 11% 27 1% /fra /dev/mopprdappnewlv 5.50 2.09 63% 129480 20% /mopprd/app /dev/prodoralv 24.00 4.49 82% 78144 7% /products/oracle /dev/mapbprdapplv 5.00 3.04 40% 301 1% /mapbprd/app /dev/IBMvastlv 4.00 1.16 71% 937 1% /opt/IBMvast /dev/erwinprdlv 19.75 15.36 23% 11 1% /erwinprd/db/datafiles /dev/mapbprdlv - - - - - /mapbprd/db/datafiles /dev/mopprdlv - - - - - /mopprd/db/datafiles /dev/erwinprdlg1lv 15.00 14.82 2% 398 1% /erwinprd/db/archredo1 /dev/erwinprdlg2lv 15.00 14.82 2% 397 1% /erwinprd/db/archredo2 /dev/mapbprdlg1lv - - - - - /mapbprd/db/archredo1 /dev/mapbprdlg2lv - - - - - /mapbprd/db/archredo2
Solution
The solution is pretty easy, the user Mike don't have permission to go into these partitions/directories. Hence we need to Check permissions of /mapbprd and /mapbprd/db and correct them so that a particular user can have read and execute permissions to read that mount point.