Replies: 2 comments 2 replies
-
I resized the partition of Proxmox to 30Gb and created an LVM so that I can now use snapshots on the SD card but the question of ZFS still stands for things like HA failover with replication of VM disk to another pi. If anyone cares here are the steps to create a local-lvm storage device on the same SD as where proxmox is installed. An article on how to handle LVMs (https://medium.com/@yhakimi/lvm-how-to-create-and-extend-a-logical-volume-in-linux-9744f27eacfe) resize partition on the sd card with gparted in another device (make sure it's not mounted) then boot Proxmox and run the following commands (the below assumes you are logged in as root): create physical volumethe next partition should be /dev/mmcblk0p3, check with "fdisk -l"
check you've created the physical volume
create volume group
check the vg name pve shows under the physical volume
create logical volume
then convert the logical volume into a thin-volume as described in this page https://pve.proxmox.com/wiki/Storage:_LVM_Thin
then just add the following line at the bottom in this file "/etc/pve/storage.cfg"
after you've added the above /etc/pve/storage.cfg should look like this:
|
Beta Was this translation helpful? Give feedback.
-
First of all, thanks for the work you have put in this project, great work!
So the question:
I have proxmox installed on an Rpi4 8Gb and I have a 256Gb SSD card.
I want to have the ability to create snapshots for containers and it seems this only works if I create a virtual disk on ZFS or LVM.
I resized the proxmox partition to 30Gb and wanted to create a ZFS Disk on the remaining 220Gb so I can put containers that I can snapshot on there but I get the following error when I go to zfs:
"command '/sbin/zpool list -HpPLo name,size,alloc,free,frag,dedup,health' failed: exit code 1 (500)"
Am I doing something wrong? if so is there a way I can fix this?
Thanks for your help.
Beta Was this translation helpful? Give feedback.
All reactions