Image cloning in VMware ESX shell
VMware image clone via ESX shell and vmkfstools The free version of the VMware vSphere Hypervisor has a reduced feature set. One of the missing features is the ability to clone or create templates from existing vms. You can clone an image using vmkfstools within the ESX shell.
vmkfstools OPTIONS FOR FILE SYSTEMS: vmkfstools -C --createfs [vmfs3|vmfs5] -b --blocksize #[mMkK] -S --setfsname fsName -Z --spanfs span-partition -G --growfs grown-partition deviceName -P --queryfs -h --humanreadable -T --upgradevmfs vmfsPath -y --reclaimBlocks vmfsPath [--reclaimBlocksUnit #blocks] OPTIONS FOR VIRTUAL DISKS: vmkfstools -c --createvirtualdisk #[gGmMkK] -d --diskformat [zeroedthick |thin |eagerzeroedthick ] -a --adaptertype [buslogic|lsilogic|ide |lsisas|pvscsi] -W --objecttype [file|vsan] --policyFile <fileName> -w --writezeros -j --inflatedisk -k --eagerzero -K --punchzero -U --deletevirtualdisk -E --renamevirtualdisk srcDisk -i --clonevirtualdisk srcDisk -d --diskformat [zeroedthick |thin |eagerzeroedthick |rdm:<device>|rdmp:<device> |2gbsparse] -W --object [file|vsan] --policyFile <fileName> -N --avoidnativeclone -X --extendvirtualdisk #[gGmMkK] [-d --diskformat eagerzeroedthick] -M --migratevirtualdisk -r --createrdm /vmfs/devices/disks/.
Improve Google Reader readability with userstyles.org and stylish
As with most Google products Reader is utilitarian.
Install the Stylish Google Chrome extension.
Restyle the web with Stylish, a user styles manager. Stylish lets you easily install themes and skins for Google, Facebook,… User styles are themes for web sites. User styles empower your browsing experience by letting you customize web sites. Take out irrelevant content, change colors, or completely redesign the entire site.
Stylish lets you easily manage user styles.
iPad ad blocking using privoxy
I recently acquired an iPad 2 which I use mostly for surfing the web. I had no idea that you could not use browser extensions.
Assuming you have an extra computer running on your network. One method of blocking ads (on your home network) is to use a web proxy like Privoxy. Privoxy has binaries for Windows, OS X, BSD and Linux.
In the example below we are going to install and setup Privoxy on Ubuntu.
Lenovo T400 will not power on
Ran into a problem with my Lenovo T400. The laptop would not power on. No lights of any kind. Tried with and without the battery and/or AC adapter. Found these instructions while searching around for a solution:
Ensure nothing is plugged into the computer Remove the battery Press power button 10 times Press power button down for 30 seconds Press power button twice Attach ac adapter Press power button once. PC should come up.
m0n0wall site to site VPN
Configuring site to site VPN using two m0n0wall boxes is a snap.
There are a couple of things you will want to know ahead of time.
The IP address or FQDN of both firewalls WAN interface. Internal subnet of both networks. The shared key (password). Log into your firewall and head to the VPN/IPSec section. Click the + sign to get started. Assuming you are connecting two boxes across the internet, set the Interface to “WAN”.