[PVE-User] Proxmox 5 to root on ZFS

Gianni Milo gianni.milo22 at gmail.com
Mon Dec 16 00:30:31 CET 2019


Don't have experience with OVH, but depending on the situation, it might be
possible to "transfer" the existing OS installation to a ZFS backed setup.

To do so, it will be required to have an additional hdd, partition it,
create a ZFS pool on it with proper datasets (rpool/ROOT/pve-1 etc..), set
the appropriate zfs options for each dataset (you can use an existing root
on zfs installation as a reference) and rsync the existing PVE (lvm)
installation onto it. Then chroot into the zfs installation and make the
required changes in grub, initramfs,fstab etc etc, finally boot from the
system from the zfs disk. It will require some effort, but should be
doable.

What are the benefits? Unless you want to benefit from the zfs snapshots
for rolling back your system after an unwanted system update, I don't see
any.

Is it worth it? Don't think so, especially since this is a backup system.
Since you've managed to create a zfs pool for storing your VMs (pve-zsync
target), that should be enough in my opinion.

B.R.
G.



On Sun, 15 Dec 2019 at 20:16, Miguel González via pve-user <
pve-user at pve.proxmox.com> wrote:

>
>
>
> ---------- Forwarded message ----------
> From: "Miguel González" <miguel_3_gonzalez at yahoo.es>
> To: "pve-user at pve.proxmox.com" <pve-user at pve.proxmox.com>
> Cc:
> Bcc:
> Date: Sun, 15 Dec 2019 21:16:27 +0100
> Subject: Proxmox 5 to root on ZFS
> Hi,
>
>   I have a new dedicated server on OVH with two sets of SSD and SATA
> drives (4 in total). Template from OVH only installs Proxmox 5 without
> ZFS on a LVM soft RAID1. I have used this tool to create a ZFS pool:
>
>   https://github.com/extremeshok/xshok-proxmox
>
>   But I´m wondering if It would be worth the effort to try move the OS
> too to ZFS. What are the benefits? I am using this machine for disaster
> recovery VM (pve-zsync) and run backups.
>
>   If It is worth it, any advice on how to do it? I can´t find a proper
> procedure, I just have a rescue system from OVH (not possible to use
> specific ISO or KVM)
>
>   Thanks!
>
>   Miguel
>
>
>
>
>
> ---------- Forwarded message ----------
> From: "Miguel González via pve-user" <pve-user at pve.proxmox.com>
> To: "pve-user at pve.proxmox.com" <pve-user at pve.proxmox.com>
> Cc: "Miguel González" <miguel_3_gonzalez at yahoo.es>
> Bcc:
> Date: Sun, 15 Dec 2019 21:16:27 +0100
> Subject: [PVE-User] Proxmox 5 to root on ZFS
> _______________________________________________
> pve-user mailing list
> pve-user at pve.proxmox.com
> https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user
>



More information about the pve-user mailing list