Skip to content

Commit

Permalink
Document required reboot for modprobe.d settings to take effect. Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
softloft38p-michael authored Feb 11, 2021
1 parent 3b5acac commit aacc20c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,8 @@ In RHEL7, you can put following file as `/etc/modprobe.d/sg.conf`.
options sg def_reserved_size=1048576
```

A reboot is required for these settings to take effect.

You can check current configuration of sg driver to see the file `/proc/scsi/sg/debug` like

```
Expand Down Expand Up @@ -164,6 +166,8 @@ In RHEL7, you can put following file as `/etc/modprobe.d/sg.conf`.
options sg allow_dio=1
```

A reboot is required for these settings to take effect.

At this time, we know following HBA's works correctly.

- QLogic 8Gb FC HBAs
Expand All @@ -181,6 +185,8 @@ In the lpfc driver (for Emulex Fibre HBAs), the table size of the scatter-gather
options lpfc lpfc_sg_seg_cnt=256
```

A reboot is required for these settings to take effect.

In some versions of the lpfc driver (for Emulex Fibre HBAs), the table size of the scatter-gather cannot be changed correctly. You can check the value is changed or not in `sg_tablesize` value in `/proc/scsi/sg/debug`. If you don't have a correct value (256 or greater) in `sg_tablesize`, removing `allow_dio=1` configuration of the sg driver is strongly recommended.

##### Note for buggy HBAs
Expand Down

0 comments on commit aacc20c

Please sign in to comment.