Closed shishir-a412ed closed 5 years ago
@rhatdan Please review. /cc @angermueller
[root@localhost docker-lvm-plugin]# docker volume create -d lvm --opt size=20Mbs --name foobar
Error response from daemon: create foobar: VolumeDriver.Create: invalid size: '20Mbs'
[root@localhost docker-lvm-plugin]# docker volume create -d lvm --opt size=15M --name foobar
Error response from daemon: create foobar: VolumeDriver.Create: Error creating LVM volume, minimum expected size is 16M
LGTM
Fixes #60
Signed-off-by: Shishir Mahajan shishirm@nvidia.com