Replacing boot drive, how to mirror?

Feb 13, 2023
34
2
13
Anyone have a link to instructions on how to mirror by boot drive to a new boot drive? I have looked, but I don't have the exact verbiage to get the instructions I am looking for. There's a lot of different but similar situations, and I am not sure what would best apply to me? This is a home lab and at the moment I'm running a fedora VM hosting plex. Media is on my TruNAS machine so not going to lose anything if I have to start over.

Thanks to l.leahu-vladucu for helping me narrow down a system crash problem I have been dealing with. Pretty sure I have a failing M.2 SSD. I am going to replace the failing 4TB SSD (some cheap brand) with a WD_BLACK 2TB SN770 NVMe and want to mirror everything over to it. Where can I find instructions on how to do so? Again I know this is a very basic question and that it has probably been covered a thousand times, so your patience is greatly appreciated. (Bows to Proxmox Gods)

PVE:8.3.0
MB: asrock x399 fatality
Processor: AMD Ryzen 2990wx (32 Cores, 64 threads)
Processor Cooler: Noctua tower cooler
RAM: 96 GB DDR4 3200 because this Asrock board sucks and won't recognize a full 128 GB. Known issue.
 
I am using the default LVM+ext4. Not because I chose to, but more because I didn't know any better. My understanding now is that ZFS can shorten the life of an SSD due to how many more writes it makes compared to the default? That being said, am I correct in saying that the reason for running ZFS on an SSD would be data integrity? Example, losing power in the middle of doing something? Obviously I am a noob so I appreciate your patience. I know I can google it, but just curious of when one would decide to go with ZFS over LVM for a boot drive? My spinning rust NAS is all ZFS.

Thanks