Skip to main content

Posts

Step-by-Step Guide to Creating an LVM Partition on Linux

Step-by-Step Guide to Creating an LVM Partition on Linux Logical Volume Manager (LVM) provides flexibility and manageability for disk storage on Linux systems. It allows for easy management of storage volumes, such as creating logical partitions that can be dynamically resized. You can create an LVM partition on Linux and leverage the flexibility and manageability provided by Logical Volume Manager. LVM allows you to dynamically manage storage volumes, making it easier to resize, extend, and manage disk space as your needs evolve. Take advantage of LVM's capabilities to optimize your storage management in Linux. In this step-by-step guide, I will walk through the process of creating an LVM partition on Linux. Step 1: Check Available Disks To begin, check the available disks on your system using the lsblk or fdisk -l command. Identify the disk you want to use for creating the LVM partition. Example : Let's take /dev/sdb as the disk Step 2: Partition the Disk Use a partitioning t...

Expand an existing Virtual Disk in Linux 7 Virtual Machine VM

Expand an existing Disk in Linux 7 Virtual Machine VM In this post I am going to share how to extend an existing disk and increase its size. This whole process is online and no downtime involved. Steps: 1) Identify the disk which needs to be extended. root@funebs122:~# df /dev/mapper/vg01_funebs122- lvol0                          157205508 151190476   6015032  97% /u01 lsblk root@funebs122:/var/log# fdisk -l /dev/sdd Disk /dev/sdd: 161.1 GB, 161061273600 bytes, 314572800 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes   2) Identify the SCSI ID using below command for the disk. I have highlighted the ID. root@funebs122:/var/log# udevadm info --query=all --name=/dev/sdd P: /devices/pci0000:00/0000:00: 15.0/0000:03:00.0/host0/ target0:0:2/0:0:3:2/block/sdd N: sdd S: disk/by-id/lvm-pv-uuid- gasyg52-bIv2-t1Yr-gs...

Enabling and Disabling Flashback in 19c Database

Enabling and Disabling Flashback in 19c Database Flashback in Oracle 19c is a feature that allows you to view and recover data at a specific point in time, providing a way to undo changes made to the database. It enables you to perform various operations such as querying historical data, recovering dropped tables, and reverting database changes. To enable Flashback in an Oracle 19c database, you need to e nsure the following pre-requisites Database is running in ARCHIVELOG mode. Flashback requires the database to be in ARCHIVELOG mode to store and retrieve archived redo logs. Error which we will get when enabling in non-archive mode. ALTER DATABASE FLASHBACK ON * ERROR at line 1: ORA-38706: Cannot turn on FLASHBACK DATABASE logging. ORA-38707: Media recovery is not enabled. Also sufficient undo tablespace should be available to support Flashback operations. Make sure that the undo tablespace has enough free space. Set DB parameters Set the db_recovery_file_dest_size parameter alter s...

Configuring Parallel Concurrent Processing PCP in Oracle Apps (EBS) 12.2

Configuring Parallel Concurrent Processing PCP in EBS 12.2.x I am sharing  steps to configure Parallel Concurrent Processing PCP in an EBS 12.2 environments. Steps: 1. Edit the applications context file via Oracle Applications Manager, and set the value of the variable APPLDCP to ON. Set the value of s_appldcp to ON for both Nodes (funebsapp1 & funebsapp2) on both RUN & PATCH file system context files. funebsapp1 & funebsapp2 : on Run File System [applmgr ~]$ grep APPLDCP $CONTEXT_FILE <APPLDCP oa_var="s_appldcp">ON</APPLDCP> funebsapp1 & funebsapp2 : on Patch File System [applmgr ~]$ grep APPLDCP $CONTEXT_FILE <APPLDCP oa_var="s_appldcp">ON</APPLDCP> 2. Execute AutoConfig by running the following command on all concurrent processing nodes: [applmgr@funebsapp2 ~]$ echo $FILE_EDITION Run [applmgr@funebsapp2 ~]$ adautocfg.sh funebsapp1: [applmgr@funebsapp1 appl]$ echo $FILE_EDITION Run [applmgr@funebsapp1 appl]$ adautocfg.sh 3. ...

Understanding the Power of Oracle DataGuard: Ensuring High Availability and Data Protection

Understanding the Power of Oracle DataGuard: Ensuring High Availability and Data Protection In today's digital world, businesses rely heavily on the uninterrupted availability of their critical data. Downtime and data loss can lead to significant financial and reputational consequences. To mitigate these risks, enterprises seek robust solutions that provide both high availability and data protection. This is where Oracle DataGuard comes into play, offering a comprehensive disaster recovery solution for Oracle databases. In this blog post, we will explore the key features and benefits of Oracle DataGuard, highlighting its ability to ensure uninterrupted data accessibility and protection. 1. Unleashing the Power of Oracle DataGuard: Oracle DataGuard is a powerful feature built into Oracle Database Enterprise Edition, designed to protect critical data against various forms of outages, including human errors, hardware failures, natural disasters, or system glitches. It leverages real-t...

ORA-20100: Temporary file creation for FND_FILE failed

ORA-20100: Temporary file creation for FND_FILE failed In 19c database for EBS R12.2 , we are getting below error while run jobs or creating files. ORACLE error 20100 in FDPSTP Cause: FDPSTP failed due to ORA-20100: ORA-20100: Temporary file creation for FND_FILE failed. The ORA-20100 error in Oracle E-Business Suite indicates that the temporary file creation for FND_FILE has failed. Solution: 1) Make sure UTL file dir is setup correctly as below Click Here 2) First value from below SQL should match to value of $APPLPTMP environment parameter. select value from apps.v$parameter where name = 'utl_file_dir'; 3) Event 10946 should be set at Container Database (CDB) level, as explained in Note 2525754.1: alter system set events '10946 trace name context forever, level 8454144'; alter system set event='10946 trace name context forever, level 8454144' scope=spfile;   4) Bounce application and database after setting the event. 5) Provide grant by executing below comman...

Cannot access gvfs Transport endpoint is not connected

Cannot access gvfs Transport endpoint is not connected While doing df -h getting below error: df -h df: â/run/user/0/gvfsâ: Transport endpoint is not connected Filesystem Size Used Avail Use% Mounted on /dev/mapper/ol-root 40G 6.7G 34G 17% / devtmpfs 3.8G 0 3.8G 0% /dev tmpfs 3.8G 172K 3.8G 1% /dev/shm tmpfs 3.8G 494M 3.3G 13% /run Solutions: The error message "ls: cannot access 'gvfs': Transport endpoint is not connected" typically occurs when there is an issue with the GVFS (GNOME Virtual File System) service in Linux. GVFS is responsible for providing a virtual file system layer that allows applications to access files and folders Solution 1: cd /run/user/0 fusermount -zu gvfs For me this solution fixed the problem Solution 2: Restart the GVFS service: Restarting the GVFS service may resolve the problem. You can do this by restarting the corresponding service using the following command: systemctl --user restart gvfs-goa-volume-monitor.service Solution 3: gvfsd --k...