5.1.4.2 Storage Configuration for User Domain
The user domain (domU) is a virtualized database node.
Each user domain has 4 virtual disks at the management domain (dom0) level. This can be seen from /EXAVMIMAGES/GuestImages/user_domain_name/vm.cfg. These 4 virtual disks are in turn soft linked to 4 files under /EXAVMIMAGES/GuestImages/user_domain_name, which are the real disk image files as described below:
/dev/xvda, for the system image fileSystem.img/dev/xvdb, for the Oracle Grid Infrastructure image file, for example,grid12.1.0.2.2.img. This virtual disk is 50 GB in size and is mounted as/u01/app/version/grid./dev/xvdc, for the Oracle Database image file, for example,db12.1.0.2.2-3.img. This virtual disk is 50 GB in size and is mounted as/u01/app/oracle/product/version/dbhome_1./dev/xvdd, for thepv1_vgexadb.imgimage file
The System.img (/dev/xvda) disk has 2 partitions created on pre-grub2 images and 3 partitions on grub2 images.
- Pre-Grub2 image
- Partition 1 — The boot partition (
/boot) for the user domain (512 MB), represented asxvda1in the user domain. - Partition 2 — Where the bios-grub is stored (24.5 GB), represented as
xvda2in the user domain.
- Partition 1 — The boot partition (
- Grub2 image
- Partition 1 — The boot partition (
/boot) for the user domain (512 MB), represented asxvda1in the user domain. - Partition 2 — The EFI boot partition on Oracle Exadata Database MachineX7 and later systems
- Partition 3 — Where the bios-grub is stored (24.5 GB), represented as
xvda3in the user domain.
- Partition 1 — The boot partition (
The pv1_vgexadb.img (/dev/xvdd) disk has 1 partition. The disk partition /dev/xvdd1 is 62 GB in size.
For pre-grub2 images, 2 physical volumes (PVs) are laid on top of the xvda2 and xvdd1 partitions. On grub2 images, 2 physical volumes (PVs) are laid on top of the xvda3 and xvdd1 partitions. A volume group (VgExaDb) of size 86.49G is laid on top of these physical volumes. This volume group contains the following logical volumes (LVMs):
/dev/VGExaDb/LVDbSys1(24 GB) — used for the root file system/. This LVM is confined to thexvda2partition (for pre-grub2 images) or thexvda3partition (for grub2 images)./dev/VGExaDb/LVDbSys2(24 GB) — used fordbnodeupdatebackups./dev/VGExaDb/LVDbOra1(24 GB) — used for the/u01file system which holds thediagnostic_destarea./dev/VGExaDb/LVDbSwap1(16 GB) — used forswap/dev/VGExaDb/LVDbDoNotRemoveOrUse(1 GB) — a reserved LVM used bydbnodeupdate/dev/VGExaDb/LVDbVdnodenamedgname(128 MB) — for the quorum disks.
All but the first and last LVMs in the list above are contained in the xvdd1 partition.
Parent topic: Oracle VM Resources