Discussion:
ways to move from sliced rpool to gpt/EFI rpool
(too old to reply)
Carsten Grzemba
2017-03-22 13:21:34 UTC
Permalink
Is there a way to migrate a sliced (mirrored) rpool on disks with msdos partition table to gpt partioned disks (EFI lable)
with loader?
Nikola M
2017-03-23 10:09:34 UTC
Permalink
Post by Carsten Grzemba
Is there a way to migrate a sliced (mirrored) rpool on disks with msdos partition table to gpt partioned disks (EFI lable)
with loader?
Yes, you fully reformat one drive and do fresh install on it, then vtoc
+ zpool attach other drives to it.
https://wiki.openindiana.org/oi/2.1+Post-installation
(Or with newest Openindiana hipster snapshot media, installer can take
multiple devices and install on them during install.)
GPT and MBR disk partition types are mutually exclusive.

Maybe one can also first full-format whole disk as GPT, partition it AND
then make a Solaris Slice on it and install on Slice (and zfs
send/receive existing installation), but it is more advisable to give
unpartitioned space to the installer to make partitions and slices.
(and you can also zfs send/ zfs receive previous instalaltion on new BE
dataset later to migrate if you want).

Whatever one does, make sure to have system and data Backups, offline
(even if using zfs send/receive to backup).
Harry Putnam
2017-03-23 16:32:02 UTC
Permalink
Post by Nikola M
Post by Carsten Grzemba
Is there a way to migrate a sliced (mirrored) rpool on disks with
msdos partition table to gpt partioned disks (EFI lable)
with loader?
Yes, you fully reformat one drive and do fresh install on it, then
vtoc + zpool attach other drives to it.
https://wiki.openindiana.org/oi/2.1+Post-installation
(Or with newest Openindiana hipster snapshot media, installer can take
multiple devices and install on them during install.)
GPT and MBR disk partition types are mutually exclusive.
Although other aspects are fully covered, the cited URL does not
appear to explain what is meant by `fully reformat'.

Can you explain what that means?
Nikola M
2017-03-23 16:56:59 UTC
Permalink
Post by Harry Putnam
Post by Nikola M
Post by Carsten Grzemba
Is there a way to migrate a sliced (mirrored) rpool on disks with
msdos partition table to gpt partioned disks (EFI lable)
with loader?
Yes, you fully reformat one drive and do fresh install on it, then
vtoc + zpool attach other drives to it.
https://wiki.openindiana.org/oi/2.1+Post-installation
(Or with newest Openindiana hipster snapshot media, installer can take
multiple devices and install on them during install.)
GPT and MBR disk partition types are mutually exclusive.
Although other aspects are fully covered, the cited URL does not
appear to explain what is meant by `fully reformat'.
Can you explain what that means?
Yes start fresh install as said from live media, and give whole disk to
it to make it part of rpool,
As alp said, installer now can use more drives for install, but first
installing on one drive and then use vtoc plus loader reinstall also works.
We're also on #openindiana IRC on Freenode, if you want to fire your
irssi, hexchat or xchat and drop buy.
Alexander Pyhalov
2017-03-23 10:18:18 UTC
Permalink
Post by Carsten Grzemba
Is there a way to migrate a sliced (mirrored) rpool on disks with msdos partition table to gpt partioned disks (EFI lable)
with loader?
You can remove one part of the mirror, attach it as whole disk to mirror
and then do it for the second part.

https://www.listbox.com/member/archive/182180/2015/02/sort/time_rev/page/1/entry/0:74/20150226170316:3EE4E9A0-BE03-11E4-8A39-E726B1B46E4C/

Be sure to experiment in VM first.
--
Best regards,
Alexander Pyhalov,
system administrator of Southern Federal University IT department
Nikola M
2017-03-23 10:23:52 UTC
Permalink
Post by Alexander Pyhalov
Post by Carsten Grzemba
Is there a way to migrate a sliced (mirrored) rpool on disks with
msdos partition table to gpt partioned disks (EFI lable)
with loader?
You can remove one part of the mirror, attach it as whole disk to
mirror and then do it for the second part.
https://www.listbox.com/member/archive/182180/2015/02/sort/time_rev/page/1/entry/0:74/20150226170316:3EE4E9A0-BE03-11E4-8A39-E726B1B46E4C/
Be sure to experiment in VM first.
That is the great (and best practices) advice, but I think he actually
wanted to keep using Partitions/Slices also out of GPT disk(s), too.

Of course it is always better to use full-disk(s) for pools, because of
illumos using disk cache better with fuill-disk, but it is possible to
install and use also GPT partitions and make full-partition slice under
it. (give empty space to installer to make GPT partition and Slice in it)
Carsten Grzemba
2017-03-23 10:29:00 UTC
Permalink
Post by Carsten Grzemba
Is there a way to migrate a sliced (mirrored) rpool on disks with msdos partition table to gpt partioned disks (EFI lable)
with loader?
You can remove one part of the mirror, attach it as whole disk to mirror and then do it for the second part.
https://www.listbox.com/member/archive/182180/2015/02/sort/time_rev/page/1/entry/0:74/20150226170316:3EE4E9A0-BE03-11E4-8A39-E726B1B46E4C/
Be sure to experiment in VM first.
That is the great (and best practices) advice, but I think he actually wanted to keep using Partitions/Slices also out of GPT disk(s), too.
Of course it is always better to use full-disk(s) for pools, because of illumos using disk cache better with fuill-disk, but it is possible to install and use also GPT partitions and make full-partition slice under it. (give empty space to installer to make GPT partition and Slice in it)
I want use the whole disk GPT partitioned for the Rpool only, for get the disk cache in use.
Carsten Grzemba
2017-03-27 09:10:50 UTC
Permalink
Post by Carsten Grzemba
Is there a way to migrate a sliced (mirrored) rpool on disks with msdos partition table to gpt partioned disks (EFI lable)
with loader?
You can remove one part of the mirror, attach it as whole disk to mirror and then do it for the second part.
https://www.listbox.com/member/archive/182180/2015/02/sort/time_rev/page/1/entry/0:74/20150226170316:3EE4E9A0-BE03-11E4-8A39-E726B1B46E4C/
It works like described!
And reslivering on sliced 1TB SATA takes 9h and finaly on whole disk gpt disk only 3h.
Continue reading on narkive:
Loading...