184 reputation
112
bio website
location
age
visits member for 2 years, 11 months
seen Nov 28 at 14:42

Oct
23
comment “Spare” disk in a 2-disk mdadm RAID1 array?
hmm, SMART was telling me for a while that my disk was running at 192 degrees Celcius, looks like a few other errors got lost in the wash of dumb messages over the years. It doesn't look too severe, I'm duplicating the LVs with ddrescue now, creating a new RAID array... it looks like if the data moves smoothly, I'll need another replacement disk.
Oct
22
comment “Spare” disk in a 2-disk mdadm RAID1 array?
It looks like the kernel route would need a custom kernel for Debian Squeeze LTS, so... trying a hunch. The partitions are identically sized to the byte, but maybe between GPT and 4096 byte physical sectors, there could be a slightly different usage of data... I recreated the partition and added 200M, I also turned down the logging on iptables and it's running again. Will know if it worked tonight.
Oct
22
comment “Spare” disk in a 2-disk mdadm RAID1 array?
dmesg is overrun with some iptables messages, I've got it logging some firewall stuff. Syslog has a pair of repeating messages. I'm including them in the question, along with a link which discusses them... I might need a kernel upgrade. I do have some odd hardware for an older kernel.
Oct
21
comment “Spare” disk in a 2-disk mdadm RAID1 array?
I removed the failed disk and replaced it, this is the result afterwards. Two of the three partitions on the disk properly resynced.
Oct
21
comment “Spare” disk in a 2-disk mdadm RAID1 array?
I replaced the disk already, this is the outcome after trying to rebuild. I can remove and re-add, it takes about 6 hours, then quietly returns to this state. I've done that twice.
Oct
2
comment What is the reliable way of getting each user's .ssh directory from bash?
Are you looking for a puppetized answer?
Oct
2
comment HPUX Logging Logins
It's a shame it's so complex. I guess I'll have to hack something together with last, lastb, logger, awk and cron or tail. Brutal. Our wtmp and btmp files seem to be corrupt too... got to love commercial UNIX. I really appreciate the insight, just disappointed there isnt a "log to syslog" option I missed.
Sep
29
comment HPUX Logging Logins
It's a mix, they're using telnet mostly... it's an old system used to administer legacy devices on a secure network. No ssh for now. Do they all use different methods to log?
Aug
29
comment Are there network connections that don't use the WiFii card or the Ethernet port?
re: netstat, A note on "if they're currently active". UDP can send packets in an instant with no assumption of receipt or creation of a session, this makes it very easy for it to slip past checks using netstat. If you want to monitor your communications, you need to use a sniffer or configure firewall rules to report your traffic. An external firewall being preferred if you don't trust the system being monitored.
Jul
18
comment Installing XRDP on Cent OS 6.5
I found the following very helpful when troubleshooting, I could follow the errors in the config more easily. note that the vncserver session isn't needed, xrdp will launch its own using its own session manager: # xrdp --nodaemon& sleep 2; xrdp-sesman --nodaemon
Feb
23
comment Tools for Monitoring Steal Time (st)
The root cause of this one turned out to be that the ISP had the VM incorrectly configured. The guest was being told it had more cores than it actually did. This seemed to cause havoc with the scheduling. The ISP couldn't provide intelligent tech support, but we were able to "prove" the problem by disabling odd-numbered cores in /proc. Never a problem since.
Feb
4
comment Recovering data from a damaged hard-drive: the “freezer trick”
The manufacturers change chips on boards and often don't update their model numbers. Consider too shelving the drive until you find the parts or have the money to deal with it. Don't shelve it tooo long though, the parts get harder and harder to find.
Feb
3
comment Recovering data from a damaged hard-drive: the “freezer trick”
Only if you have an identical board. IMHO, if you have a second identical disk, you're probably a professional, or you care enough about the data that you should send it to one.
Oct
15
comment Walking Multidimensional arrays in Mawk
It looks like the lack of multidimensionality is going to cause such a performance and complexity issue, that I'm going to have to shift over to Perl or Python. Unfortunatley, I can't address this by installing gawk.
Oct
15
comment Walking Multidimensional arrays in Mawk
I was leaving out the question about ordering to keep this question short. You answered both questions even though I only asked one :-)
Jul
25
comment Weird behaviour case insensitivity with bash on MacOS
I haven't encountered a case insensitive shell environment before. Thanks for the help... I'm going to have to re-think some of my shell-scripts now :-(
Jun
22
comment Tools for Monitoring Steal Time (st)
I wish I could set more than one answer as the accepted answer. Both answers have been very useful :-) Thank you!
Jun
20
comment Tools for Monitoring Steal Time (st)
The spec is right, but does it matter? dual core hyperthreading v. quad-core still show up as 4 CPUs. Should Xen only allocate us 2 CPUs?
Jun
20
comment Tools for Monitoring Steal Time (st)
I added some info about the cores above in the question. These bursts of st are short-lived, but they cause a big impact to our server.
Jun
20
comment Tools for Monitoring Steal Time (st)
still waiting for their support guys to get back to us. Supposedly the "virtual dedicated" concept was to give us a real metal server. It makes scaling, backup and a few other things easier. This is not the first support ticket regarding our load problems, so if this turns out to be the cause, I'll be rather... unhappy.