Difference between revisions of "Btrfs/ru"

1,342 bytes added ,  13 days ago
Updating to match new version of source page
(Updating to match new version of source page)
Tags: Mobile web edit Mobile edit
(Updating to match new version of source page)
 
Line 511: Line 511:
=== btrfs filesystem df / ===
=== btrfs filesystem df / ===


<div class="mw-translate-fuzzy">
=== btrfs filesystem du ===
=== btrfs filesystem du ===
=== btrfs filesystem show ===
=== btrfs filesystem show ===
=== btrfs filesystem usage ===
=== btrfs filesystem usage ===
=== btrfs scrub status ===
=== btrfs scrub status ===
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
It is therefore not enough to simply add up the size of all files in a path to determine the '''space consumption''' in the file system.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
For each file, it must be determined how large it is and whether all or part of it is shared with other subvolumes. Since btrfs has to read a lot of metadata for this, it can take a '''long time''' to display the results:
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
{{RootCmd|command=btrfs filesystem du -s /home}}
    Total  Exclusive  Set shared  Filename
  8.11TiB    6.23GiB  215.76GiB  /home
{{BoxInfo|Total|The sum of all files, as "du" would display them in a conventional file system. This is how much space a conventional file system would use to store these files (and all the necessary copies).}}
{{BoxInfo|Exclusive|The sum of the files that "only" occur in one of the subvolumes and are not shared with other subvolumes}}
{{BoxInfo|Set shared|The sum of files shared with other subvolumes}}
{{BoxInfo|Exclusive + Set shared|This is the actual space used in the file system}}
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
=== btrfs filesystem show ===
=== btrfs filesystem usage ===
=== btrfs scrub status ===
</div>


==btrfsck==
==btrfsck==
8,158

edits