OpenVZ Forum


Home » General » Support » [ SOLVED ] Pb with multiple identical nfs mount dir in different VEs
Re: Pb with multiple identical nfs mount dir in different VEs [message #29923 is a reply to message #29905] Wed, 30 April 2008 08:07 Go to previous messageGo to previous message
maratrus is currently offline  maratrus
Messages: 1495
Registered: August 2007
Location: Moscow
Senior Member
Hi,

I've suspected that something is not quite clear with ubuntu "ifdown*" utilities.
But the fact is that in redhat based OS ifdown is a simple script so it's easy to investigate it:
it calls appropriate script in /etc/sysconfig/network-scripts/.
And the only thing I've found there is:
if [ -n "$VLAN" -a -x /sbin/vconfig ]; then
    # 802.1q VLAN
    if echo ${DEVICE} | LANG=C egrep -v '(:)' | LANG=C egrep -q '(eth|bond)[0-9][0-9]*\.[0-9][0-9]?[0-9]?[0-9]?' \
        || echo ${DEVICE} | LANG=C egrep -q 'vlan[0-9][0-9]?[0-9]?[0-9]?' ; then
        [ -f /proc/net/vlan/${DEVICE} ] && {
            /sbin/vconfig rem ${DEVICE}
        }
    fi
fi


So,

1. If it's possible we can investigate src files of appropriate utilities in ubuntu OS.
2.
Quote:


strace ifdown eth1.35 > /tmp/ifdown.eth1.35.trace 2>&1



ifdown can generate another process so could you possible try to it in the following way:

strace -fF -o out.txt ifdown eth1.35


Thank You!
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: certain iptables filter rules not working ?
Next Topic: fuse/sshfs problem
Goto Forum:
  


Current Time: Mon Aug 26 03:24:38 GMT 2024

Total time taken to generate the page: 0.03495 seconds