NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
nd
Dec 08, 2008Aspirant
AFP auto mount on ReadyNAS startup (OSX 10.5.5)
Hi there
Is it possible to get some of the shares automatically mounted, when the NAS ist started up? Or even better as soon as the ReadyNas is visible in the Finder? This would also allow me to connect my macbook to the network when the ReadyNas is already running and get my shares auto mounted...
Thx in advance!
Is it possible to get some of the shares automatically mounted, when the NAS ist started up? Or even better as soon as the ReadyNas is visible in the Finder? This would also allow me to connect my macbook to the network when the ReadyNas is already running and get my shares auto mounted...
Thx in advance!
87 Replies
Replies have been turned off for this discussion
- KillerBobAspirantHi,
Check out the forum discussion I haf a few years ago, dealing with exactly this topic:
https://discussions.apple.com/thread/14 ... 0&tstart=0
KB - BeatCrazyAspirant
KillerBob wrote: Hi,
Check out the forum discussion I haf a few years ago, dealing with exactly this topic:
https://discussions.apple.com/thread/14 ... 0&tstart=0
KB
Reading that thread, it appears your solution was to tell the NV+ to advertise AFB over Bonjour, which is what I've done. That still doesn't allow OS X to see the data in the Get info. - sphardy1ApprenticeThe lack of share info is due to the way you are selecting the share
You appear to have selected your NAS in the Finder sidebar and then the share that appears in the right pane - that will not show the requested info as Finder considers the share unmounted.
Instead you need to select the mounted share itself from the finder sidebar and then do "Get Info". Alternatively double click on the share and when the shares files/folders are shown in the right finder pane, but without selecting any file/folder, do a "Get Info"
Here I reproduce the issue as confirmation:
Back to your original issue - there are reports of problems with Lion mounting AFP shares via the command line (not just for ReadyNAS users and not all users are affected - Google around for confirmation)
That said, the correct command is:mount -t afp <source> <destination>
For example:mount -t afp afp://mynas.local/backup /mnt/backup
I confirmed the above does work for me, though note my NAS is still running 4.2.17 - BeatCrazyAspirantsphardy, thank you! I will try this later today.
For the command:mount -t afp afp://mynas.local/backup /mnt/backup
Does my NAS name need to be designated as:
afp://nas-01-XX-XX/share
or
afp://192.168.1.XXX/share
? - sphardy1ApprenticeIt can be any name recognised by your mac - but the options will depend on different factors and what name services are available on your network
For purely Mac users:
IP address is safest, then "mynas.local" or "mynas (AFP)._afpovertcp._tcp.local" (change 'mynas' to the name of your own NAS)
typo corrected - BeatCrazyAspirantI use fixed LAN IP for the ReadyNAS, I may try it with IP, first.
EDIT: I need to remember to add the .local!
afp://192.168.1.XXX.local/share - BeatCrazyAspirant
sphardy wrote:
Instead you need to select the mounted share itself from the finder sidebar and then do "Get Info". Alternatively double click on the share and when the shares files/folders are shown in the right finder pane, but without selecting any file/folder, do a "Get Info"
:x I tried all the steps you described, still not getting any info from "Get Info".sphardy wrote: mount -t afp afp://mynas.local/backup /mnt/backup
I confirmed the above does work for me, though note my NAS is still running 4.2.17
Oh for two!
I tried each way (making sure to include the .local) with both IP, and NAS name, and only get:
mount: realpath /mnt: No such file or directory
This is really frustrating, because I can absolutely manually mount the share, and it shows as (AFP) in Finder.
And I did do a sudo mkdir /Share before I tried these. - BeatCrazyAspirantActually, I did get the Get Info to work!
That helped me find the right path to do the mount, but it still doesn't work!
Here's what I'm trying:
mount -t afp afp://nas-XX-XX-XX (AFP)._afpovertcp._tcp.local/Share /mnt/Share
and I get:-bash: syntax error near unexpected token '('
EDIT: I tried something else....Does this mean success?usage: mount [-dfruvw] [-o options] [-t external_type] special node
mount [-adfruvw] [-t external_type]
mount [-dfruvw] special | node - sphardy1ApprenticeSorry - typo in one of the hostnames in my last post.
mount -t afp "afp://nas-XX-XX-XX (AFP)._afpovertcp._tcp.local/Share" /mnt/Share
Presuming /mnt/Share exists
Also can I recommend that you take a little time to try to understand the commands you are entering. Your last posts seem to indicate you are just trying different combinations in the hope you stumble on the right one - BeatCrazyAspirant
sphardy wrote: Sorry - typo in one of the hostnames in my last post. mount -t afp "afp://nas-XX-XX-XX (AFP)._afpovertcp._tcp.local/Share" /mnt/Share
Presuming /mnt/Share exists
Also can I recommend that you take a little time to try to understand the commands you are entering. Your last posts seem to indicate you are just trying different combinations in the hope you stumble on the right one
Well, it's been 20 years since I last took a programing class, and it wasn't Unix! ;-)
Still no success, I'm close to giving up.mkdir: /Music: File exists
mini2011:~ Mini2011$ mount -t afp "afp://nas-XX-XX-XX (AFP)._afpovertcp._tcp.local/Music" /mnt/Music
mount: realpath /mnt: No such file or directory
Related Content
NETGEAR Academy
Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!