This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/ksh | |
CONTROLLER_REGEX='nvme[0-9]+n[0-9]+' | |
for dev in $( /bin/ls /dev/ | egrep $CONTROLLER_REGEX ) | |
do | |
# | |
# dmm vs. generic is used by GPFS to prioritize internal order of | |
# searching through available disks, then later GPFS discards other | |
# disk device names that it finds that match as the same NSD device | |
# by a different path. For this reason, dmm vs. generic is an | |
# important distinction if you are not explicitly producing the |
OlderNewer