Hello, I have a demo environment on prem where I am trying to test the litigation endpoint using ONTAP rest api.
So far I am stuck with the configuration. At the moment I am getting this error message:
HTTPError('500 Server Error: Internal Server Error for url: https://x.x.x.x:443/api/storage/snaplock/litigations'): Audit logging is not configured for SVM "svm0".
I am trying to make an audit log configuration with the following command on the console:
DataONTAP9::> vserver audit create -vserver svm0 -destination /audit_vol/audit_log -rotate-size 100MB -rotate-limit 5
I get back this error:
Error: command failed: Failed to create audit configuration for Vserver "svm0". Reason: [Job 710] Job failed: Metadata verification failed. [Job 728] Job failed: Failed to create the volume on node "DataONTAP9-01". Reason: Request to create volume "MDV_aud_f4677e109c8f4725aed8970f855d46c0" failed because there is not enough space in aggregate "aggr0_DataONTAP9_01". Either create 1.68GB of free space in the aggregate or select a size of at most 341MB for the new volume.
Vserver details:
DataONTAP9::> volume show -vserver svm0
Vserver Volume Aggregate State Type Size Available Used%
svm0 audit_vol audit_aggr online RW 526.3MB 499.7MB 0%
svm0 svm0_root verba_aggr online RW 20MB 17.54MB 7%
svm0 verba_vol verba_aggr online RW 2.50GB 2.28GB 4%
3 entries were displayed.
Junction details:
DataONTAP9::> volume show -vserver svm0 -volume * -fields junction-path vserver volume junction-path
svm0 audit_vol /audit_vol
svm0 svm0_root /
svm0 verba_vol /verba_vol
3 entries were displayed.
What else should I check or provide?