Uploaded image for project: 'Couchbase Documentation'
  1. Couchbase Documentation
  2. DOC-5252

Show how to check directory paths with REST

    XMLWordPrintable

Details

    • DOC-2019-S19-Sep20, DOC-2019-S21-Oct18, DOC-2019-S22-Nov01

    Description

      The REST API docs at https://docs.couchbase.com/server/6.0/rest-api/rest-node-index-path.html show how to change the storage paths, but it should have an example how to check what the setting is.

      curl -u [admin]:[password] http://[localhost]:8091/nodes/self

      There's a section in the output with the info,

      "ssd": [],
      "hdd": [
      {
      "path": "/opt/couchbase/var/lib/couchbase/data",
      "index_path": "/opt/couchbase/var/lib/couchbase/data",
      "cbas_dirs": [
      "/opt/couchbase/var/lib/couchbase/data"
      ],

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            tony.hillman Tony Hillman (Inactive)
            ianmccloy Ian McCloy (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty