[indiana-discuss] futzing with boot disks, boot blocks, etc with zfs root
Richard Elling
Richard.Elling at Sun.COM
Fri Jul 25 16:53:02 PDT 2008
Brian Wong wrote:
> I presently have a (b93) system whose root disk is "too small." I know I can make the rpool bigger by something approximating:
>
> # zpool attach rpool c0d0 c5t1
> # # wait for resync
> # zpool detach rpool c0d0
>
> ... assuming that c5t1 is bigger than c0d0.
>
> But I'm not sure about the boot blocks. Do the boot blocks know about c0d0? If so, how can I teach the system that I want to boot from the only "surviving" disk, c5t1?
>
For x86, you'll need to install grub on the device. For sparc, you'll
need to install the zfsboot image. Procedures are the same as for
mirrored root devices in the ZFS Administration Guide.
http://www.opensolaris.org/os/community/zfs/docs/zfsadmin.pdf
Don't forget to change your BIOS or OBP boot disk order.
-- richard
More information about the indiana-discuss
mailing list