Sponsored Content
Operating Systems HP-UX Unable to write to NFS mounted directory Post 303011420 by anaigini45 on Thursday 18th of January 2018 06:30:39 AM
Old 01-18-2018
Unable to write to NFS mounted directory

Hi,

I have exported a few nfs mounts from one server to the nfs clients.
This is my nfs server dfstab :

Code:
# cat /etc/dfs/dfstab
#       place share(1M) commands here for automatic execution
#       on entering init state 3.
#
#       share [-F fstype] [ -o options] [-d "<text>"] <pathname>
#       .e.g,
#       share  -F nfs  -o rw=engineering  -d "home dirs"  /home
share -F nfs -o rw=root -d "UMSCRIPTS" /UM_SCRIPTS
share -F nfs -o rw=l17cmsp01,rw=l17cmsp02,rw=l17cmsp03,rw=l17bip01,rw=l17bip02,rw=root,rw=bscs -d "bscswork_bi" /bscswork_bi
share -F nfs -o rw=l17cmsp01,rw=l17cmsp02,rw=l17cmsp03,rw=l17bip01,rw=l17bip02,rw=root,rw=bscs -d "bscswork" /bscswork

#

However, in the client, for eg, l17cmsp01, I am not able to write to the directory /bscswork_bi. It is already properly added to /etc/fstab.

The error is :
Code:
bscscx01.l17cmsp0> (/bscswork_bi/WORK/UMOBILE)
$ touch abc
touch: abc cannot create

How do I correct/edit this error?
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

How can I tell if a filesystem is NFS mounted?

I would like to know if there is a command or set of commands that I can run to verify that there are no 'extraneous' nfs mounted filesystems on our server. I didn't see anything in doing a search on NFS. We think that we may have some filesystems that are still nfs mounted when the link should... (3 Replies)
Discussion started by: giannicello
3 Replies

2. Shell Programming and Scripting

Testing if nfs filesystem is mounted

Hello, I have a backup script that backs up my system to a nfs mounted file system. The mount point on my local system is /backup. I want my script to check whether the nfs file system is mounted on /backup before actually backing anything up. Even if the nfs file system was NOT mounted,... (2 Replies)
Discussion started by: xadamz23
2 Replies

3. 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

4. Programming

Not able to use NFS mounted directory as buffer for untar & unzip.

Hi, For a new requirement, we are trying to use NFS mounted directory as the buffer (TMP_DIR) for untar. Target OS- VxWorks Host OS - Windows Embedded. mounted a directory in wondows onto VxWorks. During untar process of GNU we come across utime, for chaning the time stamp of the... (0 Replies)
Discussion started by: suraj.bc
0 Replies

5. UNIX for Advanced & Expert Users

NFS export need to be able to write to directory but not list

My issue is I want an NFS share where I can write to the directory, but not list any of the files in there. (doesn't matter if someone knows the name can open the file). Have an NFS export for example: drwxrwxrw- 2 cranes staff 256 18 May 12:48 cranes The export will only... (1 Reply)
Discussion started by: Cranie
1 Replies

6. Solaris

NFS mounted files

If I am not a system admin. How can I tell where a particular mounted file is mounted from. (12 Replies)
Discussion started by: Harleyrci
12 Replies

7. UNIX for Dummies Questions & Answers

NFS mounted drive showing Write protected message

Hi We have two servers name A and B . I have a folder "Share" on A was NFS mounted to "B" server. I have set the ACL permissions using setfacl , so that both (One user from Server A and another user from Server B) users can read and write to the directory. Both users can create the... (0 Replies)
Discussion started by: rakeshkumar
0 Replies

8. UNIX for Dummies Questions & Answers

Unable to write to a mounted NFS share

Hi All, I created a nfs share in the server(Solaris 10) with the following command and also updated the dfstab file share -F nfs -o rw=server_name2,anon=0 /to_share And then in the client(solaris 10) added the following command to mount the share mount -F nfs server_name1:/to_share... (4 Replies)
Discussion started by: Rossdba
4 Replies

9. How to Post in the The UNIX and Linux Forums

NFS mounted and unmounted shell script

Hi, I making a script to check nfs mount and unmount options. After various findings, i didn't get any solution for that. Can you please help me in making the script. 1) I have used, if grep -qs '/var/JETSHARE' /proc/mounts; then echo "It's mounted." else echo "It's not mounted. ... (2 Replies)
Discussion started by: Santosh101
2 Replies

10. 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
tapset::nfs(3stap)														tapset::nfs(3stap)

NAME
tapset::nfs - systemtap nfs tapset DESCRIPTION
nfs.fop.llseek NFS client llseek operation See probe::nfs.fop.llseek(3stap) for details. nfs.fop.read NFS client read operation See probe::nfs.fop.read(3stap) for details. nfs.fop.write NFS client write operation See probe::nfs.fop.write(3stap) for details. nfs.fop.aio_read NFS client aio_read file operation See probe::nfs.fop.aio_read(3stap) for details. nfs.fop.aio_write NFS client aio_write file operation See probe::nfs.fop.aio_write(3stap) for details. nfs.fop.mmap NFS client mmap operation See probe::nfs.fop.mmap(3stap) for details. nfs.fop.open NFS client file open operation See probe::nfs.fop.open(3stap) for details. nfs.fop.flush NFS client flush file operation See probe::nfs.fop.flush(3stap) for details. nfs.fop.release NFS client release page operation See probe::nfs.fop.release(3stap) for details. nfs.fop.fsync NFS client fsync operation See probe::nfs.fop.fsync(3stap) for details. nfs.fop.lock NFS client file lock operation See probe::nfs.fop.lock(3stap) for details. nfs.fop.sendfile NFS client send file operation See probe::nfs.fop.sendfile(3stap) for details. nfs.fop.check_flags NFS client checking flag operation See probe::nfs.fop.check_flags(3stap) for details. nfs.aop.readpage NFS client synchronously reading a page See probe::nfs.aop.readpage(3stap) for details. nfs.aop.readpages NFS client reading multiple pages See probe::nfs.aop.readpages(3stap) for details. nfs.aop.set_page_dirty NFS client marking page as dirty See probe::nfs.aop.set_page_dirty(3stap) for details. nfs.aop.writepage NFS client writing a mapped page to the NFS server See probe::nfs.aop.writepage(3stap) for details. nfs.aop.writepages NFS client writing several dirty pages to the NFS server See probe::nfs.aop.writepages(3stap) for details. nfs.aop.write_begin NFS client begin to write data See probe::nfs.aop.write_begin(3stap) for details. nfs.aop.write_end NFS client complete writing data See probe::nfs.aop.write_end(3stap) for details. nfs.aop.release_page NFS client releasing page See probe::nfs.aop.release_page(3stap) for details. SEE ALSO
probe::nfs.fop.llseek(3stap), probe::nfs.fop.read(3stap), probe::nfs.fop.write(3stap), probe::nfs.fop.aio_read(3stap), probe::nfs.fop.aio_write(3stap), probe::nfs.fop.mmap(3stap), probe::nfs.fop.open(3stap), probe::nfs.fop.flush(3stap), probe::nfs.fop.release(3stap), probe::nfs.fop.fsync(3stap), probe::nfs.fop.lock(3stap), probe::nfs.fop.sendfile(3stap), probe::nfs.fop.check_flags(3stap), probe::nfs.aop.readpage(3stap), probe::nfs.aop.readpages(3stap), probe::nfs.aop.set_page_dirty(3stap), probe::nfs.aop.writepage(3stap), probe::nfs.aop.writepages(3stap), probe::nfs.aop.write_begin(3stap), probe::nfs.aop.write_end(3stap), probe::nfs.aop.release_page(3stap), stap(1), stapprobes(3stap) IBM
--- tapset::nfs(3stap)
All times are GMT -4. The time now is 05:22 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy