Operating System - Linux
1825793 Members
2297 Online
109687 Solutions
New Discussion

Re: restart lpfc820 driver

 
patrkell
Frequent Advisor

restart lpfc820 driver

Is there a way to restart a failing SAN driver (Emulex lpfc820 driver)?

pat
1 REPLY 1
Matti_Kurkela
Honored Contributor

Re: restart lpfc820 driver

I assume you're using some reasonably modern Linux distribution with a 2.6 series kernel.

Unmount all filesystems and deactivate all VGs that are using that driver. If you have any databases accessing raw disks through that driver, stop them too.

Then, remove the driver module from memory:
modprobe -r lpfc820

Reload it:
modprobe lpfc820

This will cause a total restart of the driver, re-detecting all SAN disks. The SAN disk device names (/dev/sd*) may be rearranged in the restart procedure, but udev & hotplug sub-systems should automatically cause the LVM state to be updated.

MK
MK