Difference between revisions of "Btrfs"

117 bytes added ,  11 months ago
Marked this version for translation
m (neu übersetzt)
(Marked this version for translation)
Line 383: Line 383:
{{RootCmd|command=watch -n 60 btrfs filesystem show /}}
{{RootCmd|command=watch -n 60 btrfs filesystem show /}}


=== Resize a btrfs filesystem/device ===  
=== Resize a btrfs filesystem/device === <!--T:130-->


<!--T:131-->
When you resize a file system, you also need to resize the partition (device) it resides on. You cannot resize a mounted partition using '''gparted'''! So you need to unmount it beforehand or use a live manjaro from USB to resize the partition and file system.
When you resize a file system, you also need to resize the partition (device) it resides on. You cannot resize a mounted partition using '''gparted'''! So you need to unmount it beforehand or use a live manjaro from USB to resize the partition and file system.


<!--T:132-->
When resizing existing file systems, it is strongly advisable to have current backups. However, resizing is possible without any problems when using '''gparted'''.
When resizing existing file systems, it is strongly advisable to have current backups. However, resizing is possible without any problems when using '''gparted'''.


==== shrink ====
==== shrink ==== <!--T:133-->


<!--T:134-->
What you need to understand is that you can only safely shrink a file system if it is ''not too full''. Shrinking a file system can take a '''long time''' because BTRFS may need to move data that was in the area to be freed to the remaining area.
What you need to understand is that you can only safely shrink a file system if it is ''not too full''. Shrinking a file system can take a '''long time''' because BTRFS may need to move data that was in the area to be freed to the remaining area.


<!--T:135-->
Using '''gparted''' you can safely shrink a BTRFS file system. All necessary steps are taken such as:
Using '''gparted''' you can safely shrink a BTRFS file system. All necessary steps are taken such as:
* Mount file system
* Mount file system
Line 399: Line 403:
* Shrink partition
* Shrink partition


<!--T:136-->
see@ https://forum.manjaro.org/t/howto-resize-a-btrfs-filesystem/152999
see@ https://forum.manjaro.org/t/howto-resize-a-btrfs-filesystem/152999


==== expand ====
==== expand ==== <!--T:137-->


<!--T:138-->
A BTRFS file system can also be safely expanded with '''gparted'''. All necessary steps are taken such as:
A BTRFS file system can also be safely expanded with '''gparted'''. All necessary steps are taken such as:
* Extend partition
* Extend partition
translator
11,127

edits