John Spray
177699981e
Merge pull request #13522 from singler/wip-reconnect-client
...
client/Client.cc: after reset session from MDS - reconnect
Reviewed-by: Yan, Zheng <zyan@redhat.com>
2017-04-15 19:44:53 +01:00
John Spray
e1b4327d67
Merge pull request #14087 from jcsp/wip-doc-fscid
...
doc: how to specify filesystem for cephfs clients
Reviewed-by: Yan, Zheng <zyan@redhat.com>
2017-04-13 17:42:13 +01:00
Henrik Korkuc
e0bbc70467
client/Client.cc: add feature to reconnect client after MDS reset
...
Client.cc marks session as stale instead of reconecting after received
reset from MDS. On MDS side session is closed so MDS is ignoring cap
renew. This adds option to reconnect stale client sessions instead of
just marking sessions stale.
Fixes: http://tracker.ceph.com/issues/18757
Signed-off-by: Henrik Korkuc <henrik@kirneh.eu>
2017-04-12 15:27:12 +03:00
Douglas Fuller
cb86740a5f
cephfs: Permit recovering metadata into a new RADOS pool
...
Add a procedure that permits reconstructing metadata in a potentially
damaged cephfs metadata pool and writing the results into a
freshly-initialized pool that refers to the same data pool. Add option
flags to override checks that would ordinarily prevent this and add
options to the recovery tools to write output to a separate pool instead of
the one selected for recovery. See docs/cephfs/disaster-recovery.rst for
details.
Fixes: http://tracker.ceph.com/issues/15068
Fixes: http://tracker.ceph.com/issues/15069
Signed-off-by: Douglas Fuller <dfuller@redhat.com>
2017-04-04 12:29:01 -07:00
John Spray
c743ea7d00
mds: enable dirfrags by default in new filesystems
...
Signed-off-by: john Spray <john.spray@redhat.com>
2017-03-28 23:26:51 +01:00
John Spray
d4959004d1
Merge pull request #12074 from batrick/i17604
...
mds: warn if insufficient standbys exist
Reviewed-by: John Spray <john.spray@redhat.com>
2017-03-28 09:25:24 -04:00
John Spray
3307ecf782
doc: how to specify filesystem for cephfs clients
...
Signed-off-by: John Spray <john.spray@redhat.com>
2017-03-22 11:03:06 -04:00
Kefu Chai
e423f0b597
doc: cephfs: fix the unexpected indent warning
...
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-03-21 13:47:09 +08:00
Kefu Chai
b935248197
Merge pull request #13997 from tchaikov/wip-doc-fixings
...
doc: fixes to silence sphinx-build
Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
2017-03-21 11:46:12 +08:00
Kefu Chai
9d32038222
doc/cephfs: add capabilities.rst to toc
...
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-03-16 16:39:40 +08:00
Kefu Chai
d90d4f22d6
docs/cephfs: troubleshooting.rst: fix sphinx warning
...
silences following warning:
troubleshooting.rst:16: WARNING: unknown document:
/rados/troubleshooting
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-03-16 16:34:53 +08:00
John Spray
f788686d5c
mds: extend 'p' auth cap to cover all vxattr stuff
...
Fixes: http://tracker.ceph.com/issues/19075
Signed-off-by: John Spray <john.spray@redhat.com>
2017-03-08 14:02:57 +00:00
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
Patrick Donnelly
7278543d74
mds: warn if insufficient standbys exist
...
Fixes: http://tracker.ceph.com/issues/17604
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2017-02-28 14:57:59 -05: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