Commit Graph

785 Commits

Author SHA1 Message Date
Venky Shankar
51487f8cd2 Merge PR #54915 into main
* refs/pull/54915/head:
	doc/cephfs/client-auth.rst: correct `This so because` to  `This is because`
	doc/cephfs/client-auth.rst: correct ``fs authorize cephfs1 /dir1 client.x rw``

Reviewed-by: Venky Shankar <vshankar@redhat.com>
2024-01-19 13:16:19 +05:30
Dhairya Parmar
6601e7f38c doc/cephfs: Update disaster-recovery-experts.rst to mention Slack
Signed-off-by: Dhairya Parmar <dparmar@redhat.com>
2024-01-01 20:26:14 +05:30
叶海丰
0ca294ecc5 doc/cephfs/client-auth.rst: correct This so because to This is because 2023-12-16 17:31:47 +08:00
叶海丰
223848a08f doc/cephfs/client-auth.rst: correct `fs authorize cephfs1 /dir1 client.x rw` 2023-12-15 17:05:38 +08:00
Patrick Donnelly
08a342485c
doc/cephfs: add docs for balance_automate
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2023-12-12 11:45:24 -05:00
Patrick Donnelly
fc5c358f74
doc/cephfs: use bash prompt for shell code
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2023-12-12 11:45:21 -05:00
Jos Collin
3d44e5dfdc
doc: add supported file types in cephfs-mirroring.rst
Signed-off-by: Jos Collin <jcollin@redhat.com>
2023-12-06 18:36:47 +05:30
Rishabh Dave
50aab7dadb
Merge pull request #50212 from rishabh-d-dave/fs-swap-subcmd
cephfs: add command "ceph fs swap"

Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2023-11-08 21:18:27 +05:30
Rishabh Dave
7170314542 cephfs: add command "ceph fs swap"
Add a FS command that enables users to swap names of two file systems in
a single PAXOS transaction. Add an option to this command that swaps
FSCIDS along with FS names. This commands also updates the application
pool tags and fails when mirroring is enabled on either or both FSs.

Fixes: https://tracker.ceph.com/issues/58129
Signed-off-by: Rishabh Dave <ridave@redhat.com>
2023-11-03 13:05:14 +05:30
Jaanus Torp
9fcb98411b doc/cephfs: edit mount-using-fuse.rst
Fixes missing dash that lead to unnecessary debugging.

Signed-off-by: Jaanus Torp <jaanus@saun.ee>
2023-11-02 12:31:12 +02:00
Venky Shankar
acd7f82846
Merge pull request #53332 from zhsgao/mds_overload_epochs
mds: add option mds_bal_overload_epochs

Reviewed-by: Venky Shankar <vshankar@redhat.com>
2023-10-04 13:46:27 +05:30
Venky Shankar
20d027eb9d doc: add note for removing (automatic) partitioning policy
Signed-off-by: Venky Shankar <vshankar@redhat.com>
2023-09-20 15:49:19 +05:30
Zhansong Gao
17ae57daef mds: add option mds_bal_overload_epochs
Add an option to configure the number of epochs the overload lasts before migrating,
setting it to a higher value can avoid frequent migrations caused by load fluctuations.

Signed-off-by: Zhansong Gao <zhsgao@hotmail.com>
2023-09-20 13:47:29 +08:00
Venky Shankar
98758eee89 Merge PR #53070 into main
* refs/pull/53070/head:
	PendingReleaseNotes: add note about 'm' and 'M' periods
	doc/cephfs: add note about monthly scheduling and retention period
	qa: update minute period multiplier to m
	qa: change minute duration specifier from M to m
	mgr/snap_schedule: change minute duration specifier from M to m

Reviewed-by: Dhairya Parmar <dparmar@redhat.com>
Reviewed-by: Neeraj Pratap Singh <neesingh@redhat.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
2023-09-14 15:39:07 +05:30
Venky Shankar
59d1f7655c Merge PR #53153 into main
* refs/pull/53153/head:
	Revert "mds: align quota.max_bytes to 4MB or 4KB"

Reviewed-by: Xiubo Li <xiubli@redhat.com>
2023-09-13 11:10:59 +05:30
Milind Changire
7431b813a5
doc/cephfs: add note about monthly scheduling and retention period
Fixes: https://tracker.ceph.com/issues/62494
Signed-off-by: Milind Changire <mchangir@redhat.com>
2023-09-12 14:11:03 +05:30
Rishabh Dave
5b1f679ff4
Merge pull request #53390 from rishabh-d-dave/cephfs-doc-admin
doc/cephfs: write cephfs commands fully in docs

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
Reviewed-by: Zac Dover <zac.dover@proton.me>
Reviewed-by: Dhairya Parmar <dparmar@redhat.com>
2023-09-11 22:19:37 +05:30
Rishabh Dave
e63b573d3e doc/cephfs: write cephfs commands fully in docs
We write CephFS commands incompletely in docs. For example, "ceph tell
mds.a help" is simply written as "tell mds.a help". This might confuse
the reader and it won't harm to write the command in full.

Fixes: https://tracker.ceph.com/issues/62791
Signed-off-by: Rishabh Dave <ridave@redhat.com>
2023-09-11 15:25:46 +05:30
Rishabh Dave
849fbd1d5b
Merge pull request #41779 from rishabh-d-dave/fs-auth-subcmd
mon,osd,mds: allow fs authorize to update caps

Reviewed-by: Radosław Zarzyński <rzarzyns@redhat.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
2023-09-07 18:39:58 +05:30
Rishabh Dave
f203542c3e doc/cephfs: add doc for fs authorize since it can now also update caps
Signed-off-by: Rishabh Dave <ridave@redhat.com>
2023-09-07 11:37:17 +05:30
Rishabh Dave
f9a01cf385
Merge pull request #51942 from trociny/wip-61599
mds: optionally forbid to use standby for another fs as last resort

Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Rishabh Dave <ridave@redhat.com>
2023-09-06 20:26:33 +05:30
Venky Shankar
6d8cb29d1e Revert "mds: align quota.max_bytes to 4MB or 4KB"
This seems to be causing quota related test failures in the fs
suoite. @lxbsz will push a separate PR addressing the issue in
tracker #56397.

Signed-off-by: Venky Shankar <vshankar@redhat.com>
2023-09-06 18:26:39 +05:30
Milind Changire
d7dfac8111
Merge PR #52686 into main
* refs/pull/52686/head:
	PendingReleaseNotes: note about mandatory fs argument
	doc/cephfs: add note about mandatory --fs argument to snap-schedule
	qa: add test for mandatory fs argument to snap-schedule commands
	mgr/snap-schedule: tweaks to keep mypy happy
	mgr/snap_schedule: validate fs before execution

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
2023-08-29 20:13:50 +05:30
Patrick Donnelly
b0f2e060b0
Merge PR #53144 into main
* refs/pull/53144/head:
	doc: reformat so note is not part of code

Reviewed-by: Anthony D Atri <anthony.datri@gmail.com>
2023-08-28 10:27:55 -04:00
Milind Changire
8c29772fbe
doc/cephfs: add note about mandatory --fs argument to snap-schedule
Signed-off-by: Milind Changire <mchangir@redhat.com>
2023-08-25 21:34:40 +05:30
zdover23
a2cd852731
Merge pull request #53125 from batrick/volume-spec
doc: expand and consolidate mds placement

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2023-08-25 06:29:44 +10:00
Patrick Donnelly
b3aad53a19
doc: reformat so note is not part of code
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2023-08-24 15:17:47 -04:00
Patrick Donnelly
3a5f9dc37a
doc: expand and consolidate mds placement
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2023-08-24 08:55:47 -04:00
Patrick Donnelly
94129fc126
doc: correct option name
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2023-08-23 16:23:46 -04:00
Kotresh HR
65b0e45dd7 doc: Fix doc for mds cap acquisition throttle
The config values picks the definition from the
description. Removed the duplicate description
in the doc.

Signed-off-by: Kotresh HR <khiremat@redhat.com>
2023-08-16 12:16:24 +05:30
Kotresh HR
b93b3364ae doc: Add a note on possible deadlock on volume deletion
Fixes: https://tracker.ceph.com/issues/62407
Signed-off-by: Kotresh HR <khiremat@redhat.com>
2023-08-11 17:04:59 +05:30
Patrick Donnelly
bc75366b9c
doc: add MDS treatise on segments
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2023-08-01 11:16:28 -04:00
Venky Shankar
4e5d800406 Merge PR #51539 into main
* refs/pull/51539/head:
	doc: users now need to provide scrub_mdsdir and recursive flags
	qa: add recursive flag to test_flag_scrub_mdsdir
	mds: remove code to bypass dumping empty header scrub info
	mds: dump_values no more needed
	mds: enqueue ~mdsdir at the time of enqueing root

Reviewed-by: Venky Shankar <vshankar@redhat.com>
2023-07-18 20:15:24 +05:30
Patrick Donnelly
0c236d8b08
Merge PR #52356 into main
* refs/pull/52356/head:
	doc/cephfs: add note to isolate metadata pool osds

Reviewed-by: Anthony D Atri <anthony.datri@gmail.com>
Reviewed-by: Milind Changire <mchangir@redhat.com>
2023-07-13 08:53:51 -04:00
Venky Shankar
94f3e167a0 Merge PR #51278 into main
* refs/pull/51278/head:
	mgr/snap_schedule: rephrase log message when pruning
	doc: add note about snap-schedule snapshot retention
	qa: test user defined number of snaps retention spec
	mgr/snap_schedule: adapt test to new argument list
	doc/cephfs: Add note how mds_max_snaps_per_dir affects snapshot retention
	mgr/snap_schedule: Use mds_max_snaps_per_dir as snapshot count limit

Reviewed-by: Dhairya Parmar <dparmar@redhat.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
2023-07-13 11:17:16 +05:30
Patrick Donnelly
4e2e61f164
doc/cephfs: add note to isolate metadata pool osds
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2023-07-11 09:33:06 -04:00
Patrick Donnelly
0a15144c58
doc: add information on expediting MDS recovery
Fixes: https://tracker.ceph.com/issues/61865
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2023-07-06 13:01:52 -04:00
Mykola Golub
386c4bbb81 mds: optionally forbid to use standby for another fs as last resort
Signed-off-by: Mykola Golub <mykola.golub@clyso.com>
2023-06-28 15:57:25 +01:00
Dhairya Parmar
93dfc111bf doc: users now need to provide scrub_mdsdir and recursive flags
for mdsdir scrub at CephFS root.

Fixes: https://tracker.ceph.com/issues/59350
Signed-off-by: Dhairya Parmar <dparmar@redhat.com>
2023-06-28 18:12:27 +05:30
Venky Shankar
809d475814 Merge PR #49971 into main
* refs/pull/49971/head:
	doc/cephfs: document MDS_CLIENTS_LAGGY health warning
	qa: ignore warnings
	qa: add test cases to check client eviction if an OSD is laggy
	mds,messages: enable beacon to report clients lagginess
	mds: do not evict client on laggy osds
	common: add new config option to defer client eviction
	osd: add method to check for laggy osds

Reviewed-by: Venky Shankar <vshankar@redhat.com>
2023-06-28 10:23:54 +05:30
Jakob Haufe
2e8af66ed4
doc/cephfs: Add note how mds_max_snaps_per_dir affects snapshot retention
Signed-off-by: Jakob Haufe <sur5r@sur5r.net>
2023-06-19 14:18:11 +05:30
Ken Dreyer
6a5c383061 doc: fix grammar in cephfs/standby
Add the missing opening parenthesis and rewrite this sentence to use
active voice for clarity.

Signed-off-by: Ken Dreyer <kdreyer@redhat.com>
2023-06-08 10:01:15 -05:00
Zac Dover
dd8855d9a9 doc/cephfs: line-edit "Mirroring Module"
Line-edit the "Mirroring Module" section of
doc/cephfs/cephfs-mirroring.rst. Add prompts and formatting where such
things contribute to the realization of adequate sentences.

This commit is a follow-up to https://github.com/ceph/ceph/pull/51505.

Co-authored-by: Anthony D'Atri <anthony.datri@gmail.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
2023-05-17 23:09:36 +10:00
Dhairya Parmar
7c8e794414 doc/cephfs: document MDS_CLIENTS_LAGGY health warning
Signed-off-by: Dhairya Parmar <dparmar@redhat.com>
2023-05-17 14:39:42 +05:30
Venky Shankar
6a6e887ff1 doc: explain cephfs mirroring peer_add step in detail
@zdover23 reached out regarding missing explanation for `peer_add`
step in cephfs mirroring documentation. Add some explanation and
and example to make the step clear.

Signed-off-by: Venky Shankar <vshankar@redhat.com>
2023-05-16 10:57:25 +05:30
Zac Dover
a1184070a1 doc/cephfs: edit fs-volumes.rst (1 of x)
Edit the syntax of the English language in the file
doc/cephfs/fs-volumes.rst up to (but not including) the section called
"FS Subvolumes".

Signed-off-by: Zac Dover <zac.dover@proton.me>
2023-05-13 01:49:14 +10:00
Zac Dover
1f88f10fe6 doc/cephfs: rectify prompts in fs-volumes.rst
Make sure all prompts are unselectable. This PR is meant to be
backported to Reef, Quincy, and Pacific, to get all of the prompts into
a fit state so that a line-edit can be performed on the Englsh language
in this file.

Follows https://github.com/ceph/ceph/pull/51427.

Signed-off-by: Zac Dover <zac.dover@proton.me>
2023-05-12 20:35:25 +10:00
zdover23
8a43827284
Merge pull request #51427 from zdover23/wip-doc-2023-05-10-cephfs-fs-volumes-prompt-fix
doc/cephfs: fix prompts in fs-volumes.rst

Reviewed-by: Cole Mitchell <cole.mitchell.ceph@gmail.com>
2023-05-11 01:30:44 +10:00
Zac Dover
e019948783 doc/cephfs: fix prompts in fs-volumes.rst
Fixed a regression introduced in
e5355e3d66 that broke the unselectable
prompts in the RST.

Signed-off-by: Zac Dover <zac.dover@proton.me>
2023-05-11 01:10:33 +10:00
Venky Shankar
69882f5123 Merge PR #43184 into main
* refs/pull/43184/head:
	qa: fix journal flush failure issue due to the MDS daemon crashes
	qa: add test support for the alloc ino failing
	mds: do not take the ino which has been used

Reviewed-by: Jeff Layton <jlayton@redhat.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2023-05-10 14:04:58 +05:30