[Raspberry Pi] trouble with autofs

This forum is for topics dealing with problems with software specifically in the ARMv6h repo.

[Raspberry Pi] trouble with autofs

Postby outis » Thu May 21, 2015 3:58 pm

Hello,

yesterday I've installed ArchLinux armv6 on my rpi:
$this->bbcode_second_pass_code('', '$ uname -a
Linux alarmpi 3.18.13-2-ARCH #1 PREEMPT Mon May 18 19:29:53 MDT 2015 armv6l GNU/Linux
')
and updated the installation:
$this->bbcode_second_pass_code('', 'pacman -Sy
pacman -Su')
Also I've installed autofs following these instructions:
https://wiki.archlinux.org/index.php/Autofs

Now let's have a look on it:
$this->bbcode_second_pass_code('', '$ grep net /etc/autofs/auto.master
/net -hosts --timeout=60')
$this->bbcode_second_pass_code('', 'systemctl status rpcbind
* rpcbind.service - RPC bind service
Loaded: loaded (/usr/lib/systemd/system/rpcbind.service; indirect; vendor preset: disabled)
Active: active (running)
systemctl status autofs
* autofs.service - Automounts filesystems on demand
Loaded: loaded (/usr/lib/systemd/system/autofs.service; enabled; vendor preset: disabled)
Active: active (running)
pacman -Si nfs-utils
Repository : core
Name : nfs-utils
Version : 1.3.2-6')

Look's good, hm?
Then let's go:
$this->bbcode_second_pass_code('', 'ls /net/nas|grep Multimedia
Multimedia')
Ok, but then:
$this->bbcode_second_pass_code('', 'ls /net/nas/Multimedia/
ls: cannot access /net/nas/Multimedia/: No such file or directory')
What's wrong here? The same configurations runs without any problems on my rpi2 (ArchLinux armV7) my Linux-Mint-Laptop and a Debian-based Cubietruck.

TIA
outis
 
Posts: 5
Joined: Thu May 21, 2015 3:42 pm

Re: [Raspberry Pi] trouble with autofs

Postby outis » Thu May 21, 2015 5:01 pm

Hm, does the kernel support nfs?

$this->bbcode_second_pass_code('', 'mount -t nfs nas:/Multimedia/music /mnt
mount.nfs: Protocol not supported')
$this->bbcode_second_pass_code('', '[root@alarmpi ~]# lsmod|grep nfs
[root@alarmpi ~]#
[root@alarmpi ~]# modprobe nfs
[root@alarmpi ~]# lsmod|grep nfs
[root@alarmpi ~]#
[root@alarmpi ~]# find /lib/modules/3.18.13-2-ARCH/ -iname nfs
[root@alarmpi ~]# ')

$this->bbcode_second_pass_code('', '[root@alarmpi ~]# zgrep -i nfs /proc/config.gz
CONFIG_KERNFS=y
CONFIG_NFS_FS=y
CONFIG_NFS_V2=y
CONFIG_NFS_V3=y
CONFIG_NFS_V3_ACL=y
CONFIG_NFS_V4=y
CONFIG_NFS_SWAP=y
CONFIG_NFS_V4_1=y
CONFIG_NFS_V4_2=y
CONFIG_PNFS_FILE_LAYOUT=y
CONFIG_PNFS_BLOCK=y
CONFIG_NFS_V4_1_IMPLEMENTATION_ID_DOMAIN="y"
CONFIG_NFS_V4_1_MIGRATION=y
CONFIG_ROOT_NFS=y
CONFIG_NFS_FSCACHE=y
CONFIG_NFS_USE_LEGACY_DNS=y
CONFIG_NFSD=m
CONFIG_NFSD_V2_ACL=y
CONFIG_NFSD_V3=y
CONFIG_NFSD_V3_ACL=y
CONFIG_NFSD_V4=y
# CONFIG_NFSD_FAULT_INJECTION is not set
CONFIG_NFS_ACL_SUPPORT=y
CONFIG_NFS_COMMON=y
')

Seemed to be so...
outis
 
Posts: 5
Joined: Thu May 21, 2015 3:42 pm

Re: [Raspberry Pi] trouble with autofs

Postby moonman » Thu May 21, 2015 7:21 pm

Nfs is built into the kernel so you won't find a module for it. Do you have nfs-utils installed and rpcbind enabled and running?
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3388
Joined: Sat Jan 15, 2011 3:36 am

Re: [Raspberry Pi] trouble with autofs

Postby outis » Thu May 21, 2015 7:29 pm

Yes, please see above post #1.
outis
 
Posts: 5
Joined: Thu May 21, 2015 3:42 pm

Re: [Raspberry Pi] trouble with autofs

Postby outis » Fri May 22, 2015 11:47 am

next checks:

$this->bbcode_second_pass_code('', '[root@alarmpi ~]# rpcinfo -u nas nfs
program 100003 version 2 ready and waiting
program 100003 version 3 ready and waiting
[root@alarmpi ~]# rpcinfo -t nas nfs
program 100003 version 2 ready and waiting
program 100003 version 3 ready and waiting
')

Is nfs on nas too old/incompatible with rpi's protocol?
outis
 
Posts: 5
Joined: Thu May 21, 2015 3:42 pm


Return to ARMv6h

Who is online

Users browsing this forum: No registered users and 0 guests