23 Mar 2021
Overview
Thanks to a note and a good find by /u/DerUlmer I can now say there is a known way to change the zoning for the NDS-4600:
See the section for "Changing the zoning"
https://blog.carlesmateo.com/2019/06/07/dealing-with-performance-degradation-on-zfs-draid-rebuilds-when-migrating-from-a-single-processor-to-a-multiprocessor-platform/
Steps
Note: I've not tested this (yet).
- Determine the SCSI device of the chassis
- You can use `sg_map` or `lsblk`
- sg_map example:
[root@stor0 ~]# sg_map -i|grep NDS
/dev/sg35 NEWISYS NDS-4600-JD 0509
- Set the zoning
- For zone config 0:
sg_senddiag /dev/sg35 --pf --raw=04,00,00,01,50 - For zone config 1:
sg_senddiag /dev/sg35 --pf --raw=04,00,00,01,51 - For zone config 2:
sg_senddiag /dev/sg35 --pf --raw=04,00,00,01,52 - For zone config 3:
sg_senddiag /dev/sg35 --pf --raw=04,00,00,01,53
- For zone config 0:
- Wait 1 minute (aka `sleep 60`)
- Reboot the controller
sg_senddiag /dev/sg35 --pf --raw=04,00,00,01,43 - Run `rescan-scsi-bus.sh` or equivalent
Zoning Configurations
The DAS unit's four ports per controller can be setup in four modes:
- Zone Config 0
- All ports have access to all disks on both controllers
- Zone Config 1
- Drives 1-30 can be accessed via ports 1 and 2 on both controllers
- Drives 31-60 can be accessed via ports 3 and 4 on both controllers
- Zone Config 2
- Drives 1-30 can be accessed via any port on controller 1
- Drives 31-60 can be accessed via any port on controller 2
- Zone Config 3
- Drives 1-15 can be accessed via port 1 on both controllers
- Drives 16-30 can be accessed via port 2 on both controllers
- Drives 31-45 can be accessed via port 3 on both controllers
- Drives 46-60 can be accessed via port 4 on both controllers