Question

Mounting a remote SCO unix filesystem

Asked by: nicklucas

I'm trying to mount a remote filesystem "/u/" located on SCO openserver machine "big" (192.168.10.3) onto another SCO openserver "small" (192.168.10.1) at the mountpoint "/bak"

I use the command "mount -f NFS 192.168.10.3:/u/ /bak"

It mounts and I can view the data on the remote filesystem but I cannot write anything to it.  It gives me a permission error 13.  I've added "small +" to the .rhosts and hosts.equiv files on the "big" server.

What else needs to be done to these servers to allow me to use the "big" filesystem as a backup filesystem for my "small" server?

This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.

Subscribe now for full access to Experts Exchange and get

Instant Access to this Solution

  • Plus...
  • 30 Day FREE access, no risk, no obligation
  • Collaborate with the world's top tech experts
  • Unlimited access to our exclusive solution database
  • Never be left without tech help again

Subscribe Now

Asked On
2009-09-14 at 10:58:22ID24730429
Tags

sco unix nfs filesystem mounting

Topics

SCO Unix

,

Unix Networking

Participating Experts
1
Points
500
Comments
14

Trusted by hundreds of thousands everyday for fast, accurate and reliable tech support.

  • "The time we save is the biggest benefit of Experts Exchange to Warner Bros. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange." Mike Kapnisakis, Warner Bros.
  • "Our team likes having a resource that is more secure than just using Google and most experts using this service really know their stuff. It's nice to look here first versus using Google." Dayna Sellner, Lockheed Martin
  • "Anytime that I've been stumped with a problem, 9 out of 10 times Experts Exchange has either the accepted solution or an open discussion of the potential solution to the problem." Kenny Red, eBay Inc.

See what Experts Exchange can do for you.

Got a question?

We've got the answer.

Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.

Screenshot of Experts Exchange Knowledgebase

Need individual assistance?

Our experts are ready to help.

If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.

Screenshot of Experts Exchange Knowledgebase

Want to learn from the best?

Read articles from industry experts.

Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.

Screenshot of an Article

Working on a long term project?

Store your work and research.

Save solutions to your questions, answers you’ve discovered through searching plus helpful articles in your personal knowledgebase for easy future access.

Screenshot of Experts Exchange Knowledgebase

Access the answers to your technology questions today.

Subscribe Now

30-day free trial. Register in 60 seconds.

What Makes Experts Exchange Unique?

Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Trusted by the world's most respected brands.

image of each brand's logo

Faithfully serving IT professionals since 1996.

Experts Exchange Logo

Try it out and discover for yourself.

Subscribe Now

30-day free trial. Register in 60 seconds.

Related Solutions

  1. SCO
    What is SCO UnixWare and SCO OpenServer ? Is there any relationship between them ? Andrew
  2. No space on device in SCO OpenServer R5
    We have a UNIX machine with SCO OpenServer R5 O.S.. Now, we have a message error: NOTICE: HTFS: No space on dev hd (1/42) and we can't login as root because we get the message: No utmp entry. You must exec "LOGIN" from the lowest level "sh". We have ...
  3. Need to change filesystem size in SCO Openserver.
    Anyone know how to change the filesystem partition size in SCO Openserver5.0.4? I have the following filesystems: / - /stand - /usr2 - /usr3 - /usr4 - /usr5. The /usr3 partition is full and /usr5 has 4 gigs that aren't used. Can I move some of the partition spac...
  4. sco NFS install
    how do i go about installing nfs on sco unix?
  5. Can't Mount Root of SCO Openserver 5.0.6 using NF…
    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:/,...
  6. Sco Unix - Auto mount NFS filesystem on boot?
    Mornming all, I'm runing Sco Openserver 6 and would liek to have an NFS filesystem automatically mounted when the system boots. I can manually mount the filesystem once the system is up without issue, but I'd like it to be automatic. I take it I can add the relevant mount ...

Free Tech Articles

  1. WARNING: 5 Reasons why you should NEVER fix a computer for free.
    It is in our nature to love the puzzle. We are obsessed. The lot of us. We love puzzles. We love the challenge. We thrive on finding the answer. We hate disarray. It bothers us deep in our soul. W...
  2. SCCM OSD Basic troubleshooting
    SCCM 2007 OSD is a fantastic way to deploy operating systems, however, like most things SCCM issues can sometimes be difficult to resolve due to the sheer volume of logs to sift through and the dispe...
  3. Migrate Small Business Server 2003 to Exchange 2010 and Windows 2008 R2
    This guide is intended to provide step by step instructions on how to migrate from Small Business Server 2003 to Windows 2008 R2 with Exchange 2010. For this migration to work you will need the fo...
  4. Create a Win7 Gadget
    This article shows you how to create a simple "Gadget" -- a sort of mini-application supported by Windows 7 and Vista. Gadgets can be dropped anywhere on the desktop to provide instant information, ...
  5. Outlook continually prompting for username and password
    There have been a lot of questions recently regarding Outlook prompting for a username and password whilst using Exchange 2007. There are a few reasons why this would happen and I will try to cover t...
  6. Backup Exchange 2010 Information Store using Windows Backup
    There seems to be quite a lot of confusion around the ability to backup Exchange 2010 using the built in Windows Backup feature. This stems from the omission of this feature prior to Exchange 2007 s...

Cloud Class Webinars

  1. Avoiding Bugs in Microsoft Access
    Alison Balter takes and in-depth look at avoiding bugs in Access. In this webinar you will learn about using the immediate window to debug your applications, invoking the debugger, using breakpoints to troubleshoot, stepping through code, setting the next statement to execute, ...
  2. Top 10 Best New Features in Visio 2010
    Scott Helmers gives live demonstrations of the top 10 new features in Visio 2010. This webinar will teach you how to create compelling diagrams by adding shapes to the page with a single click, linking the shapes in a diagram to data in Excel (or SQL Server, or SharePoint), ...
  3. IT Consultant Business Secrets Revealed
    Michael Munger, Experts Exchange tech pro and IT consultant, pulls back the curtain on his very successful businesses and answers question on every IT consultant and business owner should know about. He shares secrets on what he did to solve the 5 most common problems in IT, ...
  4. Disaster Recovery and Business Continuity
    Quest CTO, Mike Billon, gives an overview of the steps involved in building a dunamic disaster recovery plan. Through case studies and an examination of software/hardware tooles for monitoring and testing, you'll gain a better understandin of where you are, where you want ...
  5. Organize Your Visio Diagrams with Containers and Lists
    Scott Helmers uses cross functional flowcharts, wireframe diagrams, data graphic legends and seating charts to teach you: how to ustilize all three new structured diagram components in Visio 2010, the best practices for organizeing shapes in previous version of Visio, how to organize ...
  6. How to Us Objects, Properties, Events and Methods in Microsoft Access
    Alison Dalter gives an in-depbth look at objects, properties, events and methods in Microsoft Access. In this webinar you will learn about using the object browser, referring to objects, working with properties and methods, working with object variables, understanding the ...

Join the Community

Give a Little. Get a Lot.

Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.

Join the Community

Answers

 

by: mikelfritzPosted on 2009-09-14 at 13:28:48ID: 25329015

what does your "/etc/exports" file look like on "big"?

should just contain an entry like:
/u

That should have it exported to any server with write permissions.  If you modify the file be sure to run exportfs -av to reexport with any new settings.  "man exports" shows the usable switches.

 

by: nicklucasPosted on 2009-09-15 at 06:28:21ID: 25334620

I used scoadmin to export the /u filesystem on "big".  I checked the /etc/exports on "big" and it is empty.  So I used scoadmin to remove the exported filesystem, then delete the export configuration.  I then added /u to the exports file and ran the exportfs -av and got an error.  When I changed the exports file to read /u/ and ran the exportfs -av, it ran with no error.  However, now I cannot mount the filesystem onto "small" at all.

 

by: mikelfritzPosted on 2009-09-15 at 06:46:34ID: 25334796

What version of Openserver is this?

 

by: nicklucasPosted on 2009-09-15 at 06:49:35ID: 25334829

"small" is 5.0.7 and "big" is 6.0

 

by: nicklucasPosted on 2009-09-15 at 06:50:23ID: 25334840

I also just tried removing everything and starting again.  Now even following the original steps in using scoadmin to export the filesystem, I cannot even mount it on "small".

 

by: mikelfritzPosted on 2009-09-15 at 06:59:41ID: 25334925

Okay - Openserver 6 puts the export in /etc/dfs/dfstab

You could try exportfs -eav
the -e tells it to look at /etc/exports

Or, remove the /etc/exports and recreate with scoadmin and then edit /etc/dfs/dfstab to see the switches that have been placed on the export.

Should maybe look like:
share -F nfs /u

That should be open to all.

Another thought; maybe a permissions issue with /u?  You could try creating a test dir and chmod a+rwx "dir_name" and then export it to see if you have write permissions.

 

by: nicklucasPosted on 2009-09-15 at 07:21:36ID: 25335177

Ok, I was able to export a filesystem on "small" and mount it on "big" but I still can't export a filesystem on "big" and mount it on "small" but....

When i mounted "big"'s filesystem on "small" I got the same permission error.  I did a chmod 777 on "big"s filesystem and now no permission error.

However, I still have the problem of not even being able to mount a "big" filesystem on "small".  Could there be some problem in /etc/hosts, hosts.equiv or .rhosts I'm not thinking of?

 

by: mikelfritzPosted on 2009-09-15 at 07:49:05ID: 25335495

maybe nfs is just confused now, same filesystem in both configs at once?.  check both config files above and restart nfs:
nfs stop
nfs start
should work.

 

by: mikelfritzPosted on 2009-09-15 at 07:50:49ID: 25335514

the fact that you could mount it read only before tells me the host related stuff is fine.

 

by: nicklucasPosted on 2009-09-15 at 09:40:27ID: 25336769

I restarted NFS on both servers.  Earlier, I had been killing the mount command after about 15 secs by pressing <del>.  This time I waited a bit longer trying to mount the "big" filesystem on "small" this time and got an "RPC: port mapper failure - RPC: Timed out" error.

 

by: mikelfritzPosted on 2009-09-15 at 10:08:25ID: 25337039

sounds like nfsd is not running on big.

http://osr600doc.sco.com/en/NET_nfs/nfsT.clearing_mount.html

 

by: nicklucasPosted on 2009-09-15 at 10:34:24ID: 25337253

I restarted nfsd like the article suggests but still have the same problem.  So I tried to see what rpcinfo sends me from each side...

From the "big" server I can issue the "rpcinfo -p small" and get information back.

From the "small" server when I issue the "rpcinfo -p big" command, I get an error that says "rpcinfo: can't contact portmapper: RPC: Remote system error - connection refused"

 

by: nicklucasPosted on 2009-09-15 at 11:50:32ID: 25337981

Ok.  I think I have it solved...finally.

The rpc errors were due to a machine name change.  SCO has a known issue when you use scoadmin network config manager to change the machine name.

http://www.sco.com/support/docs/openserver/600/600ln.html

Once rpc was running correctly I got a different error about not having permission to mount the filesystem, even though the filesystem on "big" had full perms for everyone.  This was solved by modifying the /etc/dfs/dfstab file.  The entry that scoadmin made was...

/usr/sbin/share -F nfs -o anon=-2,rw /u/

I changed it to...

/usr/sbin/share -F nfs -o rw /u/

This appears to have made it work...finally.

 

by: nicklucasPosted on 2009-09-15 at 11:52:02ID: 31628529

This pointed me in the right direction to finding the total solution.

20120131-EE-VQP-002

3 Ways to Join

30-Day Free Trial

The Experts

98% positive feedback on 31,087 answers since March 2000. angeliii is a Microsoft Most Valuable Professional for his work with MS SQL Server & Develoment.

He has also proven his knowledge of Visual Basic Programming, PHP Scripting and Oracle Databases.

The Experts

97% positive feedback on 10,752 answers since July 2000. lrmoore has more than 18 years experience in the networking industry.

The six-time Mircosoft MVPs specialties include firewalls, virtual private networking, and network management.

Testimonials

"...and excellent source for support... Kind of like having your very own IT dept." Electriciansnet

Testimonials

"I was apprehensive at signing up at first. However... it has already made my life as an IT administrator much easier." JaCrews

Testimonials

"WOW! You guys have great, active, and knowledgeable people on here." moore50

Business Clients

Business Clients

In the Press

"If you’ve got a question... Experts Exchange can supply an answer.”

In the Press

"...an invaluable aid for both IT professionals and those who require tech support."

In the Press

"where IT professionals provide quick answers on just about any topic"

Business Account Plans

Loading Advertisement...