gwcli doesn't allow you to shrink images (it silently ignores you). Use 'rbd resize' and restart the GWs to pick up the new size.
On Fri, Jun 29, 2018 at 11:36 AM Wladimir Mutel <[email protected]> wrote: > Wladimir Mutel wrote: > > > it back to gwcli/disks), I discover that its size is rounded up to 3 > > TiB, i.e. 3072 GiB or 786432*4M Ceph objects. As we know, GPT is stored > > > 'targetcli ls /' (there, it is still 3.0T). Also, when I restart > > rbd-target-gw.service, it gets resized back up to 3.0T as shown by > > Well, I see this size in /etc/target/saveconfig.json > And I see how the RBD is extended in /var/log/tcmu-runner.log > And I remember that once I lazily added 2.7T RBD specifying its > size as > 3T in gwcli. Now trying to fix that wihout deleting/recreating the RBD... > > _______________________________________________ > ceph-users mailing list > [email protected] > http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com > -- Jason
_______________________________________________ ceph-users mailing list [email protected] http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
