My Oracle Support Banner

ASMCMD CP FROM FILESYSTEM TO ASM TRUNCATES FILE SIZE OVER 2 TB in 12.2 (Doc ID 2443003.1)

Last updated on APRIL 17, 2023

Applies to:

Oracle Database - Enterprise Edition - Version 12.2.0.1 and later
Information in this document applies to any platform.

Symptoms

Below file was initially in ASM diskgroup and then moved to OS file system ,Now when trying to place it back in ASM diskgroup it fails to copy entire file as below.

 

$ ls -l
-rw-r----- 1 oracle oinstall 3758096392192 Apr 5 16:48 test.265.934616757==>3.7 TB

Tried to copy back with new ASM installation, plenty of room in ASM disk group:

ASMCMD> cp /oradump/savepdb/test.265.934616757 test
copying /oradump/savepdb/test.265.934616757 -> +data/sanford2015/4744C6696FF93F4EE053ABC0080A86C9/datafile/test
ASMCMD>

But with no error messages, doesn't copy entire file to ASM:

ASMCMD> ls -s
Block_Size Blocks Bytes Space Name
  8192 190316545 1559073136640 1559081517056 test => +DATA/ASM/DATAFILE/test.262.940576351==>1.6 TB around only copied


Deleted partial file, running again produces exact same result. No messages in ASM alert log or elsewhere.

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!


In this Document
Symptoms
Changes
Cause
Solution
References


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