On Wednesday 20 May 2015 08:47:37 Mark Wendt wrote:
> On Wed, May 20, 2015 at 8:24 AM, Gene Heskett <[email protected]> 
wrote:
> > which looks good, but /net/shop/home is still empty!
> >
> > Then I noticed a flashing icon on the bottom taskbar (running not
> > KDE here, but TDE R14) which opened a mount configure thingy, I told
> > it to mount automatically, and at least till I reboot, its all
> > working! root@coyote:/# ls -l /net/shop/home/gene
> > total 44
> > drwxr-xr-x  2 gene gene 4096 May 18 13:10 Desktop
> > drwxr-xr-x  2 gene gene 4096 May 18 13:10 Documents
> > drwxr-xr-x  3 gene gene 4096 May 19 16:58 Downloads
> > drwxr-xr-x 14 gene gene 4096 Apr 29 05:21 linuxcnc
> > -rw-------  1 gene gene   91 May 18 22:45 linuxcnc_debug.txt
> > -rw-------  1 gene gene  777 May 18 22:45 linuxcnc_print.txt
> > drwxr-xr-x  2 gene gene 4096 May 18 13:10 Music
> > drwxr-xr-x  2 gene gene 4096 May 18 13:10 Pictures
> > drwxr-xr-x  2 gene gene 4096 May 18 13:10 Public
> > drwxr-xr-x  2 gene gene 4096 May 18 13:10 Templates
> > drwxr-xr-x  2 gene gene 4096 May 18 13:10 Videos
> >
> > Those popups seem to correspond to my re-adding the mount lines in
> > my fstab here, and on reading the exports manpage, finding that I
> > apparently needed to set the second exports fsid=(blkid output for
> > that labeled partition on shop)
> >
> > So now I ought to be able to copy the amanda-client-3.3.7p1.deb from
> > lathe/home/gene/Downloads to shop/home/gene/Downloads, and dpkg
> > install the thing.  After I remove the wheezy version which I have
> > been unable to make work, too damned many config diffs to
> > comprehend.
> >
> > Thanks for the hand holding Mark, and I did it all before going
> > after a cup of the coffee I started before coming in here.
> >
> > > Mark
>
> Okay, I missed this the first go-around.  Is there some reason you are
> exporting the root directory?  That's usually a very big no-no, since
> you are opening up the entire machine.  Usually you just want to
> export the individual directories you want remote access to.

I only did this because both boxes are new installs, and I'd need access 
to the whole box.

> Taking a SWAG, there's no separate partition for the /home dir,

shops /home is a separate partition, lathes is not, and it Just Works as 
long as I have the fstab entries on this machine.

> and 
> you've got everything on one big partition?  Exporting the / dir, then
> trying to export the /home dir which lives under the / dir can and
> will cause problems just like you have been having.

Yup, because I wasn't using the "nohide" option in both lines of the 
exports file on shop, and was using fsid=0 in the /home line too, 
changing the fsid to the blkid of that partition in the second line for 
the /home export and it all Just Worked(TM). This was after TDE's 
discovery tool popped up and I told it to automount what it found.  So 
now I've used a gene session of mc to move the zmanda version of the 
amanda-client.deb from lathe to shop, then ran into another problem, 
sudo synaptic from the ssh -Y session refuses to run, wrong display.
xhost says its all allowed, but I can't find a manpage that describes how 
I can allow a 10.0 display request to open on this machine, wrong auth 
is the message from shop.
gene@shop:~$ sudo synaptic
[sudo] password for gene: 
X11 connection rejected because of wrong authentication.

(synaptic:7247): Gtk-WARNING **: cannot open display: localhost:10.0

So I'll need to go out there and find all the wheezy amanda crap and nuke 
it before I install the zmanda version.  Grrrr.  Need more coffee.

> Get rid of the / export.  export only the directories you need access
> to. Or, if you really need access to the entire machine, just export
> the / dir, and once that's mounted on the remote machine, navigate
> your way to the directories you want.

Because /home was on a separate partition, it has to be a separate 
export.

> Mark

Thanks Mark.

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

Reply via email to