Solved

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

Posted on 2008-06-25
6
1,179 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
Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

 

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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

On July 14th 2015, Windows Server 2003 will become End of Support, leaving hundreds of thousands of servers around the world that still run this 12 year old operating system vulnerable and potentially out of compliance in many organisations around t…
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…
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…

706 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now