rancher / convoy

A Docker volume plugin, managing persistent container volumes.
Apache License 2.0
1.31k stars 135 forks source link

Convoy ignores dm.fs=xfs #190

Open slavashvets opened 7 years ago

slavashvets commented 7 years ago

Environment

Steps to reproduce

  1. Download and unpack convoy
  2. Create devices
  3. Start Convoy daemon convoy daemon --drivers devicemapper --driver-opts dm.datadev=/dev/docker/volumedata --driver-opts dm.metadatadev=/dev/docker/volumemetadata --driver-opts dm.fs=xfs
  4. Create volume: convoy create testxfs

Expected

The volume has XFS filesystem

Actual

# convoy inspect testxfs
{
        "Name": "testxfs",
        "Driver": "devicemapper",
        "MountPoint": "",
        "CreatedTime": "Fri Jan 20 13:57:11 +0300 2017",
        "DriverInfo": {
                "DevID": "27",
                "Device": "/dev/mapper/testxfs",
                "Driver": "devicemapper",
                "Filesystem": "ext4",
                "MountPoint": "",
                "Size": "107374182400",
                "VolumeCreatedAt": "Fri Jan 20 13:57:11 +0300 2017",
                "VolumeName": "testxfs"
        },
        "Snapshots": {}
}