Solved

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

Posted on 2008-06-25
6
1,197 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
Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

 

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: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying 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

Suggested Solutions

Scenerio: You have a server running Server 2003 and have applied a retail pack of Terminal Server Licenses.  You want to change servers or your server has crashed and you need to reapply the Terminal Server Licenses. When you enter the 16-digit lic…
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 find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
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.

740 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