Hello. I have the old HP server with Smart Array controller.
Centos boots only with hpsa_allow_any=1 option.
I type this string every time after server reboot. But I want to save this option forever, what's why I want to edit modprobe.conf
In old versions of Centos, as I remember, there was modprobe.conf file in /etc/modprobe.d/ derectory. But now there is no such file after default installation of Centos 7.5.
So I have two questions:
1. In what config file I need to add this option?
2. What I need to do after that (/sbin/dracut -v --force or something like that?)
Thank you.
Centos 7.5 hpsa allow (how to save this option?)
-
- Posts: 1522
- Joined: 2014/05/21 20:16:00
- Location: Central New York, USA
Re: Centos 7.5 hpsa allow (how to save this option?)
I put mine in /etc/default/grub in the GRUB_CMDLINE_LINUX entry, like this
Then I rebuilt grub2 with grub2-mkconfig -o /boot/grub2/grub.cfg
Code: Select all
GRUB_CMDLINE_LINUX="rd.lvm.lv=centos/root rd.lvm.lv=centos/swap crashkernel=no rhgb quiet hpsa.hpsa_simple_mode=1 hpsa.hpsa_allow_any=1"
Re: Centos 7.5 hpsa allow (how to save this option?)
Thank you, this is solution.
Re: Centos 7.5 hpsa allow (how to save this option?)
You could also put your options line in a .conf file under /etc/modprobe.d/
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke