Subscribe

df -h command

[ Edited ]

I wanted to see all the comumed of volumes in an aggregate

 

i ran df -h and saw the following 

 


Filesystem                                            total             used                   availcapacity                               Mounted on
/vol/ExchMngrsDb7/                            1295GB      1252GB              43GB       97%                             /vol/ExchMngrsDb7/
/vol/ExchMngrsDb7/.snapshot        68GB        485GB            0GB       713%                       /vol/ExchMngrsDb7/.snapshot

 

What I dont Understand is the .snapshot

 

Total is 68GB 

Used is 485 How ?

Availablecap is 0GB 713 % ??

 

 

 

can any one explain me this ? 

Re: df -h command

it's precentage from the snap reserve

 

FASNOD01DV> snap reserve oracle_backups_export_01_02
Volume oracle_backups_export_01_02: current snapshot reserve is 1% or 107374180 k-bytes.

 

FASNOD01DV> df -h oracle_backups_export_01_02
Filesystem               total       used      avail capacity  Mounted on
/vol/oracle_backups_export_01_02/    10137GB     2694GB     1407GB      86%  /vol/oracle_backups_export_01_02/
/vol/oracle_backups_export_01_02/.snapshot      102GB      194GB        0GB     190%  /vol/oracle_backups_export_01_02/.snapshot


FASNOD01DV> snap reserve oracle_backups_export_01_02 5


FASNOD01DV> df -h oracle_backups_export_01_02
Filesystem               total       used      avail capacity  Mounted on
/vol/oracle_backups_export_01_02/     9728GB     2602GB     1407GB      86%  /vol/oracle_backups_export_01_02/
/vol/oracle_backups_export_01_02/.snapshot      512GB      194GB      317GB      38%  /vol/oracle_backups_export_01_02/.snapshot

 

Gidi

Re: df -h command

Mine shows this 

 

netappctrl1> snap reserve ExchangeMBLogs7
Volume ExchangeMBLogs7: current snapshot reserve is 10% or 125627792 k-bytes.

 

 

df -h ExchangeMBLogs7
Filesystem total used avail capacity Mounted on
/vol/ExchangeMBLogs7/ 1078GB 730GB 347GB 68% /vol/ExchangeMBLogs7/
/vol/ExchangeMBLogs7/.snapshot 119GB 401GB 0GB 335% /vol/ExchangeMBLogs7/.snapshot

 

 

I want to know how its calculating 335 % ?

Re: df -h command

Hi

 

The filer calculated 10% of your 1078GB  as 119GB (or 125627792 k-bytes per the command output).
googles says that  335% of 119 is almost 400. – make sense for the snapshot you got I guess

 

i really don't see how this % figure as itself make any difference for you.
If you trying to save space – look on the snapshot themselves. if you have a deeper concern share it so we can help

 

Gidi

Re: df -h command

I will share exactly what I need.

 

We have Snapmanager  for exchange through which we take backups and retention is " Do not Delete and Backups" but still I see only last 10 days backups,  with my knowledge I went to the volume and checked the snapshots.

 

There are 10 snapshots same as they are shown in the Snap Manager for Exchange which means if I increase more snapshot space I would see more backups in the snapmanager for exchange.

 

 

Re: df -h command

[ Edited ]

Hi

 

 

Snap reserve is not about how much you allow the snapshot to grow. it's about how much you allow the data to grow (and by that. reserving space for snapshots).  

 

Two main things that might causes this:

A. snap autodelete   (ther's a cmmnd as such follow by a vol name)

B. you have another job configured with less retention (like weekly one, or in another node in the DAG) that myabe deleted it.   there was also a few SME bugs with the retention. but the first option i sueggested is very likelly to what you describe..

 

if that still not the solution. need to look on /etc/ems for what deletes it. if it's point to ZAPI look on the SME backup report to see if it's coming from there or not

 

Gidi

Re: df -h command

[ Edited ]

I have 3 backups 

 

Daily

Weekly and standard

 

 

 Daily 

 

"C:\Program Files\NetApp\SnapManager for Exchange\SMEJobLauncher.exe" new-backup -Server 'CIGEX7' -ManagementGroup 'Daily' -NoTruncateLogs $False -RetainBackups 8 -StorageGroup 'First Storage Group','Second Storage Group','Finance Storage','HR Storage','Accountant Group','Pharma Group','Sales Group' -Verify  -VerificationServer 'cigex7' -UpdateMirror  -UseMountPoint  -MountPointDir 'C:\Program Files\NetApp\SnapManager for Exchange\SnapMgrMountPoint' -BackupCopyRemoteCCRNode $False.

 

It means keep last 8 backups 

 

Weekly

 

"C:\Program Files\NetApp\SnapManager for Exchange\SMEJobLauncher.exe" new-backup -Server 'CIGEX7' -ManagementGroup 'Weekly' -NoTruncateLogs $False -RetainBackups 5 -StorageGroup 'First Storage Group','Second Storage Group','Finance Storage',''HR Storage','Accountant Group','Pharma Group','Sales Group' -Verify  -VerificationServer 'cigex7' -UpdateMirror  -UseMountPoint  -MountPointDir 'C:\Program Files\NetApp\SnapManager for Exchange\SnapMgrMountPoint' -BackupCopyRemoteCCRNode $False

 

It means keep last 5 backups 

 

 

Standard (Monthly)

 

 

"C:\Program Files\NetApp\SnapManager for Exchange\SMEJobLauncher.exe" new-backup -Server 'CIGEX7' -ManagementGroup 'Standard' -NoTruncateLogs $False -RetainBackups 13 -StorageGroup 'First Storage Group','Second Storage Group','Finance Storage','Accountant Group','Pharma Group','Sales Group' -Verify  -VerificationServer 'cigex7' -UpdateMirror  -UseMountPoint  -MountPointDir 'C:\Program Files\NetApp\SnapManager for Exchange\SnapMgrMountPoint' -BackupCopyRemoteCCRNode $False

 

It means keep last 13 backups 

 

 

 

What I am doing wrong here ?? 

 

 

Thanks once again for guiding me and helping out 

 

Re: df -h command

Hi

 

Have you checked the “sanp autodelete ExchMngrsDb7” command?

by the look - these shouldn’t be clashing.  And with this configuration if you only see 10 days back ,it’s likely being deleted by chronologic process rather a controlled process like SME. 

Next place to look is EMS logs \\filer\etc$\log\ems to see what delete these.

 

Gidi

Re: df -h command

[ Edited ]

here is what snap autodelete says

 

snapshot autodelete settings for ExchMngrsDb7:
state : off
commitment : try
trigger : volume
target_free_space : 20%
delete_order : oldest_first
defer_delete : user_created
prefix : (not specified)
destroy_list : none

 

 

EMS log doesnt shows much still I am attaching it for you in case if I am not able to see something which you can

Re: df -h command

Hi

 

i don't see the file. but try serching the volume name in. every snapshot delete should be there.   (old EMS files are called EMS.0  / EMS.1 / EMS.2)

 

Gidi