Lenovo/NetApp ONTAP Command Reference¶
Quick reference guide for maintenance mode commands on Lenovo ThinkSystem DM Series storage (NetApp ONTAP based), including disk management, ownership, and system configuration.
Overview¶
This document provides command reference for Lenovo ThinkSystem DM5100F and similar NetApp ONTAP-based storage systems. Commands are organized by function for quick reference during maintenance operations.
Maintenance Mode
Most commands in this reference are run from maintenance mode (*> prompt). Boot to maintenance mode using Option 5 from the boot menu.
Disk Ownership Commands¶
Remove Disk Ownership¶
Remove software ownership from specific disks:
*> disk remove_ownership 0a.29 0a.28 0a.27
Remove ownership from all disks:
*> disk remove_ownership all
Assign Disk Ownership¶
Assign all unowned disks to current controller:
*> disk assign all -f
Force Flag
The -f flag forces assignment. Use with caution as it overrides existing ownership.
Disk Display Commands¶
Show All Disks¶
Display all disks visible to the system:
*> disk show
Show Disks by Owner¶
Display disks owned by a specific system ID:
*> disk show -s 0537414346
Show Disks with Details¶
Display detailed disk information including checksums:
*> disk show -v
Show Disk Ownership Across Cluster¶
Display which controller owns each disk:
*> disk show -w
Example output:
Local System ID: 538000591
DISK OWNER POOL SERIAL NUMBER
-------- ------------- ----- -------------
0b.00.3 RisingCloud-02(538001143) Pool0 S3SENE0K502000
0b.00.7 RisingCloud-01(538000591) Pool0 S3SENE0K502020
System Configuration¶
View System Configuration¶
Display complete system configuration:
*> sysconfig
Example output includes:
Lenovo Release 9.10.1P1
System ID: 0537414354
System Serial Number: 792121000400
Model Name: DM5100F
Processors: 12
Processor type: Intel(R) Xeon(R) D-2164IT CPU @ 2.10GHz
Memory Size: 65408 MB
Show System Configuration (Alternative)¶
*> show system configuration
Storage Shelf Commands¶
Show Shelf Information¶
Display storage shelf details:
*> storage show shelf
Boot Menu Options¶
Advanced Drive Partitioning Menu¶
Access from boot menu by selecting Option 9.
| Option | Description |
|---|---|
| 9a | Unpartition all disks and remove ownership |
| 9b | Clean config and initialize with partitioned disks |
| 9c | Clean config and initialize with whole disks |
| 9d | Reboot the node |
| 9e | Return to main boot menu |
Option 9a Warning
Option 9a destroys all aggregates and removes disk ownership. All data will be lost.
Main Boot Menu Options¶
| Option | Description |
|---|---|
| 1 | Normal boot |
| 2 | Boot without /etc/rc |
| 3 | Change password |
| 4 | Clean config and initialize all disks |
| 5 | Maintenance mode boot |
| 6 | Update flash from backup config |
| 7 | Install new software first |
| 8 | Reboot node |
| 9 | Configure Advanced Drive Partitioning |
Disk Sanitization Commands¶
Start Disk Sanitization¶
Sanitize specific disks:
*> disk sanitize start 0n.0 0n.1 0n.2 0n.3
Check Sanitization Status¶
*> disk sanitize status
Example output:
Sanitization for 0n.0 is 5% complete.
Sanitization for 0n.1 is 5% complete.
Controller Commands¶
Halt Controller¶
Return to Loader prompt:
*> halt
Exit Maintenance Mode¶
From Loader prompt, boot normally:
Loader> autoboot
Network Commands¶
Show Network Interfaces¶
*> ifconfig -a
Show Management Interface¶
*> ifconfig e0M
Common Disk Naming Conventions¶
| Format | Description |
|---|---|
0n.XX |
NVMe disks on node |
0a.XX |
SAS/SATA disks on adapter A |
0b.XX |
SAS/SATA disks on adapter B |
XXP1, XXP2, XXP3 |
Partitions on disk XX |
System ID Reference¶
The System ID is a unique identifier for each controller node.
Find System ID¶
In maintenance mode:
*> sysconfig
Look for: System ID: XXXXXXXXX
Use System ID in Commands¶
Filter disks by owner:
*> disk show -s 0537414346
Troubleshooting Commands¶
Check Disk Health¶
*> disk show -v
Look for: - Pool status (Pool0, FAILED, etc.) - Checksum type (Block, etc.)
Check for Unowned Disks¶
*> disk show -n
Displays disks with "Not Owned" status.
Force Disk Assignment¶
If disks won't assign normally:
*> disk assign all -f
Quick Reference Card¶
| Task | Command |
|---|---|
| Show all disks | disk show |
| Show unowned disks | disk show -n |
| Show disk details | disk show -v |
| Show disks by owner | disk show -s <system_id> |
| Show disk ownership | disk show -w |
| Remove ownership (all) | disk remove_ownership all |
| Assign all disks | disk assign all -f |
| System config | sysconfig |
| Sanitize disks | disk sanitize start <disk_list> |
| Sanitize status | disk sanitize status |
| Halt to Loader | halt |
| Boot from Loader | autoboot |
Firmware Version Notes¶
Firmware Differences
Lenovo Release 9.10.1P1 and later may reconfigure disk layout differently (3x disk per controller vs 6x disk per controller). Verify firmware version before operations.
Check firmware version:
*> sysconfig
Look for: Lenovo Release X.XX.XPX