You are not logged in.
I've had a couple of issues with my first attempt with Arch Linux. Everything went fine, until it comes to two small issues mounting my cifs and nfs shares.
The fstab entries (I believe) are correct, as they do mount, persmsions are correct and so on but, my nfs share will unmount after some time. Not sure if it's 30 minutes or 8 hours, haven't timed it. Neither the samba shares nor the nfs share shows up on the desktop nor in the places menu (GNOME). USB and CD/DVD auto mounting works fine. I've manually linked the folders to the desktop, but I'd much rather have the same mounting/icons as other media devices.
If I attempt to mount the nfs share during boot, it stalls the machine for ever, same on reboot unless I umount the share. So I'm missing a daemon here. Is portmap needed for only mounting shares, as I have no exports from this machine, or maybe a couple of others.
rc.conf daemons
syslog-ng network netfs crond alsa hal fam
relivent parts of the fstab
//192.168.1.25/NAS /media/NAS cifs credentials=/etc/creds/nas,uid=1000 0 0
----------------some more cifs mounts--------------------------
192.168.1.25:/home/NAS/stuff /media/NFS nfs defaults 0 0
Also -
My second hd was setup on /media/stuff during install, but instead of being called stuff - as I though it should - it just says 465.8 GB Volume.
I'm basing my perceptions off of Debian based systems. No doubt Debian != Arch. Wonder if someone new the relevant hacks/fixes to get this going? Maybe copy over some /usr/share/hal/fdi files from a Debian install?
Offline
First i suggest to put a "noauto" to network shares in the fstab and test them first before set them to "auto".
nfs: At the times i have used nfs i have had this "portmap nfslock netfs" in the DAEMONS array. You could take a look first with "nfsstat 192.168.1.25" if you need a special nfs version. If you have a DNS Server running than you should use the hostname instead of the ip adress for your nas.
cifs: I don't understand why you use "uid=1000" because with the credentials all should work. You can use smbclient to see what a samba version is running on your nas with this "smbclient -L 192.168.1.25 -U YOUR_USER". And last check the workgroup name in your /etc/samba/smb.conf.
Good Luck.
Offline
Figured it out
The only thing I had to change was mounting in /mnt instead of /media, and add user to the fstab. Now all is good. Someone should put this in the wiki. I'm sure they will be someone else wanting to auto mount network shares and have them appear on the desktop/places menu.
UID=1000 is needed for samba servers that don't support CIFS Unix etentions. Without this some of my samba shares would be mounted with strange ownership, sometimes with r/w sometimes not. It's the servers fault. I connect to a mixed network with 3 workgroups and 5 different servers. Only 3 are Unix type hosts, the other 2 are Windows servers.
Luckily the samba servers all have great uptimes, so I've never needed the noauto command (crosses fingers )
The damons array worked great for the nfs share.
Thanks for you help!
Offline
Thanks for the info about uid=1000. I have only one samba server where i have enabled the Unix extentions. The noauto was only a hint to mount the shares not at bootup if the don't works but english and me are not even friends
It is nice that it works for you but i don't understand why you need "user" for a share in the fstab if you start them all with the netfs script. I never had "user" for a nfs or cifs share in my fstab but okay i don't have such a mixed combination of servers.
Offline