Category: Linux
-
Crazy Perl Day
I’m surprised that this is the first time in Perl that I’ve bothered to use the posix character class [:alnum:]. Check this nuttiness out: ($::port_name, $::first_port, $::last_port) = $::port_range =~ /([[:alnum:]]+[^[:alnum:]])(\d+)-[[:alnum:]]+[^[:alnum:]](\d+)/; Yeah…it’s better with coffee.
-
My Pogoplug Thinks its in China?
I think I have to set a regulatory domain for my usb ath9k module because it appears to think it is in CN, which I’m assuming is China. [ 43.313192] usb 1-1: ath9k_htc: Firmware htc_9271.fw requested [ 43.331335] usbcore: registered new interface driver ath9k_htc [ 43.588793] cfg80211: World regulatory domain updated: [ 43.593951] cfg80211: DFS…
-
IntelliJ configuration notes on using HugePages
Java has supported Linux Hugepages for a while, but it is not on by default. I like to squeeze the most performance out of my IDE so I turned it on. And here are the settings I used for Intellij now: > cat idea64.vmoptions -XX:+UseLargePages -XX:LargePageSizeInBytes=2m -Xms256m -Xmx768m -server -XX:+UseG1GC -XX:MaxGCPauseMillis=15 -ea -Dsun.io.useCanonCaches=false -Djava.net.preferIPv4Stack=true -Djsse.enableSNIExtension=false…
-
Pogoplug now running hostapd
I was not anticipating it not being able to reach channel 11, so I set it to channel 1. Also, it cannot do 802.11n, so I set it to 802.11g. My cell phone seems to be able to use it. Also, for some reason, my pogoplug syncs up to the same switch better than my…
-
Raw ZVOL access in ZFS on Linux not an option for VirtualBox?
I have gotten about as far as I can go…I can boot a Fedora netinstall cd, and I can attempt to fdisk /dev/sda, but this device will not open in fdisk. This might be consistent with no “rdsk” device in the dev tree. Funny though, I can fdisk /dev/zd0, and it lists partitions. Could this…
-
Converting Virtualbox disk to ZFS volumes
I am trying to create zvol backed virtualbox guests using ZFS on Linux. Hopefully this is not too ambitious. Find size of original .VDI disk image: vboxmanage showhdinfo Fedora19.vdi Pass that file size into zfs create: zfs create -V40960M tank/VMs/Fedora19 Convert .vdi file to raw, best if you can do this from one hd to…
-
Molex, You Suck
When I was reassembling the drive cages in Beavertail, it was definitely plain that one set was more damaged than the adjacent set. The only two obvious flaws were heat, and grounding. I had been monitoring the heat off and on, and the drives never even got higher than 90F, and they are laptop drives,…
-
Replacing a Four Drives at Once
I would not have considered this tactic possible, but then I’ve often come from small raid setups or hardware raid setups that are unlikely to want to replace multiple disks at a time. Replacing four at a time!
-
Two drives fail at once? Oh yeah…
Just as I thot I was all cool for having a sixteen drive NAS, today’s opening of it and trying a new network card (did not fit) left me with bad news on the next powerup. > dmesg | grep ata | grep error: [ 23.223221] ata13.00: error: { ABRT } [ 23.234448] ata13.00: error:…
-
ZFS on Linux machine
Here is my ZFS on Linux story, and some of you might have seen these pictures when I started this project last year: I recycled an old Athlon system from work and placed an 35 Watt AMD A2 processor with 8GB 1600 ram on an Asus mobo in it. I name my home systems after…
