Signall 11 when doing dmake on NFS mount.

Hello,
When I use dmake -j 20 on a local filesystem everything works fine. When I do this on a NFS mounted filesystem I get a scattering of errors, like the following, so I have to use make instead.
I am using Sunpro 5.3 on Solaris 8 sparc.
Compiling foo.cpp
>> Signal 11:
while processing CFETIManager.cpp at line 0.
*** Error code 1
dmake: Warning: Command failed for target `foo.o'

Thanks for the help, I have asked our sys admins for the patches to be installed.
I can email you the build.tr file if you like.
The first one is here
23208:     execve("/opt/WorkShop6.0/SUNWspro/bin/../WS6U2/bin/ccfe", 0x000661FC, 0x000677A8) argc = 55
23208:     argv: /opt/WorkShop6.0/SUNWspro/bin/../WS6U2/bin/ccfe -y-o
The second is here
23208:     resolvepath("/home/nmitchell/nmitchell_unix_release/DistributedDevelopment/eSpeedAPI/sdk/cfetp/SOLARIS8/SUNPRO53/15s/sparc/CFETPRoutableMessage.o", "/home/nmitchell/nmitchell_unix_release/DistributedDevelopment/eSpeedAPI/sdk/cfetp/SOLARIS8/SUNPRO53/15s/sparc/CFETPRoutableMessage.o", 1024) = 132
23208:     Incurred fault #6, FLTBOUNDS %pc = 0x0038C230
23208:     siginfo: SIGSEGV SEGV_MAPERR addr=0xFF08C000
23208:     Received signal #11, SIGSEGV [caught]
23208:     siginfo: SIGSEGV SEGV_MAPERR addr=0xFF08C000
23208:     sigaction(SIGSEGV, 0xFFBECED8, 0xFFBECF58)     = 0
23208:     sigaction(SIGINT, 0xFFBECED8, 0xFFBECF58)     = 0
23208:     sigaction(SIGQUIT, 0xFFBECED8, 0xFFBECF58)     = 0
23208:     sigaction(SIGILL, 0xFFBECED8, 0xFFBECF58)     = 0
23208:     sigaction(SIGABRT, 0xFFBECED8, 0xFFBECF58)     = 0
23208:     sigaction(SIGFPE, 0xFFBECED8, 0xFFBECF58)     = 0
23208:     sigaction(SIGBUS, 0xFFBECED8, 0xFFBECF58)     = 0
23208:     sigaction(SIGTERM, 0xFFBECF38, 0xFFBECFB8)     = 0
23208:     unlink("/home/nmitchell/nmitchell_unix_release/DistributedDevelopment/eSpeedAPI/sdk/cfetp/SOLARIS8/SUNPRO53/15s/sparc/SunWS_cache/CC_lockfile") = 0
23208:     write(2, " > > S i g n a l 1".., 15)     = 15
23208:     write(2, " w h i l e p r".., 62)     = 62
23208:     sigaction(SIGSEGV, 0xFFBECE08, 0xFFBECE88)     = 0
23208:     sigaction(SIGINT, 0xFFBECE08, 0xFFBECE88)     = 0
23208:     sigaction(SIGQUIT, 0xFFBECE08, 0xFFBECE88)     = 0
23208:     sigaction(SIGILL, 0xFFBECE08, 0xFFBECE88)     = 0
23208:     sigaction(SIGABRT, 0xFFBECE08, 0xFFBECE88)     = 0
23208:     sigaction(SIGFPE, 0xFFBECE08, 0xFFBECE88)     = 0
23208:     sigaction(SIGBUS, 0xFFBECE08, 0xFFBECE88)     = 0
23208:     sigaction(SIGTERM, 0xFFBECE68, 0xFFBECEE8)     = 0
23208:     llseek(0, 0, SEEK_CUR)                    = 180281
23208:     _exit(1)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

Similar Messages

  • Does FMS support NFS-mounted streaming?

    Hi. Does Flash Media Interactive Server support streaming of content NFS-mounted (network file system) rather than local to the server? Thanks.

    See the docs for configuring content storage.
    http://help.adobe.com/en_US/FlashMediaServer/3.5_AdminGuide/WS5b3ccc516d4fbf351e63e3d119f2 925e64-7fc7.html

  • Zfs destroy DOES NOT CHECK NFS mount file-systems

    I asked this question twitter once and the answer was a good one, but I did some checking today and was surprised!!
    # zfs destroy mypool/home/andrew
    The above command will destroy this file-system no questioned asked but if the file-system is mounted you will get back the Device busy and if you have snapshot then they will be protected as well
    server# zfs destroy mypool/home/andrew
    cannot unmount 'tank/home/andrew
    server# zfs destroy dpool/staff/margaret
    cannot destroy 'dpool/staff/margaret': filesystem has children
    use '-r' to destroy the following datasets:
    dpool/staff/margaret@Wed18
    dpool/staff/margaret@Wed22
    BUT?
    server# zfs destroy dpool/staff/margaret@Wed18
    server# zfs destroy dpool/staff/margaret@Wed22
    NFSclient# cd /home/margaret
    NFSlient# ls -l
    drwx------+ 2 margaret staff 2 Aug 29 17:06 Mail
    lrwxrwxrwx 1 margaret staff 4 Aug 29 17:06 mail -> Mail
    drwx--x--x+ 2 margaret staff 2 Aug 29 17:06 public_www
    server# zfs destroy dpool/staff/margaret
    server#
    GONE!!!
    I will file a bug report to see what Oracle say!
    Comments?
    I think there should be a hold/protect of file-systems
    # zfs hold dpool/staff/margaret
    Andrew

    The CR is already filed:
    6947584 zfs destroy should be recoverable or prevented
    The zfs.1m man page, which covers the mounted case and the ZFS admin guide are pretty clear
    about the current zfs destroy behavior.
    http://docs.oracle.com/cd/E23824_01/html/821-1448/gamnq.html#gammq
    Caution - No confirmation prompt appears with the destroy subcommand. Use it with extreme caution.
    zfs destroy [-rRf] filesystem|volume
    Destroys the given dataset. By default, the command
    unshares any file systems that are currently shared,
    unmounts any file systems that are currently mounted,
    and refuses to destroy a dataset that has active depen-
    dents (children or clones).
    I'm sorry that you were surprised.
    Accidents happen too, like destroying the wrong file system, so always have good backups.
    Thanks, Cindy

  • Expdp fails to create .dmp files in NFS mount point in solaris 10,Oracle10g

    Dear folks,
    I am facing a wierd issue while doing expdp with NFS mount point. Kindly help me on this.
    ===============
    expdp system/manager directory=exp_dumps dumpfile=u2dw.dmp schemas=u2dw
    Export: Release 10.2.0.4.0 - 64bit Production on Wednesday, 31 October, 2012 17:06:04
    Copyright (c) 2003, 2007, Oracle. All rights reserved.
    Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    ORA-39001: invalid argument value
    ORA-39000: bad dump file specification
    ORA-31641: unable to create dump file "/backup_db/dumps/u2dw.dmp"
    ORA-27040: file create error, unable to create file
    SVR4 Error: 122: Operation not supported on transport endpoint
    I have mounted like this:
    mount -o hard,rw,noac,rsize=32768,wsize=32768,suid,proto=tcp,vers=3 -F nfs 172.20.2.204:/exthdd /backup_db
    NFS=172.20.2.204:/exthdd
    given read,write grants to public as well as specific user

    782011 wrote:
    Hi sb92075,
    Thanks for ur reply. pls find the below. I am able to touch the files while exporting log files also creating having the error msg as i showed in previous post.
    # su - oracle
    Sun Microsystems Inc. SunOS 5.10 Generic January 2005
    You have new mail.
    oracle 201> touch /backup_db/dumps/u2dw.dmp.test
    oracle 202>I contend that Oracle is too dumb to lie & does not mis-report reality
    27040, 00000, "file create error, unable to create file"
    // *Cause:  create system call returned an error, unable to create file
    // *Action: verify filename, and permissions                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Unable to do expdp on NFS mount point in solaris Oracle db 10g

    Dear folks,
    I am facing a wierd issue while doing expdp with NFS mount point. Kindly help me on this.
    ===============
    expdp system/manager directory=exp_dumps dumpfile=u2dw.dmp schemas=u2dwExport: Release 10.2.0.4.0 - 64bit Production on Wednesday, 31 October, 2012 17:06:04
    Copyright (c) 2003, 2007, Oracle. All rights reserved.
    Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    ORA-39001: invalid argument value
    ORA-39000: bad dump file specification
    ORA-31641: unable to create dump file "/backup_db/dumps/u2dw.dmp"
    ORA-27040: file create error, unable to create file
    SVR4 Error: 122: Operation not supported on transport endpoint
    I have mounted like this:
    mount -o hard,rw,noac,rsize=32768,wsize=32768,suid,proto=tcp,vers=3 -F nfs 172.20.2.204:/exthdd /backup_db
    NFS=172.20.2.204:/exthdd

    Hi Peter,
    Thanks for ur reply.. pls find the below. I am able to touch the files while exporting log files also creating having the error msg as i showed in previous post.
    # su - oracle
    Sun Microsystems Inc. SunOS 5.10 Generic January 2005
    You have new mail.
    oracle 201> touch /backup_db/dumps/u2dw.dmp.test
    oracle 202>

  • Remove NFS mount

    Dears,
    2 problems:
    1. I used NFS to mount a share drive from a testing machine. Whenever the testing machine reboot, all
    servers who mounted to there will receive a shutdown warning message, how to get rid of this?
    2. When I remove a NFS mount from a system, the "df -k" command will still hang until NFS server timeout, is that anyway to fix other than reboot the
    server?
    thanks.
    Sony

    Dears,
    2 problems:
    1. I used NFS to mount a share drive from a testing machine. Whenever the testing machine reboot, all
    servers who mounted to there will receive a shutdown warning message, how to get rid of this?
    2. When I remove a NFS mount from a system, the "df -k" command will still hang until NFS server timeout, is that anyway to fix other than reboot the
    server?
    thanks.
    Sony

  • M127fn phone does not give signal fax when pressing 1,2,3

    Hi, I am Marc and I am new to this forum. Kindly excuse me of any wrong doing on a prior notice. Thanks! I bought the HP M127fn 4in1 unit one month ago and I am still not able to use this unit fully. On my old fax, Panasonic KX-FP342, when the phone rings and I answer, I can make a normal phone call or press the fax signal button to give a fax signal if it is a fax. However, If I do not answer, the panasonic unit picks up the line and gives a fax signal automatically after 5 unanswered ringtones. With the HP M127FN, I am not able to do this procedure. For description, I have the HP unit connected to the wall outlet and 2 phones in my house. One of the phones is connected to the HP Printer extension port and the second phone is connected to another separate socket ( to the same phone number ). When the phone rings for 5 times and I dont answer, the machine picks up the line and gives a fax signal automatically ( which is the normal procedure). But, the problem is when I answer the line. When I pick up the line and the caller asks me to give him a fax signal, I press 1,2,3 ( i tried this using the normal line and the extension line ) but nothing happens on both lines. So i appologize to the caller and ask him/her to call again which is really annoying me since I get around 10 to 15 faxes per day. I want the unit to answer automatically give a fax signal ( regardless of the caller's type ) after 5 ringtones and I want to answer the phone and be able to give a fax signal by myself if necessary. Fax answer type = automatic, rings type = all rings, extesion phone line = yes, rings to answer =5. Please Help!!!! 

    Hi , Welcome to the HP Forums! I see that your HP Laserjet m127fn phone, does not give signal fax when pressing 1,2,3. I am happy to help!  According to page 48 of your printer's user guide:  LCD control panel 1. On the product control panel, press the Setup button.
    2. Select Fax Setup, and then select Fax Recv. Setup.
    3. Select Extension Phone.
    4. Make sure that the On option is selected.
    With this setting turned on, you can alert the product to pick up the incoming fax call by pressing 1-2-3 sequentially on the telephone keypad. Turn this setting off only if you use pulse dialing or if you have a service from your telephone company that also uses the 1-2-3 sequence. The telephone company service does not work if it conflicts with the product. 5. Press the Back button to return to the Fax Recv. Setup menu.
    6. Select Answer Mode.
    7. Select Fax/Tel, and then press the OK button. With this setting, the product automatically picks up all calls and determines if the call is a voice or fax call. If the call is a fax call, the product handles the call as an incoming fax. If the incoming call is detected as a voice call, the product generates an audible synthesized ring to alert you of an incoming voice call. 8. Press the Back button to return to the Fax Recv. Setup menu.
    9. Select Fax/Tel Ring Time.
    10. Select the number of seconds after which the product should stop sounding the Fax/Tel audible ring to notify you of an incoming voice call, and then press the OK button. Hope this information helps!  “Please click the Thumbs up icon below to thank me for responding.”

  • Where does Disk Utility define NFS mounts?

    Hi, I used to use Disk Utility to define a NFS mount point for my Drobo, but then I sold the Drobo and deleted the mount point from Disk Utility.  However, my system.log file shows that rpc.statd is trying to find the Drobo once every hour still.  I double checked and there is nothing listed in auto_master, so the only place I can think of that Disk Utility defines the mounts within is Directory Services but I can't find where.  Does anyone know where Disk Utility defines NFS mounts and how I can clear it out?

    Mountain Lion NFS Mounts Missing In...: Apple Support Communities

  • TS3367 I was trying to contact my wife in another country on a trip as I have several times since she has been away. Today we connected and then lost the signal and when I tried her again I got connected to someone in CA. How does that happen??

    I was trying to contact my wife in another country on a trip as I have several times since she has been away. Today we connected and then lost the signal and when I tried her again I got connected to someone in CA. How does that happen??

    Edge has very clear restrictions, one being that you must have 6 months of clean payment history which you don't. Either wait until April 14, or good luck at Sprint.
    I am unsure how it can be determined the payment mix up was the fault of CS, but regardless, the mix up was done. There can be any number of reasons why a payment could be missed without any fault on your part, however you are still the responsible party for the account and must live with the repercussions.

  • Does LabView display the Bluetooth signal strength when running on Windows XP?

    I am interested in getting the Bluetooth signal strength in a Windows XP application. I would like to use the Microsoft bluetooth drivers for my application. First, Does LabView display the Bluetooth signal strength when running Windows XP? Secondly, If it does what Windows API(s) does it use to get access to this information?

    Hi,
    It does not seem like the Bluetooth VIs allow you to display the signal strength and I can definitly enter that as a product suggestion for the Bluetooth functionality in LabVIEW. For now, I would suggest going through the Windows API and searchingn for RSSI - Received Signal Strength Indication. I did not have a lot of luck in my searches through Microsoft, but you can give that a shot and post back with any more headway you make.
    Also, you can try going to SourceForge.net. Just doing a search for Bluetooth and RSSI popped up several hits of code that has been developed for Bluetooth applications. Then, you can see about creating a DLL call to a particular function that will return RSSI information to you, to which
    you can then use in LabVIEW with the Call Library Node.vi.
    Hope this helps and best of luck!
    Kileen C.
    NI

  • Nfs mount point does not allow file creations via java.io.File

    Folks,
    I have mounted an nfs drive to iFS on a Solaris server:
    mount -F nfs nfs://server:port/ifsfolder /unixfolder
    I can mkdir and touch files no problem. They appear in iFS as I'd expect. However if I write to the nfs mount via a JVM using java.io.File encounter the following problems:
    Only directories are created ? unless I include the user that started the JVM in the oinstall unix group with the oracle user because it's the oracle user that writes to iFS not the user that creating the files!
    I'm trying to create several files in a single directory via java.io.File BUT only the first file is created. I've tried putting waits in the code to see if it a timing issue but this doesn't appear to be. Writing via java.io.File to either a native directory of a native nfs mountpoint works OK. ie. Junit test against native file system works but not against an iFS mount point. Curiously the same unit tests running on PC with a windows driving mapping to iFS work OK !! so why not via a unix NFS mapping ?
    many thanks in advance.
    C

    Hi Diep,
    have done as requested via Oracle TAR #3308936.995. As it happens the problem is resolved. The resolution has been not to create the file via java.io.File.createNewFile(); before adding content via an outputStream. if the File creation is left until the content is added as shown below the problem is resolved.
    Another quick question is link creation via 'ln -fs' and 'ln -f' supported against and nfs mount point to iFS ? (at Operating System level, rather than adding a folder path relationship via the Java API).
    many thanks in advance.
    public void createFile(String p_absolutePath, InputStream p_inputStream) throws Exception
    File file = null;
    file = new File(p_absolutePath);
    // Oracle TAR Number: 3308936.995
    // Uncomment line below to cause failure java.io.IOException: Operation not supported on transport endpoint
    // at java.io.UnixFileSystem.createFileExclusively(Native Method)
    // at java.io.File.createNewFile(File.java:828)
    // at com.unisys.ors.filesystemdata.OracleTARTest.createFile(OracleTARTest.java:43)
    // at com.unisys.ors.filesystemdata.OracleTARTest.main(OracleTARTest.java:79)
    //file.createNewFile();
    FileOutputStream fos = new FileOutputStream(file);
    byte[] buffer = new byte[1024];
    int noOfBytesRead = 0;
    while ((noOfBytesRead = p_inputStream.read(buffer, 0, buffer.length)) != -1)
    fos.write(buffer, 0, noOfBytesRead);
    p_inputStream.close();
    fos.flush();
    fos.close();
    }

  • The stavfs() hangs for stale NFS mount

    Hi,
    When the remote server from where a NFS file system is mounted is down, we get the stale NFS
    mount error.
    An application that just reads the entries of /etc/mnttab and does the statvfs() on all the file systems will
    hang infinitely. The control is within the statvfs() call. The application goes into a uninterruptible sleep mode. Signals like SIGALARM or SIGPIPE are not handled. Only the signals like SIGTERM, SIGHUP,
    SIGKILL are getting handled.
    One solution which we considered was to check for the availability of the remote host before calling the
    statvfs(). This can be done by sending ICMP packets to the remote host. But this method will not work
    on the servers which restricts the ICMP packets (for some security reasons).
    Is there any other way to avoid this problem?
    Thanks in advance.
    Best Regards,
    Rams.

    And again. Since 280 people have looked at my post and not one could help me I assume that there's no solution to my problem?
    If that's true I would appreciate it if you tell me, and if there's a solution you know, or if you have any idea how to solve this, please reply.
    kthxbai

  • Accessing NFS mounted share in Finder no longer works in 10.5.3+

    I have setup an automounted NFS share previously with Leopard against a RHEL 5 server at the office. I had to go through a few loops to punch a hole through the appfirewall to get the share accessible in the Finder.
    A few months later when I returned to the office after a consultancy stint and upgrades to 10.5.3 and 10.5.4 the NFS mount no longer works. I have investigated it today and I can't get it to run even with the appfirewall disabled.
    I've been doing some troubleshooting, and the interaction between the statd, lockd and perhaps the portmap seem a bit fishy, even with the appfirewall disabled. Both the statd and lockd complains that they can not register; lockd once and statd indefinitely.
    Jul 2 15:17:10 ySubmarine com.apple.statd[521]: rpc.statd: unable to register (SM_PROG, SM_VERS, UDP)
    Jul 2 15:17:10 ySubmarine com.apple.launchd[1] (com.apple.statd[521]): Exited with exit code: 1
    Jul 2 15:17:10 ySubmarine com.apple.launchd[1] (com.apple.statd): Throttling respawn: Will start in 10 seconds
    ... and rpcinfo -p gets connection refused unless I start portmap using the launchctl utility.
    This may be a bit obscure, and I'm not exactly an expert of NFS, so I wonder if someone else stumbled across this, and can point me in the right direction?
    Johan

    Sorry for my late response, but I have finally got around to some trial and error. I can mount the share using mount_nfs (but need to use sudo), and it shows up as a mounted disk in the Finder. However, when I start to browse a directory on the share that I can write to, I end up with the lockd and statd failures.
    $ mount_nfs -o resvport xxxx:/home /Users/yyyy/xxxx-home
    mount_nfs: /Users/yyyy/xxxx-home: Permission denied
    $ sudo mount_nfs -o resvport xxxx:/home /Users/yyyy/xxxx-home
    Jul 7 10:37:34 zzzz com.apple.statd[253]: rpc.statd: unable to register (SM_PROG, SM_VERS, UDP)
    Jul 7 10:37:34 zzzz com.apple.launchd[1] (com.apple.statd[253]): Exited with exit code: 1
    Jul 7 10:37:34 zzzz com.apple.launchd[1] (com.apple.statd): Throttling respawn: Will start in 10 seconds
    Jul 7 10:37:44 zzzz com.apple.statd[254]: rpc.statd: unable to register (SM_PROG, SM_VERS, UDP)
    Jul 7 10:37:44 zzzz com.apple.launchd[1] (com.apple.statd[254]): Exited with exit code: 1
    Jul 7 10:37:44 zzzz com.apple.launchd[1] (com.apple.statd): Throttling respawn: Will start in 10 seconds
    Jul 7 10:37:54 zzzz com.apple.statd[255]: rpc.statd: unable to register (SM_PROG, SM_VERS, UDP)
    Jul 7 10:37:54 zzzz com.apple.launchd[1] (com.apple.statd[255]): Exited with exit code: 1
    Jul 7 10:37:54 zzzz com.apple.launchd[1] (com.apple.statd): Throttling respawn: Will start in 10 seconds
    Jul 7 10:37:58 zzzz loginwindow[25]: 1 server now unresponsive
    Jul 7 10:37:59 zzzz KernelEventAgent[26]: tid 00000000 unmounting 1 filesystems
    Jul 7 10:38:02 zzzz com.apple.autofsd[40]: automount: /net updated
    Jul 7 10:38:02 zzzz com.apple.autofsd[40]: automount: /home updated
    Jul 7 10:38:02 zzzz com.apple.autofsd[40]: automount: no unmounts
    Jul 7 10:38:02 zzzz loginwindow[25]: No servers unresponsive
    ... and firewall wide open.
    I guess that the Finder somehow triggers file locking over NFS.

  • Cannot access external NFS mounts under Snow Leopard

    I was previously running Leopard (10.5.x) and automounted an Ubuntu (9.04 Jaunty) Linux NFS mount from my iMac. I had set this up with Directory Utility and it was instantly functional and I never had any issues. After upgrading to Snow Leopard, I set up the same mount point on the same machine (using Disk Utility now), without changing any of the export settings, and Disk Utility stated that the external server had responded and appeared to be working correctly. However, when attempting to access the share, I get a 'Operation not permitted' error. I also cannot manually create the NFS mount using mount or mount_nfs. I get a similar error if I try to cd into /net/<remote-machine>/<share>. I can see the shared folder in /net/<remote-machine>, but I cannot access it (cd, ls, etc). I can see on the Linux machine that the iMac has mounted the share (showmount -a), so the problem appears to be solely in the permissions. But I have not changed any of the permissions on the remote machine, and even then, they are blown wide open (777) so I'm not sure what is causing the issue. I have tried everything as both a regular user, and as root. Any thoughts?
    On the Linux NFS server:
    % cat /etc/exports
    /share 192.168.1.0/24(rw,sync,nosubtree_check,no_rootsquash)
    % showmount -a
    All mount points on <server>:
    192.168.1.100:/share <-- <server> address
    192.168.1.101:/share <-- iMac address
    On the iMac:
    % rpcinfo -t 192.168.1.100 nfs
    program 100003 version 2 ready and waiting
    program 100003 version 3 ready and waiting
    program 100003 version 4 ready and waiting
    % mount
    trigger on /net/<server>/share (autofs, automounted, nobrowse)
    % mount -t nfs 192.168.1.100:/share /Volumes/share1
    mount_nfs: /Volumes/share1: Operation not permitted

    My guess is that the Linux server is refusing NFS requests coming from a non-reserved (<1024) source port. If that's the case, adding "insecure" to the Linux export options should get it working. (Note: requiring the use of reserved ports doesn't actually make things any more secure on most networks, so the name of the option is a bit misleading.)
    If you were previously able to mount that same export from a Mac, you must have been specifying the "-o resvport" option and doing the mounts as root (via sudo or automount which happens to run as root). So that may be another fix.
    HTH
    --macko

  • Autofs timeout while accessing to remote NFS mount

    Following Apple recommendations, I switched to "Directory Utility" to configure NFS mounts. As far as I understand, if you do so, the mounts are handled by automount which is itself called by autofs. The good thing of this is that autofs is unmounting unused mounts (after a timeout of 3600 seconds as defined in /etc/autofs.conf). Any time you need the remote drive (Finder call, ls in Terminal..., opening file), autofs is remounting ressource. This is a nice behaviour... in theory.
    I'm using some codes (written in IDL) that are reading and writing on that remote NFS server once every 5 minutes. Theoretically, autofs should be detecting these accesses and should keep the drive mounted. This is unfortunately not the case. The drive is unmounted 3600 seconds after I last accessed the mount through the Finder or with any other Application.
    There is apparently no way to remove this "automated unmounting" feature. I tried to set the timeout delay to a very large number (1 day) but it still disconnects me after this delay, if I don't do anything else than running my IDL code. If I mount the NFS share with the "mount_nfs" command, it works perfectly, as it is not handled by autofs.
    I wonder then if there is any recommandation on Apple's side in such a case, other than going back to traditional mount_nfs.

    As you have discovered, automount/autofs is also an "auto-unmounter" and there is no way to remove that feature. Contrary to what one might think, the auto unmounting does NOT happen after a period of "inactivity" of the mount. This is because autofs has no way of knowing when an automounted file system was last accessed. So, instead it periodically attempts to unmount it - if it is busy it won't get unmounted - if it isn't busy it will get unmounted.
    You can't disable this - but you can make the periodic unmounting so infrequent as to effectively disable the feature. Try setting the AUTOMOUNT_TIMEOUT interval to something really large - like 315360000 (which would be 10 years).
    However, in theory, this auto-unmounting should not be a problem because if it does get unmounted then the next access to that file system should cause it to get mounted again. And all this should happen without the code that is accessing the automount knowing that it isn't always mounted. It should always be there when it is accessed. So, the usual response to someone asking how to disable the auto-unmounting is to ask why they think it is a problem.
    (Oh, and you don't have to use "mount_nfs" - just "mount" should work to manually mount an NFS file system (that saves a little typing).)
    HTH
    --macko

Maybe you are looking for