How to Resize/Expand a Btrfs Volume
(Doc ID 2302774.1)
Last updated on MAY 13, 2020
Applies to:
Linux OS - Version Oracle Linux 6.0 and laterOracle Cloud Infrastructure - Version N/A and later
Linux x86-64
Goal
It is a common task to resize/expand btrfs file system since btrfs is widely used in Oracle Linux 7 and also as Docker's backend storage driver.
This note illustrates 2 common procedures to expand a btrfs root volume:
1. Expand to use available space on original disk
2. Add a new disk into the same btrfs volume
Note
These procedures are risky due to possible mistakes made in changing existing partitions or unexpected power outages during btrfs balance operation, please make sure your data/system has a latest usable BACKUP.
Solution
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Goal |
Solution |
1. Resizing partition to use available space on original disk |
2. Add a new disk to btrfs volume |
References |