Skip to content

Instantly share code, notes, and snippets.

@FlorianHeigl
Last active September 23, 2020 13:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save FlorianHeigl/ba211200098b73a0278b9a12a131fd79 to your computer and use it in GitHub Desktop.
Save FlorianHeigl/ba211200098b73a0278b9a12a131fd79 to your computer and use it in GitHub Desktop.
noworky
[root@wwdbemame floh]# nvme list
Node SN Model Namespace Usage Format FW Rev
---------------- -------------------- ---------------------------------------- --------- -------------------------- ---------------- --------
[root@wwdbemame floh]# sfx-nvme list
Node SN Model Namespace Usage Format FW Rev
---------------- -------------------- ---------------------------------------- --------- -------------------------- ---------------- --------
/dev/sfdv0n1 UC1945A7118M AF5UP34HTCSF3T2A 1 3.84 TB / 3.84 TB 4 KiB + 0 B 00004759
[root@wwdbemame floh]# yum install nvme-cli-1.12-2.el8.x86_64.rpm
scaleflux_sfx3x 365 B/s | 833 B 00:02
scaleflux_sfx3x-source 461 B/s | 833 B 00:01
Dependencies resolved.
================================================================================
Package Architecture Version Repository Size
================================================================================
Upgrading:
nvme-cli x86_64 1.12-2.el8 @commandline 365 k
Transaction Summary
================================================================================
Upgrade 1 Package
Total size: 365 k
Is this ok [y/N]: y
Downloading Packages:
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Preparing : 1/1
Running scriptlet: nvme-cli-1.12-2.el8.x86_64 1/1
Upgrading : nvme-cli-1.12-2.el8.x86_64 1/2
Running scriptlet: nvme-cli-1.12-2.el8.x86_64 1/2
Cleanup : nvme-cli-1.9-7.el8_2.x86_64 2/2
Running scriptlet: nvme-cli-1.9-7.el8_2.x86_64 2/2
Verifying : nvme-cli-1.12-2.el8.x86_64 1/2
Verifying : nvme-cli-1.9-7.el8_2.x86_64 2/2
Upgraded:
nvme-cli-1.12-2.el8.x86_64
Complete!
[root@wwdbemame floh]# nvme sfx change-cap -c 6400 /dev/sfxv0
WARNING: Changing capacity may irrevocably delete user data.
You have 10 seconds to press Ctrl-C to cancel this operation.
Use the force [--force|-f] option to suppress this warning.
Sending operation ...
6400G 0B 1562805846 4K
vu ioctl fail, errno 25
[root@wwdbemame floh]# nvme list
Node SN Model Namespace Usage Format FW Rev
---------------- -------------------- ---------------------------------------- --------- -------------------------- ---------------- --------
[root@wwdbemame floh]# nvme sfx change-cap -c 6400 /dev/sfdv0n1
WARNING: Changing capacity may irrevocably delete user data.
You have 10 seconds to press Ctrl-C to cancel this operation.
Use the force [--force|-f] option to suppress this warning.
Sending operation ...
6400G 0B 1562805846 4K
NVMe IO command error:INVALID_FIELD: A reserved coded value or an unsupported value in a defined field(4002)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment