On 20.05.15 01:05, Gene Heskett wrote:
> The new install on the shop machine has /home on its own partition, so my 
> exportfs on shop looks like this:
> 
> root@shop:/etc/init.d# exportfs
> /                     coyote.coyote.den
> /home                 coyote.coyote.den
>
> The / mount works just fine, but of course the /net/shop/home directory 
> is empty before I added the second line to the above exports file.

If that's what's in /etc/exports, then you might want to have a look at
the examples near the end of: http://linux.die.net/man/5/exports
(My nfs-common package is up-to-date, but still doesn't deliver a man(5)
"exports" manpage, even though the nfs manpage points to it. What a crock.)

> And added this marked line to my local /etc/fstab
> shop.coyote.den:/             /net/shop       nfs4    defaults        0       > 0
> =>shop.coyote.den:/home/              /net/shop/home  nfs4    defaults        
> 0       0

My fstab manpage allows "nfs" for the third field, but does not list
"nfs4". Even if you have no error message regarding that, losing the 4
for a minute might at least eliminate a possible source of problems.

Ah, yes, looking in the nfs manpage, we see:
"The fstype field contains "nfs".  Use of the "nfs4" fstype in
/etc/fstab is deprecated."

> But obviously that is NOT suiting /etc/fstab here on the house box.
> Doing an ls -l on /net/shop after restarting autofs and all the nfs 
> stuffs shows a copius batch of ?? marks for the /net/shop/home dir:
> 
> d?????????   ? ?    ?        ?            ? home

First, to be forensically diagnostic, doing a:

$ mount

to see what it recognises as mounted, sets the baseline for further
investigation. OK, we can pretty much assume that the NFS mount worked,
as the mount point would otherwise simply show as an empty directory,
but we need to confirm that before proceeding.

> And man nfs seems not to address this.  I've change a few dotted i's and 
> such but get "mount.nfs: Too many levels of symbolic links"

Er, where, when, after doing what, Gene? Let's see what "mount" says,
after s/nfs4/nfs/, and go from there. If you could post /etc/exports on
the shop machine, and /etc/fstab on the other, then that'd nail down the
major variables. If that does no good, then I'd guess at a charset
mismatch issue, somehow, mumble, mumble. (I'm heading for the farm
tomorrow, so have to get all my guesses in now. :(

> Is it possible to even make it work?  Not having file system access to 
> shops /home partition/directory is making things 10x more difficult.

It worked fine in the past, when you only had one partition, IIRC?
Then it's eminently feasible to make two of them work, too.
(After all, it isn't a Winders half-wonder you're running.)

Erik

-- 
The age of party democracy has passed. Although the parties themselves remain,
they have become so disconnected from the wider society, and pursue a form of
competition that is so lacking in meaning, that they no longer seem capable of
sustaining democracy in its present form. - Peter Mair, in "Ruling the Void"

------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to