#Is there a way to check on the progress of SLAG application

1 messages · Page 1 of 1 (latest)

subtle bough
#

I've applied a SLAG to a volume. I can't figure out a way to check whether is is still running, not running, or out for a walk... 😉 Any way to check?

celest fossil
subtle bough
#

I understand the process, but there does not appear a way to check progress, except that it will take some time to propagate...😅

celest fossil
crimson tartan
#

that only shows you if it already applied the SLAG to that particular directory. You can't see how far the job has progressed. I don't know if maybe job show shows more helpful output, have you tried that?

celest fossil
#

I know I saw a progress somewhere with fsecurity, not sure where...

crimson tartan
#

ah right the "job show" command. I missed that. My answer was to your "step 11" above that 😉

subtle bough
#

Yes, the job shows completed a few seconds after submission. But I think it is running a sub-process for each task in the policy, and ONTAP does not report that. I have tried listing jobs, but they appear not to be considered jobs

celest fossil
#

Did you do the "job show" like this? (not the "vserver security file-security job show")

job show -id 3625 -instance

                      Job ID: 3625
              Owning Vserver: XXX
                        Name: Fsecurity Apply
                 Description: File Directory Security Apply Job
                    Priority: Low
                        Node: XXX-n2
                    Affinity: Cluster
                    Schedule: @now
                  Queue Time: 05/24 00:29:32
                  Start Time: 05/24 00:29:32
                    End Time: -
              Drop-dead Time: -
                  Restarted?: false
                       State: Running
                 Status Code: 0
           Completion String:
                    Job Type: FSEC_APPLY
                Job Category: FSECURITY
          Execution Progress: Fsecurity Apply processed 1606 files/dirs. Last Processed: /cifs_komm3_clone/larchive/archive/000/000/A21/809
                   User Name: admin
Restart Is Delayed by Module: -
#

You can see there how many files are already processed

subtle bough
#

Interesting. Yes, exaclty, 9.10.1 simply reports job as completed.

crimson tartan
#

if it reports the job as completed, maybe it is already done? I also think I remember that if you had a typo in the path somewhere, it would not error out but silently apply the rules to zero files/directories instead, so maybe double-check that you gave it the correct directory?