1MOGFILEDEBUG(1) User Contributed Perl Documentation MOGFILEDEBUG(1)
2
3
4
6 mogfiledebug -- Dump gobs of information about a FID
7
9 $ mogfiledebug --trackers=host --domain=foo --key=bar
10 $ mogfiledebug --trackers=host --fid=1234
11
13 Utility for troubleshooting problemic files in a mogilefs cluster. Also
14 useful for verification or testing new setups.
15
16 Finds as much information about a file as it can. All of the paths, any
17 queues it might be sitting in, etc. Will then test all of the paths,
18 MD5 hash their contents, and check the file lengths. If you see errors
19 about a FID in mogilefsd's logs plugging it through mogfiledebug should
20 illuminate most of the potential issues.
21
22 This is also useful information for posting to the mailing list, along
23 with the error you had.
24
26 --trackers=host1:7001,host2:7001
27 Use these MogileFS trackers to negotiate with.
28
29 --domain=<domain>
30 Set the MogileFS domain to use.
31
32 --key="<key>"
33 The key to inspect. Can be an arbitrary string.
34
35 --fid=<fid>
36 A numeric fid to inspect. Provide this as an alternative to a
37 domain/key combination.
38
39 --paths=[print|stat|fetch]
40 Whether to print, stat, or fetch each path. The default is to
41 fetch (and checksum) the contents of all paths.
42
44 Dormando <dormando@rydia.net>
45
47 None known. Could use more helpful prints, or a longer troubleshooting
48 manual.
49
51 Licensed for use and redistribution under the same terms as Perl
52 itself.
53
54
55
56perl v5.30.0 2019-07-26 MOGFILEDEBUG(1)