Automounter (amd) troubles
Andrea Venturoli
ml at netfence.it
Sat Apr 11 11:46:45 UTC 2015
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.
More information about the freebsd-questions
mailing list