btrfsはいつスペースを割り当てますか?

btrfsはいつスペースを割り当てますか?

btrfsがいつスペースを割り当てるかを知りたいです。

この質問の背景は、2つのコマンドを使用することです。

  1. btrfs filesystem showそして
  2. btrfs filesystem df /

私のシステムには、次の出力があります。

$> btrfs filesystem show
 Label: none  uuid: xxxxxxxxx-xxxx-xxx-xxx-xxxxxxxxxxxx
     Total devices 1 FS bytes used 25.77GiB
     devid    1 size 40.00GiB used 26.53GiB path /dev/sda1

$> btrfs filesystem df /
 Data, single: total=25.00GiB, used=24.48GiB
 System, single: total=32.00MiB, used=16.00KiB
 Metadata, single: total=1.50GiB, used=1.29GiB
 GlobalReserve, single: total=82.64MiB, used=0.00B

2番目のコマンドを実行するとbtrfs filesystem df /ほとんどData, single使用されているように見えますが、1番目のコマンドを実行するbtrfs filesystem showとまだ13GiB程度のスペースが残っているようです。

したがって、質問はbtrfsスペースがいつ割り当てられますか?私は気にする必要がありますか、それとも自動的に発生しますか(Metadata, single、などのすべての項目についてSystem,single)?

また、両方のコマンドの値が一致/「追加?」する必要がありますか?

ベストアンサー1

おすすめ記事