Solved

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

Posted on 2008-06-25
6
1,200 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
Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

 

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

[Webinar] Code, Load, and Grow

Managing multiple websites, servers, applications, and security on a daily basis? Join us for a webinar on May 25th to learn how to simplify administration and management of virtual hosts for IT admins, create a secure environment, and deploy code more effectively and frequently.

Question has a verified solution.

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

Suggested Solutions

Setting up a Microsoft WSUS update system is free relatively speaking if you have hard disk space and processor capacity.   However, WSUS can be a blessing and a curse. For example, there is nothing worse than approving updates and they just have…
ADCs have gained traction within the last decade, largely due to increased demand for legacy load balancing appliances to handle more advanced application delivery requirements and improve application performance.
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…
Suggested Courses

739 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