Solved

"Media is write protected" when attempting to modify contents on NFS export mapped through SFU.

Posted on 2008-10-29
6
1,219 Views
Last Modified: 2013-12-02
When attempting to modify contents on a NFS export, mapped via Software Services for Unix, receive error: "Media is write protected". When mapping from client, UID & GID are correct.

- /etc/exports:
/mnt/local *(rw,no_root_squash)

- ls -al:
drwxr-xr-x    3 1067 1039 4096 Oct 24 12:09 directory/

- mount command from XP client:
U:       \\server\mnt\local      UID=1067, GID=1039
                                                rsize=8192, wsize=8192
                                                mount=soft, timeout=0.8
                                                retry=1, locking=yes
                                                fileaccess=755, lang=ANSI
                                                casesensitive=no

From the XP client, the directory is marked read-only. Also, access is extremely slow.

Any help would be greatly appreciated. I've been working on this issue for a week.
0
Comment
Question by:ovnadmin
  • 3
  • 3
6 Comments
 
LVL 23

Expert Comment

by:ComputerTechie
ID: 22925735
it look like a users oermission Error.
make sure user has permission to list folder and read and execute.
CT
0
 

Author Comment

by:ovnadmin
ID: 22929023
The user, 1067, has full permission to the directory.

- ls -al:
drwxr-xr-x    3 1067 1039 4096 Oct 24 12:09 directory/
0
 
LVL 23

Expert Comment

by:ComputerTechie
ID: 22930017
on /mnt/local *(rw,no_root_squash)  they need more access change to drwxr-xr-x
CT
0
Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

 

Author Comment

by:ovnadmin
ID: 23046286
drwxr-xr-x is the access level
0
 
LVL 23

Accepted Solution

by:
ComputerTechie earned 500 total points
ID: 23051741
After you export the nfs  you come back and change your /etc/exports file, the changes you make may not take effect immediately. You should run the command exportfs -ra to force nfsd to re-read the /etc/exports   file. If you can't find the exportfs command, then you can kill nfsd with the -HUP flag (see the man pages for kill for details).  
 try this check hosts.allow to make sure you haven't forgotten to list any new client machines there.
Also check the host listings on any firewalls you may have set up
 CT
0
 

Author Closing Comment

by:ovnadmin
ID: 31511307
Without making any further permission changes, ran exportfs -ra and remapped the nfs mount in windows. This did the trick. Thank you so much!
0

Featured Post

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Ok I have been working on this for some time having learned and gained certification in XenDesktop 4 along came version 5 which was released last month. Since then I have been working to deploy XenDesktop 5 in a small environment with only 2 virt…
Issue: Unstable cursor in Windows XP and Windows runs extremely slow in that any click will bring up the Hour glass (sometimes for several seconds before giving you what you want) . Troubleshooting Process and the FINAL FIX: This issue see…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

776 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question