- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: How to created NFS share on linux
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-29-2005 05:51 PM
тАО05-29-2005 05:51 PM
How to created NFS share on linux
I want ot create NFS share on Linux server & access it form Sun solaris server.
Regards
Varian
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-29-2005 06:53 PM
тАО05-29-2005 06:53 PM
Re: How to created NFS share on linux
This will tell you the format of the '/etc/exports' file needs to be in. Add the appropraite entry for the path you wish to be mounted by NFS.
Ensure that the 'portmap', 'nfslock' and 'nfs' services are running '(rpcinfo -p localhost' should tell you), then type 'exportfs -a'.
This should export the entry you made in the exports file.
You should then be able to mount it from Solaris.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-29-2005 07:48 PM
тАО05-29-2005 07:48 PM
Re: How to created NFS share on linux
add an entry to /etc/exports on linux machine
/shared
no space between
after adding this entry do:
exportfs -r
This command reexports all directories.
Then from sun you can change into shared directory on linux like this:
cd /net/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-29-2005 08:24 PM
тАО05-29-2005 08:24 PM
Re: How to created NFS share on linux
make sure you have NFS server installed on your system. search for nfsd program in your path or do a rpm query to find out if you have installed NFS server.
start the nfs service and make sure it runs properly. eg: /etc/init.d/nfs start
if it is not able to start, fix that problem first before proceeding on to any further
locate the directory which needs to be exported. eg: /home/nfs
edit /etc/exports file add the above directory entry to it:
eg: /home/nfs *(ro,async)
above are default and safe settings. * indicates any machine which can reach your server can mount the share. ro is to grant read only access (rw for read/write). async is asynchronous mode.
for more options and to give range of ip address in allowed hosts check for 'man exports'
run exportfs -r to instruct NFS server to reload its configuration to incorporate above newly added directory
now you are done with server side.
From client side, make sure you have portmap service running which is required for nfs client package.
then, run the mount command from client to mount the NFS share
eg: 192.168.1.1:/home/nfs /mnt/disk
if you have done things correctly then you should be able to access the NFS files through /mnt/disk
Regards,
Gopi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-29-2005 09:16 PM
тАО05-29-2005 09:16 PM
Re: How to created NFS share on linux
Thanks a lot for help now I am able to mount my shared folder from Linx to Solaris.
Regards
varian