Skip to content

How to set 128bit host id with SetFeature #2946

@PeterXUYAOHAI

Description

@PeterXUYAOHAI

When trying to set hostid with 128 bits value using SetFeature,
The command parser will stop the int128 bit value with

nvme_cli set-feature <disk_path> --feature_id=0x81 --value=123456789012345678901234567890123456789
Expected long suffixed integer argument for 'value' but got '123456789012345678901234567890123456789!

nvme-cli/nvme.c

Line 3234 in cf29338

nvme_show_error("Expected long suffixed integer argument for '%s-si' but got '%s'!",

Can someone help me understand as the hostid is supporting 128bits value, but how to set the host id with 128bit in the first place if the Set Feature command cannot take >int64 values?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions