2021-11-30 15:00:48 +00:00
|
|
|
Resize
|
|
|
|
======
|
|
|
|
|
2023-06-28 17:55:08 +00:00
|
|
|
A mounted filesystem can be resized after creation, grown or shrunk. On a
|
|
|
|
multi-device filesystem the space occupied on each device can be resized
|
2021-12-17 09:49:39 +00:00
|
|
|
independently. Data that reside in the area that would be out of the new size
|
|
|
|
are relocated to the remaining space below the limit, so this constrains the
|
2021-12-09 19:46:42 +00:00
|
|
|
minimum size to which a filesystem can be shrunk.
|
|
|
|
|
|
|
|
Growing a filesystem is quick as it only needs to take note of the available
|
|
|
|
space, while shrinking a filesystem needs to relocate potentially lots of data
|
|
|
|
and this is IO intense. It is possible to shrink a filesystem in smaller steps.
|
2023-06-28 17:55:08 +00:00
|
|
|
See :ref:`btrfs filesystem resize<man-filesystem-resize>` for more.
|