Leveraging LVM Caching

Posted on Mon 23 November 2015 in miscLeave a comment

I recently implemented LVM caching based largely on Richard WM Jones' post and thought I'd document my own experience here.

I started with an SSD containing /, /home, and swap, two 2 TB HDDs (sdb, and sdc) and an additional SSD (sdd).

[root@bender ~]# lsblk
NAME            MAJ:MIN RM   SIZE RO …
Continue reading

Enable SSD Trim Support in Fedora 23

Posted on Wed 18 November 2015 in miscLeave a comment

# systemctl enable fstrim.timer
Created symlink from /etc/systemd/system/multi-user.target.wants/fstrim.timer to /usr/lib/systemd/system/fstrim.timer.
# systemctl start fstrim.timer
# systemctl status fstrim.timer
 fstrim.timer - Discard unused blocks once a week
   Loaded: loaded (/usr/lib/systemd/system/fstrim.timer; enabled; vendor preset: disabled …
Continue reading

Military Cheaters Sorted By Branch

Posted on Fri 21 August 2015 in miscLeave a comment

$ egrep '.mil$' ashley_madison_tlds.txt | sort | uniq -c | sort -nr | head -n10
6873 us.army.mil
1718 navy.mil
 845 usmc.mil
 206 mail.mil
 127 gimail.af.mil
  62 med.navy.mil
  57 us.af.mil
  55 usarmy.mil
  49 uscg.mil
  39 usarec.army.mil
Continue reading

CentOS 7 FirewallD Initial Setup

Posted on Sat 26 July 2014 in miscLeave a comment

I fired up my first CentOS 7 instance and there are a lot of new things that I’ve been avoiding learning. Namely, FirewallD. According to the wiki page:

firewalld provides a dynamically managed firewall with support for network/firewall zones to define the trust level of network connections or …

Continue reading