On Wednesday 20 May 2015 06:47:21 Erik Christiansen wrote: > 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 Got it working Erik. I think the secret was in a combination of a 2 line exports file, where the second line had the blkid of the partition. On shop, exports: / coyote.coyote.den(rw,sync,fsid=0,nohide,no_subtree_check) /home coyote.coyote.den(rw,sync,fsid=1af7ded9-1f34-49c1-8a20-b4f2a25a2b00,nohide,no_subtree_check)
I restored the coyote/etc/fstab like this shop.coyote.den:/ /net/shop nfs defaults 0 0 shop.coyote.den:/home/ /net/shop/home nfs defaults 0 0 lathe.coyote.den:/ /net/lathe nfs defaults 0 0 lappy.coyote.den:/ /net/lappy nfs defaults 0 0 Then since I am not running the new kde but tde r14, a fork of kde at 3.5, it popped up, on the taskbar, a blue flashing remote share had been discovered, so I told it to automount everything it found, and its all working. Now for some morning coffee I made before coming into the coyote.den. Get some coffee and go back to battling with amanda. The Advanced Maryland Automatic Network Disk Archiver. Works great once configured, is being a cast iron bitch with the shop machine. Basically debian debs and zmanda debs are incompatible in the extreme. And those from the zmanda.org site are from the houses mouth, only thing better is build it yourself. Cheers, Gene Heskett -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author) Genes Web page <http://geneslinuxbox.net:6309/gene> ------------------------------------------------------------------------------ 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
