On 2017-11-27 00:37, Martin Raiber wrote:
On 26.11.2017 08:46 Tomasz Chmielewski wrote:
Got this one on a 4.14-rc7 filesystem with some 400 GB left:

Hi,

I guess it is too late now, but I guess the "btrfs fi usage" output of
the file system (especially after it went ro) would be useful.

It was more or less similar as it went ro:


# btrfs fi df /srv
Data, RAID1: total=2.21TiB, used=2.15TiB
System, RAID1: total=32.00MiB, used=352.00KiB
Metadata, RAID1: total=16.00GiB, used=13.09GiB
GlobalReserve, single: total=512.00MiB, used=0.00B


# btrfs fi show /srv
Label: 'btrfs'  uuid: 105b2e0c-8af2-45ee-b4c8-14ff0a3ca899
        Total devices 2 FS bytes used 2.16TiB
        devid    1 size 2.63TiB used 2.22TiB path /dev/sda4
        devid    2 size 2.63TiB used 2.22TiB path /dev/sdb4


# btrfs fi usage /srv
Overall:
    Device size:                   5.25TiB
    Device allocated:              4.45TiB
    Device unallocated:          823.97GiB
    Device missing:                  0.00B
    Used:                          4.33TiB
    Free (estimated):            471.91GiB      (min: 471.91GiB)
    Data ratio:                       2.00
    Metadata ratio:                   2.00
    Global reserve:              512.00MiB      (used: 0.00B)

Data,RAID1: Size:2.21TiB, Used:2.15TiB
   /dev/sda4       2.21TiB
   /dev/sdb4       2.21TiB

Metadata,RAID1: Size:16.00GiB, Used:13.09GiB
   /dev/sda4      16.00GiB
   /dev/sdb4      16.00GiB

System,RAID1: Size:32.00MiB, Used:352.00KiB
   /dev/sda4      32.00MiB
   /dev/sdb4      32.00MiB

Unallocated:
   /dev/sda4     411.99GiB
   /dev/sdb4     411.99GiB



Tomasz Chmielewski
https://lxadm.com
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to