Tuesday, August 27, 2013

Brocade FC Switch basic troubleshooting commands



  
Information Commands

switchshow - Indicators like no light or In_sync will be displayed
portshow <port> - Provides report on errors on a port
porterrshow - provides gist of port errors, look for delta of counters
portstatsshow <port> - Provides details of port errors
portstats64show - Extension of portstatsshow when 32 bit counters do not suffice, look for tim_txcrd_z to observe BB_credit deltas

fabriclog -s - Helps isolate flapping ports, look out for offline and online sequences

sfpshow - Provides information on SFP and their state, check for power

fabricshow              - Helps identify domain id conflicts and gives an overview of all fabric members
nscamshow | grep <WWN> 
nodefind "WWN"          - Find the port attributes and alias the wwn is member of 

 

Zoning
 

cfgshow               - Displays zoning configurationdefzone -
nsshow -t             - Display name server entries with additional details
nodefind <alias>      - To find specific device in fabric
nodefind <WWPN>       - To find specific device in fabric

fcping <wwn>          - To ping a WWN, if it is connected to fabric
alishow <alias name>  - To List the WWN of an alias
zoneshow | grep <XXX> - To see the zones and its members matching after grep
cfgshow | grep <XXX>  - To list the active zone configuration and members matching after grep

To Modify a WWN in the alias
aliadd "ad2_hostname", "newwwn"
aliremove "ad2_hostname", "oldwwn"




Licensing

licenseshow - To see the updated license details



Firmware Download


firmwaredownloadstatus
firmwareshow

version



Configuration

configdefault           - To reset switch configuration to default

configdownload          - To download a previously uploaded config file

switchshow              - Lists connection information as well first indicator of fabric segmentations

errshow -r              - Look for config events, match events with list in Brocade Message reference guide for suitable actions

fabstatsshow            - flags any parameter mismatch during merging

configure               - To set correct switch and flow control parameters
portcfgshow <port number> - Display port configuration

portcfgspeed <port number> - Set or show port speed

portcfgdefaults <port number> - Set port settings to default

portcfgpersistentenable <port> - To enable port permanently

portcfgpersistentdisable <port> - To disable port persistently (across reboots)

portdisable
<slotnumber/portnumber>       - Disable port
portenable <slotnumber/portnumber>        - To enable the port

portcfgeport                    - Disable E port
portcfglport                    - Lock port to L port
portcfggport                    - Lock port to E or F port



Log collection


supportshow

supportsave

Friday, January 13, 2012

My Articles in Experts Exchange


http://www.experts-exchange.com/Storage/Misc/A_8597-How-to-restore-factory-Hard-Drive-Flash-drive-Capacity.html

http://www.experts-exchange.com/Storage/Storage_Technology/A_8632-Basics-of-Storage-IOPS-on-RAID.html

Wednesday, September 28, 2011

Hitachi Copy On Write (COW) Snapshot & Shadow Image

Logically, Copy On Write (COW) Snapshot & Shadow Image are the same thing to a host. It doesn't know if the volume being used is a V-VOL or an S-VOL.


The real difference is the impact it will have on the back end disks, space utilized and cache. With COW, the backup will hit the P-VOL as the V-VOL is only a pointer copy of the P-VOL. When an address is referenced on the V-VOL it is redirected back to the P-VOL, obviously since it's pointer based, the V-VOL is considerably smaller. With Shadow Image, the S-VOL is a full copy of the P-VOL, so as long as the pair is split, the P-VOL will remain relatively untouched. Being a full copy, the S-VOL and P-VOL are 1 to 1 from a capacity perspective.