Commit Graph

166 Commits

Author SHA1 Message Date
Yan, Zheng
1ef6aec7e4 doc: add some docs about 'cephfs-data-scan scan_links'
Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
2017-07-07 20:06:18 +08:00
John Spray
301d53a3c7 doc/mon: clean up mds fail/mds deactivate descriptions
Fixes: http://tracker.ceph.com/issues/20424
Signed-off-by: John Spray <john.spray@redhat.com>
2017-07-03 14:47:29 +01:00
John Spray
9e7a12b470 doc: multimds is no longer experimental
Signed-off-by: John Spray <john.spray@redhat.com>
2017-06-23 17:07:34 +01:00
Josh Durgin
7376e8132f Merge pull request #15550 from jcsp/wip-doc-cephfs-objsize
doc/cephfs: mention RADOS object size limit

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2017-06-09 14:22:56 -07:00
John Spray
7b528b1044 doc/cephfs: mention RADOS object size limit
Reflect the recent change in this limit
for 12.x.

Signed-off-by: John Spray <john.spray@redhat.com>
2017-06-07 11:55:57 +01:00
John Spray
f76208cbec doc: fix syntax on code snippets in cephfs/multimds
Signed-off-by: John Spray <john.spray@redhat.com>
2017-06-05 20:46:06 +01:00
Ken Dreyer
4274c91c28 doc: describe differences with "mds set" vs "fs set"
Thanks to John Spray <jspray@redhat.com> on ceph-users for this
information.

Signed-off-by: Ken Dreyer <kdreyer@redhat.com>
2017-05-26 06:38:14 -06:00
Ken Dreyer
02753cdb91 doc: describe CephFS max_file_size
Add a description of max_file_size to the CephFS admin docs.

Thanks to John Spray <jspray@redhat.com> on ceph-users for this
information.

Signed-off-by: Ken Dreyer <kdreyer@redhat.com>
2017-05-26 06:38:11 -06:00
John Spray
45caf26140 mds: improve eviction usability and update docs
The "session ls" and "session evict" are now
"client ls" and "client evict" (the old ones
are still there for backwards compatibility).

The automatic client eviction now emits
cluster logs that call the client by its
friendly name (usually the hostname).

Signed-off-by: John Spray <john.spray@redhat.com>
2017-05-23 05:22:17 -04:00
John Spray
048e825484 mds: make blacklisting configurable in kill_session
This makes the code a bit awkward because we now have
4x paths through this function (blocking, noblocking, blacklisting,
nonblacklisting).

Signed-off-by: John Spray <john.spray@redhat.com>
2017-05-23 05:22:16 -04:00
Yan, Zheng
b67a599ebe Merge pull request #14598 from batrick/mds-balancer-pin
mds: support export pinning on directories
2017-05-11 11:56:34 +08:00
Drunkard Zhang
ab0310883e doc: typo fixes in doc/cephfs/client-config-ref.rst
fixed:
  Reference symbol, i.e. s/`/``/
  Hyperlink typo at ``client_trace``

Signed-off-by: Drunkard Zhang <gongfan193@gmail.com>
2017-04-28 09:53:17 +08:00
Sage Weil
1919297826 Merge pull request #14494 from drunkard/master
doc: two minor fixes
2017-04-25 12:11:03 -05:00
John Spray
c2fb170586 Merge pull request #14652 from jcsp/wip-18816
mds: remove "mds log" config option

Reviewed-by: Yan, Zheng <zyan@redhat.com>
2017-04-24 22:12:46 +01:00
John Spray
ad1882350d mds: remove "mds log" config option
This was occasionally useful for establishing a journal-less
performance baseline, but it has two big problems:
* We don't test it, so it's probably broken a lot of the time
* It sounds a lot to a naive user like an option for controlling
  logging.

IMO, anyone who wants this behaviour is in sufficiently advanced
territory that then can hack it in and recompile, we don't need
to leave dangerous things like this in our releases.

Fixes: http://tracker.ceph.com/issues/18816
Signed-off-by: John Spray <john.spray@redhat.com>
2017-04-20 10:02:17 +01:00
Patrick Donnelly
0b420be7e9
mds: add export_pin feature
This allows the client/admin to pin a directory tree to a particular rank,
preventing its export by the dynamic balancer.

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

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2017-04-19 18:21:19 -04:00
John Spray
b4c32b1b58 osdc: remove journaler_allow_split_entries option
This had been broken for some time, as since the new
JournalStream stuff, zero padding was no longer a valid
encoding.

Fixes: http://tracker.ceph.com/issues/19691
Signed-off-by: John Spray <john.spray@redhat.com>
2017-04-19 11:41:28 +01:00
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
Drunkard Zhang
3c70331d6b doc: indent style fixes
Signed-off-by: Drunkard Zhang <gongfan193@gmail.com>
2017-04-13 12:51:44 +08: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