Expanding your LVM with a new disk

Our Debian LVM was getting a bit full so we got two new 2TB drives. We’ll add one of these to our LVM to increase the space.

First of all check to see if your new disk has been seen by the  BIOS.

If it has great! If not might be worth rebooting to check if a SATA port needs turning on for instance.

Once the disk has been recognised by the system it will show up with the above command.

We now know that the disk is /dev/sdb. Thats good. We can now prepare it for use.

Hit ‘n’ to create a new partition. It should be primary (p)
choose the default partition number (usually 1)
I hit enter twice to use the full space.

Press ‘p’ and you should see something similar to this:

Press ‘t’ to change the partitions id. Use 8e as it’s going to be a Linux LVM.

Hit ‘w’ to write the changes.

Now lets create a volume:

Now we need to find the name of our existing volume group to add this volume too:


Great! Lets extend the id05 LVM to use /dev/sdb1 as well:

pvscan should now show us the physical volumes to confirm:

Now lets find the logical volume that we want to increase. The lvdisplay command will show them all:

Here we have 2 (the other one is a swap)  The one we want to make bigger is /dev/id05/root.

Now lets resize the filesystem (this may take some time!)

All done! Check your new lovely space out!

UPDATED: Hackintosh Build Notes Z77-DS3H i5 Gigabyte GT220 1GB

**** Update 24th July 2014 ****

Re-visted my Hackintosh build tonight. Some things seem to have changed in the most recent release of Unibeast (Mavericks) I couldn’t get it to boot for what seemed like years.

Eventually I figured out that the BIOS wasn’t saving settings. Do this:

Save & Exit / Load Optimized Defaults

Peripherals / SATA Mode Selection – AHCI BIOS Features / Intel Virtualization Technology – Disabled (or add kernel flag dart=0) BIOS Features / VT-d – Disabled (or add kernel flag dart=0)

You now should be able to boot from your Unibeast USB drive. I had to -v GraphicsEnabler=YES with the GT220 installed in order to get the installer to load.

Run Multibeast and add the i5 stuff, audio & network if needed. If you break things with Multibeast you can boot with -x (safe mode) to run it again.

Remember to backup!

**** Sep 13th 2013


The following notes describe my most recent Hackintosh build. Hardware Motherboard: Gigabyte Z77-DS3H Graphics Card: Gigabyte GeForce GT220 1GB RAM: 8GB Crucial (2 sticks) My preferred method of hackintosh is using Unibeast & Mulitbeast both products of the excellent Hackintosh resource site; www.tonymac86.com Continue reading

VM Management with Archipel

For a while now I’ve been experimenting with virtual machines on a variety of software & hardware solutions. The one issue which always bugged me was finding a nice web tool (or even writing one) where I could manage all my VM’s in one place. This last week I found the product: Archipel

First starts on the Wearable App & API

The other night I started making the initial app (android) which will work with the Wearable API.

Initial input & output methods were explored and implemented in a basic application.


The idea was to start with finding out what ways we can communicated with the Wearable API.

So Far:

Inputs: GPS, Mic, Accelerometer, Temperature, Compass, Message, JSON, Camera

Outputs: Dialogue, Talk, Vibrate, Notification, Audio, Toast

Even with these simple methods added we can start building the API to do stuff for us.

Right now my preferred method of receiving output is by audio. So right now It ‘speaks’ a lot, but but voice/audio notifications work so well.

“Louis, you have received an email”, “New calendar appointment received” “Warning: You are doing over 70MPH” Of course; these are all configurable in the API.