4,423 reputation
1035
bio website tips.at.gg3.net
location Tokyo, Japan
age 34
visits member for 2 years, 9 months
seen 9 hours ago

Just a Linux geek poking around and trying to give back to the community whenever possible.


Nov
27
comment Software RAID 10 not any faster than s/w RAID 5 on Ubuntu 14.04 box, why?
@DavidSchwartz For RAID 10 you still only need to work with two disks, while for RAID 5 you need to work on all disks.
Nov
27
comment Software RAID 10 not any faster than s/w RAID 5 on Ubuntu 14.04 box, why?
I would expect random writes in RAID 5 to be considerably slower. For RAID 10 you have to write to two disks only. For RAID 5, you have to write the block to one disk, write out the parity to another, but additionally you also have to read out the rest of the data blocks from the same stripe in order to recalculate that parity.
Sep
26
comment Fail2Ban - Iptables - Set does not exist
As you can see, your running kernel (2.6.32-042stab092.2) is not a CentOS 7 kernel. It seems that you are inside a virtualized OpenVZ container. You may want to bring this up with your hosting provider, or also check this for extra information: unix.stackexchange.com/questions/118263/…
Apr
15
comment clamd says socket in use by another process but I can't find one
@dschinn1001, that is a capital -U ("Use UNIX domain socket"), and what you tried is a lowercase -u ("UDP mode"). Also, keep in mind that there are many, many versions of netcat and not all of them support the -U option.
Apr
2
comment Collect and pass along abitrary parameters in Puppet
The Ruby DSL has been deprecated.
Feb
1
comment How can I sort du -h output by size
@PaulDraper, du -BM prints everything in megabytes, so a file that is 168K would actually display as 0M. Unless there is some other version discrepancy I am not aware of. My version of du only shows integer megabyte values.
Nov
22
comment rpm -Uvh authenticated proxy access … just hangs?
Can you indicate what OS or rpm version you are on? The example I gave is something that I actually did try.
Jun
26
comment Linux software raid fails to include one device for one RAID1 array
I wonder if there is a metadata discrepancy on /dev/sdc1 somewhere. Have you considered wiping /dev/sdc1 out completely (dd if=/dev/zero of=/dev/sdc1 when it is not in the RAID).
Jun
19
comment Ext4 cache options on a virtual machine
An option that is a good idea to have on any file system - noatime.
Feb
27
comment SSH Kerberos authentication fails with “Wrong principal in request/Got no client credentials” on debian squeeze
Very well, I updated my answer with further things you should check. It is most likely a short name / FQDN confusion.
Feb
24
comment How long do Nat mappings live for?
I just found this post mentioning ip_conntrack as obsolete, so I updated my answer to not mention it. Also, the EXAMPLES section of the conntrack man page mentions one of the formats as an extended version of the other.
Feb
24
comment How long do Nat mappings live for?
Yes, I actually have both ip_conntrack and nf_conntrack. Not sure how they differ, except that ip_conntrack has two more columns showing the IP version. The 300 timer reset could be related to the nf_conntrack_tcp_timeout_unacknowledged setting.
Feb
22
comment Upstart script vs. command-line: why this difference in behavior?
Well, I updated my answer with more ideas. I hope some of them point you in the right direction.
Feb
13
comment How to use kdump/crash to investigate an OOM issue?
ps displays almost no processes as occupying any memory. In fact, ps -G shows only five entries where the RSS is non-zero, and the sum of those numbers is 4100 (see the ps -u output in the question). The second command says No symbol "nr_huge_pages" in current context..
Feb
8
comment How to use kdump/crash to investigate an OOM issue?
Thanks. I updated the question with some of the info you say may be useful. Note about the swap space - it is not all consumed, there is simply no swap configured. Also note that almost all the userland processes are dead at the time of the crash (the OOM killer took care of that). I even pasted the almost complete (pastebin only lets me upload 500K) output of "log -m" - pastebin.com/BzvqdyyZ.
Feb
6
comment How to use kdump/crash to investigate an OOM issue?
Well, I've done all this. I am able to run crash, and the Crash book mentions the bt command (which I already ran), the log command, which showed me the Out of memory messages, and the ps command which doesn't tell me where my memory is :(
Feb
6
comment How to use kdump/crash to investigate an OOM issue?
What I posted is the output of the ps subcommand of crash. It is not the ps shell command. I am doing a post-mortem of the incident, and all I have is the vmcore image. I can only assume I should be able to see where all that memory is allocated.
Feb
4
comment Migrating a simple BASH update script from SVN to GIT
This is great insight on how git works, but git pull is a handy shortcut for all that. There is no need to overcomplicate things.
Feb
4
comment Migrating a simple BASH update script from SVN to GIT
git log origin is wrong. You need to specify a ref, and origin is not a ref. origin/master - maybe.
Jan
11
comment /etc/fstab skip on error
You should definitely edit your post since grub has absolutely nothing to do with mounting.