LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 10-17-2010, 01:39 AM   #16
czarherr
Member
 
Registered: Sep 2003
Location: Suwon, Korea
Distribution: Slackware 14
Posts: 288

Rep: Reputation: 32

You told us the gist of mount, but could you please post the output itself?
 
Old 10-18-2010, 03:24 PM   #17
swissrunner
LQ Newbie
 
Registered: Apr 2009
Posts: 13

Original Poster
Rep: Reputation: 0
Okay so here are the results of strace
The first was just trying add the user and create the directory by default. The second was trying to create the directory manually.
Thanks again for all your help!

adduser.txt

mkdir.txt
 
Old 10-18-2010, 03:30 PM   #18
swissrunner
LQ Newbie
 
Registered: Apr 2009
Posts: 13

Original Poster
Rep: Reputation: 0
The result of mount is as follows:

[xfave@uscms1 ~]$ mount
/dev/sda1 on / type ext3 (rw)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
/dev/sda5 on /export type ext3 (rw,usrquota,grpquota)
/dev/sda2 on /var type ext3 (rw)
tmpfs on /dev/shm type tmpfs (rw)
tmpfs on /var/lib/ganglia/rrds type tmpfs (rw,size=2044608000,gid=99,uid=99)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)
nas-0-0.local:/nas0 on /mnt/nas0 type nfs (rw,noatime,rsize=65536,wsize=65536,intr,addr=10.255.255.253)
nfsd on /proc/fs/nfsd type nfsd (rw)
nas-0-0.local:/nas0/home/idiaz on /home/idiaz type nfs (rw,noatime,rsize=65536,wsize=65536,intr,addr=10.255.255.253)
nas-0-0.local:/nas0/home/pzuo on /home/pzuo type nfs (rw,noatime,rsize=65536,wsize=65536,intr,addr=10.255.255.253)
nas-0-0.local:/nas0/home/sguragai on /home/sguragai type nfs (rw,noatime,rsize=65536,wsize=65536,intr,addr=10.255.255.253)
/export/home/uscms01 on /home/uscms01 type none (rw,bind)
/export/home/osg on /home/osg type none (rw,bind)
nas-0-0.local:/nas0/home/xluo on /home/xluo type nfs (rw,noatime,rsize=65536,wsize=65536,intr,addr=10.255.255.253)
nas-0-0.local:/nas0/home/xfave on /home/xfave type nfs (rw,noatime,rsize=65536,wsize=65536,intr,addr=10.255.255.253)
nas-0-0.local:/nas0/home/hkalakhety on /home/hkalakhety type nfs (rw,noatime,rsize=65536,wsize=65536,intr,addr=10.255.255.253)
nas-0-0.local:/nas0/home/g4hep on /home/g4hep type nfs (rw,noatime,rsize=65536,wsize=65536,intr,addr=10.255.255.253)
 
Old 10-18-2010, 05:07 PM   #19
root99
LQ Newbie
 
Registered: Oct 2010
Posts: 2

Rep: Reputation: 0
check your mount

did you try to restart the nfs on your local machine and on the nas itself.
also you can try to add to the /etc/exports no_root_squash

root99

Last edited by root99; 10-18-2010 at 05:13 PM.
 
Old 10-19-2010, 08:47 AM   #20
frndrfoe
Member
 
Registered: Jan 2008
Distribution: RHEL, CentOS, Ubuntu
Posts: 379

Rep: Reputation: 38
I would say that it is trying to create homedirs on the nfs server and that is not being allowed.
Are you using a directory server? (nis,ldap,ad)
 
Old 10-25-2010, 05:18 PM   #21
swissrunner
LQ Newbie
 
Registered: Apr 2009
Posts: 13

Original Poster
Rep: Reputation: 0
Hi Everyone,

I really appreciate everyone's input on this. It turned out the administrator before me had created a script to do this that would create and mount the user's home directory. Unfortunately that piece of information was not put in his documentation so I never knew. But now just by running it everything worked out great. Thank you again though for all the support!
 
  


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
useradd: cannot create directory /home/ amirzkria Red Hat 5 08-07-2014 10:11 AM
[SOLVED] useradd not creating home directory magnusprime Solaris / OpenSolaris 7 01-27-2010 06:08 PM
Make FTP user and specify directory outside home mirror51 Linux - Newbie 4 09-21-2009 01:19 AM
[SOLVED] useradd and the home directory. stf92 Linux - Newbie 7 09-16-2009 09:42 AM
useradd - No home directory is created ]SK[ Linux - Newbie 16 07-14-2008 02:35 PM


All times are GMT -5. The time now is 08:51 PM.

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