Hi all,
i am running proxmox on 2 hardware servers in cluster with a raspberry as quorum device. The server have 4x 4TB SSDs each for data of VMs or containers. I was using mdadm to create a raid-5 array for the disks. But migrating VMs or Containers from one server to the other lasts to long for me. So I wanted to migrate to ZFS raid-z. I created an zpool called rpool on one of the servers and made some benchmarks and the results looked good. So I started migrating volumes to the rpool and noticed that the used size of a volume is 1.5 times bigger than the actual volsize. So I can't migrate all my VMs there :-( . Is that normal behavior? Can I fix it somehow?
I have created the rpool via the webgui of proxmox and settings are like this:
zpool status
zfs list
zfs get compressratio,used,available,volblocksize,volsize
zpool get all rpool
What further Information can I provide?
Thanks for helping me out
cu emtie
i am running proxmox on 2 hardware servers in cluster with a raspberry as quorum device. The server have 4x 4TB SSDs each for data of VMs or containers. I was using mdadm to create a raid-5 array for the disks. But migrating VMs or Containers from one server to the other lasts to long for me. So I wanted to migrate to ZFS raid-z. I created an zpool called rpool on one of the servers and made some benchmarks and the results looked good. So I started migrating volumes to the rpool and noticed that the used size of a volume is 1.5 times bigger than the actual volsize. So I can't migrate all my VMs there :-( . Is that normal behavior? Can I fix it somehow?
I have created the rpool via the webgui of proxmox and settings are like this:
zpool status
Bash:
pool: rpool
state: ONLINE
config:
NAME STATE READ WRITE CKSUM
rpool ONLINE 0 0 0
raidz1-0 ONLINE 0 0 0
ata-SanDisk_SDSSDH3_4T00_20438Q420294 ONLINE 0 0 0
ata-SanDisk_SDSSDH3_4T00_20438Q421193 ONLINE 0 0 0
ata-SanDisk_SDSSDH3_4T00_20438Q420164 ONLINE 0 0 0
ata-SanDisk_SDSSDH3_4T00_20438Q421252 ONLINE 0 0 0
errors: No known data errors
zfs list
Bash:
NAME USED AVAIL REFER MOUNTPOINT
rpool 5.94T 4.30T 140K /rpool
rpool/vm-101-disk-1 5.94T 7.92T 2.32T -
zfs get compressratio,used,available,volblocksize,volsize
Bash:
rpool compressratio 1.02x -
rpool used 5.94T -
rpool available 4.30T -
rpool volblocksize - -
rpool volsize - -
rpool/vm-101-disk-1 compressratio 1.02x -
rpool/vm-101-disk-1 used 5.94T -
rpool/vm-101-disk-1 available 7.92T -
rpool/vm-101-disk-1 volblocksize 8K default
rpool/vm-101-disk-1 volsize 4T local
zpool get all rpool
Bash:
NAME PROPERTY VALUE SOURCE
rpool type filesystem -
rpool creation Thu Aug 26 22:06 2021 -
rpool used 5.94T -
rpool available 4.30T -
rpool referenced 140K -
rpool compressratio 1.02x -
rpool mounted yes -
rpool quota none default
rpool reservation none default
rpool recordsize 128K default
rpool mountpoint /rpool default
rpool sharenfs off default
rpool checksum on default
rpool compression on local
rpool atime on default
rpool devices on default
rpool exec on default
rpool setuid on default
rpool readonly off default
rpool zoned off default
rpool snapdir hidden default
rpool aclmode discard default
rpool aclinherit restricted default
rpool createtxg 1 -
rpool canmount on default
rpool xattr on default
rpool copies 1 default
rpool version 5 -
rpool utf8only off -
rpool normalization none -
rpool casesensitivity sensitive -
rpool vscan off default
rpool nbmand off default
rpool sharesmb off default
rpool refquota none default
rpool refreservation none default
rpool guid 9110619683008062517 -
rpool primarycache all default
rpool secondarycache all default
rpool usedbysnapshots 0B -
rpool usedbydataset 140K -
rpool usedbychildren 5.94T -
rpool usedbyrefreservation 0B -
rpool logbias latency default
rpool objsetid 54 -
rpool dedup off default
rpool mlslabel none default
rpool sync standard default
rpool dnodesize legacy default
rpool refcompressratio 1.00x -
rpool written 140K -
rpool logicalused 1.64T -
rpool logicalreferenced 42K -
rpool volmode default default
rpool filesystem_limit none default
rpool snapshot_limit none default
rpool filesystem_count none default
rpool snapshot_count none default
rpool snapdev hidden default
rpool acltype off default
rpool context none default
rpool fscontext none default
rpool defcontext none default
rpool rootcontext none default
rpool relatime off default
rpool redundant_metadata all default
rpool overlay on default
rpool encryption off default
rpool keylocation none default
rpool keyformat none default
rpool pbkdf2iters 0 default
rpool special_small_blocks 0 default
What further Information can I provide?
Thanks for helping me out
cu emtie