This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
cluster:151 [2016/10/31 19:36] hmeij07 [Mirror Data] |
cluster:151 [2016/11/04 15:24] hmeij07 [Mirror Data] |
||
---|---|---|---|
Line 26: | Line 26: | ||
==== Mirror Data ==== | ==== Mirror Data ==== | ||
+ | |||
+ | When not all storage servers are up, client mounts will fail. This is just an optional " | ||
+ | |||
+ | In order to able able to take a storage server off line without any impact, all content needs to mirrored. | ||
** Before ** | ** Before ** | ||
Line 59: | Line 63: | ||
| | ||
# enable mirroring for data by directory -numTargets needs to be set to max nr of storage servers? | # enable mirroring for data by directory -numTargets needs to be set to max nr of storage servers? | ||
+ | # changed to 11/02/2016: | ||
+ | [root@n7 ~]# beegfs-ctl --setpattern --buddymirror / | ||
[root@n7 ~]# beegfs-ctl --setpattern --buddymirror / | [root@n7 ~]# beegfs-ctl --setpattern --buddymirror / | ||
New chunksize: 524288 | New chunksize: 524288 | ||
Line 101: | Line 107: | ||
# copy on primary | # copy on primary | ||
- | [root@swallowtail ~]# find / | ||
- | / | ||
[root@petaltail chroots]# ls -lh / | [root@petaltail chroots]# ls -lh / | ||
-rw-rw-rw- 1 root root 4.9G Apr 7 2014 / | -rw-rw-rw- 1 root root 4.9G Apr 7 2014 / | ||
Line 112: | Line 116: | ||
-rw-rw-rw- 1 root root 4.9G Apr 7 2014 / | -rw-rw-rw- 1 root root 4.9G Apr 7 2014 / | ||
- | # seems to work | + | # seems to work, notice the '' |
</ | </ | ||
+ | |||
+ | Here is an important note, from community list: | ||
+ | |||
+ | * " | ||
+ | * so the important line that tells you that this file is mirrored is "Type: Buddy Mirror" | ||
+ | * " | ||
+ | |||
+ | Another note: I changed paths for mirrormd and buddymirror to ''/ | ||
+ | |||
+ | < | ||
+ | |||
+ | [root@cottontail2 ~]# beegfs-net | ||
+ | meta_nodes | ||
+ | ============= | ||
+ | cottontail2 [ID: 250] | ||
+ | | ||
+ | |||
+ | [root@cottontail2 ~]# beegfs-ctl --listnodes --nodetype=meta --details | ||
+ | cottontail2 [ID: 250] | ||
+ | | ||
+ | | ||
+ | ^^^ | ||
+ | |||
+ | </ | ||
+ | |||
==== Quota ==== | ==== Quota ==== | ||
Line 135: | Line 164: | ||
# enable meta mirroring, directory based | # enable meta mirroring, directory based | ||
+ | # change to 11/04/2016: used --createdir to make this home. | ||
+ | [root@n7 ~]# beegfs-ctl --mirrormd / | ||
[root@n7 ~]# beegfs-ctl --mirrormd / | [root@n7 ~]# beegfs-ctl --mirrormd / | ||
Mount: '/ | Mount: '/ |