Ext4 to zfs

mike the newb

Member
Aug 24, 2025
49
9
8
I had some issues on install trying to set up a mirrored boot drive. Everything worked fine until reboot, so I ended up installing on a single drive/disk.
Now I'm curious if I can do some trickery to create a zfs drive and move the installed PM to it, or if the idea is a fools game?
 
I had some issues on install trying to set up a mirrored boot drive. Everything worked fine until reboot, so I ended up installing on a single drive/disk.

It would have been a better course of action to find out and solve the root cause.
Now I'm curious if I can do some trickery to create a zfs drive and move the installed PM to it, or if the idea is a fools game?
It's propably easier to backup everything and reinstall with ZFS on a single disc. But I would try again with a mirrored setup and trying to find the reason why it didn't before. ZFS has a lot of nice features even with just one disc (like the replication between nodes, compression etc) but it's protection against bitrot needs a mirror or raidz setup to work good.
 
Just a minor addition: depends on the definition of "good", but copies=2 can work here too, although I never used it.
Hence "works good" ;) copies=2 is nice for stuff like external USB discs but won't protect against a disc failure.
 
Last edited:
  • Like
Reactions: mike the newb
It would have been a better course of action to find out and solve the root cause.

It's propably easier to backup everything and reinstall with ZFS on a single disc. But I would try again with a mirrored setup and trying to find the reason why it didn't before. ZFS has a lot of nice features even with just one disc (like the replication between nodes, compression etc) but it's protection against bitrot needs a mirror or raidz setup to work good.

Yep, I did just that. Right after I posted. I still don't know what happened. Both disks are fairly new Samsung 860 pros and checked out fine, so I just tried again and it worked. I've since reinstalled, literally, 35 times. Each time creating VMs, storage, and such, learning at least in a basic sense how everything works, then reinstalling again, trying to import the VMs and recreate the storage. It's been...interesting :)

Big change for me, coming from Hyper-V and Windows Server products. Oh, and yes, I don't think I'd trust not having a mirrored setup, PLUS really good backups. Been bit before.
 
  • Like
Reactions: Johannes S
Yep, I did just that. Right after I posted. I still don't know what happened. Both disks are fairly new Samsung 860 pros and checked out fine, so I just tried again and it worked. I've since reinstalled, literally, 35 times. Each time creating VMs, storage, and such, learning at least in a basic sense how everything works, then reinstalling again, trying to import the VMs and recreate the storage. It's been...interesting :)
Well the good thing at the start is that you still can do such a thing without worry to much about production (even if it's just your home) as long as you have backups ;)
And for future experiments (be it playing with Ceph/Clustering, upgrading PVE8to9, using a different filesystem etc) you could even install ProxmoxVE inside a VM. Obviouvsly the performance might not be great (lxcs should be ok though) with nested virtualization but for "learn+play" that should be more than fine .
Big change for me, coming from Hyper-V and Windows Server products. Oh, and yes, I don't think I'd trust not having a mirrored setup, PLUS really good backups. Been bit before.
Who doesn't? People (myself included) never care about backup until they need restore (which unfortunely needs backups) ;)
 
  • Like
Reactions: mike the newb
Well the good thing at the start is that you still can do such a thing without worry to much about production (even if it's just your home) as long as you have backups ;)
And for future experiments (be it playing with Ceph/Clustering, upgrading PVE8to9, using a different filesystem etc) you could even install ProxmoxVE inside a VM. Obviouvsly the performance might not be great (lxcs should be ok though) with nested virtualization but for "learn+play" that should be more than fine .

Who doesn't? People (myself included) never care about backup until they need restore (which unfortunely needs backups) ;)

Yeah, when I got bit, it was on my corporate drive and it took out my financial system. I had to rebuild it from the emailed invoices I'd sent and had been sent to me by my suppliers. Thing was, I thought I had backups automated and I was lazy and hadn't moved everything over to a mirrored drive.
I don't know if you've ever had that feeling...like you're going to be sick to your stomach...but that was it for me.
Even saying that now, I'm thinking I need to run through everything and make sure I'm generating backups. Everything is mirrored, but... :)
 
  • Like
Reactions: Johannes S