Foreword
I'm still very much learning OpenIndiana and don't have much deep knowledge about how its disk partitioning/setup goes. Ergo, if you're wondering whether I know something, it's best to assume I don't.
Background
I have OpenIndiana Hipster with napp-it Free installed on this PC (detailed specs at link.)
If you're wondering how I wound up with a 512k MBR legacy boot installation on an SSD, I had a really hard time installing OI due to lack of documentation and these steps were the only ones I could figure out that actually worked. I wanted a UEFI 4K installation, but couldn't find any way to achieve it (sector size was never presented as an option, anyway.)
Problem
The original 32 GB SSD on which I installed OpenIndiana has run out of space.
Goal
I'd like to move the installation to a larger 128 GB SSD using 4k sectors, GPT partitioning (hope I'm using the correct term in this context) and UEFI boot.
What I've done so far
My current OS zpool is rpool; rpool2 is a zpool I created on the destination 128 GB SSD:
I created a recursive snapshot, rpool@upgrade, of rpool using:
Then I sent it to rpool2 using:
What do I do next? I get the impression I'm supposed to use
or
to set up the bootloader and then mark it (or something else?) as active?
Do I have that right? Can anyone advise?
I'm still very much learning OpenIndiana and don't have much deep knowledge about how its disk partitioning/setup goes. Ergo, if you're wondering whether I know something, it's best to assume I don't.
Background
I have OpenIndiana Hipster with napp-it Free installed on this PC (detailed specs at link.)
If you're wondering how I wound up with a 512k MBR legacy boot installation on an SSD, I had a really hard time installing OI due to lack of documentation and these steps were the only ones I could figure out that actually worked. I wanted a UEFI 4K installation, but couldn't find any way to achieve it (sector size was never presented as an option, anyway.)
Problem
The original 32 GB SSD on which I installed OpenIndiana has run out of space.
Goal
I'd like to move the installation to a larger 128 GB SSD using 4k sectors, GPT partitioning (hope I'm using the correct term in this context) and UEFI boot.
What I've done so far
My current OS zpool is rpool; rpool2 is a zpool I created on the destination 128 GB SSD:
Bash:
# zfs list
NAME USED AVAIL REFER MOUNTPOINT
rpool 27.1G 1.49G 33.5K /rpool
rpool/ROOT 17.4G 1.49G 24K legacy
rpool/ROOT/openindiana 15.2M 1.49G 6.09G /
rpool/ROOT/openindiana-2019:12:01 970M 1.49G 7.32G /
rpool/ROOT/openindiana-2019:12:02 48.0M 1.49G 7.32G /
rpool/ROOT/openindiana-2019:12:10 813K 1.49G 8.34G /
rpool/ROOT/openindiana-2020:01:14 15.7M 1.49G 7.88G /
rpool/ROOT/openindiana-2020:02:12 858K 1.49G 7.82G /
rpool/ROOT/openindiana-2020:02:27 650K 1.49G 7.92G /
rpool/ROOT/openindiana-2020:03:10 656K 1.49G 8.23G /
rpool/ROOT/openindiana-2020:03:26 16.3G 1.49G 8.85G /
rpool/ROOT/pre_activate_18.12_1575387063 239K 1.49G 7.31G /
rpool/ROOT/pre_activate_19.10.homeuse_1575387229 239K 1.49G 7.31G /
rpool/ROOT/pre_download_19.10.homeuse_1575354576 223K 1.49G 7.29G /
rpool/ROOT/pre_download_19.12.homeuse_1581739687 1K 1.49G 7.68G /
rpool/ROOT/pre_napp-it-18.12 273K 1.49G 6.63G /
rpool/dump 3.95G 1.49G 3.95G -
rpool/export 307M 1.49G 24K /export
rpool/export/home 307M 1.49G 24K /export/home
rpool/export/home/judah 307M 1.49G 290M /export/home/judah
rpool/swap 5.42G 5.69G 1.22G -
rpool1 46.0G 403G 32.0K /rpool1
rpool1/LANBackup 30.6K 403G 30.6K /rpool1/LANBackup
rpool1/LocalBackup 45.9G 403G 45.9G /rpool1/LocalBackup
rpool2 3.78M 115G 124K /rpool2
Bash:
# zfs snapshot -r rpool@upgrade
Bash:
# zfs send -R rpool@upgrade | zfs recv -F rpool2
Bash:
bootadm install-bootloader
Bash:
installboot
Do I have that right? Can anyone advise?
Last edited: