LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-13-2010, 04:24 PM   #1
kristo5747
Member
 
Registered: Jul 2010
Location: Earth
Distribution: Ubuntu 11.04 (Natty Narwhal)
Posts: 31

Rep: Reputation: 0
[UBUNTU] mount.nfs fails in Ubuntu / Works on Red Hat!!!


Gurus,

I want log in locally to my Lucid (10.04) workstation and have my code saved over the network on my samba account

At work, all developers have samba user ids and when we were running Red Hat, we went thru the following procedure to get setup.

* open a shell session to NFS server and execute the “id” command to get my samba user information.

Code:
$> ssh –l alberto our_nfs_server
$> id
uid=7090(alberto) gid=100(users) groups=100(users)
* Create locally a login on my Linux workstation with the same login and uid.

Code:
$>sudo useradd –u 7090 –g 100 –d /home/alberto –s /bin/bash alberto
* Define a password for my created login.
Code:
$>sudo passwd alberto
* Change permissions on the /home/alberto directory. Example:
Code:
$>sudo chown alberto:100 /home/alberto
* Place this line at end of fstab:
Code:
      our_nfs_server:/d0/homedirs/alberto /home/alberto nfs defaults 0 0
* Mount the local directory
Code:
$>sudo mount -a
Code:
mount error(13): Permission denied
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
mount.nfs: access denied by server while mounting our_nfs_server:/d0/homedirs/alberto
It does not work at all!!?? However, the same procedure on a RedHat workstation works fine. No errors.

We want to move all of our workstations/servers to Ubuntu so any help is welcome.

Thank you!!!

Al.

Last edited by kristo5747; 08-13-2010 at 04:29 PM.
 
Old 08-14-2010, 10:52 AM   #2
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,808

Rep: Reputation: 604Reputation: 604Reputation: 604Reputation: 604Reputation: 604Reputation: 604
Sounds like your NFS server is not exporting its shares to your Ubuntu server. Try modifying what IPs/ranges/hostnames they're exported to.

Also, are you using samba or NFS? They're different but you seem to be using them interchangeably which is wrong.
 
Old 08-16-2010, 12:57 PM   #3
kristo5747
Member
 
Registered: Jul 2010
Location: Earth
Distribution: Ubuntu 11.04 (Natty Narwhal)
Posts: 31

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by AlucardZero View Post
Sounds like your NFS server is not exporting its shares to your Ubuntu server. Try modifying what IPs/ranges/hostnames they're exported to.

Also, are you using samba or NFS? They're different but you seem to be using them interchangeably which is wrong.
I misspoke. Samba is what we're using here. I checked and the shares are being exported.

I re-did everything (Useradd, usermod...) within the root terminal and it seemed to work.

However, I get an error message when I log in (i.e. mount the directory) telling me that the

a) file .ICEauthority could not be updated
b) file .nautilus and Desktop could not be created.
c) gconf-sanity-check-2 exited with status 256

I opened a shell session to my samba account, created both .nautilus and .ICEauthority (chmod 755) ; I went to /etc/gconf on my machine and chmod-ed it 755.

Same problem. Any advice?

Last edited by kristo5747; 08-16-2010 at 01:14 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] NFS mount fails (times out): NFS server is in DMZ, NFS client is in intranet Hiroshi Linux - Networking 2 05-24-2010 11:22 AM
Ubuntu 8.10 cannot mount red hat 9 NFS share anthonysaulnier Linux - Server 9 07-10-2009 03:37 PM
Unusual NFS mount problem on only ONE client: Red Hat WS Rel 3 neelpert1 Linux - Networking 0 01-16-2009 01:13 PM
NFS between Ubuntu and Red Hat dgermann Linux - Networking 5 11-06-2006 10:12 PM
Modem that works in Ubuntu fails with DSL Linux ngmlinux DamnSmallLinux 1 02-12-2006 10:22 PM


All times are GMT -5. The time now is 06:31 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration