This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
cluster:150 [2016/09/16 14:30] hmeij07 [The problem] |
cluster:150 [2016/11/29 19:36] (current) hmeij07 |
||
---|---|---|---|
Line 2: | Line 2: | ||
**[[cluster: | **[[cluster: | ||
+ | ==== Rsync Daemon/ | ||
- | ==== The problem | + | ==== The Problem |
Trying to offload heavy read/write traffic from our file server. I also did a deep information dive to assess if we could afford enterprise level storage. That answer basically means a $42K layout at the low end and up to $70K for the high end. I've detailed the result here [[cluster: | Trying to offload heavy read/write traffic from our file server. I also did a deep information dive to assess if we could afford enterprise level storage. That answer basically means a $42K layout at the low end and up to $70K for the high end. I've detailed the result here [[cluster: | ||
Line 48: | Line 49: | ||
</ | </ | ||
- | Back on source | + | Back on target |
< | < | ||
Line 86: | Line 87: | ||
* onefs is important | * onefs is important | ||
* link_dest is important | * link_dest is important | ||
- | * the backup command points to my private IP of source server using the Infiniband network and then points to the module | + | * the backup command points to my private IP of source server using the Infiniband network and then points to the module |
Start things up | Start things up | ||
Line 92: | Line 93: | ||
< | < | ||
- | # on source | + | # on target |
- | / | + | [root@cottontail ~]# / |
- | # watch on target | + | # on source |
[root@sharptail ~]# lsof -i:873 | [root@sharptail ~]# lsof -i:873 | ||
COMMAND | COMMAND | ||
Line 101: | Line 102: | ||
rsync 17814 root 5u IPv6 261839488 | rsync 17814 root 5u IPv6 261839488 | ||
rsync 29717 root 6u IPv4 261962741 | rsync 29717 root 6u IPv4 261962741 | ||
+ | |||
+ | |||
+ | # check what rsync is doing | ||
[root@sharptail ~]# strace -p 29717 | [root@sharptail ~]# strace -p 29717 | ||
Process 29717 attached - interrupt to quit | Process 29717 attached - interrupt to quit | ||
Line 110: | Line 114: | ||
lstat("/ | lstat("/ | ||
open("/ | open("/ | ||
- | + | CTRL-C | |
+ | |||
+ | </ | ||
+ | |||
+ | Suggest you debug with a small directory first, /home is 10TB in our case with 40+ million files. | ||
+ | |||
+ | Then remount the user inaccessible area / | ||
+ | |||
+ | < | ||
+ | |||
+ | # / | ||
+ | / | ||
+ | |||
+ | # /etc/fstab content, then mount / | ||
+ | / | ||
+ | localhost:/ | ||
+ | |||
+ | # test | ||
+ | [root@cottontail .snapshots]# | ||
+ | touch: cannot touch `/ | ||
+ | |||
+ | </ | ||
+ | |||
+ | Finally, if you get this error, which is hardly informative, | ||
+ | |||
+ | < | ||
+ | |||
+ | 2016-09-15T11: | ||
</ | </ | ||
\\ | \\ | ||
**[[cluster: | **[[cluster: |