This commit is contained in:
Zsolt Ero
2023-12-18 04:28:31 +01:00
parent 5bb4c9aae2
commit 3079f3453c

View File

@@ -48,6 +48,26 @@ rsync -avH mnt_rw/extract/ mnt_rw2/extract/ > rsync_out.log 2> rsync_err.log
# collect stats
{
echo -e "df -h"
sudo df -h mnt_rw
echo -e "\n\nbtrfs filesystem df"
sudo btrfs filesystem df mnt_rw
echo -e "\n\nbtrfs filesystem show"
sudo btrfs filesystem show mnt_rw
echo -e "\n\nbtrfs filesystem usage"
sudo btrfs filesystem usage mnt_rw
echo -e "\n\nbtrfs filesystem du -s"
sudo btrfs filesystem du -s mnt_rw
echo -e "\n\ncompsize -x"
sudo compsize -x mnt_rw 2> /dev/null || true
} > stats1.txt
{
echo -e "df -h"
sudo df -h mnt_rw2
@@ -66,7 +86,7 @@ sudo btrfs filesystem du -s mnt_rw2
echo -e "\n\ncompsize -x"
sudo compsize -x mnt_rw2 2> /dev/null || true
} > stats.txt
} > stats2.txt
sudo umount mnt_rw