You are not logged in.
I'm trying to determine my NVMe's physical block size, but I don't understand this error:
# nvme get-lba-status /dev/nvme0n1
action type (--action) has to be given
The manual says:
-a <action-type>, --action=<action-type>
Action Type(ATYPE) specifies the mechanism it uses in determining the LBA Status Descriptors.
Can someone translate that to simple English, please?
Last edited by TankieTanuki (2025-02-01 01:42:12)
Offline
# nvme get-lba-status --help
[ --action=<NUM>, -a <NUM> ] --- Action Type(ATYPE) specifies the
mechanism
the controller uses in
determining the LBA Status
Descriptors to return.
Well, this is passed to nvme_get_lba_status
Description
The Get LBA Status command requests information about Potentially Unrecoverable LBAs. Refer to the specification for action type descriptions.
So the specification...
...the specification...
...has hundreds of pages...
...what am I doing reading that stuff at 11pm...
...that took a while to find, NVM Express® NVM Command Set Specification, Revision 1.1, Page 111, Figure 130: Get LBA Status – Command Dword 13, Action Type (ATYPE): This field specifies the mechanism the controller uses in determining the LBA Status Descriptors to return as defined in Figure 132.
Followed by two pages of explanations.
So yeah, I don't know either.
Offline