I have M.2 SSD that is currently not performing well, I suspect that it may die soon. The question is - how do I migrate zpool to a bigger drive? Of course I will make dd backup before anything.
Do I just dd it on new drive, then how do I expand zfs pool?
Or perhaps, using zfs send to replicate filesystem on new pool, but then comes another question: there is zroot/jails dataset with children datasets for each jail filesystem, I have enabled dedup on zroot/jails. Will dedup transfer on new zpool via zfs send?
What's the best strategy using zfs send to migrate everything to new pool?
And what do I need adjust after, so that my FreeBSD 14.1-RELEASE boots from new pool? As far as I see, a new EFI boot entry must be created from install media live shell. Then, how do I tell the FreeBSD bootloader than new root pool's IDs and such?
Do I just dd it on new drive, then how do I expand zfs pool?
Or perhaps, using zfs send to replicate filesystem on new pool, but then comes another question: there is zroot/jails dataset with children datasets for each jail filesystem, I have enabled dedup on zroot/jails. Will dedup transfer on new zpool via zfs send?
What's the best strategy using zfs send to migrate everything to new pool?
And what do I need adjust after, so that my FreeBSD 14.1-RELEASE boots from new pool? As far as I see, a new EFI boot entry must be created from install media live shell. Then, how do I tell the FreeBSD bootloader than new root pool's IDs and such?