Krisbee wrote:
> Running soa-web.lua manually with --debug. Data entered on screen was:
>
> >
Code:
--------------------
> >
> Mountpoint: /mnt/disk1
> Network Share: 192.168.0.20:/media/allmusic/Test
> Type: nfs
> Options: ro
>
--------------------
> >
>
>
> Debug output when a NFS share is added:
>
>
> >
Code:
--------------------
> >
> D 2014/07/14 21:12:01] execute: sudo systemctl enable nfs-client.target
> [D 2014/07/14 21:12:05] execute: sudo systemctl start nfs-client.target
> [D 2014/07/14 21:12:06] capture: sudo mount -t nfs -o ro
192.168.0.20:/media/allmusic/Test /mnt/disk1
> [D 2014/07/14 21:12:07] capture: mount
> [D 2014/07/14 21:12:07] execute: sudo cp /tmp/config.tmp-luagui /etc/fstab
> [D 2014/07/14 21:12:07] execute: rm /tmp/config.tmp-luagui
> [D 2014/07/14 21:12:07] wrote and updated fstab
> [D 2014/07/14 21:12:07] capture: mount
> [S 2014/07/14 21:12:08] [web.lua] 200 OK POST /storage.html (192.168.0.20)
6422ms
>
--------------------
> >
>
> the output from mount includes this:
>
> >
Code:
--------------------
> >
> 192.168.0.20:/media/allmusic/Test on /mnt/disk1 type nfs4
(ro,relatime,vers=4.0,rsize=1048576,wsize=1048576,namlen=255,hard,proto=tcp,port=0,timeo=600,retrans=2,sec=sys,clientaddr=192.168.0.204,local_lock=none,addr=192.168.0.20)
>
--------------------
> >
>
> and /etc/fstab is this:
>
> >
Code:
--------------------
> >
> [root@alarm ~]# cat /etc/fstab
> #
> # /etc/fstab: static file system information
> #
> # <file system> <dir> <type> <options> <dump> <pass>
> # start added by soa-web
> 192.168.0.20:/media/allmusic/Test /mnt/disk1 nfs4 ro 0
0
> # end added by soa-web
>
--------------------
> >
>
> Note NFS is mounted as NFS4. Only when vers-3 is entered as an option
> do you actaully get a nfs mount when you select share type nfs.
Ok so it is doing what I expected. So this questions do we need
separate nfs and nfs4 types, can we just leave it to the user to specify
the type as an option field? Why are there different mount.nfs and
mount.nfs4 if they both do nfs4 by default? I dont use nfs so really
looking for what an nfs user would want if the default operation of
mount is nfs4?
------------------------------------------------------------------------
Triode's Profile: http://forums.slimdevices.com/member.php?userid=17
View this thread: http://forums.slimdevices.com/showthread.php?t=101624
_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix