Close Menu
DPC Virtual Tips
    Read More

    Linux Process Resource Usage: How to Find Heavy Processes

    August 6, 2026

    Lustre Filesystem Commands: A Practical Admin Guide

    August 5, 2026

    Linux ss, lsof, and fuser Commands: A Practical Guide

    August 4, 2026
    • Home
    • About Us
    • Contact
    • Cookie Policy
    • Comment Policy
    • Privacy Policy
    • Terms of Use
    • Disclaimer
    Thursday, August 6
    DPC Virtual Tips
    • Home
    • Operating Systems
    • PowerFlex
    • HPC
    • Virtualization
    • About Us
    • Contact
    DPC Virtual Tips
    Home » View Information About Slurm Nodes and Partitions
    HPC

    View Information About Slurm Nodes and Partitions

    DaniloBy DaniloFebruary 3, 2026Updated:July 29, 2026No Comments5 Mins Read
    Facebook Twitter Pinterest LinkedIn Tumblr Email
    hpc commands
    Share
    Facebook Twitter LinkedIn Pinterest Email

    Slurm nodes and partitions are among the first components I check when monitoring or troubleshooting an HPC cluster. Commands such as sinfo and scontrol provide immediate visibility into node states, partition availability, and potential issues that can affect job scheduling and cluster performance.

    If you’re getting started with Slurm administration, understanding how to inspect nodes and partitions is an essential skill. In my experience, these commands are invaluable for identifying unavailable nodes, reviewing partition status, and quickly determining why resources are not accepting new jobs.

    In this guide, I demonstrate how to view information about Slurm nodes and partitions using practical examples. You’ll also learn how to interpret the output of sinfo, investigate node states with sinfo -R, and perform the first troubleshooting steps when compute nodes become unavailable.

    First and foremost, if you’re new to HPC and Slurm (like me), I’d recommend some articles that we’ve written about this subject:

    Let’s Explore High Performance Computing

    Setting Up a Slurm Cluster in a Lab Environment

    So, let’s get started!

    sinfo

    Definitely, the “sinfo” command is one of the most important and useful commands for any Slurm administrator. This command displays partitions and node states:

    As we can see, the “sinfo” command displays extensive information about the existing Slurm partitions. So, let’s break it down to provide more details:

    sinfo -R (or –list-reasons)

    As we showed earlier, the “sinfo” command (without any options) displays the partitions and node states. This includes all possible states (good or bad, from the Slurm administrator’s perspective :-)).

    The “slurm -R” command lists reasons nodes are in the down, drained, fail, or failing state. When nodes are in these states, Slurm supports the inclusion of a “reason” string by an administrator. This option will display the first 20 characters of the reason field and a list of nodes with that reason for all nodes that are, by default, down, drained, draining, or failing.

    Let’s explore a possible situation that a Slurm administrator can face:

    • As shown in the following image, the “sinfo” command reports many nodes in a “down” state.
    • These nodes are in a “down” state and are distributed (or part of two partitions: cpu and mcpu).
    • But, we cannot see the reason why the nodes are in “down”:

    So, with “sinfo -R”, we can see the field “reason”, indicating the reason for the nodes is in the current state:

    Note: To remember, by default, the field “reason” displays only the first 20 characters. To customize the number of characters to see, we can use the “sinfo -R” with the option “-o”, as we can see in the following picture:

    So, now the field “reason” is readable, and we can see the full reason message!

    Let’s break the used command down:

    sinfo -R -o "%30E %10u %20H %40N %5T"

    Format tokens, where:

    %E = Reason
    %u = User
    %H = Timestamp
    %N = NodeList
    %T = Node state

    Note: %30E means the field “Reason” with a width of 30 chars. The same idea is applicable to the other tokens!

    Let’s break the “sinfo-R” down:

    Basic Troubleshooting for “Node unexpectedly rebooted”

    Previously, the “sinfo -R” command showed some nodes with the reason “Node unexpectedly rebooted” – as we can confirm again in the following picture:

    How can we troubleshoot it?
    What steps can we perform to make those nodes available to Slurm?

    Let’s provide some possible steps on how to fix it:

    1- Check if the node is available on the network – A simple ICMP test (ping) can be performed:

    ping -c4 hpcnode40

    2- Access the node by SSH and check the status of the following services:

    • munge
    • slurmd
    systemctl status munge
    systemctl status slurmd

    Both services must be running:

    If the services are not running, check the latest log messages of each one:

    journalctl -u munge
    journalctl -u slurmd

    To restart the services:

    systemctl restart munge
    systemctl restart slurmd

    3- On the affected node, check if the Slurm Head Node/Controller (Slurmctld) is reachable:

    scontrol ping

    Since there are two Head Nodes/Controllers, we can see the following output (….” is UP” means the controller is reachable):

    4- Afterward, we can bring the node back to Slurm (to remember, the node is “down” and in this state, Slurm will not send jobs to it). The “scontrol” command can be used, as we can see below:

    scontrol update nodename=hpcnode40 state=resume

    The state “resume” indicates that Slurm will attempt to bring the node back online and make it available to accept jobs. To inspect the node details:

    scontrol show node hpcnode40

    The node state is “IDLE,” meaning it is available to receive jobs (i.e., the node is on Slurm and waiting for new jobs).

    We can apply the same steps to each node that is “down” with the reason “Node unexpectedly rebooted.” Be honest with you, these steps can be used for most reasons. There are essential steps to verify that the node and its daemon are ready to join a Slurm cluster!

    That’s it for now 🙂

    Share. Facebook Twitter Pinterest LinkedIn Tumblr Email
    Previous ArticleAn Introduction to Job Submission on a Slurm Cluster
    Next Article Installing Rocky Linux
    Danilo

    Infrastructure Engineer with experience in Virtualization, Linux, Windows Server and learning automation using Python. DPC Virtual Tips was created to share practical tutorials, lab experiences and troubleshooting guides focused on enterprise infrastructure technologies.

    Related Posts

    Lustre Filesystem Commands: A Practical Admin Guide

    August 5, 2026

    Essential Slurm Administration Commands Every HPC Administrator Should Know

    July 15, 2026

    Getting Started with Lustre File System

    July 13, 2026

    Comments are closed.

    Search
    Categories
    • HPC (8)
    • Operating Systems (82)
    • PowerFlex (22)
    • Virtualization (129)
    Read More
    Operating Systems

    Linux Process Resource Usage: How to Find Heavy Processes

    By DaniloAugust 6, 20260
    HPC

    Lustre Filesystem Commands: A Practical Admin Guide

    By DaniloAugust 5, 20260
    Operating Systems

    Linux ss, lsof, and fuser Commands: A Practical Guide

    By DaniloAugust 4, 20260
    Operating Systems

    Linux Commands to Investigate High Disk Partition Usage

    By DaniloJuly 20, 20260
    HPC

    Essential Slurm Administration Commands Every HPC Administrator Should Know

    By DaniloJuly 15, 20260
    Latest Posts

    Linux Process Resource Usage: How to Find Heavy Processes

    August 6, 2026

    Lustre Filesystem Commands: A Practical Admin Guide

    August 5, 2026

    Linux ss, lsof, and fuser Commands: A Practical Guide

    August 4, 2026
    Images from Gallery
    hpc main commands
    linux commands
    install rock linux
    lustre fs
    shell scripting
    vSAN Trace Files
    Categories
    • HPC
    • Operating Systems
    • PowerFlex
    • Virtualization
    • Home
    • About Us
    • Contact
    • Cookie Policy
    • Comment Policy
    • Privacy Policy
    • Terms of Use
    • Disclaimer
    Copyright © 2026, DPC Virtual Tips. All rights reserved.

    Type above and press Enter to search. Press Esc to cancel.

    We use cookies to ensure your best experience on our website. If you continue using our website, we'll assume you agree to our cookie policy