Hi,

On Mon, Oct 19, 2009 at 05:03:18PM -0600, Cindy Swearingen wrote:
> Currently, the device naming changes in build 125 mean that you cannot
> use Solaris Live Upgrade to upgrade or patch a ZFS root dataset in a
> mirrored root pool.
> [...]
Just ran into this yesterday... The change to get things going again
is ~ trivial:

>-1014: diff -u /usr/lib/lu/lulib{.ori,}
--- /usr/lib/lu/lulib.ori       Thu Oct 22 22:42:19 2009
+++ /usr/lib/lu/lulib   Sat Oct 24 01:21:41 2009
@@ -236,6 +236,7 @@
        start=`echo "$blob" | /usr/bin/grep -n "$lgzd_pool" | head -2 | tail +2 
| cut -d: -f1`
        start=`expr $start + 1`
        echo "$blob" | tail +$start | awk '{print $1}' | while read dev; do
+           dev=`echo $dev | sed 's/mirror.*/mirror/'`
            if [ -z "$dev" ]; then
               continue;
            elif [ "$dev" = "errors:" ]; then

With this "little hack" luactivate, lucreate and ludelete (that's what I just
tested) are working again...

YMMV

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

Reply via email to