btrfs - No space left on device
This document (7018362) is provided subject to the disclaimer at the end of this document.
Environment
SUSE Linux Enterprise Server 12
Situation
btrfs fi show / Label: none uuid: 57c03625-0299-4173-8cf0-c30338e89798 Total devices 1 FS bytes used 5.46GiB devid 1 size 7.03GiB used 7.03GiB path /dev/<btrfs-device>Also, the command df shows free space available.
Resolution
mount /dev/<btrfs-device> /mnt btrfs balance start /mnt/fulldiskIf there is not enough space to balance, add an empty disk to btrfs:
btrfs device add /dev/<empty-disk> /mnt btrfs balance start /mnt
error removing the device '/dev/<empty-device>' - unable to go below two devices on raid1Run:
btrfs balance start -f -dconvert=single -mconvert=single /mntAfterwards the btrfs filesystem should show free disk space again:
btrfs fi show / Label: none uuid: 57c03625-0299-4173-8cf0-c30338e89798 Total devices 1 FS bytes used 5.46GiB devid 1 size 7.03GiB used 6.34GiB path /dev/<btrfs-device>
Cause
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:7018362
- Creation Date: 06-Dec-2016
- Modified Date:24-Apr-2024
-
- SUSE Linux Enterprise Server
For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com