Re: AoE and bridge interface compatibility

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I found the root of the problem. The ether devices are handled by mdadm, 
which doesn't stop and thus prevent the aoe stop.

Regards,
Nicolas

On 2013-01-04 13:51, Nicolas Jungers wrote:
> I tried Alyseo script today, and same symptoms, the bridge is still
> owned by the aoe driver at shutdown time.
>
> Regards,
> Nicolas
>
>
> On 2012-11-28 08:17, Yacine Kheddache wrote:
>> Hi,
>>
>> Nicolas, you can download Alyseo contrib (aoe init script) here :
>> ftp://ftp.alyseo.com/pub/partners/Coraid/Tools/startup-script/
>>
>> We have done many improvement (fstab tuning, LVM... So please give it a
>> try : may help.
>>
>> Thank you
>> Cordialement / Regards
>>
>> –
>>
>> Yacine Kheddache
>>
>> Le lundi 26 novembre 2012 à 16:14, Ed Cashin a écrit :
>>
>>> I'm guessing that the aoe driver is holding a reference to the br0 (or
>>> whatever) network interface, just as it would do to eth0 (or
>>> whatever), which means you cannot destroy br0. That's safe, but it
>>> just means you have to stop using resources in a sane order. There is
>>> probably an init script that is attempting to destroy the br0 (or
>>> whatever) before aoe has released it.
>>>
>>> If you arrange for a shutdown script to undo all the AoE-related stuff
>>> early in the shutdown process, you'll do some of these in-order steps:
>>>
>>> * unmount AoE-backed filesystems
>>> * deactivate AoE-backed logical volumes
>>> * stop AoE-backed software RAID devices
>>> * either
>>> - rmmod aoe, or
>>> - aoe-interfaces bogus; aoe-flush -a; sleep 1
>>>
>>> With either of the last two steps releasing the reference aoe is
>>> holding on the br0 interface. I mention the second option just to be
>>> specific. The first one is probably easier.
>>>
>>> Yacine chimed in here. Alyseo has some great aoe-related init scripts
>>> that you can use as a template for your own script.
>>>
>>> I'm planning to help the distros to handle the aoe-related
>>> startup/shutdown issues soon, but anybody is welcome to beat me to it
>>> or to collaborate with me.
>>>
>>> On Nov 24, 2012, at 12:21 PM, Nicolas Jungers wrote:
>>>
>>>> I found a bug in the interaction of the AoE driver and the linux bridge.
>>>>
>>>> On a stock Ubuntu 12.04 with standard bridge-utils and A0E version 81,
>>>> the machine cannot shutdown or reboot.
>>>>
>>>> The bridge stays stuck at the close stage with all the AoE connection
>>>> still open.
>>>>
>>>> I didn't test that on CentOS yet, so I'm unsure if it's a distribution
>>>> bug or an AoE one.
>>>>
>>>> Any idea?
>>>>
>>>> Regards,
>>>> Nicolas
>>>>
>>>>
>>>> ------------------------------------------------------------------------------
>>>> Monitor your physical, virtual and cloud infrastructure from a single
>>>> web console. Get in-depth insight into apps, servers, databases, vmware,
>>>> SAP, cloud infrastructure, etc. Download 30-day Free Trial.
>>>> Pricing starts from $795 for 25 servers or applications!
>>>> http://p.sf.net/sfu/zoho_dev2dev_nov
>>>> _______________________________________________
>>>> Aoetools-discuss mailing list
>>>> Aoetools-discuss@xxxxxxxxxxxxxxxxxxxxx
>>>> <mailto:Aoetools-discuss@xxxxxxxxxxxxxxxxxxxxx>
>>>> https://lists.sourceforge.net/lists/listinfo/aoetools-discuss
>>>
>>> --
>>> Ed Cashin
>>> ecashin@xxxxxxxxxx <mailto:ecashin@xxxxxxxxxx>
>>>
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> Monitor your physical, virtual and cloud infrastructure from a single
>>> web console. Get in-depth insight into apps, servers, databases, vmware,
>>> SAP, cloud infrastructure, etc. Download 30-day Free Trial.
>>> Pricing starts from $795 for 25 servers or applications!
>>> http://p.sf.net/sfu/zoho_dev2dev_nov
>>> _______________________________________________
>>> Aoetools-discuss mailing list
>>> Aoetools-discuss@xxxxxxxxxxxxxxxxxxxxx
>>> <mailto:Aoetools-discuss@xxxxxxxxxxxxxxxxxxxxx>
>>> https://lists.sourceforge.net/lists/listinfo/aoetools-discuss
>>
>
>
> ------------------------------------------------------------------------------
> Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and
> much more. Get web development skills now with LearnDevNow -
> 350+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
> SALE $99.99 this month only -- learn more at:
> http://p.sf.net/sfu/learnmore_122812
> _______________________________________________
> Aoetools-discuss mailing list
> Aoetools-discuss@xxxxxxxxxxxxxxxxxxxxx
> https://lists.sourceforge.net/lists/listinfo/aoetools-discuss
>


------------------------------------------------------------------------------
Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and
much more. Get web development skills now with LearnDevNow -
350+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122812
_______________________________________________
Aoetools-discuss mailing list
Aoetools-discuss@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/aoetools-discuss



[Index of Archives]     [Linux ARM Kernel]     [Linux SCSI]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux