HomeClusterLabs Projects

Filesystem: fix getting the wrong block device when doing grep

Description

Filesystem: fix getting the wrong block device when doing grep

If we have such a filesystem structure mounted in our cluster
/dev/drbd50 /export/prq/upgrade_emspq xfs
/dev/drbd55 /export/prq/upgrade_sharedmsb xfs
/dev/drbd1 /export/devAGN/share xfs
/dev/drbd5 /export/dev/archivesn1agn xfs

When we want to stop the filesystem mounted on
/export/dev/archivesn1agn, we probably will get the wrong entry returned
here and thus will try to stop the wrong target.

Details

Provenance
Lidong Zhong <lidong.zhong@suse.com>Authored on Fri, Apr 25, 2:24 AM
Parents
rR959b5c88c6a5: podman-etcd: new resource agent (#2023)
Branches
Unknown
Tags
Unknown

Event Timeline

Lidong Zhong <lidong.zhong@suse.com> committed rR843c3b6f3bc4: Filesystem: fix getting the wrong block device when doing grep (authored by Lidong Zhong <lidong.zhong@suse.com>).Fri, Apr 25, 2:24 AM