CakePHP | Ruby | MySQL | Java | Security| Mac OS X | Subversion | BlackBerry
13 Jul 08
Testing out LifeCast on the iPhonePosted with LifeCast Testing out LifeCast on the iPhone

Posted with LifeCast

20 Jun 08
27 Mar 08


19 Mar 08

01 Mar 08
19 Jan 08
13 Jan 08
22 Dec 07
17 Nov 07
15 Nov 07
12 Nov 07
12 Nov 07
10 Nov 07
05 Nov 07

VMware Fusion: Resize a virtual disk

Vdiskmanager is now available as a command-line tool with VMware “Fusion” Beta 2. It is available from /Library/Application Support/VMware Fusion as vmware-vdiskmanager.

Make sure you have a back up of your virtual machines before running vdiskmanager against your virtual machines, since “Fusion” is beta software. See below for the help from the vdiskmanager command line tool:

VMware Virtual Disk Manager - build 41384.
Usage: vmware-vdiskmanager OPTIONS
Offline disk manipulation utility
Options:
-c  : create disk; need to specify other create options
-d  : defragment the specified virtual disk
-n  : rename the specified virtual disk; need to
specify destination disk-name
-q  : do not log messages
-r  : convert the specified disk; need to specify
destination disk-type
-x  : expand the disk to the specified capacity

Additional options for create and convert:
-a  : (for use with -c only) adapter type (ide, buslogic or lsilogic)
-s  : capacity of the virtual disk
-t  : disk type id

Disk types:
0  : single growable virtual disk
1  : growable virtual disk split in 2Gb files
2  : preallocated virtual disk
3  : preallocated virtual disk split in 2Gb files

The capacity can be specified in sectors, Kb, Mb or Gb.
The acceptable ranges:
ide adapter : [100.0Mb, 950.0Gb]
scsi adapter: [100.0Mb, 950.0Gb]
ex 1: vmware-vdiskmanager -c -s 850Mb -a ide -t 0 myIdeDisk.vmdk
ex 2: vmware-vdiskmanager -d myDisk.vmdk
ex 3: vmware-vdiskmanager -r sourceDisk.vmdk -t 0 destinationDisk.vmdk
ex 4: vmware-vdiskmanager -x 36Gb myDisk.vmdk
ex 5: vmware-vdiskmanager -n sourceName.vmdk destinationName.vmdk
05 Nov 07