[OpenIndiana-discuss] can't delete aggregate (dladm)
Mike La Spina
mike.laspina at laspina.ca
Wed May 16 03:18:29 UTC 2012
Hi Tim,
I always create users for automated functions and never use root unless
its forced.
As well I usually create a group which is used to assign any required
rights for the role or function.
The cron job should be assigned to the running user which you can always
edit as a primary admin.
e.g. crontab -e user-role
Least access principle has saved by bacon more times than I wish to
count.
Regards,
Mike
-----Original Message-----
From: Tim Dunphy [mailto:bluethundr at gmail.com]
Sent: Monday, May 14, 2012 1:50 PM
To: Discussion list for OpenIndiana
Subject: [OpenIndiana-discuss] can't delete aggregate (dladm)
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
_______________________________________________
OpenIndiana-discuss mailing list
OpenIndiana-discuss at openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss
More information about the OpenIndiana-discuss
mailing list