iSCSI
- Linux
Create a new file called 99-zfssa.rules inside /etc/udev/rules.d with the following contents:
ACTION=="add", SYSFS{vendor}=="SUN", SYSFS{model}=="*ZFS*", ENV{ID_FS_USAGE}!="filesystem", ENV{ID_PATH}=="*-iscsi-*", RUN+="/bin/sh -c 'echo 1024 > /sys$DEVPATH/queue/max_sectors_kb'"
Reboot
ACTION=="add", SYSFS{vendor}=="SUN", SYSFS{model}=="*ZFS*", ENV{ID_FS_USAGE}!="filesystem", ENV{ID_PATH}=="*-iscsi-*", RUN+="/bin/sh -c 'echo 1024 > /sys$DEVPATH/queue/max_sectors_kb'"
Reboot
- Windows
Open up the Registry Editor (regedit)
Navigate to HKLM\SYSTEM\CurrentControlSet\Control\Class\{4D36E97B-E325-11CE-BFC1-08002BE10318}\<Instance Number>\Parameters
Change the following parameters to 1048576 in Decimal form:
FirstBurstLength
MaxBurstLength
MaxRecvDataSegmentLength
MaxTransferLength
Reboot
Navigate to HKLM\SYSTEM\CurrentControlSet\Control\Class\{4D36E97B-E325-11CE-BFC1-08002BE10318}\<Instance Number>\Parameters
Change the following parameters to 1048576 in Decimal form:
FirstBurstLength
MaxBurstLength
MaxRecvDataSegmentLength
MaxTransferLength
Reboot
- Solaris
# echo 'set maxphys=1048576' >> /etc/system
Reboot
Reboot
No comments:
Post a Comment