Difference between revisions of "Btrfs"

m
neu übersetzt
m (→‎expand: it)
m (neu übersetzt)
Line 385: Line 385:
=== Resize a btrfs filesystem/device ===  
=== Resize a btrfs filesystem/device ===  


When resizing a filesystem, you also need to resize the partition(device) it is on. With '''gparted''' you cannot resize a partition that is mounted ! So you need to unmount it beforehand, or use a live-manjaro from USB to resize the partition and the filesystem.
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 resizing existing filesystems it is strongly advisable to be im possession of actual backups. This said, resizing is easily possible 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 ====


You must be aware, that you can shrink a filesystem only securely if it is ''not too full''. Shrinking a filesystem may take '''a long time''' because btrfs may need to move data, that was located in the area to be freed, into 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.
Using '''gparted''' it is save to shrink a btrfs filesystem. It will take all necessary steps like:
 
* mount filesystem
Using '''gparted''' you can safely shrink a BTRFS file system. All necessary steps are taken such as:
* shrink filesystem
* Mount file system
* umount filesystem
* Shrink file system
* shrink partition
* Unmount file system
* Shrink partition


see@ https://forum.manjaro.org/t/howto-resize-a-btrfs-filesystem/152999
see@ https://forum.manjaro.org/t/howto-resize-a-btrfs-filesystem/152999
Line 402: Line 403:
==== expand ====
==== expand ====


Using '''gparted''' it is save to expand a btrfs filesystem. It will take all necessary steps like:
A BTRFS file system can also be safely expanded with '''gparted'''. All necessary steps are taken such as:
* expand partition
* Extend partition
* mount filesystem
* Mount file system
* expand filesystem
* Expand file system
* umount filesystem
* Unmount file system


= Btrfs options = <!--T:86-->
= Btrfs options = <!--T:86-->
translator
987

edits