Hi there,
I have used Proxmox before and I have used ZFs before but never in combination. I have read all the Proxmox Wiki pages about ZFS on Linus and storages and am even more confused now.
I have installed Proxmox 5.2-9 via a Soyoustart template(64bit and ZFS) - I ended up having ZFS as my root file system. In my Proxmox dashboard under Datacenter => Storage I only see "local / type directory" storage. This obviously points to my local file system which is ZFS.
This server has 2 SSDs which run in a mirror.
The file /etc/pve/storage.cfg contains:
After reading the Wiki pages I understand I need to add storage: ZFS and I ticked the box for "thin provisioning" - the resulting /etc/pve/storage.cfg contains:
I have a couple of questions:
- is what I did correct?
- can someone provide a 100% correct storage.cfg?
- why does my adding ZFS local storage result in adding rootdir to the loca storage?
I have used Proxmox before and I have used ZFs before but never in combination. I have read all the Proxmox Wiki pages about ZFS on Linus and storages and am even more confused now.
I have installed Proxmox 5.2-9 via a Soyoustart template(64bit and ZFS) - I ended up having ZFS as my root file system. In my Proxmox dashboard under Datacenter => Storage I only see "local / type directory" storage. This obviously points to my local file system which is ZFS.
This server has 2 SSDs which run in a mirror.
The file /etc/pve/storage.cfg contains:
Code:
# definition of storage for Proxmox VE.
# this config can be managed manually, or via PVE web interface.
# please read https://pve.proxmox.com/pve-docs/pve-admin-guide.html#_storage_pools before changing this file
# storage for iso,vztmpl,backups
dir: local
path /var/lib/vz
content iso,vztmpl,backup
# default image store on ZFS based installation
zfspool: local-zfs
pool rpool/data
sparse
content images,rootdir
After reading the Wiki pages I understand I need to add storage: ZFS and I ticked the box for "thin provisioning" - the resulting /etc/pve/storage.cfg contains:
Code:
dir: local
path /var/lib/vz
content rootdir,iso,vztmpl,images
maxfiles 0
zfspool: local-zfs
pool rpool/data
content rootdir,images
nodes jarvis
sparse 1
I have a couple of questions:
- is what I did correct?
- can someone provide a 100% correct storage.cfg?
- why does my adding ZFS local storage result in adding rootdir to the loca storage?