- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: NFS mounting
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
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
тАО03-17-2009 02:56 AM
тАО03-17-2009 02:56 AM
i want leasrn Nfs, as i have two new servers, how can i configure NFS in that , as i want to share a filesystem to the other server, can anybody help me by guiding to configure NFS and mounting filesystem..
Thanks in advance...
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-17-2009 03:01 AM
тАО03-17-2009 03:01 AM
SolutionHave look at:
Configuring and Administering an NFS Server:
http://www.docs.hp.com/en/5992-0715/ch02s02.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-17-2009 03:20 AM
тАО03-17-2009 03:20 AM
Re: NFS mounting
Edit the /etc/exports add the entry of exported filesystem.
e.i.
/usr/bin -access=srv1:srv2:srv3,rw=srv3 # read to srv1 and2 read/write to srv3
apply the command
/usr/sbin/exportfs -a
make changes in /etc/rc.config.d/nfsconf
NFS_SERVER=1
START_MOUNTD=1
start the daemons processes using
# /sbin/init.d/nfs.server start
Client
make changes in /etc/rc.config.d/nfsconf
NFS_CLIENT=1
start the daemons processes using
# /sbin/init.d/nfs.client start
mount the file system
Suraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-17-2009 07:04 AM
тАО03-17-2009 07:04 AM
Re: NFS mounting
sam =>
Networking and Communications =>
Networked File Systems ->
Exported Local File Systems =>
Go to Action Tab => Add Exported File System ==>
Local-Directory Name:
Select <*> Specify UID for Unknown User
Give User ID: 0
On Permission for File Access
Select " Specify Root-User Access "
Add the NFS client hostname
Click OK and Apply.
The /etc/exports file should be:
cat /etc/exports
sam ==> Add Remote File System => Using NFS
>
ON NFS client:
sam =>
Networking and Communications =>
Networked File Systems ->
Mounted Remote File Systems =>
Go to Action:
Add Remote File System ->Using NFS...
Local-Directory Name: Specify the Local directory where it needs to be mounted
Remote-Server Name:
Remote-Directory Name:
├в When to Mount:
├в [X] Now ├в
├в [X] At System Boot ├в
[ Mount Options... ]
Access Permissions: [├в Read/Write ├в
Click OK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-17-2009 07:22 AM
тАО03-17-2009 07:22 AM
Re: NFS mounting
Find the attached file for the steps..
Ganesh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-17-2009 11:59 PM
тАО03-17-2009 11:59 PM
Re: NFS mounting
root@osshp13:/#mount -v 135.254.229.180: /shabadi /shabadi
usage: mount [-l][-v|-p]
mount [-F FStype][-eQ] -a
mount [-F FStype][-eQrV][-o specific_options]
{ special | directory }
mount [-F FStype][-eQrV][-o specific_options]
special directory
root@osshp13:/#
Here i have given ipaddress of remote server(135.254.229.180)
please giude me further...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-18-2009 12:21 AM
тАО03-18-2009 12:21 AM
Re: NFS mounting
You can't use -v with that mount. You shouldn't have a space:
mount 135.254.229.180:/shabadi /shabadi
>Here I have given IP address of remote server (135.254.229.180)
Any reason you are using the IP rather than a name or FQDN?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-18-2009 12:50 AM
тАО03-18-2009 12:50 AM
Re: NFS mounting
/data1 -anon=0
then, run "exportfs -av", then try to mount to other server:
# mount -F nfs /data1 10.x.x.x:/a
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-18-2009 01:13 AM
тАО03-18-2009 01:13 AM
Re: NFS mounting
here in /etc/fstab.i have made entry as follows,,,
/dev/vg01/jeeva /jeeva vxfs delaylog 0 2
/dev/vg01/sujeet /sujeet vxfs delaylog 0 2
/dev/vg01/sanjay /sanjay vxfs delaylog 0 2
135.254.229.180:/dev/vg02/shabadi /shabadi nfs defaults 0 0
and when i give #mount -a
root@osshp13:/#mount -a
nfs mount: get_fh: 135.254.229.180:: RPC: Program not registered
nfs mount: get_fh: 135.254.229.180:: RPC: Program not registered
nfs mount: retry: retrying(1) for: /shabadi after 5 seconds
nfs mount: retry: giving up on: /shabadi
mount: /dev/vg01/sanjay is already mounted on /sanjay
can any one help me...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-18-2009 01:19 AM
тАО03-18-2009 01:19 AM
Re: NFS mounting
For NFS server:-
1. Edit the /etc/exports file and add entries for exported file systems.
2. Use the exportfs -a command to export these file systems.
3. Edit the /etc/rc.config.d/nfsconf file and set proper values to different variables as mentioned earlier.
4. Execute the /sbin/init.d/nfs.core start command.
5. Execute the /sbin/init.d/nfs.server start command
for NFS client:-
1. Edit the /etc/rc.config.d/nfsconf file to enable an NFS client to be started at boot time.
2. Edit the /etc/fstab file to mount remote file systems at system boot time.
3. Create mount points for the remote file systems.
4. Ensure that the name of the NFS server is present in the /etc/hosts file if NIS or DNS are not being used.
5. Synchronize client and server clocks to ensure that time stamps are correct on modified files.
6. Either reboot the system or start the NFS client and mount remote file systems manually.
7. Verify mounted file systems using the mount command
Regards!