Hi,

On Wed, Oct 28, 2009 at 01:55:57AM -0700, Ben Middleton wrote:
> 
> As a related issue to this (specifically CR 6884728) - any ideas how
> I should go about removing the old BE?

I haven'd tried this on U8, but maybe the following hack I did on
sxce_125 to be able to go back to older BEs will work on U8, too?

>-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 one-line hack luactivate, lucreate and ludelete (that's
what I just tested) are working again...

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

Reply via email to