Solved

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

Posted on 2008-06-25
6
1,190 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
  • 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
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 

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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

I've always wanted to allow a user to have a printer no matter where they login. The steps below will show you how to achieve just that. In this Article I'll show how to deploy printers automatically with group policy and then using security fil…
Have you ever stumbled upon a software that is so great that you just love? It happened to me. Love at first sight. Filezilla Server.   Ok its not the most advanced ftp server I've came across. But its a fairly simple piece of software to get the …
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

803 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