Usage: ldev [OPTIONS]... Parse ldev.conf and answer the following queries: -h, --help Display this help. -c, --config FILE Set path to config file. -H, --hostname NAME Use NAME instead of local hostname for queries. -p, --partner Print hostname of failover partner. -l, --local Print labels for local devices. -f, --foreign Print labels for foreign devices. -a, --all Print labels for local and foreign devices. -F, --filesys NAME Print labels for file system NAME. -s, --sanity Sanity check config on this node. -d, --device LABEL Print storage device of LABEL. -j, --journal LABEL Print journal device of LABEL if it exists. -r, --raidtab LABEL Print raidtab of LABEL if it exists. -t, --type LABEL Print device type of LABEL, i.e. "zfs" or "md". -z, --zpool LABEL Print zpool containing LABEL. -R, --role ROLE Filter output based on role, i.e. mdt, ost, mgs. CMD [ARGS] ... Run CMD in parallel for each device substituting: %f=fsname %d=device %i=dec-index %n=main-nid %l=label %t=srvtype %j=journal %I=hex-index %N=fail-nid %m=mgs-nid %H=hostname %b=backing-fs May be used in combination with -l, -f, -a, -F options.