The document provides instructions for extending the root filesystem on an Oracle VMware virtual machine. It involves shutting down the server, adding a new virtual hard disk in VMware, partitioning the new disk, extending the logical volume and volume group to use the new disk space, and validating the expanded filesystem. The key steps are to add a new virtual disk, repartition it, extend the logical volume and volume group to incorporate the new disk, and verify the expanded filesystem.
1 of 9
Download to read offline
More Related Content
Extend rootfile system Oracle Vmware
1. MUKUL, MONOWAR 1
EXTEND ROOT FILESYSTEM ORACLE VMWARE
Shutdown the server
# shutdown -h now
select the machine racdb01, click Settings -> Storage.
Select Controller SATA and click on the Add Hard Disk button:
3. MUKUL, MONOWAR 3
EXTEND ROOT FILESYSTEM ORACLE VMWARE
Put VDI (VirtualBoxDiskImage) selectedandclick Next.
select Fixedsize and click Next.
4. MUKUL, MONOWAR 4
EXTEND ROOT FILESYSTEM ORACLE VMWARE
Change the location - racdb01 (ASM folder previously created) .
Enter disk name and size | Click Create.
See the Progress
For more DISKS -- Repeat the steps
5. MUKUL, MONOWAR 5
EXTEND ROOT FILESYSTEM ORACLE VMWARE
Completed above steps for racdb1 server
Re-partitionVirtual Hard Disk
Login to virtual machine as root
Execute below command to check the disk space
6. MUKUL, MONOWAR 6
EXTEND ROOT FILESYSTEM ORACLE VMWARE
Create a new partion,
Execute the commands in the below sequence.
create physical & logical volumes.
pvcreate command to create physical volume
vgdisplay command to get the name of current Volume Group
7. MUKUL, MONOWAR 7
EXTEND ROOT FILESYSTEM ORACLE VMWARE
Extend the Volume Group
+ with /dev/sdb3
Get Logical Volume path.
8. MUKUL, MONOWAR 8
EXTEND ROOT FILESYSTEM ORACLE VMWARE
Extend the Logical Volume
+ with /dev/sda3
Update the Logical Volume
Find out that LVM is using xfs as their file system.
NOTE: So instead of using the resize2fs command I had to use the xfs_growfs command.