Turing's Man Blog
- Last Updated on Sunday, 30 December 2012 21:32
- Published on Sunday, 30 December 2012 20:29
- Written by Pawel Wawrzyniak
- Hits: 14405
I created a 20 GB virtual disk drive for Solaris 11.1 and Oracle DB 11gR2. This was really too small and the most comfortable thing I could do was to use Clone VDI 2.10. This is small, simple and very useful piece of software – really recommended for all Oracle VirtualBox users. Not only we can clone our virtual hard disks, manage their UUIDs, perform compacting, but also easily resize disks.
To solve my problem I made a backup of my virtual hard drive file (sic!), started Clone VDI, selected my source virtual hard drive (Solaris11_1_test.vdi) which was 20 GB fixed size, I changed the name of my destination virtual hard drive file (in this case: Clone of Solaris11_1_test_X.vdi – to be honest, not a nice name, but everyone can decide on his own, which is recommended). I also selected the options to: "Keep old UUID" and "Increase virtual drive size to 30.00 GB". With such configuration I expected to have a drop-in replacement of my 20 GB source virtual hard drive. I waited for a couple of minutes…
… And it was done. So, I replaced my old, 20 GB file with the new, 30 GB one. With some reference to the Solaris 11.1 administrator’s guide I was able to easily allocate a new space for my root storage pool with ZFS commands (refer to the "Solaris Internals" for more information).