• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer navigation

The Geek Diary

  • OS
    • Linux
    • CentOS/RHEL
    • Solaris
    • Oracle Linux
    • VCS
  • Interview Questions
  • Database
    • oracle
    • oracle 12c
    • ASM
    • mysql
    • MariaDB
  • DevOps
    • Docker
    • Shell Scripting
  • Big Data
    • Hadoop
    • Cloudera
    • Hortonworks HDP

Archives for March 2018

How to create partitions inside loopback device

by admin

In most of the situations you would simply create a loopback device using “losetup” and mount it using the “-o loopback” options. But if you want to create a loopback file, want to partition it, and finally mount a subpartition, this option can not be used. Let see how you can create partitions inside a […]

Filed Under: CentOS/RHEL 5, CentOS/RHEL 6, CentOS/RHEL 7, Linux

How to create virtual block device (loop device/filesystem) in Linux

by admin

Linux supports a special block device called the loop device, which maps a normal file onto a virtual block device. This allows for the file to be used as a “virtual file system” inside another file. With Linux it’s possible to create a file-system inside a single file. These storage devices are available as device […]

Filed Under: CentOS/RHEL 5, CentOS/RHEL 6, CentOS/RHEL 7, Linux

How to Move OCR, Vote Disk File, ASM SPILE to new Diskgroup

by admin

The goal here is to move OCR, voting disk file and ASM spfile in a Grid Infrastructure with RAC cluster to a new ASM disk group. One example would be that you have created these components in the +DATA diskgroup and you wish to move the OCR, Vote File and ASM spfile to a NORMAL […]

Filed Under: ASM, oracle, Oracle 11g, oracle 12c

How to Migrate ASM Disk Groups to another Storage Online [non ASMLIB Devices]

by admin

The post explains in detail the exact steps to migrate ASM diskgroups from one storage to another storage without a downtime. This procedure will also work for diskgroups hosting OCR and Votefiles and ASM spfile. Note: These steps are applicable to External, Normal & High redundancy diskgroups. If your plans are replacing the current disks […]

Filed Under: ASM, oracle

How To Add New Disk to An Existing Diskgroup on RAC Cluster or Standalone ASM Configuration

by admin

You have a ASM diskgroup which is about to be full and you need to add new disk to that disk group. Before adding any disk to the disk group you can perform few validation steps to validate whether the candidate disk(s) is/are in good shape and can be accessed from each node (without harming […]

Filed Under: ASM, Linux, oracle

How to Migrate ASM Disk Groups to another Storage Online [When ASMLIB Devices Are Involved]

by admin

The post explains in detail the exact steps to migrate ASM diskgroups (when using ASMLIB devices) from one storage to another storage without a downtime. This procedure will also work for diskgroups hosting OCR, Vote files and ASM spfiles. Note: These steps are applicable to External, Normal & High redundancy diskgroups. Creating New ASM disks […]

Filed Under: ASM, oracle

How to move ASM spfile to a different disk group

by admin

Question When the ASM was first installed the spfile was placed in the default Disk Group (e.g. +DATA). The requirement now is to move the spfile to a different diskgroup. Method 1 : Using “asmcmd spcopy” Copying the spfile Shown below is an example of moving spfile with the “asmcmd spcopy” utility on Oracle Restart […]

Filed Under: ASM, oracle

How To Open A Port In CentOS / RHEL 7

by admin

A TCP/IP network connection may be either blocked, dropped, open, or filtered. These actions are generally controlled by the IPtables firewall the system uses and is independent of any process or program that may be listening on a network port. This post will outline the steps to open a port required by a application. For […]

Filed Under: CentOS/RHEL 7, Linux

How to use “btrfs device” comamnd to add/delete device to/from btrfs filesystem

by admin

Btrfs is an open-source, general-purpose file system for Linux. The name derives from the use of B-trees to store internal file system structures. Different names are used for the file system, including “Butter F S” and “B-tree F S.” Development of Btrfs began at Oracle in 2007, and now a number of companies (including Red […]

Filed Under: CentOS/RHEL 6, CentOS/RHEL 7, Linux

How to use “btrfs scrub” command to manage scrubbing on Btrfs file systems

by admin

You can initiate a check of the entire file system by triggering a file system scrub job. The scrub job runs in the background by default and scans the entire file system for integrity. It automatically attempts to report and repair any bad blocks that it finds along the way. Instead of going through the […]

Filed Under: CentOS/RHEL 6, CentOS/RHEL 7, Linux

Next Page »

Primary Sidebar

Recent Posts

  • ncat Command Examples in Linux
  • ncat: command not found
  • nautilus Command Examples in Linux
  • namei: command not found

© 2023 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright