- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Regarding NFS
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
тАО04-21-2008 03:24 PM
тАО04-21-2008 03:24 PM
I have to mount one NFS from one server to another with rsize=32768, wsize=32768, then what command should I use.
Thanks a lot !
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-21-2008 08:23 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-21-2008 08:49 PM
тАО04-21-2008 08:49 PM
Re: Regarding NFS
On a HP-UX server, you can simply add a similar line in your /etc/fstab:
srv2:/dir1 /mnt/srv2/dir1 nfs rw,suid 0 0
In fact, flags below are implemented by default:
Flags: vers=3,proto=tcp,auth=unix,hard,intr,link,symlink,devs,rsize=32768,wsize=32768,retrans=5
You can see this by running command:
nfsstat -m
On a Linux server, you add the line as follows:
srv2:/dir1 /mnt/srv2/dir1 nfs rw,bg,hard,nointr,rsize=32768,wsize=32768,tcp,vers=3,timeo=600,actimeo=0 0 0
hope this helps!
kind regards
yogeeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-21-2008 08:55 PM
тАО04-21-2008 08:55 PM
Re: Regarding NFS
Sorry, i think i made an omission. The default is not the same for hp-ux 11.0 and after 11.0.
HP-UX 11.0 does not use 32768 as the default read/write size. It uses 8K. HP-UX releases after 11.0 (11.11 and 11.23) do use 32768 as the default but 11.0 still uses 8K as the default read/write size if you do not specify.
In fact, HP-UX 11.0 uses UDP/PV3/8K by default unless you enable TCP support, at which time TCP becomes the default.
Question:
Which version of HP-UX do you have?
see:
http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=985769
and also:
http://docs.hp.com/en/5991-1153/index.html
kind regards
yogeeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-21-2008 09:01 PM
тАО04-21-2008 09:01 PM
Re: Regarding NFS
the mount options are summarized here:
http://docs.hp.com/en/5992-0715/ch02s03.html#bghdijij
hope this helps too!
kind regards
yogeeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-22-2008 02:42 PM
тАО04-22-2008 02:42 PM
Re: Regarding NFS
It helped a lot.
Thanks a lot Yogeeraj for your efforts. I have HPUX11.11 version. So the default rsize and wsize of 32768 will come autopmatically but what should I do in case of HPUX11.00 version to get the rsize and wsize of 32768.
Again thanks a lot guys !
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-23-2008 01:19 AM
тАО04-23-2008 01:19 AM
Re: Regarding NFS
The syntax is:
server:remote_directory local_directory nfs defaults 0 0
or
server:remote_directory local_directory nfs option[,option...] 0 0
Therefore, you will have to amend the fstab entry accordingly. e.g.
srv2:/dir1 /mnt/srv2/dir1 nfs rsize=32768,wsize=32768,tcp 0 0
hope this helps too!
kind regards
yogeeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-24-2008 01:44 AM
тАО04-24-2008 01:44 AM
Re: Regarding NFS
Dear kavihta
make an entry in /etc/exports file in server1
eg:/home/sajjad/file1
use exportfs -a command for exporting
once u exported file u can see
it by using
showmount command
then server2
make a directory
eg:tmp1
thne mount
mount server1:/home/sajjad/file1 /tmp
cd tmp
u can see file there
thanks and regards
sajjad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-27-2008 03:44 PM
тАО04-27-2008 03:44 PM
Re: Regarding NFS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-27-2008 03:48 PM
тАО04-27-2008 03:48 PM
Re: Regarding NFS
Thanks a lot for making me understand the whole procedure but I just wanted to know about defining rsize and wsize=32768 in case of HP-UX11.00 version. But the whole procedure was really helpful.....it has refreshed my concepts.