Solaris UNIX: Display LUNs

Posted on in Categories , last updated June 29, 2010

How do I display LUNs under Solaris UNIX version 10 or earlier?

To see LUNs use the cfgadm command as follows (open the terminal or login using ssh as root):

cfgadm -al -o show_SCSI_LUN

Solaris 8 user can use the command as follows:

cfgadm -al -o show_FCP_dev c2
cfgadm -al -o show_FCP_dev c3

This is useful when you want to configure LUNs on a Solaris UNIX box.

Posted by: Vivek Gite

The author is the creator of nixCraft and a seasoned sysadmin and a trainer for the Linux operating system/Unix shell scripting. He has worked with global clients and in various industries, including IT, education, defense and space research, and the nonprofit sector. Follow him on Twitter, Facebook, Google+.

Leave a Comment