df: `/root/.gvfs': Permission denied
Posted 锦心绣口,珠烁晶莹
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了df: `/root/.gvfs': Permission denied相关的知识,希望对你有一定的参考价值。
oracle用户使用df -h时报错 [[email protected] OraBackup]$ df -h
df: `/root/.gvfs‘: Permission denied
Filesystem Size Used Avail Use% Mounted on
/dev/sda3 36G 14G 21G 40% /
tmpfs 3.0G 1.2G 1.9G 40% /dev/shm
/dev/sda1 194M 34M 151M 19% /boot
shmfs 3.0G 1.2G 1.9G 40% /dev/shm
/dev/sr0 3.6G 3.6G 0 100% /mnt 红帽官方说这是个bug Bug 447314 - df shows /root/.gvfs permission denied Status: CLOSED CURRENTRELEASE Aliases: None (edit) Product: Fedora Component: gvfs (Show other bugs) Version(s): 9 Platform: All Linux Priority: low Severity: medium Target Milestone: --- Target Release: --- Assigned To: Tomáš B?atek QA Contact: Fedora Extras Quality Assurance URL: Whiteboard: Keywords: Depends On: Blocks: Show dependency tree / graph 以下是本bug的solution,切换至root用户执行 [[email protected] OracleBak]# su - root [[email protected] OracleBak]# umount /root/.gvfs/
[[email protected] OracleBak]# rm -rf /root/.gvfs/ 切换至oracle用户,继续查看
[[email protected] OracleBak]# su - oracle
[[email protected] ~]$ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda3 36G 14G 21G 40% /
tmpfs 3.0G 1.2G 1.9G 40% /dev/shm
/dev/sda1 194M 34M 151M 19% /boot
shmfs 3.0G 1.2G 1.9G 40% /dev/shm
/dev/sr0 3.6G 3.6G 0 100% /mnt
以上是关于df: `/root/.gvfs': Permission denied的主要内容,如果未能解决你的问题,请参考以下文章
nagios check_disk:DISK CRITICAL - /root/.gvfs is not accessible: Permission denied