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
[email protected]
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/