2017年5月15日 星期一

[linux][nvme-cli] nvme id-ns

  • Has the program interpret the returned buffer and display the known fields in a human readable format:
    # nvme id-ns /dev/nvme0n1
  • If using the character device or overriding namespace id:
    # nvme id-ns /dev/nvme0 -n 1
    # nvme id-ns /dev/nvme0n1 -n 1
    # nvme id-ns /dev/nvme0 --namespace-id=1
     


    wired, all the same output... 

    • In addition to showing the known fields, have the program to display the vendor unique field:
      # nvme id-ns /dev/nvme0n1 --vendor-specific
      # nvme id-ns /dev/nvme0n1 -v
      The above will dump the 'vs' buffer in hex since it doesn’t know how to interpret it.

     

沒有留言:

張貼留言