- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- /etc/fstab and spaces in NFS volume paths
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
тАО04-16-2004 03:06 AM
тАО04-16-2004 03:06 AM
/etc/fstab and spaces in NFS volume paths
(HP-UX 11.0)
attempt 1)
xserveg5.sandiego.vasci.com:/Shared Items/Public/v2dev /win2kserver/v2dev nfs rw,suid,soft 0 0
mountall: entry for xserveg5.sandiego.vasci.com:/Shared has missing fields in the /etc/fstab
mountall: warning: file system table /etc/fstab is corrupt.
attempt 2)
xserveg5.sandiego.vasci.com:"/Shared Items/Public/v2dev" /win2kserver/v2dev nfs rw,suid,soft 0 0
mountall: entry for xserveg5.sandiego.vasci.com:"/Shared has missing fields in the /etc/fstab
mountall: warning: file system table /etc/fstab is corrupt.
attempt 3)
xserveg5.sandiego.vasci.com:/Shared\ Items/Public/v2dev /win2kserver/v2dev nfs rw,suid,soft 0 0
mountall: entry for xserveg5.sandiego.vasci.com:/Shared\ has missing fields in the /etc/fstab
mountall: warning: file system table /etc/fstab is corrupt.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-16-2004 03:10 AM
тАО04-16-2004 03:10 AM
Re: /etc/fstab and spaces in NFS volume paths
xserveg5.sandiego.vasci.com:/Shared\040Items/Public/v2dev /win2kserver/v2dev nfs rw,suid,soft 0 0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-16-2004 03:15 AM
тАО04-16-2004 03:15 AM
Re: /etc/fstab and spaces in NFS volume paths
Of course, you could adopt the radical notion of changing the directory name on the Windows box.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-16-2004 03:30 AM
тАО04-16-2004 03:30 AM
Re: /etc/fstab and spaces in NFS volume paths
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-16-2004 04:49 AM
тАО04-16-2004 04:49 AM
Re: /etc/fstab and spaces in NFS volume paths
I can quite happily mount the file system via NFS from other OS X systems.
It would be quite painful to rename the shared folder to not have spaces ( it is shared with multiple protocols)- it seems a very arbitrary restriction to fstab
I tried the \040 suggestion....
mountall: cannot mount xserveg5.sandiego.vasci.com:/Shared\040Items/Public/v2dev
mountall: diagnostics from mount
No such file or directory
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-16-2004 04:56 AM
тАО04-16-2004 04:56 AM
Re: /etc/fstab and spaces in NFS volume paths
Sometimes pain is a healthy part of life...
Get rid of it & life will be even easier.
Rgds,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-16-2004 05:17 AM
тАО04-16-2004 05:17 AM
Re: /etc/fstab and spaces in NFS volume paths
I haven't tried with mount as I don't use spaces.
- Tags:
- quoting
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-16-2004 05:58 AM
тАО04-16-2004 05:58 AM
Re: /etc/fstab and spaces in NFS volume paths
How about, on the OSX box, create a symbolic link (with no spaces) to the "/Shared Items/Public/v2dev" dir and exportfs that(symbolic link) to the HP-UX 11.0 server?
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-16-2004 06:00 AM
тАО04-16-2004 06:00 AM
Re: /etc/fstab and spaces in NFS volume paths
On your OS X box create a symbolic link from the actual directory (w spaces) to another (w/o spaces).
e.g.
ln -s "/Shared Items/Public/v2dev" /Shared_Items/Public/v2dev"
Now export BOTH of these and the UNIX client can use the version w/o spaces and the other clients can use the version w spaces.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-16-2004 06:07 AM
тАО04-16-2004 06:07 AM
Re: /etc/fstab and spaces in NFS volume paths
ln -s "/Shared Items/Public/v2dev" /Shared_Items/Public/v2dev
(no quote at the end)
You could also simply choose to link only the "Shared Items" to Shared_Items.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-16-2004 08:26 AM - last edited on тАО09-16-2024 02:22 AM by support_s
тАО04-16-2004 08:26 AM - last edited on тАО09-16-2024 02:22 AM by support_s
Re: /etc/fstab and spaces in NFS volume paths
- It seems not possible to export a symbolic link itself as a NFS share
(Bad exports list line in log)
- If I expjavascript:postAnswerSubmit('submit');ort the parent directory of the symbolic link, it is not possible to follow the link when the client accesses it.
http://ou800doc.caldera.com/SDK_sysprog/_Using_Symbolic_Links_with_NFS.html
- Tags:
- HBA_Slot
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-16-2004 09:11 AM
тАО04-16-2004 09:11 AM
Re: /etc/fstab and spaces in NFS volume paths
I would now try to mount it explicitly w/o an fstab entry. If that doesn't work then this is hopeless. With rc scripts to do the explicit mounts, this is not a terrible workaround.
While using spaces as separators may seem arbitrary, it has been like that for decades. You will find that the UNIX mindset so abhors spaces in filenames that they are avoided eventhough spaces are legal. Very few shell scripts or commands bother to rogorously quote everything to protect whitespace so even if you got this to work, things which ought to work might suddenly treat what was actually 1 filename as two. I note that you also adopted this view because your mountpoint does not have whitespace.
- Tags:
- evil spaces
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-16-2004 06:12 PM
тАО04-16-2004 06:12 PM
Re: /etc/fstab and spaces in NFS volume paths
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-01-2011 11:00 PM
тАО09-01-2011 11:00 PM
Re: /etc/fstab and spaces in NFS volume paths
the \040 suggestion is not working. Creating a soft link is not possible as we are using a netapp filer. Is there any other work around that we can try?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-02-2011 03:05 AM
тАО09-02-2011 03:05 AM
Re: /etc/fstab and spaces in NFS volume paths
>Is there any other work around that we can try?
Remove those evil spaces?
Have you tried quoting the whole name?
Have you tried keep adding "\" before the space, until it works?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-05-2011 02:28 AM
тАО09-05-2011 02:28 AM
Re: /etc/fstab and spaces in NFS volume paths
i tried quoting the whole name,adding "\" before the space but no success.
i still get the message:
mount:ignoring incomplete/incorrect entry for host:path in /etc/fstab
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-05-2011 04:49 AM
тАО09-05-2011 04:49 AM
Re: /etc/fstab and spaces in NFS volume paths
>mount: ignoring incomplete/incorrect entry for host:path in /etc/fstab
Then it looks like you'll need to use the mount(1m) command with the path quoted.