Correcting Link Speed Negotiation Issues in FreeNas 9.x

by bluemedora_editor on March 6, 2014

Freenas is one of the best file server operating systems available today. It utilizes the power of the ZFS file system, the stability of the FreeBSD platform, and has a great web based administration console that both powerful and easy to setup.

For all of its positive qualities, nothing is perfect as I ran into a major issue with the NIC card driver when upgrading from the FreeNAS 8.3 to 9.1

Link Speed issues

Improved performance is one of the features of the FreeNAS move to a FreeBSD 9.x code base. The upgrade procedure went smoothly, but then I was very disappointed to find my NFS and SMB transfers were very slow or timing out. A ping test over my wireless network didn’t show any dropped packets so I ruled out the network configuration early in the troubleshooting process.

I SSH’d in to the local console and found the following in the NIC configuration:

alc0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=c3098<VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_MCAST,WOL_MAGIC,VLAN_HWTSO,LINKSTATE>
ether 00:25:11:c4:fa:73
inet 192.168.6.6 netmask 0xffffff00 broadcast 192.168.6.255
inet6 fe80::225:11ff:fec4:fa73%alc0 prefixlen 64 scopeid 0x1
nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
media: Ethernet autoselect (10baseT/UTP <full-duplex>)
status: active

 

I am text block. Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.

The Fix:

You can manually specify the the link speed in the media option for a TCP/IP connection:
media 1000baseTX mediaopt full-duplex
You will need to put this into the Network device configuration in the FreeNAS Administration console (See Screenshot)

After you apply the change, the server will go offline for ~30sec.

Then SSH in, you should see the following, if the fix was successful:
[root@mars] ~# ifconfig
alc0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=c3098<VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_MCAST,WOL_MAGIC,VLAN_HWTSO,LINKSTATE>
ether 00:25:11:c4:fa:73
inet6 fe80::225:11ff:fec4:fa73%alc0 prefixlen 64 scopeid 0x1
inet 192.168.6.6 netmask 0xffffff00 broadcast 192.168.6.255
nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
media: Ethernet 1000baseT <full-duplex>
status: active

 

Enjoy your file server!

 

Craig Lee is the Director of Technology at Blue Medora. Craig has over 10 years of IT experience and oversees IT, Support, and QA operations at Blue Medora.

Get started

Try BindPlane for free. No credit card required.

Sign up
True Visibility
BindPlane for VMware vRealize Operations

True Visibility allows cloud management teams to use VMware vRealize’s powerful machine learning and capacity planning engine across their entire hybrid cloud environment.

Azure Monitor...everything
BindPlane for Microsoft Azure Monitor

Make Azure Monitor your first-pane-of-glass across your entire multi-cloud, multi-database or hybrid platform environment.

Thank you for contacting us. Your information was received. We'll be in touch shortly.