OS Manuals

/usr/bin/ceph-dencoder

Common utilities to mount and interact with a Ceph storage cluster

From ceph-20-common 20.2.5-r0 (os), captured 2026-11-05 by running ceph-dencoder --help (exit 0). permalink

Also provided by 5 other package versions
usage: ceph-dencoder [commands ...]

  version             print version string (to stdout)

  import <encfile>    read encoded data from encfile
  export <outfile>    write encoded data to outfile

  set_features <num>  set feature bits used for encoding
  get_features        print feature bits (int) to stdout

  list_types          list supported types
  type <classname>    select in-memory type
  skip <num>          skip <num> leading bytes before decoding
  decode              decode into in-memory object
  encode              encode in-memory object
  add_crc32c          calculate and encode crc32c for in-memory object
  dump_json           dump in-memory object as json (to stdout)
  hexdump             print encoded data in hex
  get_struct_v        print version of the encoded object
  get_struct_compat   print the oldest version of decoder that can decode the encoded object

  copy                copy object (via operator=)
  copy_ctor           copy object (via copy ctor)

  count_tests         print number of generated test objects (to stdout)
  select_test <n>     select generated test object as in-memory object
  is_deterministic    exit w/ success if type encodes deterministically
Examples (6) from the manual page, untested

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.