- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Buglet in nfs_xmnt (NFS toolkit)
Operating System - HP-UX
1759942
Members
3162
Online
108889
Solutions
Forums
Categories
Company
Local Language
юдл
back
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
юдл
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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-03-2009 08:30 PM
тАО03-03-2009 08:30 PM
I can't believe this hasn't been noticed before, but there's something really obviously wrong in the nfs_xmnt script, even as recently as 11.31.03.
Line 34 looks like this:
ALREADY_MOUNTED=`mount | grep "^${CNFS[$G]}"`
Line 35 goes on:
if [[ -z "$ALREADY_MOUNTED" ]]; then
....
Suppose I had
CNFS[0]=/u ; SNFS[0]=some-package:/some/where
at the top of the script.
Then even when /u is not mounted, ALREADY_MOUNTED will still not be the empty string, because the grep will have matched /usr. And /usr is usually mounted from somewhere (e.g. a disk) on my boxes.
Shouldn't line 34 be
ALREADY_MOUNTED=`mount | grep "^${CNFS[$G]} "`
i.e. with an extra space at the end?
I would log this as a support call but none of my machines are under support.
'Tis a pity I can't get ITRC points for finding and fixing bugs for HP. That's my second this year, and it's only just March. ;-)
Line 34 looks like this:
ALREADY_MOUNTED=`mount | grep "^${CNFS[$G]}"`
Line 35 goes on:
if [[ -z "$ALREADY_MOUNTED" ]]; then
....
Suppose I had
CNFS[0]=/u ; SNFS[0]=some-package:/some/where
at the top of the script.
Then even when /u is not mounted, ALREADY_MOUNTED will still not be the empty string, because the grep will have matched /usr. And /usr is usually mounted from somewhere (e.g. a disk) on my boxes.
Shouldn't line 34 be
ALREADY_MOUNTED=`mount | grep "^${CNFS[$G]} "`
i.e. with an extra space at the end?
I would log this as a support call but none of my machines are under support.
'Tis a pity I can't get ITRC points for finding and fixing bugs for HP. That's my second this year, and it's only just March. ;-)
Solved! Go to Solution.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-03-2009 09:05 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-04-2009 01:26 AM
тАО03-04-2009 01:26 AM
Re: Buglet in nfs_xmnt (NFS toolkit)
Bonjour,
Got about the same bug a few years ago ... Find in attachement how I have modified at that time "nfs_xmnt.sh" in order to have it working properly
Since this time I no more used nfs_xmnt.sh If necessary I try to work with automounter
HTH
Eric
Got about the same bug a few years ago ... Find in attachement how I have modified at that time "nfs_xmnt.sh" in order to have it working properly
Since this time I no more used nfs_xmnt.sh If necessary I try to work with automounter
HTH
Eric
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP