I know this is a common issue, but I cant get it going with the typical settings. I can create on LVM, but not on zvol, nor ZFS file system. I have added a ZFS storage type on the storage page, and a directory to the dataset mount. When I try to move the drive from my lvm to the zfs dataset I get:
proxmox-ve: 5.2-2 (running kernel: 4.15.18-1-pve)
pve-manager: 5.2-6 (running version: 5.2-6/bcd5f008)
lxc-pve: 3.0.0-3
lxcfs: 3.0.0-1
zfsutils-linux: 0.7.9-pve1~bpo9
My storage config:
zfs settings:
Code:
Warning, had trouble writing out superblocks.
TASK ERROR: command 'mkfs.ext4 -O mmp -E 'root_owner=0:0' /mnt/cts/images/361/vm-361-disk-1.raw' failed: exit code 144
proxmox-ve: 5.2-2 (running kernel: 4.15.18-1-pve)
pve-manager: 5.2-6 (running version: 5.2-6/bcd5f008)
lxc-pve: 3.0.0-3
lxcfs: 3.0.0-1
zfsutils-linux: 0.7.9-pve1~bpo9
My storage config:
Code:
zfspool: VMdata1
pool VMdata1
content images,rootdir
sparse 1
dir: VMdata1-dir
path /mnt/VMdata1
content rootdir,iso,vztmpl,backup
maxfiles 2
shared 0
dir: CTs
path /mnt/cts
content rootdir,vztmpl
shared 0
zfs settings:
Code:
zfs get all VMdata1/cts
NAME PROPERTY VALUE SOURCE
VMdata1/cts type filesystem -
VMdata1/cts creation Tue Aug 14 8:35 2018 -
VMdata1/cts used 25K -
VMdata1/cts available 885G -
VMdata1/cts referenced 25K -
VMdata1/cts compressratio 1.00x -
VMdata1/cts mounted yes -
VMdata1/cts quota none default
VMdata1/cts reservation none default
VMdata1/cts recordsize 128K default
VMdata1/cts mountpoint /mnt/cts local
VMdata1/cts sharenfs off default
VMdata1/cts checksum on default
VMdata1/cts compression off default
VMdata1/cts atime on local
VMdata1/cts devices on default
VMdata1/cts exec on default
VMdata1/cts setuid on default
VMdata1/cts readonly off default
VMdata1/cts zoned off default
VMdata1/cts snapdir hidden default
VMdata1/cts aclinherit restricted default
VMdata1/cts createtxg 72150 -
VMdata1/cts canmount on default
VMdata1/cts xattr on default
VMdata1/cts copies 1 default
VMdata1/cts version 5 -
VMdata1/cts utf8only off -
VMdata1/cts normalization none -
VMdata1/cts casesensitivity sensitive -
VMdata1/cts vscan off default
VMdata1/cts nbmand off default
VMdata1/cts sharesmb off default
VMdata1/cts refquota none default
VMdata1/cts refreservation none default
VMdata1/cts guid 268919584392915058 -
VMdata1/cts primarycache all default
VMdata1/cts secondarycache all default
VMdata1/cts usedbysnapshots 0B -
VMdata1/cts usedbydataset 25K -
VMdata1/cts usedbychildren 0B -
VMdata1/cts usedbyrefreservation 0B -
VMdata1/cts logbias latency default
VMdata1/cts dedup off default
VMdata1/cts mlslabel none default
VMdata1/cts sync standard default
VMdata1/cts dnodesize legacy default
VMdata1/cts refcompressratio 1.00x -
VMdata1/cts written 25K -
VMdata1/cts logicalused 12.5K -
VMdata1/cts logicalreferenced 12.5K -
VMdata1/cts volmode default default
VMdata1/cts filesystem_limit none default
VMdata1/cts snapshot_limit none default
VMdata1/cts filesystem_count none default
VMdata1/cts snapshot_count none default
VMdata1/cts snapdev hidden default
VMdata1/cts acltype posixacl local
VMdata1/cts context none default
VMdata1/cts fscontext none default
VMdata1/cts defcontext none default
VMdata1/cts rootcontext none default
VMdata1/cts relatime on local
VMdata1/cts redundant_metadata all default
VMdata1/cts overlay off default