Mount Point May Conceal Used Disk Space
This document (7006091) is provided subject to the disclaimer at the end of this document.
Environment
SUSE Linux Enterprise Server 10
SUSE Linux Enterprise Server 9
SUSE Linux Enterprise Desktop 11
SUSE Linux Enterprise Desktop 10
Situation
The parent file system is out of disk space
The df and du command output does not match
# /bin/df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda3 14G 3.2G 9.5G 25% /
udev 2.0G 132K 2.0G 1% /dev
/dev/sda1 487M 31M 431M 7% /boot
/dev/sdc1 1004M 1004M 0 100% /exports/base
on11:/data/files 8.0G 81M 7.9G 1% /exports/base/files
In the example above, /exports/base is out of disk space. Several files have been copied to the mount point /exports/base/files, but when on11:/data/files is mounted to the /exports/base/files mount point, the files taking up disk space cannot be seen. The du -sh /export/base would show approximately 8Gb of free disk space, even though df -h shows /export/base is full.
Resolution
- umount /exports/base/files
- ls -l /exports/base/files (NOTE: This directory is a mount point and should be empty of any files or subdirectories.)
- rm -rf /exports/base/files/*
- mount /exports/base/files
Disclaimer
This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.
- Document ID:7006091
- Creation Date: 24-May-2010
- Modified Date:16-Mar-2021
-
- SUSE Linux Enterprise Desktop
- SUSE Linux Enterprise Server
For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com