If you want to replace the bootdisk the easiest disaster recovery method
is to zfs send the current BE to your datapool, then do a clean install
of OI to a new disk, send the BE back, activate then boot into the old BE.
For a non boot disk (with rpool) do a zpool replace poolname olddisk
newdisk.
With an ongoing sync of the BE via incremental zfs send you always have
an up to date BE copy for recovery.
Gea
Am 26.06.2022 um 23:52 schrieb Judah Richardson:
IIRC dd doesn't work reliably for ZFS.
I tried (& failed, possibly due to a bad source disk) to do this
previously, but I think you have to ZFS send all the datasets in the source
disk to the destination & then possibly do some beadm stuff on the target
disk.
Or do a default installation on the new disk, then ZFS send the
non-bootloader datasets from the old disk to the new.
On Sun, Jun 26, 2022, 16:46 Marc Lobelle <marc.lobe...@uclouvain.be> wrote:
Hello
In tried to replace the ssd of my notebook running openindiana (120G) by
a bigger one (1T).
I first copied the small ssd on the big one: I connected the big disk on
a usb adapter, ran format to identify the two devices then
dd if=/dev/rdsk/c6t0d0p0 of=/dev/rdsk/c4t0d0p0 bs=2048K
then I replaced the small internal disk by the big one.
However, when booting, I got the following message
ZFS:i/o error - all block copies unavailable
ZFS: Can't read MOS of pool rpool
Can't find /boot/loader
Can't find /boot/zfsloader
illumos/x86 boot
Default: /boot/loader
boot:
if I type <enter>, I get
Can't find /boot/loader
illumos/x86 boot
Default: /boot/loader
boot:
How can I fix this ? (without reinstalling everything if possible;-)
(after that I plan of course to grow the fs to the whole disk)
_______________________________________________
openindiana-discuss mailing list
openindiana-discuss@openindiana.org
https://openindiana.org/mailman/listinfo/openindiana-discuss