oradev01:NOTSET:/opt/oracle $ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/VGExaDb-LVDbSys1
30G 24G 4.2G 86% /
tmpfs 253G 124M 253G 1% /dev/shm
/dev/sda1 504M 42M 437M 9% /boot
/dev/mapper/VGExaDb-LVDbOra1
/dev/asm/goldengate-303
500G 46G 455G 10% /goldengate
/dev/asm/gg_vol-303 20G 19G 1G 99% /u01/app/oracle/acfsmount/gg_ vol
/dev/asm/acfs_expdir-303
2.0T 1.2T 920G 56% /export
Set env to +ASM1 and login to sysasm and check with below sql
SQL> select FS_NAME, VOL_DEVICE, TOTAL_MB , FREE_MB from V$ASM_ACFSVOLUMES;
FS_NAME VOL_DEVICE TOTAL_MB FREE_MB
------------------------------ --- ------------------------------ --- ------------------ ----------
/goldengate /dev/asm/goldengate-303 512000 46072.625
/u01/app/oracle/acfsmount/gg_ vol /dev/asm/gg_vol-303 20480 2.19140625
/export /dev/asm/acfs_expdir-303 2097152 938916.852
Now, Trying to resize ACFS (removing 500G from 2TB)
oradev01:NOTSET:/opt/oracle $ /sbin/acfsutil size -500G -d /dev/asm/acfs_expdir-303 /export
acfsutil size: ACFS-03006: smallest size, without loss of data, is: 2193043226624 (2091449MB)
oradev01:NOTSET:/opt/oracle $ acfsutil version
acfsutil version: 12.1.0.2.0
SOLUTION:
As per Oracle DOC ID 1597710.1 it is not possible to resize ACFS so the work around is to delete the filesystem and create with the required storage
Ref more:
ACFSUTIL resize operation fails with "ACFS-03006: smallest size" (Doc ID 1597710.1)