translator
1,001
edits
m (Link zu btrfs hinzugefügt) |
(resize btrfs filesystem) |
||
Line 382: | Line 382: | ||
{{UserCmd|command=pamac install procps-ng}} | {{UserCmd|command=pamac install procps-ng}} | ||
{{RootCmd|command=watch -n 60 btrfs filesystem show /}} | {{RootCmd|command=watch -n 60 btrfs filesystem show /}} | ||
=== 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 resizing existing filesystems it is strongly advisable to be im possession of actual backups. This said, resizing is easily possible when using '''gparted'''. | |||
==== 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 needs to move all data that is located in the area to be freed, into the remaining area. | |||
Using '''gparted''' is save to shrink a btrfs filesystem. It will take all necessary steps like: | |||
* mount filesystem | |||
* shrink filesystem | |||
* umount filesystem | |||
* shrink partition | |||
==== expand ==== | |||
Using '''gparted''' is save to expand a btrfs filesystem. It will take all necessary steps like: | |||
* expand partition | |||
* mount filesystem | |||
* expand filesystem | |||
* umount filesystem | |||
= Btrfs options = <!--T:86--> | = Btrfs options = <!--T:86--> |