Brandon,

You can use the OpenSolaris beadm command to migrate a ZFS BE over
to another root pool, but you will also need to perform some manual
migration steps, such as
- copy over your other rpool datasets
- recreate swap and dump devices
- install bootblocks
- update BIOS and GRUB entries to boot from new root pool

The BE recreation gets you part of the way and its fast, anyway.

Thanks,

Cindy

!. Create the second root pool.

# zpool create rpool2 c5t1d0s0

2. Create the new BE in the second root pool.

# beadm create -p rpool2 osol2BE

3. Activate the new BE.

# beadm activate

4. Install the boot blocks.

5. Test that the system boots from the second root pool.

6. Update BIOS and GRUB to boot from new pool.

On 04/20/10 08:36, Cindy Swearingen wrote:
Yes, I apologize. I didn't notice you were running the OpenSolaris
release. What I outlined below would work on a Solaris 10 system.

I wonder if beadm supports a similar migration. I will find out
and let you know.

Thanks,

Cindy

On 04/19/10 17:22, Brandon High wrote:
On Mon, Apr 19, 2010 at 7:42 AM, Cindy Swearingen
<cindy.swearin...@oracle.com> wrote:
I don't think LU cares that the disks in the new pool are smaller,
obviously they need to be large enough to contain the BE.

It doesn't look like OpenSolaris includes LU, at least on x86-64.
Anyhow, wouldn't the method you mention fail because zfs would use the
wront partition table for booting?

basestar:~$ lucreate
-bash: lucreate: command not found
bh...@basestar:~$ man lucreate
No manual entry for lucreate.
bh...@basestar:~$ pkgsearch lucreate
-bash: pkgsearch: command not found
bh...@basestar:~$ pkg search lucreate
bh...@basestar:~$ pkg search SUNWluu
bh...@basestar:~$

I think I remember someone posting a method to copy the boot drive's
layout with prtvtoc and fmthard, but I don't remember the exact
syntax.

-B

_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to