Results 1 to 5 of 5

Thread: Networked drives 12.10

Hybrid View

  1. #1
    Join Date
    May 2006
    Beans
    23

    Cool Networked drives 12.10

    I have a NAS drive with a number of NFS shares on it. These have been mapped to the Main 12.10 machines via fstab etc... Everything works fine, apart from when the 12.10 machines boot up, they insist on opening up all shared network drives in Nautilus windows. (This did not happen on earlier distros) & (There are no tasks in the Startup Applications.)
    I checked by booting up with old 10.04 configured drive,(with the same NFS/fstab config on it) and it seemed to be fine. Any ideas?

  2. #2
    Join Date
    Jul 2008
    Beans
    Hidden!
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Networked drives 12.10

    Quote Originally Posted by emacdonald View Post
    I have a NAS drive with a number of NFS shares on it. These have been mapped to the Main 12.10 machines via fstab etc... Everything works fine, apart from when the 12.10 machines boot up, they insist on opening up all shared network drives in Nautilus windows. (This did not happen on earlier distros) & (There are no tasks in the Startup Applications.)
    I checked by booting up with old 10.04 configured drive,(with the same NFS/fstab config on it) and it seemed to be fine. Any ideas?
    Where are the NFS exports mounted on the 12.10 machines? Post the contents of the /etc/fstab file so we can see what you are talking about.

  3. #3
    Join Date
    May 2006
    Beans
    23

    Re: Networked drives 12.10

    192.168.1.74:/Documents /home/office/NAS_Documents nfs rsize=8192,wsize=8192,timeo=14,intr 0 0
    192.168.1.74:/Music /home/office/NAS_Music nfs rsize=8192,wsize=8192,timeo=14,intr 0 0
    192.168.1.74:/Photos /home/office/NAS_Photos nfs rsize=8192,wsize=8192,timeo=14,intr 0 0
    192.168.1.74:/Videos /home/office/NAS_Videos nfs rsize=8192,wsize=8192,timeo=14,intr 0 0
    192.168.1.74:/Media /home/office/NAS_Media nfs rsize=8192,wsize=8192,timeo=14,intr 0 0

    With Directories created in /home/office for each of the items above. e.g NAS_Documents

  4. #4
    Join Date
    Jul 2008
    Beans
    Hidden!
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Networked drives 12.10

    Quote Originally Posted by emacdonald View Post
    192.168.1.74:/Documents /home/office/NAS_Documents nfs rsize=8192,wsize=8192,timeo=14,intr 0 0
    192.168.1.74:/Music /home/office/NAS_Music nfs rsize=8192,wsize=8192,timeo=14,intr 0 0
    192.168.1.74:/Photos /home/office/NAS_Photos nfs rsize=8192,wsize=8192,timeo=14,intr 0 0
    192.168.1.74:/Videos /home/office/NAS_Videos nfs rsize=8192,wsize=8192,timeo=14,intr 0 0
    192.168.1.74:/Media /home/office/NAS_Media nfs rsize=8192,wsize=8192,timeo=14,intr 0 0

    With Directories created in /home/office for each of the items above. e.g NAS_Documents
    Not what I expected. The fstab entries seem fine to me. I thought maybe you had mounted these at /media/<somesuch>. This would have made them showup automatically.

    What happens if you unmount an export and then mount it manually (sudo mount -t nfs etc)? Does it reappear when you mount it manually?

    Edit: I just tried what I recommended to you. If I mount the exports in my home directory (something I never do), they show up on my desktop. If I mount them as I usually do at /data they do not show up.

    My recommendation is to mount you exports outside of the home directory tree. I use /data for all of my NFS mounts but you could create /nfs or use /srv just as easily. You should set the group ownership to the group users and make sure you are added to that group.

    The bottom line is: The home directory is not for anything or anybody from the outside, If you must access these through your home directory you can create a sym-link or mount the /data directory using mount bind. I never do. I just use the /data dir directly.
    Last edited by redmk2; February 26th, 2013 at 11:59 PM. Reason: Added thoughts...

  5. #5
    Join Date
    May 2006
    Beans
    23

    Re: Networked drives 12.10

    Ok Thanks for that. will have a go when i get back to the machine at the weekend.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •