[OpenIndiana-discuss] can't delete aggregate (dladm)

Jason Matthews jason at broken.net
Mon May 14 22:05:09 UTC 2012



-t is temporary. Try rebooting. There is some chance you'll be back to where
you started ;-)

j.

-----Original Message-----
From: Tim Dunphy [mailto:bluethundr at gmail.com] 
Sent: Monday, May 14, 2012 12:14 PM
To: Discussion list for OpenIndiana
Subject: Re: [OpenIndiana-discuss] can't delete aggregate (dladm)

ok, disaster averted !

I tried a different flag the command I was using;
dladm delete-aggr -t aggr0 1

that allowed me to delete the virtual interface. Then, at that point I
was able to plum and unplumb the interfaces as per normal and recreate
the aggregate. It's all working now. Sorry for freaking out and
mailing the list! :) Don't want to burn up any good karma!

[root at openindiana:~] #dladm show-link
LINK        CLASS     MTU    STATE    BRIDGE     OVER
e1000g0     phys      9000   up       --         --
e1000g1     phys      9000   up       --         --
aggr1       aggr      9000   up       --         e1000g0 e1000g1

[root at openindiana:~] #ifconfig -a
lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu
8232 index 1
        inet 127.0.0.1 netmask ff000000
aggr1: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 9000 index 13
        inet 192.168.1.250 netmask ffffff00 broadcast 192.168.1.255
        ether 0:25:90:b:34:0
lo0: flags=2002000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv6,VIRTUAL> mtu
8252 index 1
        inet6 ::1/128

[root at openindiana:~] #ping yahoo.com
yahoo.com is alive

This list is a very congenial/valuable resource and I don't want to
squander it.

:)

tim

On Mon, May 14, 2012 at 2:50 PM, Tim Dunphy <bluethundr at gmail.com> wrote:
> Hello list,
>
>  I was trying to fix a problem I was having in being able to ping
> external hosts. For some reason I was able to ping other hosts on the
> network but had to reboot after installing a package. When the host
> (an OI 151 box) came back up it wasn't able to ping anything except
> itself.
>
>  The links were setup in an active/passive link aggregate called
> aggr0. I decided to attempt to recreate the link pool with the dladm
> remove-aggr command.
>
>  But when I typed dladm remove-aggr -d e1000g1 1
>
>  I see the message :
>
>  dladm: remove operation failed: object not found.
>
> Which is weird because if I do a dladm show-aggr  I see the aggregate
> in question.
>
> I was able to unplumb the aggregate link with
>
>  ifconfig aggr0 unplumb.
>
> But I cannot plumb or unplumb the individual physical links at this
> point. If I unplumb them I get
>
> ifconfig unplumb e1000g0
> ifconfig: cannot unplumb e1000g0: Interface does not exist
>
> When I plumb it I see:
>
> ifconfig e1000g0 plumb
> ifconfig: cannot plumb e1000g0: Interface already in use
>
> This is a very confusing situation! Does anyone have any solution for
> this? I need to be able to delete the link aggregation, plumb the
> individual interfaces and verify they are working before recreating
> the aggregate. I have good instructions for creating an aggregate and
> it was working well at one recent point. But I decided to try another
> tutorial that lead me down this path, and now I know which one to
> avoid!
>
> thanks for any advice you may have
>
>
> --
> GPG me!!
>
> gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B



-- 
GPG me!!

gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B

_______________________________________________
OpenIndiana-discuss mailing list
OpenIndiana-discuss at openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss




More information about the OpenIndiana-discuss mailing list