mount volumes based on size

Hi All,

Currently we are mounting the volume as below

  • name: mkfs the volume
    filesystem: fstype=ext4 dev=/dev/vdb
    tags: mount_zookeeper_fs

is there a way we can mount volumes based on the size? sometimes our dev=/dev/vdb changes and is not constant. But the size remains the same.

Thanks,
Govind