From owner-freebsd-questions@FreeBSD.ORG Sat Apr 11 12:24:50 2015 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 8C6B9C0D for ; Sat, 11 Apr 2015 12:24:50 +0000 (UTC) Received: from mail-ig0-x235.google.com (mail-ig0-x235.google.com [IPv6:2607:f8b0:4001:c05::235]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 62447C87 for ; Sat, 11 Apr 2015 12:24:50 +0000 (UTC) Received: by igbqf9 with SMTP id qf9so16048982igb.1 for ; Sat, 11 Apr 2015 05:24:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=QYc063wuNaXQfy/t/nU0PI0JunINznPOPyZQDicG42U=; b=B95BvLwwJ8I3apKskmyhpN55pm4HI9aJ8jBkl5TS1u0R66h5ZDMuUVNtd/VYDxduzQ ZDOUp82togfeVOXx5KrBRek8+kKtjPwyTnwLpNpEktLdQC05eE3j5B1CPd5jF+JAX58N k16cFymLN+s7qs1gUau0oxdQyAWynYvtwpBBh4DwhrgBwFB9gjxl36g/JABJkUM81NZs G+20ul9ZgI3GwOiEfOYtt+H1OqaBOnbCcI5stAUMg17FijAJUfcoMaCGb3bV15IFp9jm 12GmZnkAnskoMGtkBBsMt/7A7VUg8RaAntdiBjUFF0z2Yy636OBAXPHXtbEzNbqp/lBG 65BQ== MIME-Version: 1.0 X-Received: by 10.107.15.82 with SMTP id x79mr9134358ioi.75.1428755089580; Sat, 11 Apr 2015 05:24:49 -0700 (PDT) Received: by 10.64.24.141 with HTTP; Sat, 11 Apr 2015 05:24:49 -0700 (PDT) In-Reply-To: <55290836.9030306@netfence.it> References: <55290836.9030306@netfence.it> Date: Sat, 11 Apr 2015 05:24:49 -0700 Message-ID: Subject: Re: Automounter (amd) troubles From: Mehmet Erol Sanliturk To: Andrea Venturoli Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: "questions@freebsd.org" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 11 Apr 2015 12:24:50 -0000 On Sat, Apr 11, 2015 at 4:40 AM, Andrea Venturoli wrote: > Hello. > > I've got a problem with amd on a 9.3/amd64 box. > > In this net there are two NAS (Zyxel-310, sliglty different due to being > of different years), identically configured with an NFS share. > > I'd like to mount those two exports and need them to persist after a > reboot; however I don't want the server to hang at boot in case either NAS > us not available. > > So I thought using AMD might be a good idea. > > > > showmount lists both: > >> # showmount -e backup.xxxxxx >> Exports list on backup.xxxxxx: >> /i-data/fe7de436/nfs/Backup 192.168.109.1 >> # showmount -e backup.yyyyyyy >> Exports list on backup.yyyyyyy: >> /i-data/f92a6a2d/nfs/backup 192.168.110.1 >> > > I can mount them both manually, but while amd will mount the first, it > won't work with the latter: > > # ls /net/192.168.109.4/i-data/fe7de436/nfs/Backup >> Gest0787 Gest0790 Gest0794 Gest0798 Gest0802 >> GestI0822 IT0789 IT0793 IT0797 >> IT0801 ITF0815 >> Gest0788 Gest0792 Gest0796 Gest0800 >> GestI0813 IT0785 IT0791 IT0795 IT0799 >> IT0803 ITF0821 >> # ls /net/192.168.110.3/i-data/f92a6a2d/nfs/backup >> ls: /net/192.168.110.3/i-data/f92a6a2d/nfs/backup: Input/output error >> > > Or: > >> # ls /host/backup.xxxxxx/i-data/fe7de436/nfs/Backup >> Gest0787 Gest0790 Gest0794 Gest0798 Gest0802 >> GestI0822 IT0789 IT0793 IT0797 >> IT0801 ITF0815 >> Gest0788 Gest0792 Gest0796 Gest0800 >> GestI0813 IT0785 IT0791 IT0795 IT0799 >> IT0803 ITF0821 >> # ls /host/backup.yyyyyyy/i-data/f92a6a2d/nfs/backup >> ls: /host/backup.yyyyyyy/i-data/f92a6a2d/nfs/backup: Input/output error >> > > In the logs I get: > >> amd[18902]: get_nfs_version NFS(3,tcp) failed for backup.yyyyyyyRPC: >> Program/version mismatch >> amd[18902]: NFS service not running on backup.yyyyyyy >> amd[18902]: initializing backup.yyyyyyy's pinger to 30 sec >> > > > As I said, I can mount them both manually with the following lines: > > backup.xxxxxx:/i-data/fe7de436/nfs/Backup /mnt/xxxxxxbackup nfs >> rw,noauto 0 0 >> backup.yyyyyyy:/i-data/f92a6a2d/nfs/backup /mnt/yyyyyyybackup nfs >> rw,noauto 0 0 >> > > > > Any help or pointer on this? > > bye & Thanks > av. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions- > unsubscribe@freebsd.org" > https://www.freebsd.org/cgi/man.cgi?query=mount_nfs&sektion=8&apropos=0&manpath=FreeBSD+10.1-RELEASE See "intr" option . It can be specified in client fstab mount line , to skip unresponsive NFS server(s) . Mehmet Erol Sanliturk