Wednesday 21 November 2018

Scaning FC_LUN's in RedHat linux

# fdisk -l 2> /dev/null | egrep '^Disk' | egrep -v 'dm-' |wc -l

# ls /sys/class/fc_host/
host1  host8

For FC
#  echo "1" > /sys/class/fc_host/host1/issue_lip
#  echo "1" > /sys/class/fc_host/host8/issue_lip

For SCSI

#  echo "1" > /sys/class/scsi_host/host1/scan
#  echo "1" > /sys/class/scsi_host/host8/scan


# fdisk -l 2> /dev/null | egrep '^Disk' | egrep -v 'dm-' |wc -l

Monday 12 November 2018

Switch port conflict

How to solve switch port conflict for Brocade 

1. Portdisable (ISL ports) 
2. Cfgdisable 
3. Cfgclear 
4. Cfgsave 
5. Defzone –allaccess 
6. Portenable (isl ports)

Tuesday 6 November 2018

multipath

multipath –ll
multipathd –k
multipathd> show config
multipathd> show maps