[PVE-User] sparse and compression

Andreas Herrmann andreas at mx20.org
Mon Dec 11 16:22:59 CET 2017


Hi Miguel,

On 11.12.2017 16:10, Miguel González wrote:
>> Example for raidz1 (4x 960GB SSDs):
>> root at foobar:~# zpool list
>> NAME    SIZE  ALLOC   FREE  EXPANDSZ   FRAG    CAP  DEDUP  HEALTH  ALTROOT
>> zpool  3.41T   102G  3.31T         -     8%     2%  1.00x  ONLINE  -
>>
>> root at foobar:~# zfs list
>> NAME                             USED  AVAIL  REFER  MOUNTPOINT
>> zpool                            237G  2.17T   140K  /zpool
>>
>> zpool ALLOC is smaller than zfs USED in this example. Why? Try to unserstand
>> the difference between 'referenced' and 'used'. My volumes aren't sparse but
>> discard is used.
> 
> 
> I have search around about how to understand those columns. I didn´t
> find anything on the wiki that explains this.

Why should Proxmox explain the theory of ZFS? Please have a look at 'man zfs'.
There you'll find all you need.

Andreas



More information about the pve-user mailing list