LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 08-03-2010, 04:59 AM   #1
chirag_linuxforum
LQ Newbie
 
Registered: Dec 2009
Posts: 7

Rep: Reputation: 1
Issue to access NFS share which is shared on HP NAS box


Hi
Currently I am using HP NAS box and we have installed “HP Storage Works storage Mirroring” on NAS for Replication. Windows 2008 is installed on this NAS box. I have shared a directory as NFS share on this NAS box and allow anonymous read and write access to all machines. I want to mount and access this NFS share directory on one LINUX machine and this Linux machine has Redhat 5.3 Enterprise edition.

1. The issue I am facing here is, I can mount the NFS share on my Linux machine successfully but I can not do read/write on this NFS share. Whenever I try to access this mounted NFS share, I always get error “Permission denied”. I can’t do any read/write operation on this mount point. Please provide the inputs to resolve this issue.
2. How do I mount NFS share with user credential and password? Can I share a directory as NFS share with user credential which I can use when I mount the share?
3. Is there any other way to access NFS share by using user authentication and password?

Regards
Chirag
 
Old 08-03-2010, 07:06 PM   #2
cjcox
Member
 
Registered: Jun 2004
Posts: 307

Rep: Reputation: 42
Not familiar with the NAS box... in general, you have to have matching userids, possibly even uids across the NAS and the clients... it depends. In general writes are disallowed for root as that would mean that any old root could kill anything, anywhere (just build your own box... attach... and destroy). Have you tried writing as any user? (not root)

With that said, the root_squash thing usually doesn't affect reads... so I'd suspect something is not quite right on the "anonymous" HP NAS setup... might simply mean the anonymous user (which can vary).

Do you know what NFS version level the NAS is supporting? My guess is that it support up to v3 and prefers v3 (that's what most do). NFSv4 adds more variables... but I'd think it unlikely in most NAS's.
 
Old 08-04-2010, 02:01 AM   #3
chirag_linuxforum
LQ Newbie
 
Registered: Dec 2009
Posts: 7

Original Poster
Rep: Reputation: 1
The NFS server on Windows 2008 (NAS box) supports both NFS version 2 and 3. the NFS server is on windows 2008. What additional things required if NFS server is on windows machine so I can access NFS share from Linux?
 
Old 08-06-2010, 05:48 PM   #4
cjcox
Member
 
Registered: Jun 2004
Posts: 307

Rep: Reputation: 42
Not sure. Just the thought of NFS under Windows makes me cringe. I wouldn't trust it long term.

I wonder if SFU's (or whatever it's called now) NIS like thing is required to make things work well.. at least with regards to username mappings??

Do you HAVE to run the NFS off of Windows?

What works:

Linux holding the file share exposed via NFS and Samba.

What doesn't work:

Using Windows for file sharing in a heterogeneous network.

Just my opinion...
 
  


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
How to access NFS share? itaniumm Linux - Server 3 04-11-2010 12:53 AM
Share RedHat to NAS (Network attached storage) with NFS xhimi Linux - Networking 6 02-25-2008 07:05 AM
NAS share with NFS xhimi Linux - Server 0 02-21-2008 09:51 AM
Others can't access my NFS share dickgregory Ubuntu 4 04-15-2007 02:29 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:16 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
Open Source Consulting | Domain Registration