目前搞 freenas 碰到个 solaris 的问题,结果查询来查询去的,oracle 的官网有答案,但是必须得有企业账户才能看。受累哪位能看给看看行么?然后把答案贴过来。 问题地址在这: https://support.oracle.com/knowledge/Sun%20Microsystems/1623256_1.html 先谢谢了。
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 |
2
Tarkky OP @gefranks 多谢。
唉,就多了一条 ipadm delete-ip net1 这条命令,非得交钱才能看,怪不得用的人越来越少。 |
3
gefranks 2021-07-29 00:44:04 +08:00
靠卖 supporr 赚钱一直是 O 的老套路啊.很多歪门邪道的东西要靠这些 support 的玩意儿.不过现在还搞 Solaris? 我还在 O 的时候就以为完蛋了啊.
|
4
jy02201949 2021-07-29 08:58:45 +08:00
@gefranks N 年前,Oracle 原厂的专家,一天一万
|
5
Tarkky OP @gefranks #3 嗨,我不怎么玩 Oracle 的产品。这次是因为搞个存储基于 opensolaris 碰到比较奇葩的问题,想换到 solaris 上来,因为官方说 solaris 更快。这不配置过程碰到修改 mtu 过不去么。哎,打算换 truenas 了。还得倒腾数据。累死
|
6
Tarkky OP @jy02201949 #4 以前都这价,2000 年时,我司上四班,顾问一小时 80 美金。
|