> However,
> on the "opensolari bible" is specified that you can
> install multiple -solaris systems on the same ZFS
> pool. I was wondering, how can I do this? 

This is not possible using the regular optical / live cd
installation media (because the installer on the optical
media does not allow to use an existing zpool, it always
creates a new / empty zpool)

You can install it manually, using a temporary disk (e.g.
an usb storage device).

1. install the oldest solaris release to your regular hdd
    (this creates a new zfs pool).

    The first OS you install must be the version of Solaris
    that uses the oldest zpool version. (Newer Solaris kernels
    can read older zpool formats, but not vice versa)

2. install newer solaris releases to the temporary storage
    device

3. instead of booting from the temp storage device, boot into
    the existing solaris from your regular hdd, and copy
    the new zfs root fs from the temporary hdd to your
    regular hdd and update the /rpool/boot/grub/menu.lst
    file

    The procedure is something like this:

    # zpool import
    (find out the zpool id for the pool on the temp storage device)

    # zpool import -f {zpool_id_from_temp_device} rpool2
    # zfs snapshot rpool2/ROOT/snv_129 at backup
    # zfs send rpool2/ROOT/snv_129 at backup | zfs recv rpool/ROOT/snv_129


Add a new entry to /rpool/boot/grub/menu.lst for the
additional zfs root fs.
Use the "bootfs" grub directive for the additional grub
entry, in this example "bootfs rpool/ROOT/snv_129"
-- 
This message posted from opensolaris.org

Reply via email to