Commit Graph

244 Commits

Author SHA1 Message Date
Patrick Donnelly
a89865b320
doc/releases: update CephFS mimic notes
Fixes: http://tracker.ceph.com/issues/23775

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2018-05-24 15:38:31 -07:00
Jos Collin
d756656e24 align lspools output in file-layouts and manual-freebsd-deployment
align as per 50dc08cffd

Signed-off-by: Jos Collin <jcollin@redhat.com>
2018-05-11 13:45:03 +05:30
Jos Collin
9a9b1515f4 Fixed configuration setting standby_replay
Signed-off-by: Jos Collin <jcollin@redhat.com>
2018-05-10 09:56:23 +05:30
Jos Collin
2b64dbf51d Fixed the order of configuration
Signed-off-by: Jos Collin <jcollin@redhat.com>
2018-05-10 09:54:44 +05:30
Patrick Donnelly
8b3b7dbefa
Merge PR #21499 into master
* refs/pull/21499/head:
	doc/cephfs: update kernel client quotas support info

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Ilya Dryomov <idryomov@redhat.com>
2018-04-19 16:15:28 -07:00
Luis Henriques
35191fa4ad doc/cephfs: update kernel client quotas support info
Signed-off-by: Luis Henriques <lhenriques@suse.com>
2018-04-18 16:33:57 +01:00
Patrick Donnelly
4e9ffffb95
doc: update upgrade procedure and release notes
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2018-04-17 11:26:56 -07:00
Douglas Fuller
7d97a6e6f8
cephfs: kill allow_dirfrags
As dirfrags are now standard in CephFS, remove the machinery for
tracking and enabling this feature.

ceph fs set <fs> allow_dirfrags is now deprecated and prints a warning
message.

Signed-off-by: Douglas Fuller <dfuller@redhat.com>
2018-04-17 11:01:03 -07:00
Douglas Fuller
a950bccfd1
cephfs: Change behavior of cluster_down flag
Setting the cluster_down flag will now set all active MDS
to standby and clearing it will restore the previous max_mds.
Changing max_mds when the cluster_down flag is set will clear the
flag automatically.

Signed-off-by: Douglas Fuller <dfuller@redhat.com>
2018-04-17 11:01:03 -07:00
Patrick Donnelly
f1a733e683
Merge PR #21265 into master
* refs/pull/21265/head:
	doc: outline steps to take CephFS fs down

Reviewed-by: Douglas Fuller <dfuller@redhat.com>
2018-04-11 10:30:42 -07:00
Patrick Donnelly
3ab655b55d
Merge PR #21263 into master
* refs/pull/21263/head:
	doc: outline upgrade procedure for mds cluster

Reviewed-by: Douglas Fuller <dfuller@redhat.com>
2018-04-09 08:59:11 -07:00
Patrick Donnelly
9aa13bf0b0
doc: outline steps to take CephFS fs down
Fixes: https://tracker.ceph.com/issues/23427

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2018-04-05 20:06:29 -07:00
Patrick Donnelly
baa59f3821
doc: outline upgrade procedure for mds cluster
Fixes: http://tracker.ceph.com/issues/23568

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2018-04-05 16:09:00 -07:00
Ramana Raja
4eeea7c0f3 doc: fix typos and other minor errors in cephfs-nfs doc
Signed-off-by: Ramana Raja <rraja@redhat.com>
2018-04-04 15:12:02 +05:30
Patrick Donnelly
d4ee7b5056
Merge PR #20915 into master
* refs/pull/20915/head:
	Add config doc for exporting CephFS over NFS

Reviewed-by: Jeff Layton <jlayton@redhat.com>
2018-04-03 12:52:48 -07:00
Patrick Donnelly
8b7892f6c9
Merge PR #20855 into master
* refs/pull/20855/head:
	client: add the fuse parameter max_write

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2018-04-02 21:15:20 -07:00
Ramana Raja
c33cba3230 Add config doc for exporting CephFS over NFS
... using NFS-Ganesha NFS server.

Fixes: https://tracker.ceph.com/issues/23271

Signed-off-by: Ramana raja <rraja@redhat.com>
2018-04-02 18:10:43 +05:30
Patrick Donnelly
0e3d5653e4
Merge PR #20927 into master
* refs/pull/20927/head:
	doc: use actual entity address for clarity
	doc: make minor grammatical rectifications

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2018-03-29 14:03:36 -07:00
Rishabh Dave
f723aa1474 doc: use actual entity address for clarity
Fixes: https://tracker.ceph.com/issues/23334
Signed-off-by: Rishabh Dave <ridave@redhat.com>
2018-03-26 12:02:44 +05:30
huanwen ren
8dbc5c9d1c client: add the fuse parameter max_write
This parameter has the following 2 advantages:
1. FUSE(version > 2.8) the default single IO write size is 128k (controlled by max_write), if I use bs=4M in the FIO tool test,
   you will find that 4*1024k/128=32 is needed, ie 32 IO operations are needed . If I adjust max_write to 4M,
   only one operation is needed, which greatly improves the write performance of cephfs during fuse mount.
   Of course, the above implementation requires libfuse and kernel fuse to support.
2. In addition, we can also limit the single IO write size by setting max_write to less than 128K.

Signed-off-by: huanwen ren <ren.huanwen@zte.com.cn>
2018-03-19 11:23:05 +08:00
ashitakasam
a2b14a741c doc: 'daemon' is misspelled in doc/cephfs/health-messages.rst and src/tools/rbd_recover_tool/README
Signed-off-by: ashitakasam <694240887@qq.com>
2018-03-19 10:21:38 +08:00
Rishabh Dave
d8eb9bd3dc doc: make minor grammatical rectifications
Signed-off-by: Rishabh Dave <ridave@redhat.com>
2018-03-16 00:58:38 +05:30
John Spray
31864b6682 doc/cephfs: mention "ceph fs set-default"
Signed-off-by: John Spray <john.spray@redhat.com>
2018-03-07 14:33:42 +00:00
huanwen ren
78c3dfdf32 doc/client: uniform naming
Signed-off-by: huanwen ren <ren.huanwen@zte.com.cn>
2018-01-29 18:24:05 +08:00
Shangzhong Zhu
e7d555b033 doc: redundant "cephfs" when set the "allow_multimds"
Signed-off-by: Shangzhong Zhu <zhu.shangzhong@zte.com.cn>
2018-01-22 19:46:16 +08:00
Patrick Donnelly
7829d22689
Merge PR #19791 into master
* refs/pull/19791/head:
	doc: misc fixes
	doc: fix heading

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2018-01-08 20:45:32 -08:00
Jos Collin
ecacd1078d doc: misc fixes
misc fixes for best-practices.

Signed-off-by: Jos Collin <jcollin@redhat.com>
2018-01-09 10:09:09 +05:30
Patrick Donnelly
733d21f592
mds: warn for mds_cache_memory_limit bug in doc
Fixes: http://tracker.ceph.com/issues/22599

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2018-01-08 14:14:53 -08:00
Jos Collin
a925bb4520 doc: fix typo
Signed-off-by: Jos Collin <jcollin@redhat.com>
2018-01-05 19:37:31 +05:30
Jos Collin
db23f4ce30 doc: add mount.fuse.ceph to index
Added mount.fuse.ceph to index.rst

Fixes: http://tracker.ceph.com/issues/22595
Signed-off-by: Jos Collin <jcollin@redhat.com>
2018-01-05 19:29:55 +05:30
Jos Collin
a068fd842f doc: fix heading
Fixed 'Which kernel version?' heading not having brown color background.

Signed-off-by: Jos Collin <jcollin@redhat.com>
2018-01-05 11:24:28 +05:30
Jos Collin
19d4469678 doc: fix grammar mistake
Fixed grammar mistake in a sentence.

Signed-off-by: Jos Collin <jcollin@redhat.com>
2017-12-28 09:34:12 +05:30
Jos Collin
7454cb0f68 doc: update Blacklisting and OSD epoch barrier
Updated missing OSD epoch barrier section, which is referenced by http://docs.ceph.com/docs/master/cephfs/full/#hammer-and-later.

Fixes: http://tracker.ceph.com/issues/22542
Signed-off-by: Jos Collin <jcollin@redhat.com>
2017-12-28 09:33:58 +05:30
Patrick Donnelly
634a2ccb34
Merge PR #19535 into master
* refs/pull/19535/head:
	doc: clarify type of client in config ref

Reviewed-by: Jos Collin <jcollin@redhat.com>
2017-12-15 15:31:30 -08:00
Patrick Donnelly
ee9d5f9a45
Merge PR #19440 into master
* refs/pull/19440/head:
	mds: update mds option descriptions
	mds: obsolete MDSMap option configs
	mds: organize Filesystem class def

Reviewed-by: John Spray <john.spray@redhat.com>
2017-12-15 11:07:58 -08:00
Patrick Donnelly
61215892d4
doc: clarify type of client in config ref
The kernel configuration is different.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2017-12-14 12:37:17 -08:00
Patrick Donnelly
67ca6cd229
mds: obsolete MDSMap option configs
These configs were used for initialization but it is more appropriate to
require setting these file system attributes via `ceph fs set`. This is similar
to what was already done with max_mds. There are new variables added for `fs
set` where missing.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2017-12-13 18:30:52 -08:00
Sage Weil
6fdd8ba284
Merge pull request #19435 from smithfarm/wip-20559
doc: globally change CRUSH ruleset to CRUSH rule

Reviewed-by: Sage Weil <sage@redhat.com>
2017-12-11 18:55:13 -06:00
Nathan Cutler
aea9fa01ae doc: globally change CRUSH ruleset to CRUSH rule
Since kraken, Ceph enforces a 1:1 correspondence between CRUSH ruleset and
CRUSH rule, so effectively ruleset and rule are the same thing, although
the term "ruleset" still survives - notably in the CRUSH rule itself, where it
effectively denotes the number of the rule.

This commit updates the documentation to more faithfully reflect the current
state of the code.

Fixes: http://tracker.ceph.com/issues/20559
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2017-12-11 17:15:23 +01:00
Dan van der Ster
9d55d17c4e doc: correct the new fs allow opts
Signed-off-by: Dan van der Ster <daniel.vanderster@cern.ch>
2017-12-11 13:32:59 +01:00
Barbora Ančincová
4f590990b0 doc: Add section about MDS cache limits
Signed-off-by: Bara Ancincova (bara@redhat.com)
2017-11-29 12:46:49 +01:00
Patrick Donnelly
06e2cec1ea
Merge PR #17678 into master
* refs/pull/17678/head:
	mon/AuthMonitor: improve error message
	mon/OSDMonitor: disallow "all" as a key or value name
	cephfs, mon/AuthMonitor, OSD/osdcap: make 'all' a synonym for '*'
	vstart.sh: Create an admin user for each CephFS
	mon/AuthMonitor: Allow * wildcard for filesystem name
	OSD/OSDCap: Allow namespace and pool tag to be combined
	OSD/OSDCap: Namespace globbing
	mon/AuthMonitor: Use new osd auth caps for ceph fs authorize
	OSD/auth caps: Add OSD auth caps based on pool tag
	mon/FSCommands: Tag pools used for cephfs by default
	mon/OSDMonitor: Add key/value arguments for pool tagging

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2017-11-21 13:49:24 -08:00
Patrick Donnelly
df43e415c6
Merge PR #18274 into master
* refs/pull/18274/head:
	mds: fold mds_revoke_cap_timeout into mds_session_timeout
	client: add new delegation testcases
	client: add delegation support for cephfs
	common: remove data_dir_option from common_preinit and global_pre_init

Reviewed-by: Gregory Farnum <gfarnum@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2017-11-20 21:48:19 -08:00
Douglas Fuller
9c694ffc7e cephfs, mon/AuthMonitor, OSD/osdcap: make 'all' a synonym for '*'
Define the string 'all' to be a synonym for the wildcard '*'. This
avoids confusion in the event that some auth caps (typically with
ceph fs authorize) are not quoted and thus '*' is expanded by the shell.

Signed-off-by: Douglas Fuller <dfuller@redhat.com>
2017-11-14 10:48:23 -05:00
Jeff Layton
3321cc7b37 mds: fold mds_revoke_cap_timeout into mds_session_timeout
Right now, we have two different timeout settings -- one for when the
client is just not responding at all (mds_session_timeout), and one for
when the client is otherwise responding but isn't returning caps in a
timely fashion (mds_cap_revoke_timeout).

The default settings on them are equivalent (60s), but only the
mds_session_timeout is communicated via the mdsmap. The
mds_cap_revoke_timeout is known only to the MDS. Neither timeout results
in anything other than warnings in the current codebase.

There is also a third setting (mds_session_autoclose) that is also
communicated via the MDSmap. Exceeding that value (default of 300s)
could eventually result in the client being blacklisted from the
cluster. The code to implement that doesn't exist yet, however.

The current codebase doesn't do any real sanity checking of these
timeouts, so the potential for admins to get them wrong is rather high.
It's hard to concoct a use-case where we'd want to warn about these
events at different intervals.

Simplify this by just removing the mds_cap_revoke_timeout setting, and
replace its use in the code with the mds_session_timeout. With that, the
client can at least determine when warnings might start showing up in
the MDS' logs.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
2017-11-14 07:27:01 -05:00
Ilya Dryomov
c702fdc33a doc/cephfs/experimental-features: kernel client snapshots limit
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2017-10-27 09:35:11 +02:00
Ilya Dryomov
37142e9c29 doc/cephfs/experimental-features: fix Mantle section header
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2017-10-27 09:35:11 +02:00
Douglas Fuller
160c4bfeb8 mon/AuthMonitor: Use new osd auth caps for ceph fs authorize
Change 'ceph fs authorize' to grant osd auth caps by pool tag
instead of to current data pools. This makes:

ceph fs authorize cephfs_a client.foo /bar rw

now equivalent to:

ceph auth get-or-create client.foo mon 'allow r' mds 'allow rw path=/bar' osd 'allow rw tag cephfs data=cephfs_a'

Signed-off-by: Douglas Fuller <dfuller@redhat.com>
2017-10-25 15:34:13 -04:00
Patrick Donnelly
c58161f25b
Merge PR #17266 into master
* refs/pull/17266/head:
	qa: update test_ceph_argparse to test fs cmds
	qa: use fs rm_data_pool
	qa: fix mdsmap lookup
	qa: remove usage of mds dump
	PendingReleaseNotes: add obsoleted mds commands
	qa: remove use of obsolete mds commands
	ceph_volume_client: remove use of obsolete mds cmd
	doc: update on obsolete mds commands
	cephfs: obsolete deprecated mds commands

Reviewed-by: Douglas Fuller <dfuller@redhat.com>
2017-10-24 16:37:14 -07:00
Patrick Donnelly
db5df3c605
Merge PR #18366 into master
* refs/pull/18366/head:
	mon: s/mds_blacklist_interval/mon_mds_blacklist_interval/
	mon: tidy up mds_blacklist_interval

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2017-10-24 12:17:19 -07:00