Monday, February 02, 2015

Increase EC2 disk space

Use this http://itkbcentral.blogspot.com/2011/07/how-to-increase-disk-space-on-existing.html
When attach volumn to instance, specify /dev/xvda


Increase Disk Space

1. Get volume id of the instance (i-cd4eb8c7) is vol-82bxx493 (instance is in west-2a)
2. Creating a Snapshot of the Volume
3. Creating a new (clone) Volume from this snapshot with large space. The new volume is vol-0ed88e1f
4. Stop instance
5. Detach old volume and attach new one (specify /dev/xvda)
6. Start instance

Sunday, February 01, 2015

DBV WARNING: Could not open/create prefs root node Software\JavaSoft\Prefs at root 0 x80000002. Windows RegCreateKeyEx(...) returned error code 5.

Once a while I got this when start DBV:
WARNING: Could not open/create prefs root node Software\JavaSoft\Prefs at root 0 x80000002. Windows RegCreateKeyEx(...) returned error code 5.


This post solvedthe problem
http://www-01.ibm.com/support/docview.wss?uid=swg21496098

Resolving the problem

The work around is to login as the administrator and create the key HKEY_LOCAL_MACHINE\Software\JavaSoft\Prefs. 

using regedit.