Landis Vinchattle An aggregation.

May 1, 2013

Extending LVM for LXC

Filed under: Links,Linux,Monitoring — Landis V @ 3:49 am

I finally got back to experimenting with LXC recently.  There have either been some improvements, or I’ve given it sufficient time to sink in, because it’s pretty much a cinch now (at least as long as you’re not trying to bridge the network, but that’s another story).

I’ve managed to set up a fairly lightweight VirtualBox host running Ubuntu with an Ubuntu container for use as a monitoring server.  Unfortunately my planning was a little shortsighted when I initially set the system up, and I left myself short on space.  With the help of the following sites, I was able to extend my logical volume using the LVM tools and (hopefully, I haven’t checked yet!) clear an ugly splat on my monitoring display.

http://www.howtogeek.com/howto/40702/how-to-manage-and-use-lvm-logical-volume-management-in-ubuntu/
http://sujithemmanuel.blogspot.com/2007/04/how-to-add-disk-to-lvm.html
http://www.turnkeylinux.org/blog/extending-lvm

With the help of the man page for lvextend I was able to determine the appropriate command to resize the logical volume to the total free space in the volume group with ‘lvextend -l+100%FREE /dev/vol-group-name/root’.

All together, here’s the summary of what I did.
Added a VDI disk in VirtualBox
fdisk /dev/sdb
Partitioned as needed, per first link.
pvcreate /dev/sdb1
vgextend vol-group-name /dev/sdb1
lvextend -l+100%FREE /dev/vol-group-name/root
resize2fs /dev/vol-group-name/root
Confirmed that the added space was apparent to the kernel.
df -h
Finally, I restarted my monitoring container.
lxc-start -d -n monitor-01
And confirmed that the free space was also apparent within the container.
df -h

After checking the basics, I confirmed that everything looks clean and clear in the monitoring system. Now I’m on to the task of figuring out how best to monitor some new equipment.

April 25, 2013

Advanced Firewall Configurations with ipset | Linux Journal

Filed under: Links,Linux,Networking,Security — Landis V @ 7:39 pm

http://www.linuxjournal.com/content/advanced-firewall-configurations-ipset

April 22, 2013

PVR/Live TV in XBMC

Filed under: Projects,Software,TV — Landis V @ 8:03 pm

As I use XBMC for playback of series’ I’ve recorded using Windows Media Center, and am not super fond of Media Center (it was just highly convenient), I found this to be something probably worth pursuing, or at least investigating in more detail, in the near future.

Lifehacker – Record and Watch Live TV On Your XBMC
http://lifehacker.com/5981757/how-to-watch-and-record-live-tv-on-your-xbmc-media-center

The XBMC PVR and Live TV Setup Guide
http://wiki.xbmc.org/index.php?title=PVR

April 10, 2013

TP-Link TL-WR703N – OpenWrt Wiki

Filed under: Electronics,Links,Linux,Projects,To Buy,Wireless — Landis V @ 9:59 pm

http://wiki.openwrt.org/toh/tp-link/tl-wr703n

Neat little system for possible embedded controller.

March 26, 2013

T1/ESF Alarm Conditions

Filed under: Communications,Links — Landis V @ 11:22 am

http://www.whitsnet.com/Tutorials/T1/

It always seems to be tough to find the T1 alarm documentation I’m looking for when I need it.  This page provides a nice little graphic that shows what alarms are present and in which direction the alarm indications are being sent (RAI/yellow alarm and AIS/blue alarm).

WikiStart – Tiny Tiny RSS

Filed under: Android,Business,Links,Projects,Web Applications — Tags: , — Landis V @ 6:48 am

http://tt-rss.org/redmine/projects/tt-rss/wiki

I was reminded this morning, while reading some of James Altucher‘s very interesting posts and wanting to add to my subscription list, that I’m eventually going to need to do something to replace Google Reader as my feed reader.  This might be an interesting way to do so.  The Android client is a plus.  I’ll have to add it to my project list.

Edit 6/18/13: Also ran across https://www.commafeed.com/welcome today, which does not look bad, but I still have some inclination towards tt-rss at this time.

March 19, 2013

Back up your website: 10 WordPress plugins that keep your data safe – Computerworld

Filed under: Links,Software — Landis V @ 11:02 pm

http://www.computerworld.com/s/article/9237267/Back_up_your_website_10_WordPress_plugins_that_keep_your_data_safe

Better automation is always good.

« Newer Posts — Older Posts »

Powered by WordPress