basic question on sd.conf and lpc.conf file

Hello Guys,

Do we need to configure this file only if we add SAN disk or even if we add local disk, do we need to modify?

sd.conf is the config file for scsi devices. for SAN (FC) the ssd.conf file (for ssd driver) is needed. so for SAN, there is no need to configure the sd.conf file!

You absolutely need to edit this file for SAN devices unless you have a tool that does it for you. Solaris will not search for LUN's that are not listed in this file.

The following will search the first 4 SAN devices it finds for LUN ID's 0, 1 and 2:

name="sd" parent="lpfc" target=0 lun=0;
name="sd" parent="lpfc" target=0 lun=1;
name="sd" parent="lpfc" target=0 lun=2;
name="sd" parent="lpfc" target=1 lun=0;
name="sd" parent="lpfc" target=1 lun=1;
name="sd" parent="lpfc" target=1 lun=2;
name="sd" parent="lpfc" target=2 lun=0;
name="sd" parent="lpfc" target=2 lun=1;
name="sd" parent="lpfc" target=2 lun=2;
name="sd" parent="lpfc" target=3 lun=0;
name="sd" parent="lpfc" target=3 lun=1;
name="sd" parent="lpfc" target=3 lun=2;

What type of "tool" you're referring to?
CAM software?

If you are using emulex adapters, the lputil utility provided with their package will add entries to your configuration files for you.