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 11
SUSE Linux Enterprise Server 10
SUSE Linux Enterprise Server 9
SUSE Linux Enterprise Desktop 11
SUSE Linux Enterprise Desktop 10

Situation

The df command shows disk is out of space, but du shows free space
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

Unmount file systems from the parent file system, and remove any files in the mount points. Do to following to free up disk space consumed in the mount point.
  1. umount /exports/base/files
  2. ls -l /exports/base/files (NOTE: This directory is a mount point and should be empty of any files or subdirectories.)
  3. rm -rf /exports/base/files/*
  4. 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

< Back to Support Search

For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback@suse.com

SUSE Support Forums

Get your questions answered by experienced Sys Ops or interact with other SUSE community experts.

Join Our Community

Support Resources

Learn how to get the most from the technical support you receive with your SUSE Subscription, Premium Support, Academic Program, or Partner Program.


SUSE Customer Support Quick Reference Guide SUSE Technical Support Handbook Update Advisories
Support FAQ

Open an Incident

Open an incident with SUSE Technical Support, manage your subscriptions, download patches, or manage user access.

Go to Customer Center