Triode wrote: 
> So this is a consequence of using automount - I tried to change as
> little as possible from the previous version on fedora but as per a
> previous post it was trying to mount too early at startup - hence the
> use of automount.  I'm wondering if network manager would be a better
> solution for these problems - are you using it ok on arch?

Short answer is yes, I've tested NetworkManager on ARCH base install +
minimal openbox on i686 in VirtualBox and with
NetworkManager-wait-online.service invoked there are no mount problems
with nfs, but you still need to enable the nfs-client.target. Tested
basic CIFS access by adding share direct to fstab.

So for this fstab (may be my params are not quite right for CIFS)


Code:
--------------------
    
  [soaplayer@soavm ~]$ cat /etc/fstab
  # 
  # /etc/fstab: static file system information
  #
  # <file system> <dir>   <type>  <options>       <dump>  <pass>
  # /dev/sda1
  UUID=a673c74f-bad2-49c7-889c-a7960de870e2       /               ext4          
  rw,relatime,data=ordered        0 1
  
  # /dev/sda2
  UUID=eeba26b8-77c5-4100-a289-c0721551e18d       none            swap          
  defaults        0 0
  
  # start added by soa-web
  192.168.0.20:/media/allmusic/ToFile /mnt/disk1  nfs     ro,vers=3,_netdev    
0       0
  //192.168.0.50/archdata/CDs     /mnt/disk2      cifs    
defaults,credentials=/etc/credentials/cifs-mnt-disk2    0       0
  # end added by soa-web
  
--------------------


The shares mount on reboot and are displayed as:

'[image: http://s23.postimg.org/y9futr8gn/soa14.jpg]'
(http://postimg.org/image/y9futr8gn/)

To use on it on the WB will need work to figure out where nm data is
stored in ARCH, in what format etc etc. and if it can be setup via the
webui.  The business of needing to enter max rate for squeezelite is
also avoided with nm, as this currently is also being started without
the network being up. I don't know if dhcpcd offers a simpler
alternative to ifplugd/netctl.  There's also the need to see if/how the
ARCH build script could best handle any change to the initial network
setup.  

Personally, I think the effort of changing from ifplugd/netctl would be
worth it if possible, bit of course it's your call.


------------------------------------------------------------------------
Krisbee's Profile: http://forums.slimdevices.com/member.php?userid=59080
View this thread: http://forums.slimdevices.com/showthread.php?t=101624

_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix

Reply via email to