V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX 提问指南
Tarkky
V2EX  ›  问与答

求助,哪位又 oracle 的支持帐号

  •  
  •   Tarkky · 2021-07-28 19:14:49 +08:00 · 1016 次点击
    这是一个创建于 1204 天前的主题,其中的信息可能已经有所发展或是发生改变。

    目前搞 freenas 碰到个 solaris 的问题,结果查询来查询去的,oracle 的官网有答案,但是必须得有企业账户才能看。受累哪位能看给看看行么?然后把答案贴过来。 问题地址在这: https://support.oracle.com/knowledge/Sun%20Microsystems/1623256_1.html 先谢谢了。

    6 条回复    2021-07-29 09:42:53 +08:00
    gefranks
        1
    gefranks  
       2021-07-28 21:10:57 +08:00   ❤️ 2
    Knowledge


    Modifying Mtu Size in Solaris 11 and getting : cannot set link property 'mtu' on 'net1': link busy (Doc ID 1623256.1) To BottomTo Bottom
    Modified: 08-Oct-2019
    Type: HOWTO

    APPLIES TO:
    Solaris Operating System - Version 11.1 and later
    Information in this document applies to any platform.

    GOAL
    Need to increase the MTU size of an interface using dladm, in this case net1, but it fails with "link busy".

    Example
    # dladm set-linkprop -p mtu=9000 net1
    dladm: warning: cannot set link property 'mtu' on 'net1': link busy

    If we down the interface first and try again, it still fails with "link busy".

    Example


    # ifconfig net1 down
    # dladm set-linkprop -p mtu=9000 net1
    dladm: warning: cannot set link property 'mtu' on 'net1': link busy


    SOLUTION
    In order to set the MTU size of net1 using the dladm command, the NIC needs to be in an "unplumbed" state.

    To unplumb the interface

    # ipadm delete-ip net1

    Once the net1 intefrace is "unplumbed", you can then set the MTU using the dladm command.

    Example

    # dladm set-linkprop -p mtu=9000 net1

    # ipadm create-ip net1
    # ipadm create-addr -T static -a local=xx.xx.xx.xx/16 net1

    NOTE:Need to check the LLDP (Link Layer Diacover Protocol) service too if you are unable to resolve the issue with above steps.


    Example:

    ------
    # svcs -a | grep lldp
    online 15:06:47 svc:/network/lldp:default
    # dladm set-linkprop -p mtu=9000 net1
    dladm: warning: cannot set link property 'mtu' on 'net1': link busy


    # svcadm disable svc:/network/lldp:default
    # dladm set-linkprop -p mtu=9000 net1
    #


    Related Products

    Sun Microsystems > Operating Systems > Solaris Operating System > Solaris Operating System
    Sun Microsystems > Operating Systems > Solaris Operating System > Solaris Operating System > Network Interface

    Keywords

    GIGABIT ETHERNET;INTERFACE;NIC;PROPERTY;SOLARIS
    Tarkky
        2
    Tarkky  
    OP
       2021-07-28 22:32:44 +08:00
    @gefranks 多谢。
    唉,就多了一条 ipadm delete-ip net1 这条命令,非得交钱才能看,怪不得用的人越来越少。
    gefranks
        3
    gefranks  
       2021-07-29 00:44:04 +08:00
    靠卖 supporr 赚钱一直是 O 的老套路啊.很多歪门邪道的东西要靠这些 support 的玩意儿.不过现在还搞 Solaris? 我还在 O 的时候就以为完蛋了啊.
    jy02201949
        4
    jy02201949  
       2021-07-29 08:58:45 +08:00
    @gefranks N 年前,Oracle 原厂的专家,一天一万
    Tarkky
        5
    Tarkky  
    OP
       2021-07-29 09:41:34 +08:00
    @gefranks #3 嗨,我不怎么玩 Oracle 的产品。这次是因为搞个存储基于 opensolaris 碰到比较奇葩的问题,想换到 solaris 上来,因为官方说 solaris 更快。这不配置过程碰到修改 mtu 过不去么。哎,打算换 truenas 了。还得倒腾数据。累死
    Tarkky
        6
    Tarkky  
    OP
       2021-07-29 09:42:53 +08:00
    @jy02201949 #4 以前都这价,2000 年时,我司上四班,顾问一小时 80 美金。
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   5706 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 24ms · UTC 03:18 · PVG 11:18 · LAX 19:18 · JFK 22:18
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.