インストールされているGoogleドライブストレージアカウントのdfとduに表示されるサイズに違いがあるのはなぜですか?

インストールされているGoogleドライブストレージアカウントのdfとduに表示されるサイズに違いがあるのはなぜですか?

cpマウントされたGoogle Driveストレージアカウントからディスクにディレクトリコピーを使用しています。

必要なディスク容量を理解するには、Googleドライブからディスクにコピーするすべてのディレクトリの合計サイズを知る必要があります。

Google ドライブのストレージ アカウントは google-drive-ocamlfuse を使用してインストールされます。以下のようにdfコマンドを実行しました。du

dfマウントされたGoogleドライブのストレージアカウントの合計サイズは15Gで、11Gを使用していることを示しています。ただし、du.sharedフォルダ(私のGoogleドライブアカウントの「Shared with me」フォルダと仮定)の合計サイズは93Gです。

インストールされているGoogleドライブのストレージアカウントのdfサイズが異なるのはなぜですか?du

dfGoogleドライブアカウントに「私と共有」フォルダが含まれている場合、.shared(たとえば、「私と共有」)フォルダのサイズがブラウザに表示されるGoogleドライブストレージアカウントのサイズよりはるかに大きいのはなぜですか?

$ df -h
Filesystem               Size  Used Avail Use% Mounted on
google-drive-ocamlfuse    15G   11G  4.7G  69% /home/user/cloud_storage

$ du -h --max-depth=1 cloud_storage
93G     cloud_storage/.shared
4.0K    cloud_storage/.Trash
98G     cloud_storage

$ du -h --max-depth=1 cloud_storage/.shared/
5G    cloud_storage/.shared/FolderA
1G    cloud_storage/.shared/FolderB
3G    cloud_storage/.shared/FolderC
1G    cloud_storage/.shared/FolderD
1G    cloud_storage/.shared/FolderE
2G    cloud_storage/.shared/FolderF
1G    cloud_storage/.shared/FolderG
20G     cloud_storage/.shared/FolderH
30G     cloud_storage/.shared/FolderI
28G     cloud_storage/.shared/FolderJ
1G     cloud_storage/.shared/FolderK
93G     cloud_storage/.shared/

ベストアンサー1

おすすめ記事