ASMCMD CP FROM FILESYSTEM TO ASM TRUNCATES FILE SIZE OVER 2 TB in 12.2
(Doc ID 2443003.1)
Last updated on FEBRUARY 19, 2019
Applies to:Oracle Database - Enterprise Edition - Version 126.96.36.199 and later
Information in this document applies to any platform.
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.
-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
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.
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