-
gitomat
[illumos-gate] 3409 mdb: Open source implementation of nfs module -- Vitaliy Gusev <gusev.vitaliy⊙gc>
-
tsoome
whee:)
-
danmcd
Thanks for your patience. Big upstream things like this benefit from documentation and stories of time-in-the-field.
-
» danmcd is building smartos-live/illumos-joyent locally with this merged in before pushing it.
-
danmcd
Meanwhile it's time for lunch and my favorite workflow: "ssh $BUILDZONE pwait $PID_OF_BUILD ; say -a $EXTERNAL_SPEAKER Build is done, Dan"
-
tsoome
:D
-
tsoome
I have feeling, that mdb bit can be improved still;)
-
tsoome
esp once 4.x will land
-
otis
danmcd: "say" is a perfect tool, indeed.
-
danmcd
tsoome: I expect you're right. And looking forward to 41... I had a branch of it in illumos-joyent, not long after nfs-zone went back. It likely needs to be massively rewhacked.
-
danmcd
And yes @otis -> say(1) is one of MacOS's great features.
-
yuripv
nice, didn't know about it
-
tsoome
hrm. why.... ping: sendto Network is unreachable
-
tsoome
reboot did fix it. weird.
-
bahamat
Anybody know what ntpq means when it says a peer's refid is LOCAL(x)?
-
sjorge
IIRC it's a local source only
-
sjorge
so it could be the RTC
-
bahamat
Even when the remote is an IP address?
-
bahamat
And if a refid is LOCAL(x), does that mean there will be a subsequent line where the remote is LOCAL(x)?
-
sjorge
it could be that the remote uses an undisiplined local source
-
sjorge
e.g. i get it on my clients if both GPS sources and internet sources fail on my NTP server
-
sjorge
it's only tracing locally as best it can from the last RTC read
-
sjorge
aka very bad in my case
-
sjorge
X is probably because it's not to be used unless no other source is available
-
bahamat
Well the x is an integer
-
bahamat
The line I'm parsing is this:
-
bahamat
-216.218.254.202 LOCAL(1) 13151 5 u 646 1024 377 70.928 -4.351 1.224
-
sjorge
-
bahamat
That IP is clock.sjc.he.net, but when I use that as my time server, my refid isn't local.
-
sjorge
the link also seems to indicate it's an undiciplined local source on the remote
-
sjorge
ok the integer seems to be the X clock of that source type
-
bahamat
-
sjorge
gist.github.com/sjorge/f4b9f3e66a270198ab8557fd319aa5af e.g PPS(0) is my first local PPS source and GPS(0) my first GPS source, GPS(1) is my fallback GPS source, that one does not have a percise occilarion cristal
-
bahamat
which doesn't exactly make things clear, but it makes me wonder if this user has a remote listed as LOCAL(x) to match that one with the refid of LOCAL(x)
-
bahamat
Which, if they do and I don't fix it, I'm just moving the crash to the next line.
-
bahamat
But I think in any case, it's possible for either remote or refid to be LOCAL(x), so I need my regexp to accommodate both.
-
sjorge
the refid on a remote is what the it (remote) is using as it's primary source
-
sjorge
with my above example from my server, my clients will show PPS(0) as the refid behind the remote ip
-
bahamat
Ok, so then that should mean there won't necessarily be a line where the remote is LCOAL(x)
-
sjorge
i think so yes
-
sjorge
well i think you can have .LOCAL. LOCAL(0) ...
-
bahamat
My regexp for that field is ([a-zA-Z0-9.]+)
-
bahamat
which would be fine with the dots, but it's choking on the parens.
-
bahamat
But I think to be on the safe side I should handle remote having parens in it as well.
-
sjorge
see my gist from earlier
-
sjorge
remote colum can certainly have () in it
-
bahamat
Yeah.
-
bahamat
OK, thanks, that's helpful.
-
bahamat
sjorge: Can you tell me what's going on with line 7 in your gist?
-
danmcd
@ptribble --> can't remember if you have push permission upon approval or not.
-
danmcd
(Haven't RTI-reviewed your RTI, but knowing this a priori would be useful. )
-
richlowe
you can look at people's roles in the bug tracker
-
danmcd
OH!
-
danmcd
Thank you Rich, sorry for the ping Peter.
-
ptribble
I do (although being quiet haven't used it in a while)
-
sjorge
bahamat: it's fqdn (ip) IIRC
-
sjorge
but it usually gets truncated before it hits the ip
-
sjorge
-
bahamat
sjorge: Ok, so if you do -n for numeric only, then it shouldn't do that.
-
sjorge
you might want to add -n i guess
-
bahamat
Yeah, I do already
-
sjorge
yeah, it also shows the PPS(0) and friends as the special ip ranges
-
bahamat
I guess that should have been obvious earlier, but I was over thinking it.
-
bahamat
Ok, so I may not actually have to handle it in the remote column.
-
bahamat
But also, it doesn't seem like it would break anything if I do anyway.
-
sjorge
so not ipv6 does very weer stuff too
-
sjorge
*do note
-
bahamat
Yeah, but I don't think we're doing anything with the remote and peer, we're just trying to get the delay/offset/jitter
-
sjorge
i send you a privmsg with an ipv6 entry
-
sjorge
as it's actually a global addr
-
sjorge
i'm off to bed now though
-
bahamat
Yeah...I should add :'s to my regexp so that those are supported