[OpenIndiana-discuss] problem replacing a disk by a bigger one

Marc Lobelle marc.lobelle at uclouvain.be
Mon Jun 27 15:33:45 UTC 2022


Hello

Thanks for your help._/I also found a good step by step guide at 
https://omnios.org/info/migrate_rpool. /_(There are other ones, but over 
10 years old) The only change I had to make was using the guid for the 
source disk and the complete real path name to the new device ( even 
/dev/dsk/..., which is a symlink did not work) in zpool attach. The need 
to use the GUID is a known old  bug that was supposed to have been 
fixed. I do not know why I had the use the full pathname of the new 
disk. Maybe it is due to the fact that the new disk was connected to a 
usb adaptor.

However my bios could not boot from this usb disk, so I rebooted the old 
internal disk and I detached it and now the notebook runs on the 
external disk.

Of course, my aim is to put the new inside the notebook at the place 
where the old one was.

I assume that there are probably things to change in the new disk before 
putting it in the notebook.

Besides, now that the old internal disk has been detached, can I still 
reboot the computer if I let it in place and reboot without the external 
disk.

My current situation is thus that I booted from the internal disk, 
attached the external one and detached the internal one (at this point 
everything runs fine)

My two questions are thus:

 1. Now that I have detached the disk inside the computer, can I still
    reboot with only this disk ?
 2. Do I have to change something in the new disk to connect it as sata
    drive rather than as usb drive and boot the system from it ?

Thanks, I wait for your advice before risking to turn off the notebook

Best regards

Marc


On 6/26/22 23:46, Marc Lobelle 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)
>
> Marc
> _______________________________________________
> openindiana-discuss mailing list
> openindiana-discuss at openindiana.org
> https://openindiana.org/mailman/listinfo/openindiana-discuss


More information about the openindiana-discuss mailing list