On Friday 20 July 2012 10:18:49 Erik Christiansen did opine: > On 17.07.12 20:08, Jon Elson wrote: > > Gene Heskett wrote: > > > What the heck is the diff, I own that file on all 4 machines! > > > > OK, well, there's one of your problems. NFS is a "local" files system > > on each node, and you MUST coordinate file owner IDs across all the > > systems, or use proxies. sftp avoids that problem, as each end of the > > sftp session is logged into its machine, and files brought across get > > the local owner's permissions. > > Gene, > > Jon's giving you the good oil there. Those vagrant uids you've had > floating about on the various boxes have provided us all with > entertainment for a while now. If the amusement value can't be done > without, then one way to overcome the NFS requirement that uids and gids > match across hosts, is to use "id squashing", I believe. (Though I've > never allowed the chaos which would warrant using it, and it seems like > just papering over cracks, in this case.) > > Would it help if we again posted some advice on how to most easily > change the uids on one host to match another? > > Erik
While that could I suppose be useful when the distro's involved are mix-n- match, I fail to see the utility of it when I am uid:gid 1000 on all 4 machines, all installed from our own 10.04-4 LTS install cd. Much more useful would be some real examples that all I'd need to translate would be to my hostnames or even hardcoded addresses. To my knowledge, there does not seem to be a way to make these services startup like a babbling idiot and tell us what they are doing, or why they can't do it. That would be 1000's of times more useful. ATM, my /etc/exports file contains 1 non-commented line: /home/gene/ coyote.coyote.den(rw,sync,no_subtree_check) On all machines with the FQDN of that machine edited in. Similarly, the only active line in /etc/auto.master on all machines is: /net -hosts All machines share the same hosts file listing the 192.168.xx.x address, its FQDN and alias, a listing of the whole local net. The exports file on the other machines I can't show because I shut them all off last night due to lots of nearby sky fireworks. From memory each exports file has: /home/gene/ shop.coyote.den(rw,sync,no_subtree_check) /home/gene/ lathe.coyote.den(rw,sync,no_subtree_check) /home/gene/ lappy.coyote.den(rw,sync,no_subtree_check) When I was running pclos on this box, with its 2.6.38.8 kernel, this all worked flawlessly except for the uid:gid problems when copying files so I always had to become root and fix that. So how do I go about making autofs and nfs-kernel-server get all mouthy so I can see where it fails? Right now it all comes back 'OK' but doesn't actually connect anyplace but on lathe.coyote.den, which does create a /net/lathe subdirectory, but its empty. The /net directories are empty after many restarts of those 2 services in /etc/init.d on the other 2 boxes, this one and shop.coyote.den. Lappy hasn't been out of the case locally in a month or more and ATM is not on my priority list until I need it. Thanks Guys. Cheers, Gene -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author) My web page: <http://coyoteden.dyndns-free.com:85/gene> is up! The rule is, jam to-morrow and jam yesterday, but never jam today. -- Lewis Carroll ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
