Code Monkey home page Code Monkey logo

Comments (1)

benapetr avatar benapetr commented on August 17, 2024

NVM, I figured it out, for whoever would be googling this:

You need to add all clients via iscsi-targets/iqn.*/hosts create and then add the shared disk to all of them via disk add, so that topology looks like this:

o- / ......................................................................................................................... [...]
  o- cluster ......................................................................................................... [Clusters: 1]
  | o- ceph ............................................................................................................ [HEALTH_OK]
  |   o- pools .......................................................................................................... [Pools: 1]
  |   | o- rbd .............................................................. [(x3), Commit: 100G/197159296K (53%), Used: 32440398b]
  |   o- topology ................................................................................................ [OSDs: 3,MONs: 3]
  o- disks ........................................................................................................ [100G, Disks: 1]
  | o- rbd ............................................................................................................ [rbd (100G)]
  |   o- disk_1 ................................................................................................ [rbd/disk_1 (100G)]
  o- iscsi-targets ............................................................................... [DiscoveryAuth: None, Targets: 1]
    o- iqn.2003-01.com.redhat.iscsi-gw:iscsi-igw ..................................................................... [Gateways: 3]
      o- disks .......................................................................................................... [Disks: 1]
      | o- rbd/disk_1 .................................................................................... [Owner: ceph3.cz.nonprod]
      o- gateways ............................................................................................ [Up: 3/3, Portals: 3]
      | o- ceph1.cz.nonprod ................................................................................... [10.129.112.30 (UP)]
      | o- ceph2.cz.nonprod ................................................................................... [10.129.112.31 (UP)]
      | o- ceph3.cz.nonprod ................................................................................... [10.129.112.32 (UP)]
      o- host-groups .................................................................................................. [Groups : 0]
      o- hosts ............................................................................................... [Hosts: 2: Auth: ACL]
        o- iqn.2019-08.nonprod.cz:542daa13 ................................................. [LOGGED-IN, Auth: None, Disks: 1(100G)]
        | o- lun 0 ..................................................................... [rbd/disk_1(100G), Owner: ceph3.cz.nonprod]
        o- iqn.2019-08.nonprod.cz:7804dffa ................................................. [LOGGED-IN, Auth: None, Disks: 1(100G)]
          o- lun 0 ..................................................................... [rbd/disk_1(100G), Owner: ceph3.cz.nonprod]

from ceph-iscsi.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.