Describe the bug
When use configure band for a 20T drive, found an issue that can't configure that band if the setting of 'rangestart' is large, same issue for 'rangelength'. The program shows 'ValueError: Unknown format code 'x' for object of type 'str'.
To Reproduce
Steps to reproduce the behavior:
Build steps
Run steps
Python script and CLI command that's being used.
python3 sed_cli.py --device=/dev/sde --operation=configureband --bandno=3 --rangestart=0x48C400000 --rangelength=0x74706DB0 --lockonreset=true --keymanager=json
Type of drive interface that's being used (SAS/SATA/NVMe). => SATA.
Product type ( Eg: Seagate, Micron). => Seagate
Expected behavior
Band should be configured successfully without error. See Screenshot for the good case.
Screenshots
Desktop (please complete the following information):
OS: [e.g. CentOS 7] => CentOS 7
Python version => Python 3.6.8
Additional context
The Max LBA of this 20T drive is 0x9185FFFFF.
Describe the bug When use configure band for a 20T drive, found an issue that can't configure that band if the setting of 'rangestart' is large, same issue for 'rangelength'. The program shows 'ValueError: Unknown format code 'x' for object of type 'str'.
To Reproduce Steps to reproduce the behavior:
Build steps
Run steps
Python script and CLI command that's being used.
python3 sed_cli.py --device=/dev/sde --operation=configureband --bandno=3 --rangestart=0x48C400000 --rangelength=0x74706DB0 --lockonreset=true --keymanager=json
Type of drive interface that's being used (SAS/SATA/NVMe). => SATA.
Product type ( Eg: Seagate, Micron). => Seagate
Expected behavior Band should be configured successfully without error. See Screenshot for the good case.
Screenshots
Desktop (please complete the following information):
Additional context The Max LBA of this 20T drive is 0x9185FFFFF.