Skip to main content

Ensuring that no jobs are running

Before updating or downgrading the ONTAP software, you must verify the status of cluster jobs. If any aggregate, volume, NDMP (dump or restore), or Snapshot jobs (such as create, delete, move, modify, replicate, and mount jobs) are running or queued, you must allow the jobs to finish successfully or stop the queued entries.

  1. Review the list of any running or queued aggregate, volume, or Snapshot jobs: job show

    Example

    TDC-DM7K::> job show
    Owning
    Job ID Name Vserver Node State
    ------ -------------------- ---------- -------------- ----------
    8629 Vol Reaper TDC-DM7K - Queued
    Description: Vol Reaper Job
    8630 Certificate Expiry Check
    TDC-DM7K - Queued
    Description: Certificate Expiry Check
    .
    .
    .

  2. Delete any running or queued aggregate, volume, or Snapshot copy jobs: job delete -id job_id

    Example

    TDC-DM7K::> job delete -id 8629

  3. Verify that no aggregate, volume, or Snapshot jobs are running or queued: job show

    Example

    In this example, all running and queued jobs have been deleted:

    TDC-DM7K::> job show
    Owning
    Job ID Name Vserver Node State
    ------ -------------------- ---------- -------------- ----------
    9944 SnapMirrorDaemon_7_2147484678
    TDC-DM7K TDC-7K-01 Dormant
    Description: Snapmirror Daemon for 7_2147484678
    18377 SnapMirror Service Job
    TDC-DM7K TDC-7K-03 Dormant
    Description: SnapMirror Service Job
    2 entries were displayed