Score:1

How to make Linux discover new LUNs from Pure Storage FlashArray//X70 R3?

it flag

When a new LUNs are presented to Fibre Channel SAN from a Pure Storage FlashArray//X70 R3, Linux (SLES) does not find those (as opposed to other FC storage systems like the HP EVA or 3PAR StorServ). Even after a rescan-scsi-bus.sh the new LUNs are not detected by the Linux kernel.

The only two methods that are known to work are:

  1. Reboot the machine after the LUN mappings have changed.

  2. Use option -i for rescan-scsi-bus.sh, re-initializing the loop via LIP primitive.

The second method causes I/O errors for existing LUNs on the loop when they are being accessed while LIP is executing.

Naturally for an enterprise server or even HA cluster neither frequent reboots nor collateral I/O errors are acceptable as a solution. It doesn't help that I wouldn't have bought that storage system. It's there now.

Score:1
br flag

Have you tried;

echo "- - -" > /sys/class/scsi_host/host0/scan

Bit old-school but it works, not sure if it's any better than option 2 however.

U. Windl avatar
it flag
I cannot try it at the moment, but my guess was that `rescan-scsi-bus.sh` does the same thing, just a bit more selective. If so, that would not be the answer most likely.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.