Skip to content

Multiple EBS mounting #232

@t5unamie

Description

@t5unamie

Hey there,

The following entry added to opsworks does not add multiple EBS volumes and mount them.

"data": { "devices": { "/dev/xvdf": { "file_system": "ext3", "mount_options": "rw,user", "mount_path": "/usr/local/var/data/elasticsearch/logstash", "format_command": "mkfs.ext3", "fs_check_command": "dumpe2fs", "region": "eu-west-1", "ebs": { "device": "/dev/xvdf", "delete_on_termination": true, "size": 1000, "type": "io1", "iops": 2000 }, "/dev/xvdg": { "file_system": "ext3", "mount_options": "rw,user", "mount_path": "/usr/local/var/data/elasticsearch/logstash1", "format_command": "mkfs.ext3", "fs_check_command": "dumpe2fs", "region": "eu-west-1", "ebs": { "device": "/dev/xvdf", "delete_on_termination": true, "size": 1000, "type": "io1", "iops": 2000 } } } }

There are two mount referenced, why does it only create one?

This code suggests it should just work as it cycles throught all the devices.

https://github.com/elasticsearch/cookbook-elasticsearch/blob/master/recipes/ebs.rb

Regards

J

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions