![]() ![]() Storage/projects/Project1 compression lz4 inherited from storage This ZFS filesystem uses the default LZ4 compression, and as can be seen below, the compression ratio on that filesystem is quite good: ▶ sudo zfs get compression,compressratio storage/projects/Project1 gen file is 12TB in size, but the actually used total disk space (see the first line) is 640GB!Īn alternative way to check this is using the du command to show disk space usage: ▶ du -bh values and the overall Zpool health (i.e. I have set up Prometheus/Grafana for monitoring of the server, but I am not sure about what metrics to capture for health/performance monitoring of the ZFS drives aside for some S.M.A.R.T. rw-r- 1 user1 group1 2.7M May 14 17:40 file1.sample The disk health information is provided by SMART and is displayed with smartctl. I have a small home server running Ubuntu with 4 x 8TB drives in a 2 x Mirrored Vdev configuration for data storage. rw-r- 1 user1 group1 1.1K May 15 12:53 fcgene_out_fcgene.log ![]() ![]() I just noticed the most extreme example I have seen to date: ▶ ls -lh #ZFS COMMANDS TO MONITOR DISK HEALTH HOW TO#Ive not used PRTG, so I cant tell you how to configure PRTG to get at it, but from the command line, looking at one of my machines (actually a brand new storinator chassis Im testing): dalton: user snmpget -v2c -c public nas1 HOST-RESOURCES-MIB::hrStorageDescr.13 HOST-RESOURCES-MIB. Well… unless they check the output of the ls command carefully, of course. The information is available via the SNMP server. It is completely transparent: the user doesn’t notice anything. Enabling compression on a ZFS filesystem allows you to save a significant amount of space, especially in a field like ours where one sometimes needs to use large plain text files. One of the great things of ZFS is its built-in compression capability. Computing, Linux, Server, ZFS Posted on by Lennart Karssen ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |