From bf1c890f882ed4d92e022d74dff0d3917770899d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=B4=E6=B4=AA=E6=98=8E?= Date: Fri, 13 Apr 2018 11:30:13 +0800 Subject: [PATCH] =?UTF-8?q?heketi=E6=95=B4=E5=90=88=E5=88=9D=E5=A7=8B?= =?UTF-8?q?=E7=89=88=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- practice/using-heketi-gluster-for-persistent-storage.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/practice/using-heketi-gluster-for-persistent-storage.md b/practice/using-heketi-gluster-for-persistent-storage.md index 2a5e11d58..4e861ccbd 100644 --- a/practice/using-heketi-gluster-for-persistent-storage.md +++ b/practice/using-heketi-gluster-for-persistent-storage.md @@ -345,7 +345,6 @@ pvc-ea4ae3e0-3e22-11e8-8bb6-08002795cb26 2Gi RWO Delete ``` - 查看mysql的pod ``` @@ -374,7 +373,7 @@ shm 64M 0 64M 0% /dev/s tmpfs 1.5G 12K 1.5G 1% /run/secrets/kubernetes.io/serviceaccount tmpfs 1.5G 0 1.5G 0% /sys/firmware ``` -使用dd写入数据 +使用dd写入数据,写入一段时间以后,空间满了,会报错(报错信息有bug,不是报空间满了,而是报文件系统只读,应该是glusterfs和docker配合的问题) ``` root@mysql2-mysql-56d64f5b77-j2v84:/var/lib/mysql# dd if=/dev/zero of=test.img bs=8M count=300 @@ -421,4 +420,4 @@ tmpfs 1.5G 0 1.5G 0% /sys/f 496K ./sys 2.0G . ``` -如上说明glusterfs的限额作用是起效的 +如上说明glusterfs的限额作用是起效的,限制在2G的空间大小。