Hey there,
although I'm fairly new with Proxmox, I do have some ZFS/Linux background.
I was wondering whether there is a way to change the default ZFS rpool dataset layout:
root@proxmox:~# zfs list
NAME USED AVAIL REFER MOUNTPOINT
rpool 1.64G 76.8G 104K /rpool
rpool/ROOT 1.58G 76.8G 96K /rpool/ROOT
rpool/ROOT/pve-1 1.58G 76.8G 1.58G /
rpool/data 96K 76.8G 96K /rpool/data
What if I want to have a separate dataset for e.g. /var/log, /home or /usr? It's just that historically, I was used to separate specific directories into separate partitions (size limits, security, ease of migration, etc).
I noticed the Proxmox installation GUI does allow me to change the size of rpool, ashift, compression I believe and few others, but that's it. It won't allow me to specify what datasets to create nor where to mount them.
So:
Thank you guys.
although I'm fairly new with Proxmox, I do have some ZFS/Linux background.
I was wondering whether there is a way to change the default ZFS rpool dataset layout:
root@proxmox:~# zfs list
NAME USED AVAIL REFER MOUNTPOINT
rpool 1.64G 76.8G 104K /rpool
rpool/ROOT 1.58G 76.8G 96K /rpool/ROOT
rpool/ROOT/pve-1 1.58G 76.8G 1.58G /
rpool/data 96K 76.8G 96K /rpool/data
What if I want to have a separate dataset for e.g. /var/log, /home or /usr? It's just that historically, I was used to separate specific directories into separate partitions (size limits, security, ease of migration, etc).
I noticed the Proxmox installation GUI does allow me to change the size of rpool, ashift, compression I believe and few others, but that's it. It won't allow me to specify what datasets to create nor where to mount them.
So:
- Is there an easy way how to get more granularity on the OS dataset layout, or do I need to do it the hard way:
- install Proxmox
- reboot to live USB
- create new datasets (e.g. rpool/var) with a new mountpoint (e.g. /rpool/var)
- move the files from old /var to new /var
- reboot
- Is this even a good idea with Proxmox? Any thought on why should/must I NOT do it? I'm open-minded. If you give me a good reason why not, I'm open to change my mind. Even now I'm not sure I want it to do it this way, I tend to trust the "defaults" settings.
Thank you guys.