Solaris UNIX: Display LUNs

To display LUNs on a Solaris UNIX system, you can use the cfgadm command. The cfgadm command is used to display and manage the configuration of various devices on the system, including disks and LUNs.

Here are the steps to display LUNs using the cfgadm command:

  1. Open a terminal or SSH session to the Solaris system.
  2. Type the following command to list all the available storage devices on the system:
cfgadm -al

This command displays a list of all the available storage devices, including disks, tape drives, and LUNs.

  1. Locate the LUN that you want to display. LUNs are identified by their controller and target IDs, which are displayed in the output of the cfgadm command.
  2. Type the following command to display information about the LUN:
cfgadm -al <controller_id>

Replace <controller_id> with the ID of the controller that the LUN is attached to. This command displays detailed information about the LUN, including its capacity, status, and device name.

  1. You can also use the format command to display information about the LUN. Type the following command:
format

This command opens the format utility, which displays a list of all the available disks and LUNs on the system. Use the select command to choose the LUN that you want to display, and then use the verify command to display detailed information about the LUN.

That’s it! You have successfully displayed LUNs on a Solaris UNIX system using the cfgadm command.

Leave a Comment