Changing the Maximum Value

Linux

Audience
Public
Product
FlashBlade
FlashArray
Technology Integrations
Linux
Source Type
Documentation

Reboot Persistent

We recommend that you add the value to your UDEV rules file (99-pure-storage.rules) created above. This ensures that the setting persists through a reboot. To change that value please do the following:

  1. Add this line to your 99-pure-storage.rules file:
    
    ACTION=="add|change", KERNEL=="sd*[!0-9]", SUBSYSTEM=="block", ENV{ID_VENDOR}=="PURE", ATTR{queue/max_sectors_kb}="4096"
    

    You can use this command to add it:

    
    echo 'ACTION=="add|change", KERNEL=="sd*[!0-9]", SUBSYSTEM=="block", ENV{ID_VENDOR}=="PURE", ATTR{queue/max_sectors_kb}="4096"' >> /etc/udev/rules.d/99-pure-storage.rules
    Note:

    The location of your rules file may be different depending on your OS version, so please double check the command before running it.

  2. Reboot the host.
  3. Check the value again.

    Immediate Change but Won't Persist Through Reboot

    Note:

    This command should only be run if you are sure there are no running services depending on that volume, otherwise you can risk an application crash.

    If you need to make the change immediately, but cannot wait for a maintenance window to reboot, you can also change the setting with the following command:

    
    echo  # > /sys/block/sdz/queue/max_sectors_kb

    Substitute # with a number equal to or less than 4096 (default).