- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: How to set nolock option with mount?
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
тАО08-23-2006 11:48 PM
тАО08-23-2006 11:48 PM
Thanks.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-24-2006 12:25 AM
тАО08-24-2006 12:25 AM
Re: How to set nolock option with mount?
I don't think so, but here are two previous threads that will contain answers. Hopefully I didn't post to either one.
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=985769
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=798415&admit=-682735245+1156422329673+28353475
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-24-2006 12:32 AM
тАО08-24-2006 12:32 AM
Re: How to set nolock option with mount?
I think that nolock option is only avalaible for nfs.
Just use mount command with nolock option like this:
mount -o nolock server:/my/exported/dir /pub
or add this line in your /etc/fstab
server:/usr/local/pub /pub nfs nolock
and mount -a
Marek.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-24-2006 12:40 AM
тАО08-24-2006 12:40 AM
Re: How to set nolock option with mount?
But it is giving following error:
# mount -o nolock 80.0.0.172:/working /working
nfs mount: illegal file system specific option: nolock
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-24-2006 02:31 AM
тАО08-24-2006 02:31 AM
SolutionIf you're talking about an NFS file system and you want to stop any lock requests from going over the wire to the server, the correct mount option is "llock", which stands for "local lock".
This option is only available on HP-UX 11.11 (11i v1) and 11.23 (11i v2) and you need to install patches to get this feature. On 11.11 systems the patch is PHNE_34293 or later. On 11.23 systems the patch is PHNE_33099 or later.
Once those patches, or patches that supercede them are installed, you can use the "-o llock" option to enable local locking on a per-filesystem basis.
Let me know if you have any other questions about local locking with NFS.
Regards,
Dave
I work at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-24-2006 11:42 PM
тАО08-24-2006 11:42 PM
Re: How to set nolock option with mount?
Thanks all.