Solved

Can't Mount Root of SCO Openserver 5.0.6 using NFS in Windows Server 2003

Posted on 2008-06-25
6
1,204 Views
Last Modified: 2013-12-05
My scenario is that I need to mount the root directory (/) of a SCO OpenServer 5.0.6 using NFS on a Windows Server 2003 R2.  I have installed SFU 3.5.  I have export the / directory on the SCO Server.  I cannot mount it in Windows.  When I try to map a drive to xx.xx.xx.xx:/, it says "The drive could not be mapped because no network was found."  I can successfully mount any other exported directories of the SCO server so I at least know that it NFS does work.  I believe it is a limitation of UNIX Services for Windows, but I may/hopefully am wrong.

Since I couldn't mount the root directory, I then decided to try another way.  I thought I could create a symbolic link to / in hopes that I could then mount in windows as /rootlink, but SCO cannot export a symbolic link.

Any ideas how I can get one of these options to work and/or a different idea on how I can get access to the SCO / directory from the Windows Server?  All help is appreciated!
0
Comment
Question by:simplemojo
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
6 Comments
 
LVL 14

Expert Comment

by:mikelfritz
ID: 21892838
Try this from (http://www.cactus.com/?p=faq&d=1&display=1027):
Notify your /etc/exports file to allow root access over NFS. On any line you wish to export, you may add one of the following flags to your directory entries in /etc/exports:
For instance, instead of:
/

The file should say:
/ -root=hostname[:hostname]...

Where hostname is the name of a system to be given root permission over NFS. For instance, if system "cactus" needs to mount the root directory of system "medflex" so that the root user on "cactus" has full root file permissions for files on "medflex", then the /etc/exports line of system "medflex" should read:

/ -root=cactus

An alternate method of allowing permissions is to replace the line with:

/ -anon=0

But this can cause a security leak, since ANY user accessing the NFS mounted filesystem will have root read and write permission. The -root flag is usually a better choice:

After changing the /etc/exports file, the system either needs to be restarted or the exportfs program needs to be run to re-export the filesystem information to the NFS daemon.  For this run:

exportfs -av
0
 

Author Comment

by:simplemojo
ID: 21900331
Thanks for the comment.  I currently have my /etc/exports file as explained above.  It says /-anon=0.  I can mount the root nfs share from another sco or unix machine.  Just not from windows.
0
 
LVL 14

Accepted Solution

by:
mikelfritz earned 500 total points
ID: 21901765
Maybe try SAMBA on the SCO box and export it as an SMB share.

http://www.sco.com/skunkware/samba/

For ease set the smb.conf file up with "share" security instead of "user" ("security = share" in the global section) and put in a share section like this:

[root]
        path = /
        writeable = yes
        guest ok = yes
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:simplemojo
ID: 21909976
I have considered using Samba which will solve the export issue but the reason for the export is backup and recovery purposes.  If I go through Samba, I will not be able to backup the permissions.  It looks like I am going to have to stick to my original plan and run my backup software on a linux server.
0
 

Author Closing Comment

by:simplemojo
ID: 31470783
Points awarded for helping.  Thanks.
0
 
LVL 14

Expert Comment

by:mikelfritz
ID: 21910922
Maybe rsync then.  There are binaries for SCO and Windows:
http://www.aljex.com/bkw/sco/

Or, could you export a Windows directory and nfs mount it on the SCO box then copy the data to the mount?  That would eliminate the root export issue at least, it would put the onus on the SCO box to run a cron script however.
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Hello, As I have seen there a lot of requests regarding monitoring and reporting for exchange 2007 / 2010 / 2013 I have decided to post some thoughts together and link to articles that have helped me. Of course a lot of information you can get…
Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.
Suggested Courses

623 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question