Skip to Main Content

Infrastructure Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Copied file size decreased

User_WVX53Oct 28 2015 — edited Oct 30 2015

Hi all,

I have a strange issue in copying file from server's local disk to SunStorage's disk. Please see below, my background :

Problem :

Copied several Oracle DB backup files from server's local disk to SunStorage's disk (from rpool to disk_pool) and all files copied without an error. But when I see file sizes on source and destination side, dest file size is too smaller than source. So I cannot restore Oracle DB caused by this issue. Also there are a few commands to display file size like :

# du -sh

# ls -lh

# ls -ltr


If I use ls -lh file size is correct and if use du -sh command destination file size is smaller than source. Does anybody know difference of these commands?

OS :

Solaris 10 with update on 2014-09-01

FileSystem :
ZFS

Pool info :

**************************************************************************************************

bash-3.2# zpool list

NAME        SIZE  ALLOC   FREE  CAP  HEALTH  ALTROOT

disk_pool  1.62T   199G  1.43T  11%  ONLINE  -                 (allocated from SunStorage 2540 M2 array)

rpool       125G   102G  22.9G  81%  ONLINE  -                   (server's local disk)

**************************************************************************************************


Also I did some test.

- Copied image and text file from local disk to SunStorage's disk without any issue and file size is correct. Also I can see full content of the image and text files correctly on destination side.

- Checked SunStorage health and there is no issue.


Please share your practices. Thanks

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 27 2015
Added on Oct 28 2015
5 comments
1,146 views