-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
297 lines (191 loc) · 8.08 KB
/
index.html
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
<!DOCTYPE HTML>
<html lang="zh-TW">
<head>
<meta charset="UTF-8">
<title>I have a dream</title>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=3, minimum-scale=1">
<meta name="author" content="ztjlovejava">
<meta name="description" content="dream">
<link rel="alternate" href="/atom.xml" title="I have a dream" type="application/atom+xml">
<link rel="icon" href="/img/favicon.ico">
<link rel="apple-touch-icon" href="/img/pacman.jpg">
<link rel="apple-touch-icon-precomposed" href="/img/pacman.jpg">
<link rel="stylesheet" href="/css/style.css" type="text/css">
</head>
<body>
<header>
<div>
<div id="imglogo">
<a href="/"><img src="/img/logo.svg" alt="I have a dream" title="I have a dream"/></a>
</div>
<div id="textlogo">
<h1 class="site-name"><a href="/" title="I have a dream">I have a dream</a></h1>
<h2 class="blog-motto">|做一個安靜的美男子</h2>
</div>
<div class="navbar"><a class="navbutton navmobile" href="#" title="菜單">
</a></div>
<nav class="animated">
<ul>
<li><a href="/">主頁</a></li>
<li><a href="/archives">歸檔</a></li>
<li><a href="/about">About</a></li>
<li><a href="/atom.xml">RSS</a></li>
<li>
<form class="search" action="//google.com/search" method="get" accept-charset="utf-8">
<label>Search</label>
<input type="text" id="search" name="q" autocomplete="off" maxlength="20" placeholder="搜索" />
<input type="hidden" name="q" value="site:ztjlovejava.github.io">
</form>
</li>
</ul>
</nav>
</div>
</header>
<div id="container">
<div id="main">
<section class="post" itemscope itemprop="blogPost">
<a href="/2015/04/06/rbd-resize/" title="[原创]rbd在线扩容" itemprop="url">
<h1 itemprop="name">[原创]rbd在线扩容</h1>
<p itemprop="description" ></p>
<time datetime="2015-04-06T04:33:24.000Z" itemprop="datePublished">Apr 6 2015</time>
</a>
</section>
<section class="post" itemscope itemprop="blogPost">
<a href="/2015/04/04/rbd-cache-log/" title="[原创]rbd-cache日志配置" itemprop="url">
<h1 itemprop="name">[原创]rbd-cache日志配置</h1>
<p itemprop="description" ></p>
<time datetime="2015-04-04T04:33:24.000Z" itemprop="datePublished">Apr 4 2015</time>
</a>
</section>
<section class="post" itemscope itemprop="blogPost">
<a href="/2015/04/02/rbd-nfs/" title="[原创]基于ceph-rbd的文件共享服务" itemprop="url">
<h1 itemprop="name">[原创]基于ceph-rbd的文件共享服务</h1>
<p itemprop="description" >Ceph rbd可以为主机提供块设备,利用块设备我们可以自己实现一套简单的文件共享服务。本文介绍基于rbd的文件共享环境搭建,原理很简单,将ceph client主机作为NFS服务器(类似NAS机头),将rbd映射的块设备作为共享文件目录,然后通过NFS协议共享给网络中其他主机。</p>
<time datetime="2015-04-02T04:33:24.000Z" itemprop="datePublished">Apr 2 2015</time>
</a>
</section>
<section class="post" itemscope itemprop="blogPost">
<a href="/2015/04/01/rbd-data-on-osd/" title="[原创]查看rbd镜像存放osd的位置 " itemprop="url">
<h1 itemprop="name">[原创]查看rbd镜像存放osd的位置 </h1>
<p itemprop="description" >序言 无论是对象存储还是块存储,Ceph 客户端都是将文件进行条带化后存于osd上。在分析rbd快照和克隆原理时,需要观察块设备镜像文件的变化。要想知道镜像存放的具体位置?请接着看下去…
创建1G大小块镜像12345678# rados mkpool testpool # r</p>
<time datetime="2015-04-01T14:00:45.000Z" itemprop="datePublished">Apr 1 2015</time>
</a>
</section>
<section class="post" itemscope itemprop="blogPost">
<a href="/2015/03/29/Ceph-rbd-cmd/" title="[原创]ceph-rbd 常用命令" itemprop="url">
<h1 itemprop="name">[原创]ceph-rbd 常用命令</h1>
<p itemprop="description" >1.列出池下面的镜像情况
1# rbd ls [-l] &lt;pool name&gt;
-l 参数类似 ls -l 一样,列出更详细的信息,包括镜像的大小,快照等
2.建立一个镜像
1# rbd create –image-format 2 &lt;poolname/im</p>
<time datetime="2015-03-29T12:12:33.000Z" itemprop="datePublished">Mar 29 2015</time>
</a>
</section>
<nav id="page-nav" class="clearfix">
<span class="page-number current">1</span><a class="page-number" href="/page/2/">2</a><a class="extend next" rel="next" href="/page/2/">Next »</a>
</nav>
</div>
<div class="openaside"><a class="navbutton" href="#" title="顯示側邊欄"></a></div>
<div id="asidepart">
<div class="closeaside"><a class="closebutton" href="#" title="隱藏側邊欄"></a></div>
<aside class="clearfix">
<div class="categorieslist">
<p class="asidetitle">分類</p>
<ul>
<li><a href="/categories/ceph/" title="ceph">ceph<sup>7</sup></a></li>
<li><a href="/categories/hexo/" title="hexo">hexo<sup>2</sup></a></li>
</ul>
</div>
<div class="tagslist">
<p class="asidetitle">標簽</p>
<ul class="clearfix">
<li><a href="/tags/ceph-rbd/" title="ceph rbd">ceph rbd<sup>7</sup></a></li>
<li><a href="/tags/hexo/" title="hexo">hexo<sup>2</sup></a></li>
</ul>
</div>
<div class="rsspart">
<a href="/atom.xml" target="_blank" title="rss">RSS 訂閱</a>
</div>
<div class="widget tag">
<h3 class="title">近期文章</h3>
<ul class="entry">
<li>
<a href="/2015/04/06/rbd-resize/">[原创]rbd在线扩容</a>
</li>
<li>
<a href="/2015/04/04/rbd-cache-log/">[原创]rbd-cache日志配置</a>
</li>
<li>
<a href="/2015/04/02/rbd-nfs/">[原创]基于ceph-rbd的文件共享服务</a>
</li>
<li>
<a href="/2015/04/01/rbd-data-on-osd/">[原创]查看rbd镜像存放osd的位置 </a>
</li>
<li>
<a href="/2015/03/29/Ceph-rbd-cmd/">[原创]ceph-rbd 常用命令</a>
</li>
</ul>
</div>
</aside>
</div>
</div>
<footer><div id="footer" >
<div class="line">
<span></span>
<div class="author"></div>
</div>
<div class="social-font clearfix">
</div>
<p class="copyright">Powered by <a href="http://hexo.io" target="_blank" title="hexo">hexo</a> and Theme by <a href="https://github.com/A-limon/pacman" target="_blank" title="Pacman">Pacman</a> © 2015
<a href="https://ztjlovejava.github.io" target="_blank" title="ztjlovejava">ztjlovejava</a>
</p>
</div>
</footer>
<script src="/js/jquery-2.1.0.min.js"></script>
<script type="text/javascript">
$(document).ready(function(){
$('.navbar').click(function(){
$('header nav').toggleClass('shownav');
});
var myWidth = 0;
function getSize(){
if( typeof( window.innerWidth ) == 'number' ) {
myWidth = window.innerWidth;
} else if( document.documentElement && document.documentElement.clientWidth) {
myWidth = document.documentElement.clientWidth;
};
};
var m = $('#main'),
a = $('#asidepart'),
c = $('.closeaside'),
o = $('.openaside');
$(window).resize(function(){
getSize();
if (myWidth >= 1024) {
$('header nav').removeClass('shownav');
}else
{
m.removeClass('moveMain');
a.css('display', 'block').removeClass('fadeOut');
o.css('display', 'none');
}
});
c.click(function(){
a.addClass('fadeOut').css('display', 'none');
o.css('display', 'block').addClass('fadeIn');
m.addClass('moveMain');
});
o.click(function(){
o.css('display', 'none').removeClass('beforeFadeIn');
a.css('display', 'block').removeClass('fadeOut').addClass('fadeIn');
m.removeClass('moveMain');
});
$(window).scroll(function(){
o.css("top",Math.max(80,260-$(this).scrollTop()));
});
});
</script>
</body>
</html>