To display the LUNs (Logical Unit Numbers) on a Solaris or OpenSolaris system, you can use the luxadm
command.
To display the LUNs on the system, use the following command:
luxadm probe
This will show you a list of the LUNs that are available on the system, along with their device names and other information.
To display detailed information about a specific LUN, use the -e
flag with the device name of the LUN. For example:
luxadm -e display /dev/rdsk/c4t0d0s2
This will show you detailed information about the LUN with the device name /dev/rdsk/c4t0d0s2
.
Note: These commands require root privileges to execute.