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

2021-07-28 19:14:49 +08:00
 Tarkky

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

1023 次点击
所在节点    问与答
6 条回复
gefranks
2021-07-28 21:10:57 +08:00
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
2021-07-28 22:32:44 +08:00
@gefranks 多谢。
唉,就多了一条 ipadm delete-ip net1 这条命令,非得交钱才能看,怪不得用的人越来越少。
gefranks
2021-07-29 00:44:04 +08:00
靠卖 supporr 赚钱一直是 O 的老套路啊.很多歪门邪道的东西要靠这些 support 的玩意儿.不过现在还搞 Solaris? 我还在 O 的时候就以为完蛋了啊.
jy02201949
2021-07-29 08:58:45 +08:00
@gefranks N 年前,Oracle 原厂的专家,一天一万
Tarkky
2021-07-29 09:41:34 +08:00
@gefranks #3 嗨,我不怎么玩 Oracle 的产品。这次是因为搞个存储基于 opensolaris 碰到比较奇葩的问题,想换到 solaris 上来,因为官方说 solaris 更快。这不配置过程碰到修改 mtu 过不去么。哎,打算换 truenas 了。还得倒腾数据。累死
Tarkky
2021-07-29 09:42:53 +08:00
@jy02201949 #4 以前都这价,2000 年时,我司上四班,顾问一小时 80 美金。

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/792335

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX