IBM Support

Installing the VIOS OS on NVMe drives

How To


Summary

NVMe drives are supported as a boot device for VIOS, however, while installing the VIOS OS on new NVMe device, the installation wizard might not recognize any disks to install on despite being listed when scanning the I/O devices information in SMS.

Steps

In NVMe technology, a namespace is a collection of Logical Block Addresses (LBA) that are accessible to the host software, each namespace appears as a discrete storage device to the host (as hdisk device) and can be identified in the VIOS installation wizard.

> To check if the NVMe has a namespace configured, assign the NVMe adapters to the VIOS partition from the HMC :

image-20250924101501-1
Activate the VIOS with the Boot mode set to SMS.
In SMS, select I/O devices information > NVMe > select the NVMe device to scan.
The configured namespaces will be listed, if there are any. If not, a message will be displayed advising that no namespaces were found.
> To create namespaces, the NVMe devices can be reassigned to an existing AIX or VIOS partition, then use the "smitty nvme" to enter the NVMe Manager menu and create the needed namespaces.
smit nvme > Namespace Management and Attachment > Create a namespace > select the nvme adapter > sepcify the size of the namespace to be created (By default, this size is set to the maximum drive capacity) > set the “Attach after Create” attribute to “yes” > Enter.
The namespace created will show as an hdisk device with the specified size and will be recognized during the VIOS installation.
Check the following URL for more info:

“NVMe Namespace Management in AIX”

https://community.ibm.com/community/user/blogs/harsha-kotapati/2025/02/25/nvme-namespace-management-in-aix#:~:text=In%20NVMe%C2%AE%20technology%2C%20a,storage%20device%20to%20the%20host.

--------------------------
If the system is new and no partitions are configured yet with an OS, you may download the standalone AIX diagnostics CD from the URL below and burn it to CD or USB flash drive : 
https://www.ibm.com/support/pages/standalone-diagnostics-cd-overview-and-download
Then use that CD/USB to boot the VIOS to diagnostics and create the namespaces as follows:
  1. From the Welcome to AIX screen, type 1 to select the terminal that you are using as the system console.
  2. From the Diagnostics Operating Instructions menu, press Enter to continue.
  3. From the Function Selection menu, type 3 to select Task Selection.
  4. From the Define Terminal menu, enter a terminal type.
    Note: If you are using a remote terminal connection such as PuTTY, use either the VT320 or VT340 terminal emulation, if using a local console from HMC use VT100.
  5. From the Task Selection List, select the NVMe Manager option.
  6. From the NVMe Manager screen, select the Namespace Management and Attachment option.
  7. From the Namespace Management and Attachment screen, select the Create a Namespace option.
  8. From the Namespace Create Supported Controllers window, select the device for which you want to create a namespace.
    Note: If the device for which you want to create a namespace is not displayed, the maximum number of namespaces might already be created and you cannot create any more namespaces.
  9. From the Create a Namespace screen, enter the desired namespace size. If you do not know what to enter for the LBA Format and Attach after Create fields, use the default values.
  10. From the COMMAND STATUS screen, press F3 (function key 3) to return to the Namespace Management and Attachment screen.
  11. To create more namespaces, repeat the steps.
Reference the documentation below:

"Creating a namespace for an NVMe device"

https://www.ibm.com/docs/en/power10/9105-22A?topic=device-creating-namespace-nvme

Now you may boot from the VIOS image and start the installation on the created namespace (hdisk).

Document Location

Worldwide

[{"Type":"MASTER","Line of Business":{"code":"LOB57","label":"Power"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSPHKW","label":"PowerVM Virtual I\/O Server"},"ARM Category":[{"code":"a8m50000000L0FXAA0","label":"Archive-\u003EPowerVM VIOS"}],"ARM Case Number":"TS020351903","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"1.1.0;1.2.0;1.3.0;1.4.0;1.5.0;3.1.0;3.1.1;3.1.2;3.1.3;3.1.4;4.1.0;4.1.1"}]

Document Information

Modified date:
24 September 2025

UID

ibm17245972