Exadata Create logical U02 from free Volume Group

Hi,

You will need extra local filesystem in Exadata x7,x6,x5 to take backup or export and something like that.

You can mount u02 or oradata from free space of volume group of Exadata per node.

You can do this steps not only exadata but also for all linux systems. If there is any free space on volume group, you can create new mount point from this free volume group.

1. We check the free disk space on the exadata Node.

[root@Devecidbadm02 ~]# vgdisplay
--- Volume group ---
VG Name VGExaDb
System ID 
Format lvm2
Metadata Areas 1
Metadata Sequence No 5
VG Access read/write
VG Status resizable
MAX LV 0
Cur LV 4
Open LV 3
Max PV 0
Cur PV 1
Act PV 1
VG Size 1.63 TiB
PE Size 4.00 MiB
Total PE 428309
Alloc PE / Size 47104 / 184.00 GiB
Free PE / Size 381205 / 1.45 TiB
VG UUID 7Qwzhd-3La6-8eWB-OJdM-6Cdf-MvCZ-EpKQdX

 

2.  Create /u02 directory for the mount point.

[root@Devecidbadm02 ~]# mkdir /u02

 

3. create logical volume from free volume group.

[root@Devecidbadm02 ~]# lvcreate --name u02 --size 1400g VGExaDb
Logical volume "u02" created

 

4.Format logical volume like below.

[root@Devecidbadm02 ~]# mke2fs -j /dev/VGExaDb/u02
mke2fs 1.43-WIP (20-Jun-2013)
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
Stride=0 blocks, Stripe width=0 blocks
78643200 inodes, 314572800 blocks
15728640 blocks (5.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=4294967296
9600 block groups
32768 blocks per group, 32768 fragments per group
8192 inodes per group
Superblock backups stored on blocks: 
32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208, 
4096000, 7962624, 11239424, 20480000, 23887872, 71663616, 78675968, 
102400000, 214990848

Allocating group tables: done 
Writing inode tables: done 
Creating journal (32768 blocks): done
Writing superblocks and filesystem accounting information: done

 

5. Now we can mount the logical volume as /u02

[root@Devecidbadm02 ~]# mount /dev/VGExaDb/u02 /u02

 

6. You can check it is mounted like below.

[root@Devecidbadm02 ~]# df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/mapper/VGExaDb-LVDbSys1
                       30G   13G   16G  47% /
tmpfs                 252G   13G  240G   5% /dev/shm
/dev/sda1             504M   40M  439M   9% /boot
/dev/mapper/VGExaDb-LVDbOra1
                       99G   63G   31G  67% /u02
/dev/mapper/VGExaDb-u02
                      1.2T  199M  1.1T   1% /u02





 

Do you want to learn Exadata detailed, then read the following articles.

Oracle Exadata Tutorials for Beginners – Magic Database Machine

 

 

Do you want to learn Oracle Database for Beginners, then read the following articles.

https://ittutorial.org/oracle-database-19c-tutorials-for-beginners/

About Mehmet Salih Deveci

I am Founder of SysDBASoft IT and IT Tutorial and Certified Expert about Oracle & SQL Server database, Goldengate, Exadata Machine, Oracle Database Appliance administrator with 10+years experience.I have OCA, OCP, OCE RAC Expert Certificates I have worked 100+ Banking, Insurance, Finance, Telco and etc. clients as a Consultant, Insource or Outsource.I have done 200+ Operations in this clients such as Exadata Installation & PoC & Migration & Upgrade, Oracle & SQL Server Database Upgrade, Oracle RAC Installation, SQL Server AlwaysOn Installation, Database Migration, Disaster Recovery, Backup Restore, Performance Tuning, Periodic Healthchecks.I have done 2000+ Table replication with Goldengate or SQL Server Replication tool for DWH Databases in many clients.If you need Oracle DBA, SQL Server DBA, APPS DBA,  Exadata, Goldengate, EBS Consultancy and Training you can send my email adress [email protected].-                                                                                                                                                                                                                                                 -Oracle DBA, SQL Server DBA, APPS DBA,  Exadata, Goldengate, EBS ve linux Danışmanlık ve Eğitim için  [email protected] a mail atabilirsiniz.

Leave a Reply

Your email address will not be published. Required fields are marked *