in lvm Shell --reportformat json is ignored

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi list,

Im wondering, that using lvm commands directly and in a lvm-shell work
different:

lvs --reportformat json

works as expected, but the same command in lvm-shell shows only basic
reportformat:

root@p51:/home/oliver# lvs -o lv_name -S 'lv_name=~^thin' --reportformat
json
  {
      "report": [
          {
              "lv": [
                  {"lv_name":"thintest1"},
                  {"lv_name":"thintest2"}
              ]
          }
      ]
  }
root@p51:/home/oliver# lvm
lvm> lvs -o lv_name -S 'lv_name=~^thin' --reportformat json
  LV      
  thintest1
  thintest2
lvm>


Tfh!

Oliver


_______________________________________________
linux-lvm mailing list
linux-lvm@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/




[Index of Archives]     [Gluster Users]     [Kernel Development]     [Linux Clusters]     [Device Mapper]     [Security]     [Bugtraq]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]

  Powered by Linux