mount volumes based on size

30 views
Skip to first unread message

Govindaraj Venkatesan

unread,
Feb 11, 2016, 4:48:27 PM2/11/16
to Ansible Project
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
Reply all
Reply to author
Forward
0 new messages