Package: lizardfs / 3.12.0+dfsg-3

conf-add-mfshdd-comment.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
Last-Update: 2015-05-22
Forwarded: https://github.com/lizardfs/lizardfs/pull/202
Author: Dmitry Smirnov <onlyjob@member.fsf.org>
Description: add useful comment about storage configuration.
 https://github.com/lizardfs/lizardfs/issues/204

--- a/src/data/mfshdd.cfg
+++ b/src/data/mfshdd.cfg
@@ -1,8 +1,15 @@
 # mfshdd.cfg(5)
 # mount points of HDD drives
 #
-#/mnt/hd1
-#/mnt/hd2
-#etc.
+# Chunkserver unconditionally initialises given paths with its folder
+# structures hence to avoid accidentally using empty mount point as storage
+# (e.g. when HDD is not mounted) it is recommended to create subfolders
+# on the designated HDDs like in the following examples where "/mnt/hdN"
+# represent mount points:
+#
+#/mnt/hd1/lizardfs_vol
+#/mnt/hd2/lizardfs_vol
+#
+#
 # The following mount point is marked for removal with '*':
-#*/mnt/hd3
+#*/mnt/hd3/lizardfs