Commit Graph

96 Commits

Author SHA1 Message Date
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
Greg Farnum
3421851fce doc: add some links to CephFS troubleshooting guide
Signed-off-by: Greg Farnum <gfarnum@redhat.com>
2016-07-29 13:59:22 -07:00
Greg Farnum
1c5778ecf9 doc: extend the CephFS troubleshooting guide
Signed-off-by: Greg Farnum <gfarnum@redhat.com>
2016-07-29 13:26:39 -07:00
Ken Dreyer
ae4b1744df doc: add troubleshooting steps for ceph-fuse
Thanks to John Spray <jspray@redhat.com> on ceph-devel for this
information.

Signed-off-by: Ken Dreyer <kdreyer@redhat.com>
2016-07-29 07:08:34 -06:00
John Spray
80c0dfcbda Merge pull request #10479 from batrick/standby-notes
doc: small standby doc edits

Reviewed-by: John Spray <john.spray@redhat.com>
2016-07-29 13:49:03 +01:00
John Spray
df0720c98b Merge pull request #10434 from batrick/i16743
doc: add client config ref

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
Reviewed-by: John Spray <john.spray@redhat.com>
2016-07-29 13:48:00 +01:00
Patrick Donnelly
00ca666a28
doc: add historical warning for mds_standby_replay
When testing < v10.2.1 with standby replay, I was often confused why the
MDS daemons would go into replay even when this was false.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2016-07-28 14:17:44 -04:00
Patrick Donnelly
080028b67f
doc: fix config separator/title size.
This makes the setting consistent with the others.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2016-07-28 14:17:30 -04:00
Patrick Donnelly
9ad2ccf298
doc: add client config ref
Fixes: http://tracker.ceph.com/issues/16743

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2016-07-27 17:21:40 -04:00
Greg Farnum
9884cd25b6 doc: describe snapshots for developers, and warn about multi-fs
Signed-off-by: Greg Farnum <gfarnum@redhat.com>
2016-07-26 06:25:55 -07:00
John Spray
ef1405ab19 doc/cephfs: explain the various health messages
Signed-off-by: John Spray <john.spray@redhat.com>
2016-07-21 12:32:05 +01:00
Patrick Donnelly
42e02369f0
doc: fix standby replay config
I tried using these settings in tests without success. The correct config names
are prefixed with "mds".

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

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2016-07-12 15:44:00 -04:00
John Spray
e222a99ab1 doc/cephfs: rename early-adopters to best-practices
...and give it a link in the TOC (in addition
to where it is referenced from the top of index.rst)

Signed-off-by: John Spray <john.spray@redhat.com>
2016-06-30 23:56:39 +01:00
John Spray
f6ddfad6da doc/cephfs: remove some scary warnings
...and restructure the "early adopters" page
into a "best practices" guide.  Early adopters
are now just adopters :-)

Signed-off-by: John Spray <john.spray@redhat.com>
2016-06-30 23:56:39 +01:00
John Spray
2499a568c2 doc: add _netdev to cephfs fstab lines
Signed-off-by: John Spray <john.spray@redhat.com>
2016-06-27 10:39:02 +01:00
John Spray
c698995c2e doc/cephfs: add advice about kernel versions
Signed-off-by: John Spray <john.spray@redhat.com>
2016-06-20 12:28:45 +01:00
Greg Farnum
5d9cc299e6 doc: include link to CephFS' experimental features
Signed-off-by: Greg Farnum <gfarnum@redhat.com>
2016-06-06 14:46:44 -07:00
John Spray
b6d2b6d1a5 client: report root's quota in statfs
When user is mounted a quota-restricted inode
as the root, report that inode's quota status
as the filesystem statistics in statfs.

This allows us to have a fairly convincing illusion
that someone has a filesystem to themselves, when
they're really mounting a restricted part of
the larger global filesystem.

Fixes: http://tracker.ceph.com/issues/15599
Signed-off-by: John Spray <john.spray@redhat.com>
2016-05-17 13:08:13 +01:00
John Spray
97dd6897ef doc: add cephfs daemon management docs
Principally to tell people how to configure
standby, but more generally as a place to define
our terms for GIDs etc.

Signed-off-by: John Spray <john.spray@redhat.com>
2016-05-03 12:57:22 +01:00
wangsongbo
048469255b doc: correct wrong spell 'mnay' to 'many'
Signed-off-by: wangsongbo <wangsongbo@unitedstack.com>
2016-04-24 11:19:09 +08:00
Greg Farnum
d82c49703d doc: add a page for CephFS' experimental features describing lockout rules
Signed-off-by: Greg Farnum <gfarnum@redhat.com>
2016-04-07 16:40:24 -07:00
Greg Farnum
6974ed4254 doc: update cephfs administration page for enable_multiple safety check
Signed-off-by: Greg Farnum <gfarnum@redhat.com>
2016-04-07 16:40:24 -07:00
Sage Weil
f6f9c00b33 Merge pull request #8121 from liewegas/wip-15136
mon: remove 'mds setmap'

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2016-03-18 09:44:05 -04:00
Sage Weil
b0d9b0de15 mon: remove 'mds setmap' command
This command has no discernable purpose, and is difficult and
dangerous to support anyway.

Fixes: #15136
Signed-off-by: Sage Weil <sage@redhat.com>
2016-03-17 10:40:24 -04:00
Dongsheng Yang
28982cad9b mds: change the 'fs remove_data_pool' to 'fs rm_data_pool'
As 'fs remove_data_pool' is newly introduced command, let's
change it to 'fs rm_data_pool' immediately rather than introduce
another alias for it.

Signed-off-by: Dongsheng Yang <dongsheng.yang@easystack.cn>
2016-03-14 16:42:13 +08:00
John Spray
99c175097c doc: cephfs admin command list
Creating this skeleton to include the new
"ceph fs ..." commands.  Needs filling out
with prose about purpose and result of
commands.

Signed-off-by: John Spray <john.spray@redhat.com>
2016-03-10 11:18:28 +00:00
John Spray
e5641115e9 doc: add notes about upgrading cephfs
This is part of the run-up to removing all
TMAP code in the Jewel+1 cycle.

Signed-off-by: John Spray <john.spray@redhat.com>
2016-03-01 10:58:43 +00:00
Sage Weil
d5cee59b02 doc/cephfs/posix: update
Signed-off-by: Sage Weil <sage@redhat.com>
2015-12-14 10:45:30 -05:00
John Spray
1b6a7e3600 doc: note that cephfs auth stuff is new in jewel
+ bonus whitespace fixes to the code blocks to
get them to render properly

Signed-off-by: John Spray <john.spray@redhat.com>
2015-12-08 14:10:18 +00:00
John Spray
534ff381ab Merge pull request #6848 from H3C/wip-zcl-layout-rst
doc:file must be empty when writing layout fields of file use "setfattr"

Reviewed-by: John Spray <john.spray@redhat.com>
2015-12-08 11:47:22 +00:00
Cilang Zhao
07c334a2ca doc:file must be empty when writing layout fields of file use "setfattr"
When the layout fields of a file are modified, this file must be empty, otherwise an error would occur.

Signed-off-by:Cilang Zhao zhao.cilang@h3c.com
2015-12-08 03:45:43 -05:00
Gregory Farnum
66de0e3215 Merge pull request #6567 from jcsp/wip-layout-restrict
mds: add 'p' flag in auth caps to control setting pool in layout

Reviewed-by: Sage Weil <sage@redhat.com>
2015-12-06 21:05:30 -08:00
Drunkard Zhang
9fba402413 doc: typo fix in cephfs/quota 2015-12-01 17:15:29 +08:00
John Spray
2829e9dc78 doc: flesh out MDS auth docs
...including updating for 'rwp'.

Signed-off-by: John Spray <john.spray@redhat.com>
2015-11-13 14:18:44 +00:00
Jevon Qiao
b4c5620d28 doc: remove toctree items under Create CephFS
The two toctree items under Create CephFS should be changed into hyper links.

Signed-off-by: Jevon Qiao <qiaojianfeng@unitedstack.com>
2015-10-13 21:38:02 +08:00
Jashan Kamboj
10295e9f8b doc:fix path-based restriction
Signed-off-by: Jashan Kamboj <jashank42@gmail.com>
2015-10-01 09:41:32 -04:00
Jashan Kamboj
6a6c06887c doc/cephfs: path-based restriction
Signed-off-by: Jashan Kamboj <jashank42@gmail.com>
2015-10-01 09:39:34 -04:00
Sage Weil
8b1df960e2 doc/cephfs/quota: simple doc
Signed-off-by: Sage Weil <sage@redhat.com>
2015-07-23 08:35:35 -04:00
John Spray
8eaa2f263d doc: add some docs about cephfs-data-scan
These are deliberately fairly sparse, because:
 * These tools are for experts
 * These tools may well be wrapped in a higher
   level recovery tool that orchestrates parallel
   workers at some stage.

Signed-off-by: John Spray <john.spray@redhat.com>
2015-07-13 14:05:17 +01:00
Valentin
a1e3108628 doc: Fixed the picture on page http://ceph.com/docs/master/cephfs/
Fixes: #9174

Signed-off-by Valentin Thomas <valentin.arshanes.thomas@gmail.com>
2015-06-19 13:37:56 +02:00