Announcement

Collapse
No announcement yet.

How To Mount NFS Network Share With Username & Password

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    How To Mount NFS Network Share With Username & Password

    I have a network share that is mounted as directed by my /etc/fstab file and I can read from it with no problem. However, that particular share is password protected so I only have read access. I need read and write access. So, I Googled around and found what I thought were the correct instructions on mounting with a username and password but the instructions were written for samba - does that matter?

    Here is the line I added to my /etc/fstab file.
    192.168.1.200:/shares/Volume1/SavedFiles /mnt/mediavault/SavedFiles nfs username=SavedFiles,password=apples411 0 0
    I then typed "mount -a" in console and received this message:
    mount.nfs: Bad nfs mount parameter: username


    What did I do wrong?

    Mike


    sudo make me rich<br /><br />Kubuntu Gutsy 7.10<br />KDE 3.5<br />Compaq Presario 5000<br />Intel Celeron 1.2 Ghz<br />512 Ram, Riva TNT2 Video Card<br />All the above hardware is 7 year old junk but<br />Linux runs great on it.&nbsp; :&gt<br />Ham Radio Rules

    #2
    Re: How To Mount NFS Network Share With Username &amp; Password

    Of course that metters. Samba isn't even similar to NFS.
    i think u have to give permission to read/write to the "SavedFiles" folder on the server machine for all users (group and others)..
    Configure the /etc/exports file (i think u did it) on the server machine.
    Code:
    /shares/Volume1/SavedFiles *(rw,no_root_squash,async)
    u dont need to send anothers params.
    good look

    Comment

    Working...
    X