/srv/irclogs.ubuntu.com/2014/04/16/#ubuntu-us-or.txt

blkperlslangasek: so the automounter seems to hanging on mount commands in Trusty22:45
blkperlwhich is why its so slow...22:45
* blkperl tests to see if precise has the same issue22:45
slangasekblkperl: hi! how're things?22:45
blkperlpretty good22:46
slangasekblkperl: have you applied to the Debian NM queue yet?22:46
slangasekso you can fix Debian? :)22:46
slangasekanyway22:46
slangasekwhich automounter are we talking about?  autofs?22:46
* blkperl bets its a nfsv4 issue22:46
blkperlyeah autofs22:46
blkperlI strace'd and it was just hanging on mount22:46
slangasekon a booted system?22:47
blkperlwell a freshly rebooted system22:47
slangasekand is it hanging on a mount syscall or a mount command?22:47
slangasekright, my point is, you're stracing it from runlevel 2 rather than trying to strace it in the boot sequence, yah?22:47
blkperlno the system is fully up at this point, so runlevel 522:47
blkperlwith GUI and everything22:48
blkperlexecve("/bin/mount", ["mount", "vault.cat.pdx.edu:/volumes/bunga"..., "/mnt"], [/* 22 vars */]) = 022:49
blkperlis that syscall or mount command?22:49
blkperllooks like mount right?22:50
blkperl[pid  2516] mount("vault.cat.pdx.edu:/volumes/bungalow/09/blkperl/ubuntu", "/mnt", "nfs", 0, "vers=4,addr=131.252.208.194,clie"...22:51
blkperlok so it goes into the kernel there ^ and hangs22:52
slangasek"runlevel 5"?  using Red Hat runlevel emulation, hmmm?22:52
slangasekthat's the mount command22:52
blkperlok22:52
blkperlhow do i figure out whats its waiting on?22:53
slangasekwhich in turn calls the mount() syscall, but my question was whether it was a sycall called directly by autofs or via mount22:53
slangasekwell, for starters I would suggest running strace -s256 so you can see the full command it's running22:53
blkperlI can reproduce with mount command without stracing autofs22:53
slangasekand then try to reproduce from the commandline with 'mount' instead of autofs22:53
slangasekok22:53
slangasekare you sure you're passing all the same options autofs is?22:54
slangasekbecause it's entirely possible to have mount from the commandline hanging for a *different* reason22:54
slangasek(and can I see the full commandline please)22:54
blkperlhaha, no im not sure but they are both using nfsv422:54
blkperlstrace -f -s256 mount vault.cat.pdx.edu:/volumes/bungalow/09/blkperl/ubuntu /mnt22:54
blkperl-s256 is awesome btw22:55
* blkperl <3s new flag22:55
slangasekwas looking for the strace on autofs itself though, to be sure we capture exactly which mount options it's passing22:55
blkperlwill do22:55
slangasekkerberos authentication?  Solaris or Linux server?22:55
blkperlSolaris server, no kerby22:55
blkperl[pid  2598] mount("vault.cat.pdx.edu:/volumes/bungalow/09/blkperl/ubuntu", "/u/blkperl", "nfs", MS_NOSUID, "hard,intr,sloppy,vers=4,addr=131.252.208.194,clientaddr=131.252.213.23"22:56
blkperlautomount is using those args22:56
slangasekok; those are largely defaults autopopulated by mount internally, or near enough as to make no difference22:58
slangasekI guess I shouldn't expect this mount command to work for me from here? ;)22:58
blkperlnope :)22:58
slangasekso first, I'd check whether it also happens with -o nfsvers=322:59
slangasekI think it was between precise and trusty that the default changed22:59
blkperlslangasek: yeah vers=3 is fast23:03
blkperlvers=4 hangs23:04
slangasekblkperl: ok, so23:04
slangasektcpdump23:04
slangaseknfs4 and nfs3 use different ports, etc.; you'll want to see if it's a firewall problem23:04
blkperlhmm is there any easy way to parse this output for NFS ?23:08
blkperlslangasek: doesn't look any firewall issues23:16
blkperlhmm can't reproduce now...23:21
blkperlif you turn on RPC debugging mount works fine23:23
blkperlsuper helpful....23:23
slangasekblkperl: parsing which output?  tcpdump?23:36
slangasekblkperl: I actually meant 'tcpdump -s 1500 -w send-me-a.pcap', fwiw :)23:37
blkperlslangasek: im starting to get suspicous thats it an ipv6 thing23:37
slangasekthat would be interesting23:37
* blkperl tries to reproduce one more time23:37
blkperlits totally ipv623:38
blkperlstupid slac addresses23:38
blkperlor maybe not I don't see any ipv6 traffic23:50
slangasekwell, your strace specifically showed ipv4 addresses in use23:54
slangasekand the server has no ipv6 in public DNS23:54
blkperlthats true23:54
slangasekalso23:54
slangasekHAHAHA NEXENTA23:54
slangasekI assumed you meant real Solaris, not Nexenta crazytown23:55
blkperlwell its both, really, homedirs come from nexenta and pkgs come from solaris1123:55
blkperloh thats cool... hanging on rebooting23:56
slangaseklet me know if Nexenta is still violating the GPL with respect to code written for Debian23:57
blkperloh im sure they are...23:57
blkperlhow did you know it was nexenta?23:57

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!