Enable lpfc changes!

Hi Folks!

I am writing a script which changes

 lpfc.conf

if there it has been setup on RHEL BOXes, do I need to put

dracut -f

for enabling it? I am not sure,
Can someone help!

I guess, I got no luck on this!
If I am changing something on .conf files inside /etc/modprobe.d/, what do I need to do to make these effective without restarting machine.

Depends what changes you are making. Could be as simple as rmmod-ing and modprobe-ing the relevant modules but that could be disastrous if you happen to be using those things at the time.

1 Like

I am putting this content in place of original content of lpfc.conf:

options lpfc lpfc_topology=2 lpfc_lun_queue_depth=32 lpfc_log_verbose=0x0 lpfc_max_luns=2048 lpfc_enable_npiv=0

I would guess, rmmod lpfc followed by modprobe lpfc. My previous warnings and caveats still apply.

2 Likes

Thanks, that helped me!

1 Like

I just have one confusion, can't we use dracut -f, instead rmmod and lsmod in it.