Cannot mount NFS shares using the Finder

Hello all!
I have a directory structure on a OpenSuse NFS Server which I like to browse/read using my MAC OSX 10.5.6. It works like a joy when I am mounting the NFS share on the command line using "sudo":
sudo mount -o resvport nfshost:/full/path/NFS/share /My/mount/point
However, this is kind of unconvenient as I need to start Terminal and sudo always asks me for the root password. I would appreciate to mount the NFS share just as I mount afp shares using the Finder. But the NFS share is neither searchable using the Finder nor does it show up in the list of host in the side bar of the Finder.
Does anyone has an idea how to solve that? Thx for your information!

The problem is most likely that your NFS server requires that connections come from reserved ports but you can't connect that way from the Finder GUI.
Your example:
sudo mount -o resvport nfshost:/full/path/NFS/share /My/mount/point
shows that you need to use "-o resvport" and that you need to do the mount as root. (This is because the networking stack requires you to be root to get a reserved port.) When you try to mount it via the Finder, you can't specify any mount options like "-o resvport" and even if you could the mount would fail because the Finder isn't running as root.
My first suggestion would be to change the configuration of your server to not require clients to use reserved ports for the NFS protocol. Unfortunately, Linux chooses to call that option "insecure" even though requiring the use of reserved ports (using "secure") doesn't actually make NFS more secure.
Alternatively, you could configure the mount to be performed by something that does do the mount as root - e.g. automount/autofs. You can do this by configuring the mount on Directory Utility's "Mounts" section... you'll want to add "resvport" to the "Advanced mount options" field.
HTH
--macko

Similar Messages

  • Cannot mount nfs shares

    Hello,
    since Sunday I'm unable to mount NFS shares:
    mount.nfs: No such device
    The server-side is working fine, I can mount all shares from my FreeBSD Desktop machine.
    I'm using netcfg and start rpcbind and nfs-common upong connection before mounting NFS shares (via netfs). Is this maybe related to some recent pacman updates? It was working flawless just until Sunday.

    As it turns out, It now works.  I did load the nfs module manually during my troubleshooting but it was already loaded or built into the kernel or whatever.
    The thing that made it work is changing the nfs mount lines in /etc/fstab from the hostname of the server to the ip address of the server.  I don't know why that worked on both machines since I could ping the hostname of the nfs server which is a Freenas server and it always worked before.
    @ jasonwryan
    rc.d start rpcbind && rc.d start nfs-common
    start fine after stopped and restarted.  Have you replaced portmap with rpcbind in pacman?  rpcbind superceded portmap a while back.  gl.
    @.:B:.
    lol, snide remark succesfully detected.  In my defense I was half guessing and half sniding (or some percentage thereof).  I have to admit I do get a bit snippy over this since nfs is necessary for my little clients to run mpd and I gets a bit cranky when I gots no musics!  Fueling my frustration, it seems I have to chase down nfs problems frequently after "pacman -Syu".

  • Cannot search NFS shares using finder

    Having connected ubuntu 11.04 NFS4 share, searching in finder apparently doesn't do anything.
    Search works fine when the same folder is mounted using SMB or AFP.
    Tested using two different OSX machines both running 10.6.8.
    Does it work for anyone here?

    correction. it's just regulrarly mounted using nfs3.
    apparently no one is using nfs here at all

  • How to create an nfs share using the method "CreateShare" of class "MSFT_NfsServerTasks"

    I need to use the "CreateShare" of the wmi class "MSFT_NfsServerTasks" to create a nfs share.
    I am new to wmi. could somebody please guide me to achieve this. thanks in advance.

    let to me rephrase my question. I need to call the MSFT_NfsServerTasks::createmethod to create the nfs share.
    And the syntax for this method is
    uint32 CreateShare(
    [in] string Name,
    [in] string Path,
    [in] string NetworkName,
    [in] string Authentication[],
    [in] boolean UnmappedUserAccess,
    [in] boolean AnonymousAccess,
    [in] sint32 AnonymousUid,
    [in] sint32 AnonymousGid,
    [in] string LanguageEncoding,
    [in] boolean AllowRootAccess,
    [in] string Permission,
    [in] MSFT_NfsSharePermission ClientPermission[],
    [out] MSFT_NfsShare Share
    And to run this method I will be using "IWbemServices::ExecMethod". This method takes the Input parameter object(IWbemClassObject). I managed to add string the parameters in the input parameterobject as,
    IWbemClassObject* pInInst = NULL;:/*some code*/
    VARIANT var;
    var.vt = VT_BSTR;
    var.bstrVal= SysAllocString(L"C:\\share1");
    BSTR ArgPath = SysAllocString(L"Path");
    hRes = pInInst->Put(ArgName, 0, &var, 0);
    But how could I use it for other parameters e.g. string[], MSFT_NfsSharePermission ClientPermission[]etc.

  • Finder can't access a mounted windows share - but the Terminal can...

    When I mount a drive using the finder's "Go / Connect to Server..." command I can choose the share to connect to and Finder mounts the share, puts it on the desktop etc... but then it tells me that:
    "The folder “Sharename” can’t be opened because you don't have permission to see its contents."
    Any attempt to access the folder through the finder will result in the same error message.
    Since the share does otherwise mount sucessfully, it shows up in /Volumes/ and using the terminal I can access the contents of the drive and open files. Applications, both terminal and GUI can read and save to files and folders opened in this way, but the GUI application cannot find the path again if you browse away in the app's browsable dialog boxes (like Save or Open). I can access any file using an absolute path in any program.
    There are more nuances to this behaviour:
    Other shares hosted by the same server don't have this problem.
    Using the terminal, I appear to have the same Unix permissions to the files and folders on the shares that work as the ones that don't work.
    Using Finder's "Go to Folder..." command I can open some, but not all folders in the flaky sharepoint mounts. All files seem to work though.
    My guess is that there are some permissions that are making Finder unhappy, but I'm not sure what they might be. But regardless, why then can I access everything from the Terminal? I'd like to use the Finder - it makes my experience much smoother!
    Some other people in this forum seem to have had the same problem with their NAS drives, but I don't think anyone has yet suggested they try accessing it via the terminal. It would be really helpful if anyone could confirm this Finder/Terminal discrepant behaviour.
    Any thoughts?

    I am having the same problem but with OS X 10.9 (Mavericks).
    I try to connect to the NAS via the Go / Connect to Server utilizing smb or cifs protocols and it will mount but then I can't enter the mounted drives/directories with finder.
    The workaround for forcing smb1 has been applied and I find that Finder would not permit me to enter those mounted directories but I can go via the command line and work fine. The  only issue is that with a Mac, as much as everybody say, you should not need to go to the command line... Yeah, right.
    For the amount of money that I paid for the Mac Book Pro, it should work. So, now I can confirm that even Mac OS X can be as bad as Windows...
    Any idea when will Apple put out a fix or an update to finder?

  • How can I mount an SMB share in the Finder? (Leopard)

    In Tiger, I was able to mount a SMB share in the finder and it would be displayed under the "Devices" section. With Leopard, I cant get this to work. Leopard is much easier to browse network shares on my Windows machine under the "Shared" section, but I would still like to have certain folder mounted all the time, preferably on startup.

    Works perfectly for me, so let me make sure we're on the same page.
    I mount the volume manually, using Connect to Server.
    I drag the volume, now appearing in Computer and on the Desktop, to the Devices section of the Sidebar.
    I eject the volume, and it disappears from the Sidebar.
    I mount the volume again (it could be by browsing for it, through Connect to Server, or through an Automount Maker document)
    It appears, without my having to do anything, in the Sidebar.
    As far as I can tell, this is what you were aiming for. Am I missing something?

  • I share an Apple ID with my family can we still all use the find my friends app or do we need our own Apple ID's?

    I share an Apple ID with my family...can we still all use the find my friends app or do we need to get our own Apple ID's?

    To avoid confusion and merging data... it's always suggested that each person have their own apple id.

  • I have lost my iphone and now i cannot locate it even when i use the find my ipphone app

    i have lost my iphone and now i cannot locate it even when i use the find my ipphone app

    It may be off, out of battery power or no internet connection. The lower section of the following link has some other things you may want to do (change passwords, report to law enforcement and to your cellular carrier: If your iPhone, iPad, or iPod touch is lost or stolen - Apple Support

  • NFS connections via the Finder

    I can connect to my NFS shares via an Apple-K and typing nfs://host/export/home, but my NFS server is showing up in the Leopard finder as a Windows machine and when I click on the host, I get a "Cannot connect to server"
    I don't mind so much having to Apple-K to mount nfs shares, nor do I object to Apple's truth in advertising blue screen of death icon for Windont machines, but I do object to having my Ultra 80 represented by the BSoD Windows icon.
    Can you change the icon for hosts on the net? Is there an .plist I can tweak to show Sun machines with a Sun logo?

    under
    "/System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/"
    you'll find a file called
    "public.generic-pc.icns".
    this is the bsod-windows-icon. at first glance i can't spot something about sun*, but maybe it helps you on your way to your own network-icon.

  • Can't mount NFS share via GUI

    Mac OS X 10.8.2
    MacBookPro5,3
    Hello,
    I've recently upgraded to OS X 10.8.2 and am having great difficulty in mounting my NFS shares via the OSX GUI. This worked fine at OS X 10.6.
    My aim is to provide an automount type of setup so that less experienced users don't have to worry about the command line.
    Can someone please point me in the right direction here?
    This is what I've tried to date.
    My NFS service is hosted on my Debian server. It supports NFS v4. The service is working and stable and is used routinely with Ubuntu clients. It has also worked with OS X 10.6 clients in the past, but not with OS X 10.7 clients.
    To date I have tried the following options:
    Mount via finder: Connect to server option using syntax: nfs://<user>@<server>/<share>
    setting up autofs using the instructions from pmbuko
    using the command line to mount the share.
    The first option failed repeatedly.  I did find that it would eventually work, though only after I'd manually mounted the share at the command line.
    I have not been able to get the second option to work.
    I initiate autofs using the command 'automount -vc' and see that the connection is recognised
    when I attempt to cd into a directory below the mount point, I eventually get the message 'Connection Refused'. 
    when I check my Debian logs, I find that the NFS service had actually received an authenticated mount request from the Mac.
    when I check my Mac Console logs, I see an error:kernel: nfs_connect: socket error 61 for <server>/<share>
    I was able to get the third option working, but only after using the '-o resvport' option.
    'Something' does appear to be broken with OS X 10.8.2  as an NFS client.
    Any thoughts?

    I have found a work around that meets my imediate needs, though it doesn't allow me to use autofs functionality.
    The work around uses the traditional Unix/Linux approach of automatically mounting a file system or NFS share via fstab at boot time. OS X 10.8 still supports fstab, even though the file is not included in the default installation.
    Once mounted, the NFS share appears as if it is part of the normal file system.
    The following is only intended for people confident in Unix or Linux systems administration and in using a shell environment via the command line. Do not attempt this if you do not have these skills.
    To set up for fstab, do the following within a terminal session:
    create an empty directory in your file system that you can use as your mount point for your NFS share:
    sudo mkdir /data/share
    sudo chown root:wheel /data/share
    using your favourite editor, create the fstab file (in a terminal type 'man fstab' for details)
    sudo vi /etc/fstab
    add similar to the following to /etc/fstab and then save and exit, substituting your own values where appropriate
    # My NFS share
    <your-server>:/<your-share> /data/share nfs  resvport,rw,hard,intr 0 0
    sudo chown root:wheel /etc/fstab
    Please note: you may not need the resvport option in the fstab line above. It will depend on your NFS server's requirements.
    Once you have done this, reboot your Mac and your NFS share should be mounted at the mount point that you defined.
    If not, check your logs to see what went wrong.

  • Mounting nfs shares takes much longer since updating to 10.3.9

    Hi, first post here. The titles of the forums are vague and I hope "getting online" really is the "networking forum"; apologies if not.
    I have two linux machines which I regularly mount nfs shares from onto my powerbook. These machines are on the LAN and have known IP's for netinfod so I don't think the following problem is DNS related.
    Since the last 10.3.9 update, mounting these shares (via finder or command line mount_nfs) has become very unreliable. Sometimes they never seem to mount, sometimes almost immediately, and other times they mount eventually even though I might of canceled the dialog box waiting for the mount. The logs show:
    mount_nfs: bad MNT RPC: RPC: Timed out
    The server side logs show only repeated authentication approvals. The servers have not changed software -- only OSX has been updated.
    Independent if I use WiFi or a landline.
    Once the shares are mounted, there is no detectable connection problems at all. Was any part of the NFS client updated in 10.3.9? Any ideas what might be wrong. TIA.
    12" PowerBook G4   Mac OS X (10.3.9)  

    Just to bump this, as no one has chimed in, I found the problem and I will post the fix only if someone asks. It's not stupid, and it might help you. I am surprised that no one cares.
    I'd still like to know why you can't launch PS from a bootable backup.

  • Thunar freezing when mounting NFS shares

    I have used Thunar and NFS for some time without any problems, but in the past week Thunar has been locking up solid when I use it to access a NFS share for more than a minutes or so. It totally locks up the Thunar GUI and I have to force it to quit. When this happens I noticed that the rpc.mountd process becomes zombified or defunct, and AutoFS no longer works too. Restarting these processes with systemctl does not work, since the restart command just hangs.
    I run  "journalctl -xn" when this happens, but noting really stands out.
    I don't have any issues when I access the same NFS share using a terminal.
    Currently I have a less than satisfactory workaround - which is to use PCmanFM instead of Thunar. PCmanFM seems to have the good graces to just automatically crash after mounting a NFS share for more than a minute and thus not case all the problems with rpc.mountd & AutoFS.

    I finally solved my problem by changing the mount options to  this in fstab:
    pc-francois.local:/francois /mnt/pc-francois nfs4 rw,proto=tcp,vers=4.0,noauto,users,intr  0 0
    One week to find it... Maybe it wants to use nfs 4.1 by default.

  • How to  Connect to ftp server in active mode using the finder

    How can I can I use the finder command "connect to server" to connect to a ftp server using the active Mode. With Cyberduck I can connect to this server only in active mode. Apparently the connect to server command uses the ftp passive mode.
    Or is it an other way to mount on the desktop a ftp server in active mode?
    Thank you

    Passive mode can be disabled in your network settings, but I have a feeling what you're actually asking for is the ability to upload, and the answer to that is the Finder can't do it. There are some filesystem plugins out there that provide this functionality, but they cost money.

  • LR V1.2 Having problems using the find Command

    Have just recently started using lightroom and so far managing most applications imported a series of photos and after import added keywords to them using the find function I cannot get images to appear. What seems to happen is that in the keyword tag and the folders any of the headings that contain the keyword become active the remainder show a zero no in number of images held in that folder but no images on screen
    can anyone assist me
    Peter

    thanks for the reply
    have switched of global filters, made sure that using the Find command have set keywords in "text box" and in the "rule box "contains". When I then enter a key word as soon as a type the first two or three letters
    a message appears on the screen no "No photos in the selected keyword Tag" Also when you look at the folders which have a series of numbers indicating the photos in the directory the first number in each set turns to 0 with the exception of the folder and sub folder were the images are
    So have not managed to make any progress
    Peter

  • Can the iphone be remotely activated if it is lost or stolen so it can be found using the find my iphone app

    can the iphone 5 be remotely activated so it can be found using the find my iphone app. the phone has been offline since it was lost even though it should have had power. if it can be simply turned on by the service provider or by apple the rest i can do using the app

    twhite55 wrote:
    can the iphone 5 be remotely activated so it can be found using the find my iphone app. the phone has been offline since it was lost even though it should have had power. if it can be simply turned on by the service provider or by apple the rest i can do using the app
    If you didn't enable the Find My iPhone function, then you can't track the iPhone.  But it sounds like you did have it turned on, if you're seeing that it's listed in the Find My iPhone app or on icloud.com.  But are you sure it's the same device?  If you had a previous iPhone, and the name of both iPhones was the same, it would make it difficult to know which phone was which, even if they both were listed.
    In any event, an offline device is not trackable.  It could be offline because A) it has no power or B) it is not connected to the internet via cellular data or wi-fi.
    Until it comes back online (and it may never), then it cannot be remotely tracked.

Maybe you are looking for

  • Downloads to a computer or device not previously associated with an Apple ID?

    Apple sends me emails telling me that my Apple ID was used to download an app from the App Store to a computer or device that had not previously been associated with my Apple ID.  Apple advises me reset my password. I have reset my password about 20

  • Unknown error on Media Encoder (CS4)

    I'm trying to render a movie and every time I get about half way through it crashes saying unknown error.. Oddly I can render the 1st half of the movie and then quit and restart and render the 2nd half of my movie, but not both together.. I've tried

  • How to create a method with an interface parameter?

    Hi there. I would create a method with an interface parameter. I mean this: public interface MyInt {     public void method(int i); public class SubClass implements MyInt {     public void method(int i) {         System.out.println("The number is: "

  • New Phone wont sync

    So here is my situation I bought a 3G Iphone about 4 months ago, I had to get rid of it at the time cause the bill was to high. I then bought a Zune and used it for a while but I decided to go back to an Iphone. So I bought a 3GS today and I reinstal

  • Memory Error in PSCS4 with Copy and Paste

    While working on a complicated project involving copying and pasting into PSCS4 from several applications I received this error and Photoshop closed down with loss of my work. I'm in Windows XP Pro SP3 and using a workstation with 2GB of error correc