My Oracle Support Banner

"OAKCLI CONFIGURE REPO SHAREDREPO -INCSIZE" Increases The Size Of Another Repository (Doc ID 2310111.1)

Last updated on OCTOBER 05, 2023

Applies to:

Oracle Database Appliance Software - Version 12.1.2.9 and later
Information in this document applies to any platform.

Symptoms

On : 12.1.2.9 version, Appliance Manager

ACTUAL BEHAVIOR
---------------
HW : ODA x5-2
SW : 12.1.2.9.0 (VP)


As you see below, shared repository "sharedrepo" almost has NO free space. So my customer need to increase the size of shared repository "sharedrepo"


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[root@###db2 ~]# oakcli show repo

  NAME TYPE NODENUM FREE SPACE STATE SIZE


  add_nas shared 0 99.88% ONLINE 1048576.0M

  add_nas shared 1 99.88% ONLINE 1048576.0M

  odarepo1 local 0 N/A N/A N/A

  odarepo2 local 1 N/A N/A N/A

  sharedrepo shared 0 4.80% ONLINE 5242880.0M

  sharedrepo shared 1 4.80% ONLINE 5242880.0M <====



[root@###db2 ~]# df -k
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/xvda2 57192344 32341488 21945584 60% /
tmpfs 49465136 1247284 48217852 3% /dev/shm
/dev/xvda1 470844 67336 379197 16% /boot
/dev/xvdb1 96120004 60053268 31184028 66% /u01
/dev/asm/datastore
  65011712 17049872 47961840 27% /u01/app/oracle/oradata/datastore
/dev/asm/datafsvol
  5242880 88496 5154384 2% /odadatafs
/dev/asm/flashdata
  585105408 377286244 207819164 65% /u02/app/oracle/oradata/flashdata
/dev/asm/acfsvol-193 1073741824 2283952 1071457872 1% /cloudfs
/dev/asm/datastore
  2064646144 639295776 1425350368 31% /u01/app/oracle/fast_recovery_area/datastore
/dev/asm/add_nas-22 1073741824 1321840 1072419984 1% /u01/app/sharedrepo/add_nas
/dev/asm/sharedrepo
  5368709120 5111248216 257460904 96% /u01/app/sharedrepo/sharedrepo <=======
/dev/asm/datastore
  12578717696 83155428 12495562268 1% /u02/app/oracle/oradata/datastore

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~



So my customer issued the following command to increase the size of the size of shared repository "sharedrepo" but it failed with the following errors
By the way, as you see below, that command tried to increase the size of the different shared repository "add_nas" , NOT the shared repository "sharedrepo" .


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[root@###db2 ~]# oakcli configure repo sharedrepo -incsize 3072G

OAKERR:8023 ASM Volume could not be deleted for repo
OAKERR:5003 Command execution unsuccessful for Command=/sbin/acfsutil size +3072G /u01/app/sharedrepo/add_nas
  Mountpath Error=/bin/sh: line 1: Mountpath: command not found
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Moreover, as you see below, the size of the different shared repository 'add_nas' was actually increased.


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[root@###db2 ~]# oakcli show repo

  NAME TYPE NODENUM FREE SPACE STATE SIZE


  add_nas shared 0 99.82% ONLINE 4194304.0M

  add_nas shared 1 399.28 ONLINE 1048576.0M

  odarepo1 local 0 N/A N/A N/A

  odarepo2 local 1 N/A N/A N/A

  sharedrepo shared 0 4.80% ONLINE 5242880.0M

  sharedrepo shared 1 4.80% ONLINE 5242880.0M


[root@###db2 ~]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/xvda2 55G 31G 21G 60% /
tmpfs 48G 1.2G 46G 3% /dev/shm
/dev/xvda1 460M 66M 371M 16% /boot
/dev/xvdb1 92G 58G 30G 66% /u01
/dev/asm/datastore
  62G 17G 46G 27% /u01/app/oracle/oradata/datastore
/dev/asm/datafsvol
  5.0G 87M 5.0G 2% /odadatafs
/dev/asm/flashdata
  558G 360G 199G 65% /u02/app/oracle/oradata/flashdata
/dev/asm/acfsvol 1.0T 2.2G 1022G 1% /cloudfs
/dev/asm/datastore
  2.0T 610G 1.4T 31% /u01/app/oracle/fast_recovery_area/datastore
/dev/asm/add_nas-22 4.0T 7.4G 4.0T 1% /u01/app/sharedrepo/add_nas
/dev/asm/sharedrepo
  5.0T 4.8T 246G 96% /u01/app/sharedrepo/sharedrepo
/dev/asm/datastore
  12T 80G 12T 1% /u02/app/oracle/oradata/datastore


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

 

The issue is reproducible in internal machines when using the same shared repo names.

Below is the steps which reproduce the test case:

 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[root@oda1 trace]# oakcli create repo sharedrepo -size 500M -dg DATA

Created Shared Repo : sharedrepo

[root@oda1 trace]# oakcli create repo test -size 500M -dg DATA

Created Shared Repo : test

[root@oda1 trace]# oakcli show repo

NAME TYPE NODENUM FREE SPACE
STATE SIZE

odarepo1 local 0 N/A
N/A N/A

odarepo2 local 1 N/A
N/A N/A

sharedrepo shared 0 74.95%
ONLINE 512.0M

sharedrepo shared 1 74.95%
ONLINE 512.0M

test shared 0 74.95%
ONLINE 512.0M

test shared 1 74.95%
ONLINE 512.0M

[root@oda1 trace]# oakcli configure repo sharedrepo -incsize 500M

OAKERR:8023 ASM Volume could not be deleted for repo
OAKERR:5003 Command execution unsuccessful for Command=/sbin/acfsutil size
+500M /u01/app/sharedrepo/sharedrepo
Mountpath Error=/bin/sh: line 1: Mountpath: command not found

[root@oda1]# oakcli create repo add_nas -size 500M -dg DATA

Created Shared Repo : add_nas

[root@oda1]# oakcli show repo

NAME TYPE NODENUM FREE SPACE
STATE SIZE

add_nas shared 0 74.95%
ONLINE 512.0M

add_nas shared 1 74.95%
ONLINE 512.0M

odarepo1 local 0 N/A
N/A N/A

odarepo2 local 1 N/A
N/A N/A

sharedrepo shared 0 87.47%
ONLINE 1024.0M

sharedrepo shared 1 87.47%
ONLINE 1024.0M

test shared 0 74.95%
ONLINE 512.0M

test shared 1 74.95%
ONLINE 512.0M

[root@oda1 trace]# oakcli configure repo sharedrepo -incsize 500M <<<<<<<<<<<<<

OAKERR:8023 ASM Volume could not be deleted for repo
OAKERR:5003 Command execution unsuccessful for Command=/sbin/acfsutil size+500M /u01/app/sharedrepo/add_nas <<<<<<<<<<<<<
Mountpath Error=/bin/sh: line 1: Mountpath: command not found

[root@oda1 trace]# oakcli show repo

NAME TYPE NODENUM FREE SPACE
STATE SIZE

add_nas shared 0 87.47%
ONLINE 1024.0M <<<<<<<<<<<<< size of add_nas abnormally  increased to 1024.0M from 512.0M
was increased instead.

add_nas shared 1 87.47%
ONLINE 1024.0M

odarepo1 local 0 N/A
N/A N/A

odarepo2 local 1 N/A
N/A N/A

sharedrepo shared 0 87.47%
ONLINE 1024.0M

sharedrepo shared 1 87.47%
ONLINE 1024.0M

test shared 0 74.95%
ONLINE 512.0M

test shared 1 74.95%
ONLINE 512.0M

 

 

Where as acfsutil command itself works fine.

[root@oda1 ~]# oakcli show repo

NAME TYPE NODENUM FREE SPACE
STATE SIZE

add_nas shared 0 87.47%
ONLINE 1024.0M

add_nas shared 1 87.47%
ONLINE 1024.0M

odarepo1 local 0 N/A
N/A N/A

odarepo2 local 1 N/A
N/A N/A

sharedrepo shared 0 74.95%
ONLINE 512.0M

sharedrepo shared 1 74.95%
ONLINE 512.0M

[root@oda1 ~]# /sbin/acfsutil size +500M /u01/app/sharedrepo/sharedrepo <<<<<<<<<<<<<<<<<
acfsutil size: new file system size: 1073741824 (1024MB)

[root@oda1 ~]# oakcli show repo

NAME TYPE NODENUM FREE SPACE
STATE SIZE

add_nas shared 0 87.47%
ONLINE 1024.0M

add_nas shared 1 87.47%
ONLINE 1024.0M

odarepo1 local 0 N/A
N/A N/A

odarepo2 local 1 N/A
N/A N/A

sharedrepo shared 0 87.47%
ONLINE 1024.0M <<<<<<<<<<<<<<<<<

sharedrepo shared 1 87.47%
ONLINE 1024.0M

 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

 

Changes

 No changes.

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.