Skip to content

Commit 07d88f6

Browse files
adam900710kdave
authored andcommitted
btrfs-progs: docs: add a note about RW degraded mount
When a new chunk is allocated during a RW degraded mount, btrfs can allocate new chunks with other profiles, like SINGLE, if the current devices can no longer support the original profile. This can cause unexpected chunk profiles, and the end user is recommended to balance them out if they want to maintain the current allocation profile. Signed-off-by: Qu Wenruo <wqu@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
1 parent 7e4ceb0 commit 07d88f6

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

Documentation/ch-mount-options.rst

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,15 @@ degraded
180180
then the constraint of single/data is not satisfied and the filesystem
181181
cannot be mounted.
182182

183+
.. note::
184+
During a degraded mount, if a new chunk is going to be
185+
allocated and the existing devices cannot meet the requirements
186+
for the current profile then mount will fall back to other profiles
187+
like SINGLE.
188+
189+
It is recommended to check and balance chunks with unwanted profiles,
190+
after a read-write degraded mount.
191+
183192
.. duplabel:: mount-option-device
184193

185194
device=<devicepath>

0 commit comments

Comments
 (0)