Home > Linux, SAN > SAN Migration and Linux Storage Device issues

SAN Migration and Linux Storage Device issues

The scenario is the following:

– SAN migration from an old EMC Clariion CX-500 to a new CX3-40

– 2 Linux RedHat 3.0 AS and Oracle RAC 9.2 with OCFS 1.x

The goal is to migrate all the Oracle Data partition (1 LUN in this case) to the new SAN using EMC SAN Copy.

All the host will be powered off (yes we can live with this…).

The main issues are the following:

– PowerPath will mess up the device naming. If your device on the old SAN was seen as /dev/emcpowera, when you connect the hosts to the new SAN it will probably see the LUN as /dev/emcpowerb. To correct this problem the trick is the following:

  1. Stop PowerPath
  2. cd /etc
  3. mkdir /etc/EMC_BACKUP
  4. /bin/mv emcp_devicesDB.dat emcp_deviceDB.idx powermt.custom /etc/EMC_BACKUP
  5. Restart PowerPath (this will recreate the files you have moved above)
  6. powermt config
  7. powermt check
  8. powermt display dev=all (here you should see your LUN again as /dev/emcpowera)

A really strange issue that happened to us, is that we have to force the link speed on the new 4Gbps FC switch to 2Gbps, otherwise the lpfc Linux Driver was unable to correctly detect all the I/O devices (the HBAs are quite old Emulex LP9002). May be that some lpfc_* parameter to the module was missing, but there wasn’t the time to investigate further (and documentation about this is lacking IMVHO…).


Categorie:Linux, SAN
  1. Non c'è ancora nessun commento.
  1. No trackbacks yet.


Inserisci i tuoi dati qui sotto o clicca su un'icona per effettuare l'accesso:

Logo WordPress.com

Stai commentando usando il tuo account WordPress.com. Chiudi sessione / Modifica )

Foto Twitter

Stai commentando usando il tuo account Twitter. Chiudi sessione / Modifica )

Foto di Facebook

Stai commentando usando il tuo account Facebook. Chiudi sessione / Modifica )

Google+ photo

Stai commentando usando il tuo account Google+. Chiudi sessione / Modifica )

Connessione a %s...

%d blogger hanno fatto clic su Mi Piace per questo: