NFS prob


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users NFS prob
# 1  
Old 06-23-2008
NFS prob

Hi all,
i want mount directory with permission

#NFS Server = FreeBSD
/etc/export =
/data -alldirs -network 192.168.0.0 -mask 255.255.255.0

#NFS Client = Ubuntu
192.168.0.8:/data /dir nfs intr

but i m unable to create folder in /dir

whts the wrong?
Please Help me

Last edited by jagnikam; 06-23-2008 at 05:01 PM.. Reason: wrong info mentioned
# 2  
Old 06-23-2008
You still need correct user:group ownership and the exported directory must have sufficient permissions to allow creating directories in the export.
# 3  
Old 06-23-2008
Quote:
Originally Posted by ramen_noodle
You still need correct user:group ownership and the exported directory must have sufficient permissions to allow creating directories in the export.
Thanks for reply ..................
above mentioned line using in my /etc/export ........ is thr somethink wrong in that ?
# 4  
Old 06-23-2008
For god's sake man.
Code:
examples.
From a linux nfs server...
drwxr-xr-x   4 root root  4096 2007-11-17 15:27 storage
/storage/home       192.168.1.0/24(rw,secure,no_wdelay,root_squash,anonuid=65000,anongid=65000)


FreeBSD
drwxr-xr-x   3 root  wheel      512 Jun 21 14:22 storage_angst
/storage_angst -maproot=root -network 192.168.1.0 -mask 255.255.255.0

Make it work then securify.
# 5  
Old 06-24-2008
Quote:
Originally Posted by ramen_noodle
For god's sake man.
Code:
examples.
From a linux nfs server...
drwxr-xr-x   4 root root  4096 2007-11-17 15:27 storage
/storage/home       192.168.1.0/24(rw,secure,no_wdelay,root_squash,anonuid=65000,anongid=65000)


FreeBSD
drwxr-xr-x   3 root  wheel      512 Jun 21 14:22 storage_angst
/storage_angst -maproot=root -network 192.168.1.0 -mask 255.255.255.0

Make it work then securify.



Thanks for RePLy,
the problem is solved by restarting the server. thats wht i forgot to do.

Server=FreeBSD
drwxr-xr-x 3 root localuser 512 Jun 21 14:22 data
/data -alldir -maproot=root -network 192.168.0.0 -mask 255.255.255.0
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Solaris

NFS write error on host xyz: Stale NFS file handle - Solaris 10

Oct 13 12:19:15 xyz nfs: NFS write error on host xyz: Stale NFS file handle. Oct 13 12:19:15 xyz nfs: (file handle: 68000000 1bc5492e 20000000 377c5e 1ce9395c 720a6203 40000000 bdfb0400) Oct 13 12:19:15 xyz nfs: NFS write error on host zyz: Stale NFS file handle. Oct 13 12:19:15 xyz nfs: ... (5 Replies)
Discussion started by: psychocandy
5 Replies

2. Shell Programming and Scripting

Mount NFS Share On NFS Client via bash script.

I need a help of good people with effective bash script to mount nfs shared, By the way I did the searches, since i haven't found that someone wrote a script like this in the past, I'm sure it will serve more people. The scenario as follow: An NFS Client with Daily CRON , running bash script... (4 Replies)
Discussion started by: Brian.t
4 Replies

3. Solaris

Solaris 9 as a nfs client -- centos as a nfs server.

Hello, I have a centos as nfs server, its name is centos_A. After I finish the setup of the nfs server, the other linux can access this nfs server immediately via /net/centos_A/* But, My solaris 9 can not access /net/centos_A/* immediately. I have to leave /net/centos_A, and wait for about... (1 Reply)
Discussion started by: bruceharbin
1 Replies

4. Solaris

All dependicies of nfs service is online but nfs is offline

Hi all in my server all nfs dependices are online but nfs client is offline root@BIWAPP1 # svcs -a|grep nfs disabled Sep_05 svc:/network/nfs/server:default online Sep_05 svc:/network/nfs/rquota:default online Sep_05 svc:/network/nfs/mapid:default online ... (9 Replies)
Discussion started by: spandhan
9 Replies

5. Solaris

mount prob

# mount /dev/dsk/c1d1s1 /mnt mount: /dev/dsk/c1d1s1 is not this fstype I tried to mount the above raw patition and it gave an error. but can someone help (3 Replies)
Discussion started by: seyiisq
3 Replies

6. Shell Programming and Scripting

sorting prob

my sample is 01012007 01022007 02022007 01032007 20022007 02032007 01092007 05022007 30022007 which is date in ddmmccyy format i try to sort like this sort -n +0.2 -0.5 +0.0 -0.3 file but the results are not correct pls help...... (3 Replies)
Discussion started by: paresh n doshi
3 Replies

7. Solaris

NFS write error on host : Stale NFS file handle

:confused:Hi all When i see in the /var/adm/messages, i saw the following error unix: NFS write error on host : Stale NFS file handle. unix: (file handle: 45ca415 3e7 a0000 2c7f6 3ebfc25f a0000 2 3e49) It is using sunOS 5.7. Is anybody know what is this error? Is is related to any network... (2 Replies)
Discussion started by: AirWalker83
2 Replies

8. UNIX for Dummies Questions & Answers

prob's with while loop

Hi Gurus, I have a requirement where I have files in a folder For example in home/input i have files 20080111.06.12.45_abc.xml 20080112.06.10.48_abc1.xml 20080113.06.08.55_abc2.xml 20080114.06.12.35_abc3.xml Actually i will get the files as abc.xml , i rename & put it with timestamp.... (2 Replies)
Discussion started by: pssandeep
2 Replies

9. Shell Programming and Scripting

prob

When i am trying to $uncompress tress.dmp.Z I am getting tress.dmp.Z permission denied. What action i have to perform to unzip or uncompress It has rw-r--r-- permissions When i am trying to change the permissions chmod 744 it says. chmod: Warning: can't change tress.dmp.Z Just... (1 Reply)
Discussion started by: dreams5617
1 Replies
Login or Register to Ask a Question