I'm trying to setup a RAC environment by following the article ""Oracle Database 11g Release 2 RAC on Linux Using VirtualBox". I'm using OL5.6 on my MacBook Pro with a 8g memory. I'm using VirutalBox 4.1.18 and set up the two nodes, each with 45g hard disk. But, I'm seeing the disk space is only 7.6G on each node, which is pretty much the size of the file rac1.vdi or rac2.vdi. So how can I resize the file system /u01 on the disk to make it upto 45g?
So in my case I just need to use the commands: lvextend and resize2fs on the LV /dev/VolGroup00/LogVol00, am I right about that? Yes, I unzipped the software on each node. I'll switch to using the shared drive.
Dynamically expanding means it doesn't preallocate the space at VM creation. For example, if I create a VM with a 100G disk and preallocate the storage, the virtual disk will consume 100G of disk space from the start.
If I say dynamically expanding, it will only take a little but of space, but can expand up to 100G as I fill the virtual disk. Dynamically expanding is therefore an attempt to save space on the host disk by not preallocating and therefore wasting space. It has nothing to do with expansion of the virtual disk when it has reached its defined size.