Manjaro Difference between revisions of "Btrfs/ru"

Difference between revisions of "Btrfs/ru"

From Manjaro
(Created page with "= Обслуживание Btrfs = Btrfs, как и любая файловая система, нуждается в обслуживании. Чем больше вы исп...")
Tags: Mobile web edit Mobile edit
(Updating to match new version of source page)
Tags: Mobile web edit Mobile edit
Line 418: Line 418:
{{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 /}}
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
=== Resize a btrfs filesystem/device ===
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
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.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
When resizing existing file systems, it is strongly advisable to have current backups. However, resizing is possible without any problems when using '''gparted'''.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
==== shrink ====
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
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.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
Using '''gparted''' you can safely shrink a BTRFS file system. All necessary steps are taken such as:
* Mount file system
* Shrink file system
* Unmount file system
* Shrink partition
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
see@ https://forum.manjaro.org/t/howto-resize-a-btrfs-filesystem/152999
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
==== expand ====
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
A BTRFS file system can also be safely expanded with '''gparted'''. All necessary steps are taken such as:
* Extend partition
* Mount file system
* Expand file system
* Unmount file system
</div>
</div>


Cookies help us deliver our services. By using our services, you agree to our use of cookies.