SSD Wipe
The SSD wipe command performs a secure erase and a cryptographic erase:
-
Cryptographic Erase (CE) is a secure method for sanitizing entire drives and storage devices by deleting the encryption keys used to protect the data.
-
Secure erasure is the process of permanently and irreversibly removing data from a storage device, ensuring that the data cannot be recovered using any means, even with advanced data recovery tools.
Prerequisites
Before performing the SSD wipe, complete the following requirements:
-
Record the currently installed NVOS version.
-
Verify that all system component versions are aligned with the installed release.
-
Ensure that the same NVOS version is available for the recovery procedure.
-
Back up any required system configuration or data.
-
Establish and verify a working serial console connection.
After the SSD wipe and the reboot that follows, no operating system is installed on the switch. SSH access to NVOS is no longer available, and you must perform the recovery procedure through the serial console.
Serial Console Connection Using SoL
On GB200 and newer NVLink switches with BMC Serial over LAN support, you can access the host serial console using SoL (Serial over LAN).
SoL provides access to the host CPU console through an SSH connection to TCP port 2200 on the BMC.
SoL is implemented using the open-source openbmc/obmc-console project, which provides the OpenBMC host-console infrastructure.
The following figure shows the SoL components:
Enable SoL
SoL is disabled by default.
-
Connect to the BMC:
ssh root@<bmc-ip> -
Enter the BMC password.
-
Start the SoL services:
systemctl start obmc-console-ssh.socket systemctl start obmc-console@ttyS2.service -
Connect to the host CPU console:
ssh -p 2200 root@<bmc-ip>
-
Enter the BMC password.
While SoL is enabled, console output is still visible on the physical serial port, but you cannot enter input through the physical serial connection.
Verify the SoL Connection
Verify that the serial console connection is working before performing the SSD wipe.
From an NVOS SSH session, run:
who
Example output:
admin pts/0 2026-07-28 10:58 (192.168.0.10)
admin ttyS0 2026-07-28 11:07
Confirm that a serial TTY session appears in the output.
To verify that console output is visible through SoL, keep the BMC port 2200 session open. From a separate NVOS SSH session, run:
sudo sh -c 'echo HELLO-FROM-SSH > /dev/console'
Confirm that the following message appears in the SoL session:
HELLO-FROM-SSH
Warning: Do not continue with the SSD wipe until you have verified the serial console connection.
SoL Service Notes
Start the obmc-console service only after the BMC-ready script has completed. This prevents the BMC-ready script from changing the UART selection in the CPLD after a SoL session starts.
The obmc-console server and the serial-getty service both use /dev/ttyS2. Therefore:
-
obmc-consoleconflicts withserial-getty. -
Enabling
obmc-consoledisablesserial-getty. -
serial-gettyremains disabled whileobmc-consoleis enabled, even when no SoL SSH sessions are active. -
SoL is disabled following a BMC reboot and must be enabled again when required.
Disable SoL
To end the SoL sessions and stop the console service, run the following commands in the BMC Linux shell:
systemctl stop obmc-console@ttyS2.service
systemctl stop obmc-console-ssh.socket
systemctl start serial-getty@ttyS2.service
Perform Disk Wipe
Before you start, complete the prerequisites: record the installed NVOS version and make sure that all system component versions match the release.
-
Connect to the switch through the serial console and verify the connection. See Serial Console Connection Using SoL.
-
Run the SSD wipe command:
Bashadmin@nvos:~$ sudo -i root@nvos:~$ nv action erase system diskFor more information, see Resource Management Commands.
Note that once the action is completed, it will be impossible to recover the SSD data. Additionally, the user will be able to connect to the system until the next reboot, as the file system (only mandatory directories) is loaded into RAM. After a reboot, the user will not be able to see any SSD partitions.
-
After the SSD wipe finishes, reboot the switch:
root@nvos:~$ echo b > /proc/sysrq-trigger
Recovery Flow After SSD Wipe
Prerequisites
Before starting the recovery process, ensure the following requirements are met:
During recovery, use the same NVOS version that was previously installed to avoid version incompatibility with other platform components.
-
PXE Server Setup
-
A PXE (Preboot Execution Environment) server must be installed and running in your network.
-
The PXE server must point to the NVIDIA ONIE image and boot from it automatically, without user interaction.
-
-
Required Resources
-
NVIDIA ONIE image
-
NVOS image
-
Provisioning package
-
An SSD wipe erases the NVOS configuration, and you cannot recover it. Back up any configuration or data you need before you start.
Recovery Steps
-
Wait for the NVIDIA ONIE installation to finish (up to 3 minutes).
-
Connect to ONIE through SSH with the ONIE default credentials.
-
Stop the ONIE installation by running
onie-stop. -
Copy the provisioning package (for example,
sed_provisioning_83.03.0001.tgz) to/tmp. -
Extract the provisioning script and run it:
cd /tmp tar -xzf sed_provisioning_83.03.0001.tgz ./sedutil_init.sh -
Wait for the script to finish (up to 2 minutes). The switch then power cycles.
-
Install a new NVOS image as described in Installing a New NVOS Image.
IMA (Integrity Measurement Architecture)
IMA is a Linux kernel subsystem that extends NVOS secure-boot protections into runtime. Secure boot verifies the bootloader, kernel, and kernel modules at boot. IMA subsequently measures (hashes) selected system components whenever they are accessed, records each measurement in the IMA measurement log, and extends it into a TPM Platform Configuration Register (PCR). A remote verifier can use this evidence to confirm that the system was not modified after boot.
How IMA Works
-
Measurement: Before use, IMA measures executables during execution, shared libraries when they are memory-mapped for execution, kernel modules before loading, firmware blobs before loading onto NICs, and the kexec kernel, initramfs, and command line.
NVOS enables only IMA measurement. IMA appraisal, which can deny access when a measurement does not match an expected value, and IMA audit are not enabled. This avoids runtime enforcement and its performance impact.
-
Attestation: Each IMA measurement extends TPM PCR 10. A signed TPM quote for PCR 10, combined with the live IMA measurement log, enables an external verifier to compare the running system against a known-good (golden) reference list.
IMA is disabled by default. It is available on NVOS InfiniBand and NVLink switches.
Prerequisites
-
Changes to the IMA state take effect only after a reboot. An initramfs hook loads the IMA policy early in the boot process, before systemd starts.
-
CoRIM verification must be available.
Enable IMA
-
Enable IMA and apply the configuration:
admin@nvos:~$ nv set system security ima state enabled admin@nvos:~$ nv config apply admin@nvos:~$ nv config save -
Reboot the switch:
admin@nvos:~$ nv action reboot system
Generate a Signed Quote for PCR 10
Generate a TPM quote for PCR 10:
admin@nvos:~$ nv action generate system security tpm 10 <nonce>
The quote provides the attestation evidence for the IMA measurements.
Upload the Live IMA Measurement Log
Upload the current IMA measurement log to a remote server:
admin@nvos:~$ nv action upload system security ima measurements scp://user:pass@host/dir/
Upload the TPM Quote
Upload the TPM quote to the same remote location as the measurement log:
admin@nvos:~$ nv action upload system security tpm quotes.json scp://user:pass@host/dir/
Use the uploaded TPM quote and IMA measurement log together for remote attestation and CoRIM-based verification.
IMA Verifier
An IMA verifier is an external, customer-implemented component that validates the integrity of a running NVOS system. The verifier compares runtime artifacts produced by the switch with the known-good reference artifacts NVIDIA provides with the applicable NVOS release.
NVOS does not include an IMA verifier. It produces and uploads the artifacts required for verification, including the IMA measurement log and TPM quote. Customers are responsible for implementing, operating, and integrating the verifier into their attestation workflow.
Terminology
Reference artifacts (provided by NVIDIA, part of the NVOS release):
|
Term |
Definition |
|---|---|
|
IMA Reference List |
The list of authorized file hashes for this NVOS release — one entry per executable, shared library, kernel module, firmware file, and kexec artifact that is authorized to run. |
|
CoRIM (Concise Reference Integrity Manifest) |
A signed manifest, shipped with the release, that carries reference integrity values used for attestation. |
|
CoMID (Concise Module Identifier) |
An entry within the CoRIM containing the hash of the IMA Reference List, used to verify the list has not been altered. |
Runtime artifacts (produced by the switch, uploaded via NVUE):
|
Term |
Definition |
|---|---|
|
IMA Measurement Log |
The live, on-box record of every file the IMA has measured since boot, maintained by the kernel's IMA subsystem. |
|
PCR 10 (Platform Configuration Register 10) |
A register inside the TPM that is cumulatively extended with each new IMA measurement. Its final value is a single hash representing the entire measurement log. |
|
TPM Quote |
A signed attestation of the current PCR 10 value, generated by the TPM. The signature proves the value originated from that switch's TPM hardware. |
Attestation Comparison Requirements
|
Compare |
Against |
Confirms |
|---|---|---|
|
Hash of the IMA Reference List |
The hash recorded in the CoMID |
The reference list used for verification is the authentic one shipped by NVIDIA and has not been substituted. |
|
The IMA Measurement Log |
PCR 10, as recorded in the signed TPM Quote
|
The measurement log matches what the TPM actually recorded — it has not been altered after collection.
|
|
Each entry in the IMA Measurement Log |
The IMA Reference List |
Every file that ran on the switch was expected and authorized; no unapproved or modified file was executed. This includes the |
All three comparisons must succeed for the switch to be considered attested. A failure in any of them indicates that the reference data, the measurement log, or the runtime state of the switch was tampered with.
For the security commands, see Security Commands and SED Commands. For password hardening, see Password Hardening.
Last updated: