Tags

11g (5) 12c (6) 18c (3) 19c (4) ASM (1) Critical Patch (11) Data Pump (1) Dataguard (9) Diverse (3) GRID (7) GitLab (2) Linux (8) OEM (2) ORA Errors (13) Oracle (12) RMAN (4)
Showing posts with label Create new xfs Filesystem. Show all posts
Showing posts with label Create new xfs Filesystem. Show all posts

Wednesday, April 27, 2022

Create new xfs Filesystem

 

Create new xfs Filesystem

Add a new Hard Disk to Linux

How do I mount a disk in XFS

PURPOSE: All documents are provided on this Blog just for educational purposes only.  Please make sure that you run it in your test environment before to move on to production environment. 

# First assign a disk via VCenter

# Now we can add and mount new assign disk to the Linux system.

To find which host bus number is relevant.
grep mpt /sys/class/scsi_host/host?/proc_name
/sys/class/scsi_host/host0/proc_name:mptspi   <<== this ist the output

# Scan scsi host device 0
echo "- - -" > /sys/class/scsi_host/host0/scan

# Now you should be able to see the new Disk.
 
fdisk -l
mkfs.xfs /dev/sdb
mkdir /data
mount /dev/sdb /data
df -hl

# Add the entry in the fstab file
vi /etc/fstab
/dev/sdb    /data     xfs     defaults        0 0

Done.

If you want to create ext4 file system. Please use the following steps:

fdisk -l
fdisk /dev/sdc
n
enter
enter 
enter 
p

mkfs.ext4 /dev/sdc1 
blkid

vi /etc/fstab
UUID=832d4328-3dde-4861-b57b-06ce2be7245g       /data        ext4    defaults        0 0


Your comments are most valuable and it would help me to come up with better posts. 

physical standby without duplicate command

physical standby without duplicate command create a physical standby database using RMAN without using duplicate command PURPOSE:   All docu...