Commit Graph

135 Commits

Author SHA1 Message Date
John Spray
76589ed9e1 doc: instructions and guidance for multimds
Inspired by http://tracker.ceph.com/issues/19135

Signed-off-by: John Spray <john.spray@redhat.com>
2017-03-07 14:08:22 +00:00
Drunkard Zhang
f763bacab3 doc: hyperlink fix
Signed-off-by: Drunkard Zhang <gongfan193@gmail.com>
2017-03-01 09:51:01 +08:00
John Spray
a4fcdb6133 Merge pull request #13346 from batrick/mds-doc-fix
doc: update to new ceph fs commands

Reviewed-by: John Spray <john.spray@redhat.com>
2017-02-20 23:58:55 +00:00
John Spray
41253bbd6c Merge pull request #13065 from ceph/wip-fuse-client-config-edits
doc: minor changes in fuse client config reference

Reviewed-by: John Spray <john.spray@redhat.com>
2017-02-20 13:34:04 +00:00
John Spray
f5ac182cbd Merge pull request #12370 from wido/docs-cephfs-disaster
doc: Update CephFS disaster recovery documentation

Reviewed-by: John Spray <john.spray@redhat.com>
2017-02-17 16:59:35 +00:00
Barbora Ančincová
b6cad3364c doc: additional edits in FUSE client config
Signed-off-by: Bara Ancincova (bara@redhat.com)
2017-02-16 10:49:24 +01:00
Patrick Donnelly
8501341886
doc: update to new ceph fs commands
These `ceph mds ...` commands are deprecated.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2017-02-09 21:20:04 -05:00
John Spray
f1c3eeda38 Merge pull request #12993 from jcsp/wip-cephfs-doc-authcaps
doc: clarify the path restriction mds cap example

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2017-02-06 12:59:22 +00:00
John Spray
c6eabe04d9 Merge pull request #11448 from ledgr/change/mount_fuse_ceph_options_in_fs_mntops_and_python
Rewrite mount.fuse.ceph (to python) and move ceph-fuse options to fs_mntops

Reviewed-by: John Spray <john.spray@redhat.com>
2017-02-03 12:30:46 +01:00
Wido den Hollander
d0c8d8cfe0
doc: Update CephFS disaster recovery documentation
Better documentation about spawning multiple workers to speed
up the recovery proces.

Signed-off-by: Wido den Hollander <wido@42on.com>
2017-01-30 10:07:35 +01:00
Edgaras Lukosevicius
35a13e86b2 Rewrite mount.fuse.ceph (to python) and move ceph-fuse options to fs_mntops
Rewrote mount.fuse.ceph to move ceph-fuse options to `fs_mntops`, where it should be.
Bash version with options in `fs_spec` is counterintuitive and cause issues in some
situations (systemd, for example)

Signed-off-by: Edgaras Lukosevicius <edgaras.lukosevicius@gmail.com>
2017-01-29 19:46:10 +02:00
Barbora Ančincová
80db40f855 doc: Dirty data are not the same as corrupted data
Signed-off-by: Bara Ancincova (bara@redhat.com)
2017-01-26 12:26:51 +01:00
Barbora Ančincová
e57605681f doc: minor changes in fuse client config reference
Signed-off-by: Bara Ancincova (bara@redhat.com)
2017-01-23 16:34:55 +01:00
John Spray
936bab6d59 doc: clarify the path restriction mds cap example
It's not obvious as written that the example was
only restricting writes to a path, not reads.

Signed-off-by: John Spray <john.spray@redhat.com>
2017-01-19 06:23:42 +01:00
Dan Mick
c278971bb6 doc/cephfs/troubleshooting: fix broken bullet list
Signed-off-by: Dan Mick <dan.mick@redhat.com>
2017-01-11 18:45:15 -08:00
John Spray
63ae8579bf Merge pull request #11542 from batrick/systemd-ceph-fuse
systemd: add ceph-fuse service file

Reviewed-by: John Spray <john.spray@redhat.com>
2016-12-14 13:55:33 +00:00
John Spray
3c7c65c669 Merge pull request #12337 from vishalkanaujia/wip_12132
tools: cleanup phase of cephfs-data-scan

Reviewed-by: John Spray <john.spray@redhat.com>
2016-12-14 13:52:35 +00:00
Wido den Hollander
82c2f840b6
doc: Fix for worker arguments to cephfs-data-scan tool
The docs were incorrect and these arguments should work.

Signed-off-by: Wido den Hollander <wido@42on.com>
2016-12-07 09:49:09 +01:00
Vishal Kanaujia
8e8f8dd260 tools: cleanup phase of cephfs-data-scan
cephfs-data-scan has a new optional phase to delete xattrs generated
during recovery.

Signed-off-by: Vishal Kanaujia <vishal.kanaujia@sandisk.com>
2016-12-06 18:43:52 +05:30
Patrick Donnelly
d32d70b783
systemd: add ceph-fuse service file
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2016-12-01 19:51:37 -05:00
John Spray
15c6147f79 doc: explain directory fragmenation settings
...and update the config ref.

Includes the new mds_bal_fragment_fast_factor setting.

Signed-off-by: John Spray <john.spray@redhat.com>
2016-11-24 10:45:59 +00:00
Sage Weil
58f9387acf Merge pull request #12127 from renhwztetecs/renhw-wip-doc-mds
doc/mds: fixup "mds bal mode" Description

Reviewed-by: John Spray <john.spray@redhat.com>
2016-11-22 19:35:43 -05:00
huanwen ren
3975b28b98 doc/mds: fixup "mds bal mode" Description
mds_load code is: 
switch(g_conf->mds_bal_mode) {
  case 0:
    return
      .8 * auth.meta_load() +
      .2 * all.meta_load() +
      req_rate +
      10.0 * queue_len;

  case 1:
    return req_rate + 10.0*queue_len;

  case 2:
    return cpu_load_avg;
  }

from Brett Niver <bniver@redhat.com> 

Signed-off-by: huanwen ren <ren.huanwen@zte.com.cn>
2016-11-22 20:10:51 +08:00
David Disseldorp
a138178fbe doc/cephfs/standby: fix minor typos
Signed-off-by: David Disseldorp <ddiss@suse.de>
2016-11-17 20:46:17 +01:00
David Disseldorp
f00546fee0 doc/cephfs: add note about deletion from OSD restricted pool
As described in http://tracker.ceph.com/issues/17937, a client with
restricted pool access can still delete files unless a corresponding
MDS path restriction is also in place.

Signed-off-by: David Disseldorp <ddiss@suse.de>
2016-11-17 20:45:57 +01:00
Patrick Donnelly
b9a63e49ea
doc: clarify mds deactivate purpose
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2016-11-13 21:51:51 -05:00
Patrick Donnelly
e5a05739ed
doc: remove broken sentence
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2016-11-13 21:51:29 -05:00
John Spray
36905d7caf Merge pull request #11783 from jcsp/wip-17796
mds: enable rmxattr on pool_namespace attrs 

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2016-11-11 12:09:57 +01:00
Kefu Chai
23b591c0f9 Merge pull request #11784 from jcsp/wip-jcsp-docs
Documentation syntax cleanup

Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-11-04 21:14:17 +08:00
John Spray
e7858ecf87 doc/cephfs: separate front page section for dev stuff
The "additional details" section was getting longer
and longer, and I don't want developer-only stuff
in there anyway.

Signed-off-by: John Spray <john.spray@redhat.com>
2016-11-04 13:07:30 +00:00
John Spray
7d4c4c83d1 doc/cephfs: fix rst syntax in mantle.rst
Signed-off-by: John Spray <john.spray@redhat.com>
2016-11-04 13:07:29 +00:00
John Spray
e33355d228 cephfs/capabilities: fix rst syntax
Although we don't link this into built docs,
it generates warnings during build.

Signed-off-by: John Spray <john.spray@redhat.com>
2016-11-04 13:07:29 +00:00
John Spray
8111fea1ad doc/cephfs: s/CephFS Quotas/Quotas/
This looks odd in the TOC (we're already
in the cephfs section)

Signed-off-by: John Spray <john.spray@redhat.com>
2016-11-04 13:07:29 +00:00
John Spray
6c38e3adb0 doc/cephfs: fix header depths
Some files had multiple top-level headers resulting in
subsections being listed in the TOC alongside the
main page header.

Signed-off-by: John Spray <john.spray@redhat.com>
2016-11-04 13:07:28 +00:00
John Spray
1e7e2a94ce doc/cephfs: link in mantle doc
...and add a warning at the very top of the document
that it is not for ordinary user use.

Considered just not linking this in at all, but it
seems a shame to have it here but not be able to
e.g. google it and link to it.

Signed-off-by: John Spray <john.spray@redhat.com>
2016-11-04 13:07:28 +00:00
John Spray
2c3d385c48 doc/cephfs: document the pool_namespace layout attr
...including the new ability to clear it.

Signed-off-by: John Spray <john.spray@redhat.com>
2016-11-04 13:00:05 +00:00
Uday Mullangi
7c7395c1cc doc: Fixing the broken hyperlinks by pointing to correct documentation.
Signed-off-by: umullangi@walmartlabs.com
2016-11-03 14:55:12 +05:30
Malte Fiala
34cd50c4c4 doc: Fixed mapping error in legacy mds command
Signed-off-by: Malte Fiala <maltefiala@produktion.io>
2016-10-27 19:27:19 +02:00
Michael Sevilla
5cc43cf0a7 mantle: re-design and fixes
- fix legacy encoding in mds map and add balancer to dumps
- fix blocking rados read and remove temporary files
- fix beacon message spamming

Signed-off-by: Michael Sevilla <mikesevilla3@gmail.com>
2016-10-25 13:27:34 -07:00
Michael Sevilla
0829028d1c mantle: store balancer in RADOS, balancer version in MDSMap
- add docs and sample balancer (greedy-spill)

Signed-off-by: Michael Sevilla <mikesevilla3@gmail.com>
2016-10-25 13:27:34 -07:00
John Spray
c83cb7a11d tools/cephfs: add pg_files command
Sometimes users know that particular data pool PGs
have been damaged, and they would like to scan
their files to work out which ones might have
been affected.

Fixes: http://tracker.ceph.com/issues/17249
Signed-off-by: John Spray <john.spray@redhat.com>
2016-10-19 23:06:41 +01:00
Patrick Donnelly
52f4e545e0
mds: remove max_mds config option
It is now required that all changes to max_mds use the run-time `ceph fs
set max_mds` command. The rationale for this change is that it is
confusing to have a configuration for max_mds which is only observed at
file system creation.

Fixes: http://tracker.ceph.com/issues/17105

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2016-08-31 22:17:28 -04:00
Patrick Donnelly
11bf807563
doc: add graphic for cap bit field
Thanks to Jeff for putting this doc together!

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2016-08-26 15:13:58 -04:00
Kefu Chai
b3d9b8d975 doc: silence sphinx warnings
Signed-off-by: Kefu Chai <kchai@redhat.com>
2016-08-09 16:39:30 +08:00
John Spray
4a648d2d4a Merge pull request #10573 from renhwztetecs/renhw-wip-doc-cephfs
doc/mds: fixup mds doc

Reviewed-by: John Spray <john.spray@redhat.com>
2016-08-05 12:26:21 +01:00
huanwen ren
d1277f116c doc/mds: add generated files into the /etc/ceph/
Fixes: 16906

Signed-off-by: huanwen ren <ren.huanwen@zte.com.cn>
2016-08-04 20:14:18 +08:00
John Spray
48cd11fece Merge pull request #10458 from gregsfortytwo/wip-doc-troubleshooting
doc: extend the CephFS troubleshooting guide

Reviewed-by: Zack Cerza <zack@redhat.com>
Reviewed-by: John Spray <john.spray@redhat.com>
2016-08-02 18:04:31 +01:00
Jeff Layton
d85ba5758a doc: add a new document on capabilities
Signed-off-by: Jeff Layton <jlayton@redhat.com>
2016-08-02 07:20:05 -04:00
huanwen ren
d40e9aaead doc/mds: consistent with "../doc/rados/deployment/index.rst"
Signed-off-by: huanwen ren <ren.huanwen@zte.com.cn>
2016-08-02 16:50:15 +08:00
huanwen ren
4f5346cc10 doc/cephfs: fix up mds_standby_replay describe
Signed-off-by: huanwen ren <ren.huanwen@zte.com.cn>
2016-08-01 14:52:01 +08:00