On Fri, Oct 25, 2019 at 9:13 AM Steven Vacaroaia <ste...@gmail.com> wrote: > > Hi, > I am trying to increase size of a datastore made available through ceph iscsi > rbd > The steps I followed are depicted below > Basically gwcli report correct data and even VMware device capacity is > correct but when tried to increase it there is no device listed > > I am using ceph-iscsi-config-2.6-42.gccca57d.el7 and ceph 13.2.2 > > Any guidance/help will be appreciated > > 1. increase rbd size > rbd -p rbd resize --size 6T rep01 > Resizing image: 100% complete...done.
Never resize the RBD images backing a LUN via the "rbd" CLI -- use "gwcli" to resize the images and it will handle resizing the LUNs. > 2. restart gwcli > systemctl restart rbd-target-gw && systemctl restart rbd-target-api > > 3 check size > gwcli > /iscsi-target...go-ceph/hosts> ls > o- hosts > .................................................................................................... > [Hosts: 8: Auth: CHAP] > o- iqn.1998-01.com.vmware:vsan5-66c18541 > ................................................ [LOGGED-IN, Auth: CHAP, > Disks: 2(12.0T)] > | o- lun 0 > .................................................................................... > [rbd.vmware01(6.0T), Owner: osd01] > | o- lun 1 > ....................................................................................... > [rbd.rep01(6.0T), Owner: osd02] > > 4. VMware rescan devices > > > _______________________________________________ > ceph-users mailing list > ceph-users@lists.ceph.com > http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com -- Jason _______________________________________________ ceph-users mailing list ceph-users@lists.ceph.com http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com