mirror of
https://github.com/hyperknot/openfreemap.git
synced 2026-05-21 14:02:15 +00:00
fs_stats
This commit is contained in:
@@ -1,79 +0,0 @@
|
|||||||
# deduplicated on BTRFS
|
|
||||||
|
|
||||||
After extration, after deleting the dedupl folder.
|
|
||||||
|
|
||||||
### creation params
|
|
||||||
|
|
||||||
```
|
|
||||||
mkfs.btrfs -m single
|
|
||||||
mount -o noacl,nobarrier,noatime,max_inline=4096
|
|
||||||
```
|
|
||||||
|
|
||||||
### df
|
|
||||||
|
|
||||||
```
|
|
||||||
df -h mnt_rw
|
|
||||||
Filesystem Size Used Avail Use% Mounted on
|
|
||||||
/dev/loop3 300G 133G 158G 46%
|
|
||||||
```
|
|
||||||
|
|
||||||
### btrfs
|
|
||||||
|
|
||||||
```
|
|
||||||
btrfs filesystem df mnt_rw
|
|
||||||
Data, single: total=48.01GiB, used=47.45GiB
|
|
||||||
System, single: total=4.00MiB, used=16.00KiB
|
|
||||||
Metadata, single: total=95.01GiB, used=84.96GiB
|
|
||||||
GlobalReserve, single: total=512.00MiB, used=0.00B
|
|
||||||
```
|
|
||||||
|
|
||||||
|
|
||||||
```
|
|
||||||
btrfs filesystem du -s mnt_rw
|
|
||||||
Total Exclusive Set shared Filename
|
|
||||||
47.45GiB 47.45GiB 0.00B mnt_rw
|
|
||||||
```
|
|
||||||
```
|
|
||||||
btrfs filesystem show mnt_rw
|
|
||||||
Total devices 1 FS bytes used 132.41GiB
|
|
||||||
devid 1 size 300.00GiB used 143.02GiB path /dev/loop3
|
|
||||||
```
|
|
||||||
|
|
||||||
```
|
|
||||||
btrfs filesystem usage mnt_rw
|
|
||||||
Overall:
|
|
||||||
Device size: 300.00GiB
|
|
||||||
Device allocated: 143.02GiB
|
|
||||||
Device unallocated: 156.98GiB
|
|
||||||
Device missing: 0.00B
|
|
||||||
Used: 132.41GiB
|
|
||||||
Free (estimated): 157.54GiB (min: 157.54GiB)
|
|
||||||
Free (statfs, df): 157.54GiB
|
|
||||||
Data ratio: 1.00
|
|
||||||
Metadata ratio: 1.00
|
|
||||||
Global reserve: 512.00MiB (used: 0.00B)
|
|
||||||
Multiple profiles: no
|
|
||||||
|
|
||||||
Data,single: Size:48.01GiB, Used:47.45GiB (98.83%)
|
|
||||||
/dev/loop3 48.01GiB
|
|
||||||
|
|
||||||
Metadata,single: Size:95.01GiB, Used:84.96GiB (89.43%)
|
|
||||||
/dev/loop3 95.01GiB
|
|
||||||
|
|
||||||
System,single: Size:4.00MiB, Used:16.00KiB (0.39%)
|
|
||||||
/dev/loop3 4.00MiB
|
|
||||||
|
|
||||||
Unallocated:
|
|
||||||
/dev/loop3 156.98GiB
|
|
||||||
```
|
|
||||||
|
|
||||||
### compsize
|
|
||||||
|
|
||||||
|
|
||||||
```
|
|
||||||
compsize -x mnt_rw
|
|
||||||
Processed 269219146 files, 3458682 regular extents (3458682 refs), 265760464 inline.
|
|
||||||
Type Perc Disk Usage Uncompressed Referenced
|
|
||||||
TOTAL 100% 92G 92G 92G
|
|
||||||
none 100% 92G 92G 92G
|
|
||||||
```
|
|
||||||
44
docs/fs_stats/btrfs_after_delete.txt
Normal file
44
docs/fs_stats/btrfs_after_delete.txt
Normal file
@@ -0,0 +1,44 @@
|
|||||||
|
df -h
|
||||||
|
Filesystem Size Used Avail Use% Mounted on
|
||||||
|
/dev/loop4 200G 130G 70G 65% /data/ofm/runs/planet_20231208_091355/mnt_rw2
|
||||||
|
|
||||||
|
|
||||||
|
btrfs filesystem df
|
||||||
|
Data, single: total=48.01GiB, used=47.32GiB
|
||||||
|
System, single: total=4.00MiB, used=16.00KiB
|
||||||
|
Metadata, single: total=83.01GiB, used=81.27GiB
|
||||||
|
GlobalReserve, single: total=512.00MiB, used=0.00B
|
||||||
|
|
||||||
|
|
||||||
|
btrfs filesystem show
|
||||||
|
Label: none uuid: d95b460e-4005-4f1f-ba28-bf4a82ecdbd5
|
||||||
|
Total devices 1 FS bytes used 128.59GiB
|
||||||
|
devid 1 size 200.00GiB used 131.02GiB path /dev/loop4
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
btrfs filesystem usage
|
||||||
|
Overall:
|
||||||
|
Device size: 200.00GiB
|
||||||
|
Device allocated: 131.02GiB
|
||||||
|
Device unallocated: 68.98GiB
|
||||||
|
Device missing: 0.00B
|
||||||
|
Used: 128.59GiB
|
||||||
|
Free (estimated): 69.67GiB (min: 69.67GiB)
|
||||||
|
Free (statfs, df): 69.67GiB
|
||||||
|
Data ratio: 1.00
|
||||||
|
Metadata ratio: 1.00
|
||||||
|
Global reserve: 512.00MiB (used: 0.00B)
|
||||||
|
Multiple profiles: no
|
||||||
|
|
||||||
|
Data,single: Size:48.01GiB, Used:47.32GiB (98.57%)
|
||||||
|
/dev/loop4 48.01GiB
|
||||||
|
|
||||||
|
Metadata,single: Size:83.01GiB, Used:81.27GiB (97.91%)
|
||||||
|
/dev/loop4 83.01GiB
|
||||||
|
|
||||||
|
System,single: Size:4.00MiB, Used:16.00KiB (0.39%)
|
||||||
|
/dev/loop4 4.00MiB
|
||||||
|
|
||||||
|
Unallocated:
|
||||||
|
/dev/loop4 68.98GiB
|
||||||
@@ -1,79 +0,0 @@
|
|||||||
# deduplicated on BTRFS
|
|
||||||
|
|
||||||
After extration, but before deleting the dedupl folder.
|
|
||||||
|
|
||||||
### creation params
|
|
||||||
|
|
||||||
```
|
|
||||||
mkfs.btrfs -m single
|
|
||||||
mount -o noacl,nobarrier,noatime,max_inline=4096
|
|
||||||
```
|
|
||||||
|
|
||||||
### df
|
|
||||||
|
|
||||||
```
|
|
||||||
df -h mnt_rw
|
|
||||||
Filesystem Size Used Avail Use% Mounted on
|
|
||||||
/dev/loop3 300G 139G 161G 47%
|
|
||||||
```
|
|
||||||
|
|
||||||
### btrfs
|
|
||||||
|
|
||||||
```
|
|
||||||
btrfs filesystem df mnt_rw
|
|
||||||
Data, single: total=48.01GiB, used=47.45GiB
|
|
||||||
System, single: total=4.00MiB, used=16.00KiB
|
|
||||||
Metadata, single: total=92.01GiB, used=90.37GiB
|
|
||||||
GlobalReserve, single: total=512.00MiB, used=0.00B
|
|
||||||
```
|
|
||||||
|
|
||||||
|
|
||||||
```
|
|
||||||
btrfs filesystem du -s mnt_rw
|
|
||||||
Total Exclusive Set shared Filename
|
|
||||||
47.45GiB 47.45GiB 0.00B mnt_rw
|
|
||||||
```
|
|
||||||
```
|
|
||||||
btrfs filesystem show mnt_rw
|
|
||||||
Total devices 1 FS bytes used 137.81GiB
|
|
||||||
devid 1 size 300.00GiB used 140.02GiB path /dev/loop3
|
|
||||||
```
|
|
||||||
|
|
||||||
```
|
|
||||||
btrfs filesystem usage mnt_rw
|
|
||||||
Overall:
|
|
||||||
Device size: 300.00GiB
|
|
||||||
Device allocated: 140.02GiB
|
|
||||||
Device unallocated: 159.98GiB
|
|
||||||
Device missing: 0.00B
|
|
||||||
Used: 137.81GiB
|
|
||||||
Free (estimated): 160.54GiB (min: 160.54GiB)
|
|
||||||
Free (statfs, df): 160.54GiB
|
|
||||||
Data ratio: 1.00
|
|
||||||
Metadata ratio: 1.00
|
|
||||||
Global reserve: 512.00MiB (used: 0.00B)
|
|
||||||
Multiple profiles: no
|
|
||||||
|
|
||||||
Data,single: Size:48.01GiB, Used:47.45GiB (98.83%)
|
|
||||||
/dev/loop3 48.01GiB
|
|
||||||
|
|
||||||
Metadata,single: Size:92.01GiB, Used:90.37GiB (98.22%)
|
|
||||||
/dev/loop3 92.01GiB
|
|
||||||
|
|
||||||
System,single: Size:4.00MiB, Used:16.00KiB (0.39%)
|
|
||||||
/dev/loop3 4.00MiB
|
|
||||||
|
|
||||||
Unallocated:
|
|
||||||
/dev/loop3 159.98GiB
|
|
||||||
```
|
|
||||||
|
|
||||||
### compsize
|
|
||||||
|
|
||||||
|
|
||||||
```
|
|
||||||
compsize -x mnt_rw
|
|
||||||
Processed 308790063 files, 3458682 regular extents (6917363 refs), 301872700 inline.
|
|
||||||
Type Perc Disk Usage Uncompressed Referenced
|
|
||||||
TOTAL 100% 118G 118G 165G
|
|
||||||
none 100% 118G 118G 165G
|
|
||||||
```
|
|
||||||
44
docs/fs_stats/btrfs_before_delete.txt
Normal file
44
docs/fs_stats/btrfs_before_delete.txt
Normal file
@@ -0,0 +1,44 @@
|
|||||||
|
df -h
|
||||||
|
Filesystem Size Used Avail Use% Mounted on
|
||||||
|
/dev/loop3 200G 139G 61G 70% /data/ofm/runs/planet_20231208_091355/mnt_rw
|
||||||
|
|
||||||
|
|
||||||
|
btrfs filesystem df
|
||||||
|
Data, single: total=48.01GiB, used=47.45GiB
|
||||||
|
System, single: total=4.00MiB, used=16.00KiB
|
||||||
|
Metadata, single: total=92.01GiB, used=90.36GiB
|
||||||
|
GlobalReserve, single: total=512.00MiB, used=0.00B
|
||||||
|
|
||||||
|
|
||||||
|
btrfs filesystem show
|
||||||
|
Label: none uuid: 1ca91839-f506-452e-bb09-4f13f58d5944
|
||||||
|
Total devices 1 FS bytes used 137.81GiB
|
||||||
|
devid 1 size 200.00GiB used 140.02GiB path /dev/loop3
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
btrfs filesystem usage
|
||||||
|
Overall:
|
||||||
|
Device size: 200.00GiB
|
||||||
|
Device allocated: 140.02GiB
|
||||||
|
Device unallocated: 59.98GiB
|
||||||
|
Device missing: 0.00B
|
||||||
|
Used: 137.81GiB
|
||||||
|
Free (estimated): 60.54GiB (min: 60.54GiB)
|
||||||
|
Free (statfs, df): 60.54GiB
|
||||||
|
Data ratio: 1.00
|
||||||
|
Metadata ratio: 1.00
|
||||||
|
Global reserve: 512.00MiB (used: 0.00B)
|
||||||
|
Multiple profiles: no
|
||||||
|
|
||||||
|
Data,single: Size:48.01GiB, Used:47.45GiB (98.83%)
|
||||||
|
/dev/loop3 48.01GiB
|
||||||
|
|
||||||
|
Metadata,single: Size:92.01GiB, Used:90.36GiB (98.21%)
|
||||||
|
/dev/loop3 92.01GiB
|
||||||
|
|
||||||
|
System,single: Size:4.00MiB, Used:16.00KiB (0.39%)
|
||||||
|
/dev/loop3 4.00MiB
|
||||||
|
|
||||||
|
Unallocated:
|
||||||
|
/dev/loop3 59.98GiB
|
||||||
Reference in New Issue
Block a user