LinearTapeFileSystem / ltfs

Reference implementation of the LTFS format Spec for stand alone tape drive
BSD 3-Clause "New" or "Revised" License
256 stars 77 forks source link

modprobe.d setup #249

Closed softloft38p-michael closed 3 years ago

softloft38p-michael commented 3 years ago

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 commented 3 years ago

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 commented 3 years ago

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