My Oracle Support Banner

Huge difference in used space between "du" and "acfs util snapinfo" (Doc ID 2468291.1)

Last updated on FEBRUARY 19, 2019

Applies to:

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

Symptoms

acfsutil snap info is showing snapshot usage around 1.69TB where as "du" reports the usage as 235GB

[root@test ~]# df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/xvda2             55G   35G   18G  67% /
tmpfs                  48G  1.2G   46G   3% /dev/shm
/dev/xvda1            452M   59M  371M  14% /boot
/dev/xvdb1             92G   51G   37G  59% /u01
/dev/asm/datastore-231
                     2.1T  2.0T   53G  98% /u02/app/datastore

 

 

 

 root@test datastore]# acfsutil snap info /u02/app/datastore
snapshot name:               TEST1
snapshot location:           /u02/app/datastore/.ACFS/snaps/TEST1
RO snapshot or RW snapshot:  RW
parent name:                 /u02/app/datastore
snapshot creation time:      Thu Jul 19 21:59:34 2018

snapshot name:               TEST2
snapshot location:           /u02/app/datastore/.ACFS/snaps/TEST2
RO snapshot or RW snapshot:  RW
parent name:                 /u02/app/datastore
snapshot creation time:      Mon Jul 30 14:41:38 2018

snapshot name:               TEST3
snapshot location:           /u02/app/datastore/.ACFS/snaps/TEST3
RO snapshot or RW snapshot:  RW
parent name:                 /u02/app/datastore
snapshot creation time:      Thu Jan  4 11:25:03 2018

snapshot name:               TEST4
snapshot location:           /u02/app/datastore/.ACFS/snaps/TEST4
RO snapshot or RW snapshot:  RW
parent name:                 /u02/app/datastore
snapshot creation time:      Thu Feb  8 15:30:01 2018

snapshot name:               TEST5
snapshot location:           /u02/app/datastore/.ACFS/snaps/TEST5
RO snapshot or RW snapshot:  RW
parent name:                 /u02/app/datastore
snapshot creation time:      Thu Jan  4 19:25:59 2018

   number of snapshots:  5
   snapshot space usage: 1866378080256  (   1.69 TB )

 

 

[root@test ~]# cd /u02/app/datastore/.ACFS/snaps/
[root@test snaps]# du -h --max-depth=1
4.0K ./TEST1
1.8G ./TEST2
17G ./TEST3
194G ./TEST4
23G ./TEST5
235G .

 

 

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.