From owner-freebsd-questions@FreeBSD.ORG Sat Apr 11 11:46:45 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 0BC97ECB for ; Sat, 11 Apr 2015 11:46:45 +0000 (UTC) Received: from smtp208.alice.it (smtp208.alice.it [82.57.200.104]) by mx1.freebsd.org (Postfix) with ESMTP id 92CC88BB for ; Sat, 11 Apr 2015 11:46:43 +0000 (UTC) Received: from soth.ventu (87.18.56.84) by smtp208.alice.it (8.6.060.28) (authenticated as acanedi@alice.it) id 54D9EA3309EB3BD0 for questions@freebsd.org; Sat, 11 Apr 2015 13:40:39 +0200 Received: from alamar.ventu (alamar.ventu [10.1.2.18]) by soth.ventu (8.15.1/8.14.9) with ESMTP id t3BBec1p007648 for ; Sat, 11 Apr 2015 13:40:38 +0200 (CEST) (envelope-from ml@netfence.it) Message-ID: <55290836.9030306@netfence.it> Date: Sat, 11 Apr 2015 13:40:38 +0200 From: Andrea Venturoli User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 MIME-Version: 1.0 To: questions@freebsd.org Subject: Automounter (amd) troubles Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit 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 11:46:45 -0000 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.