Skip to content

Instantly share code, notes, and snippets.

View zackramjan's full-sized avatar

Zack Ramjan zackramjan

  • Grand Rapids, MI
View GitHub Profile
@zackramjan
zackramjan / nsddevices
Created August 5, 2024 19:42
for spectrum scale we override the nsddevices to add nvme
#!/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