[oracle@o3 database]$ ./runInstaller -silent -responseFile /home/oracle/response/db_install.rsp -ignorePrereq
Starting Oracle Universal Installer...
Checking Temp space: must be greater than 120 MB. Actual 4935 MB Passed
Checking swap space: must be greater than 150 MB. Actual 2047 MB Passed
Preparing to launch Oracle Universal Installer from /tmp/OraInstall2020-01-01_08-38-42AM. Please wait...[FATAL][INS-32025] The chosen installation conflicts with software already installed in the given Oracle home.
CAUSE: The chosen installation conflicted with software already installed in the given Oracle home.
ACTION: Install into a different Oracle home.
[FATAL][INS-32021] Insufficient disk space on this volume for the selected Oracle home.
CAUSE: The selected Oracle home was on a volume without enough disk space.
ACTION: Choose a location for Oracle home that has enough space (minimum of 4,812MB) or free up space on the existing volume.
[oracle@o3 database]$ [FATAL][INS-32025] The chosen installation conflicts with software already installed in the given Oracle home.
CAUSE: The chosen installation conflicted with software already installed in the given Oracle home.
ACTION: Install into a different Oracle home.
#谷歌翻译:#[INS-32025]所选的安装与给定Oracle主页中已经安装的软件冲突。# 原因:所选安装与给定Oracle主目录中已安装的软件冲突。# 操作:安装到另一个Oracle主目录中。#[FATAL] [INS-32021]该卷上没有足够的磁盘空间用于所选Oracle主目录。# 原因:所选的Oracle主目录位于没有足够磁盘空间的卷上。# 操作:为Oracle主目录选择一个具有足够空间(至少4,812MB)的空间,或者释放现有卷上的空间。#[oracle @ o3数据库] $ [致命] [INS-32025]所选的安装与给定Oracle主页中已经安装的软件冲突。# 原因:所选安装与给定Oracle主目录中已安装的软件冲突。# 操作:安装到另一个Oracle主目录中。#根分区扩容[oracle@o3 database]$ lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 20G 0 disk
├─sda1 8:1 0 1G 0 part /boot
└─sda2 8:2 0 19G 0 part
├─centos-root 253:0 0 17G 0 lvm /
└─centos-swap 253:1 0 2G 0 lvm [SWAP]
sr0 11:0 1 1024M 0 rom
[oracle@o3 database]$ df -Th /work/oracle/
Filesystem Type Size Used Avail Use% Mounted on
/dev/mapper/centos-root xfs 17G 12G 5.1G 71% /
#加磁盘,重启机器,刷新分区表,重新分区[root@o3 ~]# partprobe [root@o3 ~]# lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 20G 0 disk
├─sda1 8:1 0 1G 0 part /boot
└─sda2 8:2 0 19G 0 part
├─centos-root 253:0 0 17G 0 lvm /
└─centos-swap 253:1 0 2G 0 lvm [SWAP]
sdb 8:16 0 10G 0 disk
sr0 11:0 1 1024M 0 rom
[root@o3 ~]# fdisk -l ..
Device Boot Start End Blocks Id System
/dev/sda1 * 2048 2099199 1048576 83 Linux
/dev/sda2 2099200 41943039 19921920 8e Linux LVM
#一路默认,改系统类型[root@o3 ~]# fdisk /dev/sdb
Welcome to fdisk(util-linux 2.23.2).
Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.
Device does not contain a recognized partition table
Building a new DOS disklabel with disk identifier 0x34696258.
Command (m for help): n
Partition type:
p primary (0 primary, 0 extended, 4 free)
e extended
Select (default p): p
Partition number (1-4, default 1):
First sector (2048-20971519, default 2048):
Using default value 2048
Last sector, +sectors or +size{
K,M,G}(2048-20971519, default 20971519):
Using default value 20971519
Partition 1 of type Linux and of size 10 GiB is set
Command (m for help): t
Selected partition 1
Hex code (type L to list all codes): 8e
Changed type of partition 'Linux' to 'Linux LVM'
Command (m for help): p
Device Boot Start End Blocks Id System
/dev/sdb1 2048 20971519 10484736 8e Linux LVM
Command (m for help): w
#lvm扩容,刷新文件系统[root@o3 ~]