Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

modprobe.d setup #249

Closed
softloft38p-michael opened this issue Feb 9, 2021 · 2 comments · Fixed by #250
Closed

modprobe.d setup #249

softloft38p-michael opened this issue Feb 9, 2021 · 2 comments · Fixed by #250
Labels

Comments

@softloft38p-michael
Copy link
Contributor

I have the following in /etc/modprobe.d/sg.conf on Centos7:

options sg def_reserved_size=1048576

But when I run cat /proc/scsi/sg/debug it shows:
max_active_device=549 def_reserved_size=32768

How do I get these settings to take effect?

@piste-jp
Copy link
Member

Reloading of the driver is required. Did you reboot the machine after creating the file?

I believe you can't reload the sg driver on-the-fly because the disk driver would use it already.

@softloft38p-michael
Copy link
Contributor Author

Rebooting did apply the new settings. Thanks! I'll submit a PR with notes in the README to help others.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants