AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.


#Power
#Power
 View Only
Expand all | Collapse all

How to stop retry when mount fail ?

  • 1.  How to stop retry when mount fail ?

    Posted Wed March 14, 2012 01:01 AM

    Originally posted by: eeie9999


    Hi all,
    I try to write a script ot mount a NFS server, but i need to know if mount fail todo another thing.
    so i try to mount a not exist Server like

    mount -o soft 192.168.0.1:/home/backup /mnt
    mount: 1831-010 server 192.168.0.1 not responding: RPC: 1832-018 Port mapper failure - RPC: 1832-008 Timed out
    mount: retrying
    (not commandLine anymore)

    If i need mount exit with reture when timeout, Which option should i use ?
    #AIX-Forum


  • 2.  Re: How to stop retry when mount fail ?

    Posted Wed March 14, 2012 01:13 AM

    Originally posted by: SystemAdmin


    like so often: man mount
    #AIX-Forum