Ceph does not appear to be compressing my files.
Code:
root@node01:/mnt/primary# ceph df detail
RAW STORAGE:
CLASS SIZE AVAIL USED RAW USED %RAW USED
hdd 25 TiB 22 TiB 3.0 TiB 3.0 TiB 11.82
TOTAL 25 TiB 22 TiB 3.0 TiB 3.0 TiB 11.82
POOLS:
POOL ID STORED OBJECTS USED %USED MAX AVAIL QUOTA OBJECTS QUOTA BYTES DIRTY USED COMPR UNDER COMPR
primary_data 1 1.4 TiB 387.40k 2.8 TiB 12.52 9.9 TiB N/A N/A 387.40k 2.9 GiB 5.9 GiB
Code:
root@node01:/mnt/primary# ceph osd pool get primary_data compression_algorithm
compression_algorithm: lz4
Code:
root@node01:/mnt/primary# ceph osd pool get primary_data compression_mode
compression_mode: aggressive
Code:
[global]
auth_client_required = cephx
auth_cluster_required = cephx
auth_service_required = cephx
bluestore_compression_algorithm = lz4
bluestore_compression_mode = passive
bluestore_csum_type = crc32c
bluestore_compression_required_ratio = 0.875