In a one zpool server, composed originally of 3x2TB drives, I'm replacing all three disks to 3x4tb ones.
I usually do a
Then
Is it right that doing a whole disk replacement won't allow booting in the future?, or I can safely do a simple zpool replace disk1 disk3?
I usually do a
zpool replace old_disk_x new_disk_x, but this time I asked ChatGPT and it told me the procedure must be different, because this is a boot pool, witht his procedure for the first disk:
Code:
sudo gpart create -s gpt da3sudo gpart add -i 1 -b 40 -s 532480 -t efi da3
sudo gpart add -i 2 -b 532520 -s 1024 -t freebsd-boot da3
sudo gpart add -i 3 -b 534528 -s 4194304 -t freebsd-swap da3
sudo gpart add -i 4 -b 4728832 -a 1m -t freebsd-zfs da3
sudo dd if=/dev/da1p1 of=/dev/da3p1 bs=1msudo gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i 2 da3
Then
Code:
sudo zpool replace zroot da1p4 da3
Is it right that doing a whole disk replacement won't allow booting in the future?, or I can safely do a simple zpool replace disk1 disk3?