- Mitglied seit
- 01. Mrz 2022
- Beiträge
- 12
- Punkte für Reaktionen
- 0
- Punkte
- 1
root@...:~# btrfs fi du -s /volume1
Total Exclusive Set shared Filename
ERROR: Failed to lookup root id - Inappropriate ioctl for device
ERROR: cannot check space of '/volume1': Operation not permitted
...:~$ btrfs fi usage /volume1
WARNING: cannot read detailed chunk info, RAID5/6 numbers will be incorrect, run as root
Overall:
Device size: 14.54TiB
Device allocated: 13.27TiB
Device unallocated: 1.27TiB
Device missing: 14.54TiB
Used: 7.99TiB
Free (estimated): 6.27TiB (min: 5.63TiB)
Data ratio: 1.00
Metadata ratio: 2.00
Global reserve: 2.00GiB (used: 0.00B)
> das "missing" klingt schon etwas böse, aber als root dann
root@...:~# btrfs fi usage /volume1
Overall:
Device size: 14.54TiB
Device allocated: 13.27TiB
Device unallocated: 1.27TiB
Device missing: 0.00B
Used: 7.99TiB
Free (estimated): 6.27TiB (min: 5.63TiB)
Data ratio: 1.00
Metadata ratio: 2.00
Global reserve: 2.00GiB (used: 0.00B)
Data,single: Size:12.96TiB, Used:7.96TiB
/dev/mapper/cachedev_0 12.96TiB
Metadata,DUP: Size:158.50GiB, Used:12.09GiB
/dev/mapper/cachedev_0 317.00GiB
System,DUP: Size:8.00MiB, Used:256.00KiB
/dev/mapper/cachedev_0 16.00MiB
Unallocated:
/dev/mapper/cachedev_0 1.27TiB
root@...:~# btrfs fi show /volume1
Label: '2018.01.13-01:32:23 v15217' uuid: 6e6e28f5-6f67-4f5c-9ee9-3e823b6f16ba
Total devices 1 FS bytes used 7.98TiB
devid 1 size 14.54TiB used 13.27TiB path /dev/mapper/cachedev_0
root@...:~# btrfs fi df /volume1
Data, single: total=12.96TiB, used=7.96TiB
System, DUP: total=8.00MiB, used=256.00KiB
Metadata, DUP: total=158.50GiB, used=12.30GiB
GlobalReserve, single: total=2.00GiB, used=0.00B
root@...:~# btrfs su li /volume1
ID 257 gen 913233 top level 5 path @syno
ID 259 gen 913180 top level 257 path @iSCSI
ID 261 gen 913239 top level 257 path Files
ID 262 gen 913180 top level 257 path @sharesnap
ID 263 gen 913180 top level 262 path @sharesnap/Files
ID 307 gen 913232 top level 257 path docker
...
root@...:~# btrfs su li /volume1 | awk '{print $9}'
@syno
@iSCSI
Files
@sharesnap
@sharesnap/Files
docker
...
root@...:~# V="/volume1"; L=""; for D in $(btrfs su li $V | awk '{print $9}'); do L+="$V/$D "; done; btrfs fi du -s $L
Total Exclusive Set shared Filename
ERROR: cannot check space of '/volume1/@syno': No such file or directory
362.43GiB 362.43GiB 0.00B /volume1/@iSCSI
2.60TiB 6.04MiB 2.60TiB /volume1/Files
...
Wenn du das Forum hilfreich findest oder uns unterstützen möchtest, dann gib uns doch einfach einen Kaffee aus.
Als Dankeschön schalten wir deinen Account werbefrei.