I am new to Netapp and looking for a way to get the serial numbers on the disk shelves we have attached to our filers without a physical visit to our Co-lo's. we have a fas2240-2, V3240, and a fas3140?
Are you intending on doing this regularly via automation? Or is this a once-off sort of thing? (You asked the question in the OnCommand Workflow Automation forum)
If it's a once off, you can use the "environment status" command to get the shelf serials, see "Product Serial Number", as well as the serials of the two modules in the shelf. You can also use "sysconfig -av" for a variety of serials within the controller itself.
I'm not sure what level of information you can get back from a V-series however.
If you have AutoSupport enabled, you can also use the AutoSupport visualizations to display shelf details (http://support.netapp.com/myautosupport/home.html). Find the system and select Virtualization on the left side. The default System View will show Shelf Serial numbers, and how everything's connected.