HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- CIFS mount error code
Operating System - HP-UX
1832567
Members
5455
Online
110043
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
Forums
Discussions
Discussions
Discussions
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
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
07-10-2001 11:31 PM
07-10-2001 11:31 PM
CIFS mount error code
Hi,
I use mount -F cifs ... to mount some shares on my L1000/9000 server using CIFS/9000 client 1.0.6
However whatever happens (if the mount fails or succedds) the mount command always gives a return code of 1 (so different from 0). Also when I try to mount rubbish:
mount -F cifs rubbish:rubbish /tmp/rubbish
he does mount something even if I don't have any server 'rubbish' with a share called 'rubbish' on my network.
When I look with cifslist -A I see the mount is done, bdf gives me an I/O error on the specific mount (which is normal because it is rubbish anyway).
How can I error-handle the mount command, how can I be sure that the mount doesn't continue or gives some nice error messages.
When I try using cifsmount, it works fine: he won't mount anything if he doesn't fine the server or the share. But I don't want to use cifsmount, because then I have to hard-code passwords and anyway it seems that cifs(u)mount are commands that will not be supported anymore in the futurs (cfr. manual CIFS/9000 client).
thanks for the help!
I use mount -F cifs ... to mount some shares on my L1000/9000 server using CIFS/9000 client 1.0.6
However whatever happens (if the mount fails or succedds) the mount command always gives a return code of 1 (so different from 0). Also when I try to mount rubbish:
mount -F cifs rubbish:rubbish /tmp/rubbish
he does mount something even if I don't have any server 'rubbish' with a share called 'rubbish' on my network.
When I look with cifslist -A I see the mount is done, bdf gives me an I/O error on the specific mount (which is normal because it is rubbish anyway).
How can I error-handle the mount command, how can I be sure that the mount doesn't continue or gives some nice error messages.
When I try using cifsmount, it works fine: he won't mount anything if he doesn't fine the server or the share. But I don't want to use cifsmount, because then I have to hard-code passwords and anyway it seems that cifs(u)mount are commands that will not be supported anymore in the futurs (cfr. manual CIFS/9000 client).
thanks for the help!
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.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP