Tip: Determining UUID of a LUN on VMware ESX

The fastest way of determining the UUID of a LUN on ESX is through /proc: # grep "Id:" /proc/vmware/scsi/vmhba1/8:5 Id: 60 5 7 68 1 90 81 1a d8 0 0 0 0 0 0 34 32 31 34 35 20 20 This corresponds to a UUID of 600507680190811ad800000000000034 On ESX 3.5 go to /vmfs/devices/disks to see the mapping to a vmhba.

January 26, 2009 · 1 min · alj

Tip: Determining UUID of a LUN on Linux

Once in a while you need to identify a given LUN on your server (to delete it, move data, expand it or what ever). The easiest way is to use the UUID. If you use HP’s driver support pack you simply use the command lssd. lssd is a wrapper for scsi_info, both part of the fibreutils package. # lssd -w -l sda 4,0,2,19 HP HSV210 6100 5000-1fe1-5005-ee50 600508b400013133-0001100000740000 # scsi_info /dev/sda SCSI_ID="4,0,2,19":VENDOR="HP":MODEL="HSV210":FW_REV="6100":WWN="50001fe15005ee50":LUN="600508b400013133-0001100000740000" If you are on a non-HP machine use the command scsi_id (part of udev) ...

January 26, 2009 · 1 min · alj

Nyt website

Efter mange års overtalelse er Icewoman (også kendt som Miss Laila) endelig begyndt at lave en hjemmeside (eller en blog mere præcist). Se den på www.icewoman.net

January 25, 2009 · 1 min · alj

Sun releases xVM Virtualbox 2.1.2

Sun has released xVM Virtualbox 2.1.2. The changelog shows a lot of improvements. I am especially delighted to see this entry NAT: fixed occasional crashes (bug #2709) this one bug has really been … bugging me since it made the virtual machine almost unusable. Also, this release adds official support for Windows 7. At least one defect remains. When running more than one Windows VM VirtualBox will die with the error message ...

January 23, 2009 · 1 min · alj

Advarsel mod DataTalk Aps

Det hele starter i september måned hvor vores ældste barn vil købe sig en ny mobiltelefon. Han brugte mobilpriser.dk til at finde en forhandler af den telefon han godt kunne tænke sig. For den pågældende telefon var det DataTalk ApS. Jeg har handlet online i mere end 10 år og havde derfor ikke de store betænkeligheder fordi jeg normalt ikke oplever problemer, men også fordi DataTalk ApS er e-mærkede Så let skulle det desværre ikke gå. ...

January 20, 2009 · 3 min · alj

Brightness, explained by lolcats

January 19, 2009 · 0 min · alj

Pidgin: Unable to retrieve MSN address book

Apparently Microsoft have changed something that have caused Pidgin to be shut out. I’m not sure what the problem is but according to this ticket it’s a server side thing and limited to MSP15 clients. The quick fix is to switch to the Pecan Messenger protocol for Pidgin. It is available in Debian/Ubuntu as msn-pecan $ apt-get install msn-pecan if your distribution does not include this plugin or you are running Windows, get it from the download page ...

January 12, 2009 · 1 min · alj

Tip: NAT with Ubuntu’s ufw firewall

I am a big fan of Ubuntu’s Uncomplicated firewall because it is very simple to use. I cannot remember if ufw is installed by default so to be sure $ sudo apt-get install ufw As part of my project to use Sonofon Mobile Broadband as backup for my ADSL I needed ufw to NAT the connections through the ppp-connection. The solution is pretty straight forward: In the file /etc/default/ufw change the parameter DEFAULT_FORWARD_POLICY DEFAULT_FORWARD_POLICY="ACCEPT" also configure /etc/ufw/sysctl.conf to allow forwarding (the parameter is commented out by default) ...

December 30, 2008 · 1 min · alj

Using Sonofon Mobile Broadband with Ubuntu (updated)

This is an updated version of the guide to using Sonofon Mobile Broadband with Ubuntu that I made in May 2008. The modem provided by Sonofon is an USB stick marked as an Option Icon 225 HSDPA and is by default detected as an USB CD-ROM (which holds the Windows drivers). Installing the driver First you need to compile and install the drivers needed to use the modem: HSO kernel module Ozerocdoff (used to change the device from USB CD to modem) First make sure that your build environment is set up ...

December 30, 2008 · 5 min · alj

Tip: Building a cheap external DVD burner

Even though my laptop has an internal DVD burner I needed another because the internal one could not reliably burn dual layer discs. I could have just bought any USB-based burner but I asked around and the general consensus was that the best you can get is the Pioneer DVR-112 (an IDE burner). I did some further investigation and it turned out that DVR-212 is the same drive with SATA interface ...

December 29, 2008 · 1 min · alj