> On Nov 22, 2017, at 7:10 PM, Reginald Beardsley via illumos-discuss 
> <[email protected]> wrote:
> 
> I lost a drive in mirrored scratch space on my Sol 10 system.  The 
> replacement drive came today so I booted 2017.10 to try to label it before 
> moving it to Sol 10.  But format(1m) did not see the disk.  So I could find 
> no way to put an EFI label on it.  Sol 10_u8 at least can see the drive, but 
> dumps core when it is selected.
> 
> I booted CentOS 6.7 and put a "GPT" label on it.  I then moved it to Sol 10 
> where I was able to create a partition using" format -e".  After that "zpool 
> attach spool..." worked fine and it is resilvering the mirror.
> 
> So how is one *supposed* to label a large disk in Hipster/Illumos?  Surely 
> shops running Illumos in production are not going through the gyrations I 
> went through.

Was your "spool" zpool using the entire disk, or only a slice of one?

If you're using whole disks in your zpools on illumos, you need need only to 
pull the dead drive, insert the new drive, and 'zpool replace spool cXtXdX'. If 
you're using sas/fc drives in which the device path of the new drive won't 
match that of the old one, 'zpool replace spool <old> <new>'. ZFS will put a 
GPT label on the drive as necessary, join it back into your pool, and initiate 
a resilver.

In illumos, up to date distros such as OmniOSce and OI both replaced GRUB with 
the FreeBSD loader, which allows for much better management and, most 
importantly, easy whole-disk rpools. With that, we have consigned manually 
partitioning and slicing drives to the history books.

/dale

Attachment: signature.asc
Description: Message signed with OpenPGP

------------------------------------------
illumos-discuss
Archives: 
https://illumos.topicbox.com/groups/discuss/discussions/Td79cfe889d54449e-Mbd0f01f3f9a066ba1759f1aa
Powered by Topicbox: https://topicbox.com

Reply via email to