SMB vs. APF
DEFINITIONS
AEBS – AirPort Extreme Base Station
AFP – Apple Filing Protocol
APX – AirPort Express
HDD – Hard Disk Drive
MBA – MacBook Air
SMB – Samba
HALLELUJAH! Thank God for the Apple Discussion forums. After 3.5 hours on the phone to Apple Technical Support, trolling through the online discussion forums has led me to the discovery of SMB vs. AFP connectivity issues.
After two weeks of trying to iron out the not-to-impressive wireless network, I had resigned to the fact that everytime I woke my MBA from sleep, I have a 70/30 percent chance of losing connectivity with my external HDD that is connected to my newly purchased AEBS.
Even taking the advise of a “product specialist” – to format my external hard drive to HFS+ (Mac OS Extended [Journaled]), AND making sure the Partitioned Map Scheme was GUID (I had it on Master Boot – which is better for Mac/Windows file sharing), selecting the external HDD to “mount” at start up/login (through System Preferences > Accounts > Login Items) and then resetting the whole system to balance out the various products (MBA, AEBS, external HDD and APX) – it did not guarantee the external HDD to be located under “Shared Devices” in the Finder window.
The product specialist did touch on a fact that my NETGEAR wireless modem could be dynamically reassigning a new IP address to AirPort whenever I woke the MBA from sleep – hence the AEBS not being able to “follow” the ever-changing IP address. One work-around was to assign a static IP address. But that would mean configuring the NETGEAR wireless modem router and a bunch of other things, to which Apple could not help me with.
So, the solution? Waking up my computer from sleep many times until I can see my external HDD under the “Shared Devices”. This involved waking, login out, login in, rebooting, resetting….and a combination of all those.
BUT oh, what a discovery! It is 1:22am and after reading a thread about connectivity issues relating to external HDD with AEBS, here is the revelation:
Some users did not have problems with the Airdisk, other users report major problems, like lost connection after Macbook sleep. Why did some user reports this major problems and other say everything is fine: I think that’s because they use different filesystems on their Airdisk and therefore they use SMB OR AFP as connection protocol. I assume that user with Fat32 formated USB-disk did not have the same problems because the use SMB to connect to their disk. My disk is HFS+ formated and so Leopard (10.5.1) uses per default the AFP to connect. I have major problems especially after my Macbook wakes up from sleep modus, then I get the “connection lost” error and I am not able to reconnect to the Disk again. I have to reconnect the usb cable to the AEBS or restart the station. But I find out, that the SMB connection to the disk works fine, even if the AFP corrupts after the sleep modus
Solution – (Go > Connect to server > smb://IP-ADDRESS/….. ).
Now comes a time of testing this SMB connection out. I have added both SMB and AFP to be connected to the server, and when I wake this computer from sleep in the morning, I will do some more vigorous testing (waking from sleep, login out/in, rebooting). My bet is that the AFP will be corrupted and that the SMB will still have a strong and stable connection.
Wish me luck!




