diff --git a/content/post/incredibly-slow-mdadm-rebuild.md b/content/post/incredibly-slow-mdadm-rebuild.md new file mode 100644 index 00000000..27f8315c --- /dev/null +++ b/content/post/incredibly-slow-mdadm-rebuild.md @@ -0,0 +1,97 @@ +--- +title: "[碎念] mdadm 超級慢的rebuild 速度 Incredibly Slow mdadm Rebuild" +date: 2018-12-12T11:10:22+08:00 +noSummary: false +featuredImage: "https://h.cowbay.org/images/post-default-1.jpg" +categories: ['碎念'] +tags: ['mdadm'] +author: "Eric Chang" +--- + +最近在做一台老機器的P2V + +偏偏user說不能關機,所以我用dd + ssh 做線上移轉 + +這部份有空再來寫 + +只是因為原來的設定有用mdadm 做raid1 + +這部份導致移轉過去proxmox 後,會出現raid degrade 導致無法正常開機 + + + +我的想法是既然開機會出現raid degrade + +那我就加第二顆硬碟給它,讓它做 rebuild + +OK,原則上這樣做沒有問題 + +問題是它X的,這個mdadm rebuild 的速度也未免太慢了吧! + +``` +Every 2.0s: cat /proc/mdstat Wed Dec 12 11:01:36 2018 + +Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] [raid10] +md1 : active raid1 sda1[0] sdb1[2] + 975296 blocks super 1.2 [2/2] [UU] + +md0 : active raid1 sda5[0] sdb5[2] + 487276352 blocks super 1.2 [2/1] [U_] + [>....................] recovery = 0.5% (2468032/487276352) finish=2079.7min speed=3884K/sec + +unused devices: +``` + +這個是一開始跑的速度 + +然後這個是跑了大概10分鐘之後的速度(有稍稍提昇一點點) + +``` +Every 2.0s: cat /proc/mdstat Wed Dec 12 11:17:31 2018 + +Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] [raid10] +md1 : active raid1 sda1[0] sdb1[2] + 975296 blocks super 1.2 [2/2] [UU] + +md0 : active raid1 sda5[0] sdb5[2] + 487276352 blocks super 1.2 [2/1] [U_] + [>....................] recovery = 1.4% (6978688/487276352) finish=1915.9min speed=4177K/sec + +unused devices: +``` + +等等看會不會速度再快一點.. + +一個小時了,還是一樣慢.. +``` +Every 2.0s: cat /proc/mdstat Wed Dec 12 12:20:16 2018 + +Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] [raid10] +md1 : active raid1 sda1[0] sdb1[2] + 975296 blocks super 1.2 [2/2] [UU] + +md0 : active raid1 sda5[0] sdb5[2] + 487276352 blocks super 1.2 [2/1] [U_] + [=>...................] recovery = 5.2% (25526016/487276352) finish=858.6min speed=8962K/sec + +unused devices: + +``` + +突然又加速了,希望能維持下去啊!.... + +``` +Every 2.0s: cat /proc/mdstat Wed Dec 12 13:33:42 2018 + +Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] [raid10] +md1 : active raid1 sda1[0] sdb1[2] + 975296 blocks super 1.2 [2/2] [UU] + +md0 : active raid1 sda5[0] sdb5[2] + 487276352 blocks super 1.2 [2/1] [U_] + [========>............] recovery = 43.6% (212611904/487276352) finish=47.6min speed=96104K/sec + +unused devices: + +``` + diff --git a/public/404.html b/public/404.html index d0294ff8..92f3631b 100644 --- a/public/404.html +++ b/public/404.html @@ -115,6 +115,10 @@ Latest posts @@ -160,6 +160,10 @@ Ps (1) +
  • + 碎念 (1) +
  • +
  • 群暉 (1)
  • diff --git a/public/author/eric-chang/index.html b/public/author/eric-chang/index.html index fd56007b..23ece9f5 100644 --- a/public/author/eric-chang/index.html +++ b/public/author/eric-chang/index.html @@ -90,6 +90,87 @@ +
    + + + + + +
    + + + + +
    +

    [碎念] mdadm 超級慢的rebuild 速度 Incredibly Slow mdadm Rebuild

    +
    + + + 2018-12-12 + + + + + + + + + 碎念 + + + + + + Eric Chang + +
    + + +

    最近在做一台老機器的P2V

    + +

    偏偏user說不能關機,所以我用dd + ssh 做線上移轉

    + +

    這部份有空再來寫

    + +

    只是因為原來的設定有用mdadm 做raid1

    + +

    這部份導致移轉過去proxmox 後,會出現raid degrade 導致無法正常開機

    + +

    + + + Continue reading + + +
    + + + + +
    + + +
    +
    @@ -870,97 +951,6 @@ -
    - - - - - - -
    - - - - - -
    - - - - -
    -

    Bookstack Docker

    -
    - - - 2018-11-06 - - - - - - - - - 筆記 - - - - - - Eric Chang - -
    - - -

    Bookstack 是一套非常好用的線上”筆記”系統

    - -

    他用圖書館/書本的概念,讓使用者可以建立自己的”圖書館”

    - -

    同時在圖書館內建立不同的”書籍”

    - -

    而且支援 Markdown 語法

    - -

    其他的方式像是在nextcloud上編輯 md檔案(字體太小)

    - -

    或者是boostnote(只能在本機)

    - -

    都或多或少有點小缺點

    - -

    Bookstack則是沒有這些問題,不過就是系統「大」了點…

    - -

    不過還好有人做成docker的方式來啟動,大大的降低了建置的難度(其實也沒有很難啦,只是要裝個PHP、弄個DB而已)

    - -

    - - - Continue reading - - -
    - - -
    @@ -991,6 +981,10 @@ Latest posts
    @@ -1036,6 +1026,10 @@ Ps (1) +
  • + 碎念 (1) +
  • +
  • 群暉 (1)
  • diff --git a/public/author/eric-chang/index.xml b/public/author/eric-chang/index.xml index 0c7ac357..4fe521fe 100644 --- a/public/author/eric-chang/index.xml +++ b/public/author/eric-chang/index.xml @@ -5,11 +5,30 @@ https://h.cowbay.org/author/eric-chang/ Recent content in Eric Chang on MC部落 Hugo -- gohugo.io - Fri, 07 Dec 2018 15:19:47 +0800 + Wed, 12 Dec 2018 11:10:22 +0800 + + [碎念] mdadm 超級慢的rebuild 速度 Incredibly Slow mdadm Rebuild + https://h.cowbay.org/post/incredibly-slow-mdadm-rebuild/ + Wed, 12 Dec 2018 11:10:22 +0800 + + https://h.cowbay.org/post/incredibly-slow-mdadm-rebuild/ + <p>最近在做一台老機器的P2V</p> + +<p>偏偏user說不能關機,所以我用dd + ssh 做線上移轉</p> + +<p>這部份有空再來寫</p> + +<p>只是因為原來的設定有用mdadm 做raid1</p> + +<p>這部份導致移轉過去proxmox 後,會出現raid degrade 導致無法正常開機</p> + +<p></p> + + [筆記] 建立一個帶著走的 VIM 環境 Creating portable Vim environment https://h.cowbay.org/post/create-portable-vim-environment/ diff --git a/public/author/eric-chang/page/2/index.html b/public/author/eric-chang/page/2/index.html index 7b76dfde..337ef8a5 100644 --- a/public/author/eric-chang/page/2/index.html +++ b/public/author/eric-chang/page/2/index.html @@ -90,6 +90,97 @@ +
    + + + + + +
    + + + + +
    +

    Bookstack Docker

    +
    + + + 2018-11-06 + + + + + + + + + 筆記 + + + + + + Eric Chang + +
    + + +

    Bookstack 是一套非常好用的線上”筆記”系統

    + +

    他用圖書館/書本的概念,讓使用者可以建立自己的”圖書館”

    + +

    同時在圖書館內建立不同的”書籍”

    + +

    而且支援 Markdown 語法

    + +

    其他的方式像是在nextcloud上編輯 md檔案(字體太小)

    + +

    或者是boostnote(只能在本機)

    + +

    都或多或少有點小缺點

    + +

    Bookstack則是沒有這些問題,不過就是系統「大」了點…

    + +

    不過還好有人做成docker的方式來啟動,大大的降低了建置的難度(其實也沒有很難啦,只是要裝個PHP、弄個DB而已)

    + +

    + + + Continue reading + + +
    + + + + +
    + + +
    +
    @@ -273,6 +364,10 @@ Latest posts
    @@ -318,6 +409,10 @@ Ps (1) +
  • + 碎念 (1) +
  • +
  • 群暉 (1)
  • diff --git a/public/author/index.html b/public/author/index.html index e484b588..7f741b18 100644 --- a/public/author/index.html +++ b/public/author/index.html @@ -101,7 +101,7 @@
    @@ -120,6 +120,10 @@ Latest posts @@ -165,6 +165,10 @@ Ps (1) +
  • + 碎念 (1) +
  • +
  • 群暉 (1)
  • diff --git a/public/author/index.xml b/public/author/index.xml index 00a5c67f..7114440b 100644 --- a/public/author/index.xml +++ b/public/author/index.xml @@ -12,7 +12,7 @@ Eric Chang https://h.cowbay.org/author/eric-chang/ - Fri, 07 Dec 2018 15:19:47 +0800 + Wed, 12 Dec 2018 11:10:22 +0800 https://h.cowbay.org/author/eric-chang/ diff --git a/public/categories/index.html b/public/categories/index.html index 7432838e..8a55e81a 100644 --- a/public/categories/index.html +++ b/public/categories/index.html @@ -103,6 +103,8 @@
  • Ps (1)
  • +
  • 碎念 (1)
  • +
  • 筆記 (10)
  • 群暉 (1)
  • @@ -124,6 +126,10 @@ Latest posts @@ -169,6 +171,10 @@ Ps (1) +
  • + 碎念 (1) +
  • +
  • 群暉 (1)
  • diff --git a/public/categories/index.xml b/public/categories/index.xml index 342b70cb..e1c417f9 100644 --- a/public/categories/index.xml +++ b/public/categories/index.xml @@ -18,6 +18,15 @@
    + + 碎念 + https://h.cowbay.org/categories/%E7%A2%8E%E5%BF%B5/ + Wed, 12 Dec 2018 11:10:22 +0800 + + https://h.cowbay.org/categories/%E7%A2%8E%E5%BF%B5/ + + + 筆記 https://h.cowbay.org/categories/%E7%AD%86%E8%A8%98/ diff --git a/public/categories/ps/index.html b/public/categories/ps/index.html index f42221d9..51ccca72 100644 --- a/public/categories/ps/index.html +++ b/public/categories/ps/index.html @@ -179,6 +179,10 @@ Latest posts @@ -224,6 +224,10 @@ Ps (1) +
  • + 碎念 (1) +
  • +
  • 群暉 (1)
  • diff --git a/public/categories/碎念/index.html b/public/categories/碎念/index.html new file mode 100644 index 00000000..5c42142e --- /dev/null +++ b/public/categories/碎念/index.html @@ -0,0 +1,388 @@ + + + + + + + + + + 碎念 | MC部落 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
    + +
    +

    MC部落

    + + 這是MC的HUGO部落格,採用bilberry theme + +
    + + + + +
    + + +
    +
    +
    + + +
    + + + +
    + + + + + +
    + + + + +
    +

    [碎念] mdadm 超級慢的rebuild 速度 Incredibly Slow mdadm Rebuild

    +
    + + + 2018-12-12 + + + + + + + + + 碎念 + + + + + + Eric Chang + +
    + + +

    最近在做一台老機器的P2V

    + +

    偏偏user說不能關機,所以我用dd + ssh 做線上移轉

    + +

    這部份有空再來寫

    + +

    只是因為原來的設定有用mdadm 做raid1

    + +

    這部份導致移轉過去proxmox 後,會出現raid degrade 導致無法正常開機

    + +

    + + + Continue reading + + +
    + + + + +
    + + +
    + + + +
    + + + +
    + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/public/categories/碎念/index.xml b/public/categories/碎念/index.xml new file mode 100644 index 00000000..387192af --- /dev/null +++ b/public/categories/碎念/index.xml @@ -0,0 +1,33 @@ + + + + 碎念 on MC部落 + https://h.cowbay.org/categories/%E7%A2%8E%E5%BF%B5/ + Recent content in 碎念 on MC部落 + Hugo -- gohugo.io + Wed, 12 Dec 2018 11:10:22 +0800 + + + + + + [碎念] mdadm 超級慢的rebuild 速度 Incredibly Slow mdadm Rebuild + https://h.cowbay.org/post/incredibly-slow-mdadm-rebuild/ + Wed, 12 Dec 2018 11:10:22 +0800 + + https://h.cowbay.org/post/incredibly-slow-mdadm-rebuild/ + <p>最近在做一台老機器的P2V</p> + +<p>偏偏user說不能關機,所以我用dd + ssh 做線上移轉</p> + +<p>這部份有空再來寫</p> + +<p>只是因為原來的設定有用mdadm 做raid1</p> + +<p>這部份導致移轉過去proxmox 後,會出現raid degrade 導致無法正常開機</p> + +<p></p> + + + + \ No newline at end of file diff --git a/public/categories/碎念/page/1/index.html b/public/categories/碎念/page/1/index.html new file mode 100644 index 00000000..22c76253 --- /dev/null +++ b/public/categories/碎念/page/1/index.html @@ -0,0 +1 @@ +https://h.cowbay.org/categories/%E7%A2%8E%E5%BF%B5/ \ No newline at end of file diff --git a/public/categories/筆記/index.html b/public/categories/筆記/index.html index f0922d91..9e72e8d7 100644 --- a/public/categories/筆記/index.html +++ b/public/categories/筆記/index.html @@ -990,6 +990,10 @@ Latest posts @@ -1035,6 +1035,10 @@ Ps (1) +
  • + 碎念 (1) +
  • +
  • 群暉 (1)
  • diff --git a/public/categories/群暉/index.html b/public/categories/群暉/index.html index a91dc0e0..bc2913d5 100644 --- a/public/categories/群暉/index.html +++ b/public/categories/群暉/index.html @@ -202,6 +202,10 @@ Latest posts @@ -247,6 +247,10 @@ Ps (1) +
  • + 碎念 (1) +
  • +
  • 群暉 (1)
  • diff --git a/public/en/sitemap.xml b/public/en/sitemap.xml index 88f0c4a6..4ceeb51c 100644 --- a/public/en/sitemap.xml +++ b/public/en/sitemap.xml @@ -2,6 +2,11 @@ + + https://h.cowbay.org/post/incredibly-slow-mdadm-rebuild/ + 2018-12-12T11:10:22+08:00 + + https://h.cowbay.org/post/create-portable-vim-environment/ 2018-12-07T15:19:47+08:00 @@ -124,7 +129,7 @@ https://h.cowbay.org/author/eric-chang/ - 2018-12-07T15:19:47+08:00 + 2018-12-12T11:10:22+08:00 0 @@ -148,7 +153,7 @@ https://h.cowbay.org/ - 2018-12-07T15:19:47+08:00 + 2018-12-12T11:10:22+08:00 0 + + https://h.cowbay.org/tags/mdadm/ + 2018-12-12T11:10:22+08:00 + 0 + + https://h.cowbay.org/tags/mellanox/ 2018-11-30T16:05:14+08:00 @@ -182,7 +193,7 @@ https://h.cowbay.org/post/ - 2018-12-07T15:19:47+08:00 + 2018-12-12T11:10:22+08:00 0 @@ -250,6 +261,12 @@ 0 + + https://h.cowbay.org/categories/%E7%A2%8E%E5%BF%B5/ + 2018-12-12T11:10:22+08:00 + 0 + + https://h.cowbay.org/tags/%E7%AD%86%E8%A8%98/ 2018-11-30T16:05:14+08:00 diff --git a/public/gallery/index.html b/public/gallery/index.html index 83510208..73195de1 100644 --- a/public/gallery/index.html +++ b/public/gallery/index.html @@ -179,6 +179,10 @@ Latest posts @@ -224,6 +224,10 @@ Ps (1) +
  • + 碎念 (1) +
  • +
  • 群暉 (1)
  • diff --git a/public/gallery/sammy93/index.html b/public/gallery/sammy93/index.html index 98395d78..29b86bdc 100644 --- a/public/gallery/sammy93/index.html +++ b/public/gallery/sammy93/index.html @@ -191,6 +191,10 @@ Latest posts @@ -236,6 +236,10 @@ Ps (1) +
  • + 碎念 (1) +
  • +
  • 群暉 (1)
  • diff --git a/public/index.html b/public/index.html index f115827a..396f2875 100644 --- a/public/index.html +++ b/public/index.html @@ -95,6 +95,89 @@ +
    + + + + + +
    + + + + +
    +

    [碎念] mdadm 超級慢的rebuild 速度 Incredibly Slow mdadm Rebuild

    +
    + + + 2018-12-12 + + + + + + + + + 碎念 + + + + + + Eric Chang + +
    + + +

    最近在做一台老機器的P2V

    + +

    偏偏user說不能關機,所以我用dd + ssh 做線上移轉

    + +

    這部份有空再來寫

    + +

    只是因為原來的設定有用mdadm 做raid1

    + +

    這部份導致移轉過去proxmox 後,會出現raid degrade 導致無法正常開機

    + +

    + + + Continue reading + + +
    + + + + +
    + + +
    + + +
    @@ -891,99 +974,6 @@ -
    - - - - - - - - -
    - - - - - -
    - - - - -
    -

    Bookstack Docker

    -
    - - - 2018-11-06 - - - - - - - - - 筆記 - - - - - - Eric Chang - -
    - - -

    Bookstack 是一套非常好用的線上”筆記”系統

    - -

    他用圖書館/書本的概念,讓使用者可以建立自己的”圖書館”

    - -

    同時在圖書館內建立不同的”書籍”

    - -

    而且支援 Markdown 語法

    - -

    其他的方式像是在nextcloud上編輯 md檔案(字體太小)

    - -

    或者是boostnote(只能在本機)

    - -

    都或多或少有點小缺點

    - -

    Bookstack則是沒有這些問題,不過就是系統「大」了點…

    - -

    不過還好有人做成docker的方式來啟動,大大的降低了建置的難度(其實也沒有很難啦,只是要裝個PHP、弄個DB而已)

    - -

    - - - Continue reading - - -
    - - -
    @@ -1015,6 +1005,10 @@ Latest posts
    @@ -1060,6 +1050,10 @@ Ps (1) +
  • + 碎念 (1) +
  • +
  • 群暉 (1)
  • diff --git a/public/index.json b/public/index.json index 6b409dd5..516e710a 100644 --- a/public/index.json +++ b/public/index.json @@ -6,6 +6,13 @@ "type": "category", "url": "https://h.cowbay.org/categories/ps" }, + { + "iconClass": "fa-folder", + "objectID": "https://h.cowbay.org/categories/%E7%A2%8E%E5%BF%B5", + "title": "碎念", + "type": "category", + "url": "https://h.cowbay.org/categories/%E7%A2%8E%E5%BF%B5" + }, { "iconClass": "fa-folder", "objectID": "https://h.cowbay.org/categories/%E7%AD%86%E8%A8%98", @@ -76,6 +83,13 @@ "type": "tag", "url": "https://h.cowbay.org/tags/linux" }, + { + "iconClass": "fa-tag", + "objectID": "https://h.cowbay.org/tags/mdadm", + "title": "Mdadm", + "type": "tag", + "url": "https://h.cowbay.org/tags/mdadm" + }, { "iconClass": "fa-tag", "objectID": "https://h.cowbay.org/tags/mellanox", diff --git a/public/index.xml b/public/index.xml index e217875f..c956cf1c 100644 --- a/public/index.xml +++ b/public/index.xml @@ -5,11 +5,30 @@ https://h.cowbay.org/ Recent content on MC部落 Hugo -- gohugo.io - Fri, 07 Dec 2018 15:19:47 +0800 + Wed, 12 Dec 2018 11:10:22 +0800 + + [碎念] mdadm 超級慢的rebuild 速度 Incredibly Slow mdadm Rebuild + https://h.cowbay.org/post/incredibly-slow-mdadm-rebuild/ + Wed, 12 Dec 2018 11:10:22 +0800 + + https://h.cowbay.org/post/incredibly-slow-mdadm-rebuild/ + <p>最近在做一台老機器的P2V</p> + +<p>偏偏user說不能關機,所以我用dd + ssh 做線上移轉</p> + +<p>這部份有空再來寫</p> + +<p>只是因為原來的設定有用mdadm 做raid1</p> + +<p>這部份導致移轉過去proxmox 後,會出現raid degrade 導致無法正常開機</p> + +<p></p> + + [筆記] 建立一個帶著走的 VIM 環境 Creating portable Vim environment https://h.cowbay.org/post/create-portable-vim-environment/ diff --git a/public/page/2/index.html b/public/page/2/index.html index 9a24898e..bc365360 100644 --- a/public/page/2/index.html +++ b/public/page/2/index.html @@ -95,6 +95,99 @@ +
    + + + + + +
    + + + + +
    +

    Bookstack Docker

    +
    + + + 2018-11-06 + + + + + + + + + 筆記 + + + + + + Eric Chang + +
    + + +

    Bookstack 是一套非常好用的線上”筆記”系統

    + +

    他用圖書館/書本的概念,讓使用者可以建立自己的”圖書館”

    + +

    同時在圖書館內建立不同的”書籍”

    + +

    而且支援 Markdown 語法

    + +

    其他的方式像是在nextcloud上編輯 md檔案(字體太小)

    + +

    或者是boostnote(只能在本機)

    + +

    都或多或少有點小缺點

    + +

    Bookstack則是沒有這些問題,不過就是系統「大」了點…

    + +

    不過還好有人做成docker的方式來啟動,大大的降低了建置的難度(其實也沒有很難啦,只是要裝個PHP、弄個DB而已)

    + +

    + + + Continue reading + + +
    + + + + +
    + + +
    + + +
    @@ -281,6 +374,10 @@ Latest posts
    @@ -326,6 +419,10 @@ Ps (1) +
  • + 碎念 (1) +
  • +
  • 群暉 (1)
  • diff --git a/public/post/10g-lab-using-proxmox-and-mellanox/index.html b/public/post/10g-lab-using-proxmox-and-mellanox/index.html index 0ff373ae..d2d22d61 100644 --- a/public/post/10g-lab-using-proxmox-and-mellanox/index.html +++ b/public/post/10g-lab-using-proxmox-and-mellanox/index.html @@ -415,6 +415,10 @@ TCP window size: 85.0 KByte (default) Latest posts @@ -460,6 +460,10 @@ TCP window size: 85.0 KByte (default) Ps (1) +
  • + 碎念 (1) +
  • +
  • 群暉 (1)
  • diff --git a/public/post/ansible-selectattr-filter/index.html b/public/post/ansible-selectattr-filter/index.html index 809fe7d4..55a4b21c 100644 --- a/public/post/ansible-selectattr-filter/index.html +++ b/public/post/ansible-selectattr-filter/index.html @@ -218,6 +218,10 @@ Latest posts @@ -263,6 +263,10 @@ Ps (1) +
  • + 碎念 (1) +
  • +
  • 群暉 (1)
  • diff --git a/public/post/ansible-selectattr/index.html b/public/post/ansible-selectattr/index.html index c8fd3769..413a456d 100644 --- a/public/post/ansible-selectattr/index.html +++ b/public/post/ansible-selectattr/index.html @@ -329,6 +329,10 @@ Latest posts @@ -374,6 +374,10 @@ Ps (1) +
  • + 碎念 (1) +
  • +
  • 群暉 (1)
  • diff --git a/public/post/bookstack-docker/index.html b/public/post/bookstack-docker/index.html index 81f86bf2..8328fea2 100644 --- a/public/post/bookstack-docker/index.html +++ b/public/post/bookstack-docker/index.html @@ -284,6 +284,10 @@ b8d74048eba1 mysql:5.7.21 "docker-entrypoint.s…&qu Latest posts @@ -329,6 +329,10 @@ b8d74048eba1 mysql:5.7.21 "docker-entrypoint.s…&qu Ps (1) +
  • + 碎念 (1) +
  • +
  • 群暉 (1)
  • diff --git a/public/post/change-preferred-language-in-firefox/index.html b/public/post/change-preferred-language-in-firefox/index.html index fafed33c..0bb126dd 100644 --- a/public/post/change-preferred-language-in-firefox/index.html +++ b/public/post/change-preferred-language-in-firefox/index.html @@ -258,6 +258,10 @@ Latest posts @@ -303,6 +303,10 @@ Ps (1) +
  • + 碎念 (1) +
  • +
  • 群暉 (1)
  • diff --git a/public/post/copy_role_in_pgsql/index.html b/public/post/copy_role_in_pgsql/index.html index 3c6585f6..54c97528 100644 --- a/public/post/copy_role_in_pgsql/index.html +++ b/public/post/copy_role_in_pgsql/index.html @@ -216,6 +216,10 @@ GRANT a TO b; Latest posts @@ -261,6 +261,10 @@ GRANT a TO b; Ps (1) +
  • + 碎念 (1) +
  • +
  • 群暉 (1)
  • diff --git a/public/post/create-portable-vim-environment/index.html b/public/post/create-portable-vim-environment/index.html index 1f1d163d..cb672d3a 100644 --- a/public/post/create-portable-vim-environment/index.html +++ b/public/post/create-portable-vim-environment/index.html @@ -229,6 +229,10 @@ Latest posts @@ -274,6 +274,10 @@ Ps (1) +
  • + 碎念 (1) +
  • +
  • 群暉 (1)
  • diff --git a/public/post/enable-synology-public-ssh/index.html b/public/post/enable-synology-public-ssh/index.html index 549045ec..0adaca21 100644 --- a/public/post/enable-synology-public-ssh/index.html +++ b/public/post/enable-synology-public-ssh/index.html @@ -302,6 +302,10 @@ admin@storage:~$ Latest posts @@ -347,6 +347,10 @@ admin@storage:~$ Ps (1) +
  • + 碎念 (1) +
  • +
  • 群暉 (1)
  • diff --git a/public/post/incredibly-slow-mdadm-rebuild/index.html b/public/post/incredibly-slow-mdadm-rebuild/index.html new file mode 100644 index 00000000..e5e8b64a --- /dev/null +++ b/public/post/incredibly-slow-mdadm-rebuild/index.html @@ -0,0 +1,467 @@ + + + + + + + + + + [碎念] mdadm 超級慢的rebuild 速度 Incredibly Slow mdadm Rebuild | MC部落 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
    + +
    +

    MC部落

    + + 這是MC的HUGO部落格,採用bilberry theme + +
    + + + + +
    + + +
    +
    +
    + + +
    + + +
    + + + + + +
    + + + + +
    +

    [碎念] mdadm 超級慢的rebuild 速度 Incredibly Slow mdadm Rebuild

    +
    + + + 2018-12-12 + + + + + + + + + 碎念 + + + + + + Eric Chang + +
    + + +

    最近在做一台老機器的P2V

    + +

    偏偏user說不能關機,所以我用dd + ssh 做線上移轉

    + +

    這部份有空再來寫

    + +

    只是因為原來的設定有用mdadm 做raid1

    + +

    這部份導致移轉過去proxmox 後,會出現raid degrade 導致無法正常開機

    + +

    + +

    我的想法是既然開機會出現raid degrade

    + +

    那我就加第二顆硬碟給它,讓它做 rebuild

    + +

    OK,原則上這樣做沒有問題

    + +

    問題是它X的,這個mdadm rebuild 的速度也未免太慢了吧!

    + +
    Every 2.0s: cat /proc/mdstat                                                                                                        Wed Dec 12 11:01:36 2018
    +
    +Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] [raid10]
    +md1 : active raid1 sda1[0] sdb1[2]
    +      975296 blocks super 1.2 [2/2] [UU]
    +
    +md0 : active raid1 sda5[0] sdb5[2]
    +      487276352 blocks super 1.2 [2/1] [U_]
    +      [>....................]  recovery =  0.5% (2468032/487276352) finish=2079.7min speed=3884K/sec
    +
    +unused devices: <none>
    +
    + +

    這個是一開始跑的速度

    + +

    然後這個是跑了大概10分鐘之後的速度(有稍稍提昇一點點)

    + +
    Every 2.0s: cat /proc/mdstat                                                                                                        Wed Dec 12 11:17:31 2018
    +
    +Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] [raid10]
    +md1 : active raid1 sda1[0] sdb1[2]
    +      975296 blocks super 1.2 [2/2] [UU]
    +
    +md0 : active raid1 sda5[0] sdb5[2]
    +      487276352 blocks super 1.2 [2/1] [U_]
    +      [>....................]  recovery =  1.4% (6978688/487276352) finish=1915.9min speed=4177K/sec
    +
    +unused devices: <none>
    +
    + +

    等等看會不會速度再快一點..

    + +

    一個小時了,還是一樣慢..

    + +
    Every 2.0s: cat /proc/mdstat                                                                                                        Wed Dec 12 12:20:16 2018
    +
    +Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] [raid10]
    +md1 : active raid1 sda1[0] sdb1[2]
    +      975296 blocks super 1.2 [2/2] [UU]
    +
    +md0 : active raid1 sda5[0] sdb5[2]
    +      487276352 blocks super 1.2 [2/1] [U_]
    +      [=>...................]  recovery =  5.2% (25526016/487276352) finish=858.6min speed=8962K/sec
    +
    +unused devices: <none>
    +
    +
    + +

    突然又加速了,希望能維持下去啊!….

    + +
    Every 2.0s: cat /proc/mdstat                                                                                                        Wed Dec 12 13:33:42 2018
    +
    +Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] [raid10]
    +md1 : active raid1 sda1[0] sdb1[2]
    +      975296 blocks super 1.2 [2/2] [UU]
    +
    +md0 : active raid1 sda5[0] sdb5[2]
    +      487276352 blocks super 1.2 [2/1] [U_]
    +      [========>............]  recovery = 43.6% (212611904/487276352) finish=47.6min speed=96104K/sec
    +
    +unused devices: <none>
    +
    +
    + +
    + + + + +
    + + +
    + + +
    + + +comments powered by Disqus + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/public/post/index.html b/public/post/index.html index fb954546..68bc32e6 100644 --- a/public/post/index.html +++ b/public/post/index.html @@ -90,6 +90,87 @@ +
    + + + + + +
    + + + + +
    +

    [碎念] mdadm 超級慢的rebuild 速度 Incredibly Slow mdadm Rebuild

    +
    + + + 2018-12-12 + + + + + + + + + 碎念 + + + + + + Eric Chang + +
    + + +

    最近在做一台老機器的P2V

    + +

    偏偏user說不能關機,所以我用dd + ssh 做線上移轉

    + +

    這部份有空再來寫

    + +

    只是因為原來的設定有用mdadm 做raid1

    + +

    這部份導致移轉過去proxmox 後,會出現raid degrade 導致無法正常開機

    + +

    + + + Continue reading + + +
    + + + + +
    + + +
    +
    @@ -870,97 +951,6 @@ -
    - - - - - - -
    - - - - - -
    - - - - -
    -

    Bookstack Docker

    -
    - - - 2018-11-06 - - - - - - - - - 筆記 - - - - - - Eric Chang - -
    - - -

    Bookstack 是一套非常好用的線上”筆記”系統

    - -

    他用圖書館/書本的概念,讓使用者可以建立自己的”圖書館”

    - -

    同時在圖書館內建立不同的”書籍”

    - -

    而且支援 Markdown 語法

    - -

    其他的方式像是在nextcloud上編輯 md檔案(字體太小)

    - -

    或者是boostnote(只能在本機)

    - -

    都或多或少有點小缺點

    - -

    Bookstack則是沒有這些問題,不過就是系統「大」了點…

    - -

    不過還好有人做成docker的方式來啟動,大大的降低了建置的難度(其實也沒有很難啦,只是要裝個PHP、弄個DB而已)

    - -

    - - - Continue reading - - -
    - - -
    @@ -991,6 +981,10 @@ Latest posts
    @@ -1036,6 +1026,10 @@ Ps (1) +
  • + 碎念 (1) +
  • +
  • 群暉 (1)
  • diff --git a/public/post/index.xml b/public/post/index.xml index b7276234..6f03373f 100644 --- a/public/post/index.xml +++ b/public/post/index.xml @@ -5,11 +5,30 @@ https://h.cowbay.org/post/ Recent content in Posts on MC部落 Hugo -- gohugo.io - Fri, 07 Dec 2018 15:19:47 +0800 + Wed, 12 Dec 2018 11:10:22 +0800 + + [碎念] mdadm 超級慢的rebuild 速度 Incredibly Slow mdadm Rebuild + https://h.cowbay.org/post/incredibly-slow-mdadm-rebuild/ + Wed, 12 Dec 2018 11:10:22 +0800 + + https://h.cowbay.org/post/incredibly-slow-mdadm-rebuild/ + <p>最近在做一台老機器的P2V</p> + +<p>偏偏user說不能關機,所以我用dd + ssh 做線上移轉</p> + +<p>這部份有空再來寫</p> + +<p>只是因為原來的設定有用mdadm 做raid1</p> + +<p>這部份導致移轉過去proxmox 後,會出現raid degrade 導致無法正常開機</p> + +<p></p> + + [筆記] 建立一個帶著走的 VIM 環境 Creating portable Vim environment https://h.cowbay.org/post/create-portable-vim-environment/ diff --git a/public/post/nice-du-report-tool-durep/index.html b/public/post/nice-du-report-tool-durep/index.html index 992d1188..9f11c593 100644 --- a/public/post/nice-du-report-tool-durep/index.html +++ b/public/post/nice-du-report-tool-durep/index.html @@ -251,6 +251,10 @@ Latest posts @@ -296,6 +296,10 @@ Ps (1) +
  • + 碎念 (1) +
  • +
  • 群暉 (1)
  • diff --git a/public/post/page/2/index.html b/public/post/page/2/index.html index 20b6ca23..7ab18ab8 100644 --- a/public/post/page/2/index.html +++ b/public/post/page/2/index.html @@ -90,6 +90,97 @@ +
    + + + + + +
    + + + + +
    +

    Bookstack Docker

    +
    + + + 2018-11-06 + + + + + + + + + 筆記 + + + + + + Eric Chang + +
    + + +

    Bookstack 是一套非常好用的線上”筆記”系統

    + +

    他用圖書館/書本的概念,讓使用者可以建立自己的”圖書館”

    + +

    同時在圖書館內建立不同的”書籍”

    + +

    而且支援 Markdown 語法

    + +

    其他的方式像是在nextcloud上編輯 md檔案(字體太小)

    + +

    或者是boostnote(只能在本機)

    + +

    都或多或少有點小缺點

    + +

    Bookstack則是沒有這些問題,不過就是系統「大」了點…

    + +

    不過還好有人做成docker的方式來啟動,大大的降低了建置的難度(其實也沒有很難啦,只是要裝個PHP、弄個DB而已)

    + +

    + + + Continue reading + + +
    + + + + +
    + + +
    +
    @@ -205,6 +296,10 @@ Latest posts
    @@ -250,6 +341,10 @@ Ps (1) +
  • + 碎念 (1) +
  • +
  • 群暉 (1)
  • diff --git a/public/post/synology-ds415-repair-cost/index.html b/public/post/synology-ds415-repair-cost/index.html index fdcbe20c..b0bfab08 100644 --- a/public/post/synology-ds415-repair-cost/index.html +++ b/public/post/synology-ds415-repair-cost/index.html @@ -264,6 +264,10 @@ Latest posts @@ -309,6 +309,10 @@ Ps (1) +
  • + 碎念 (1) +
  • +
  • 群暉 (1)
  • diff --git a/public/post/weird-client-server-connection/index.html b/public/post/weird-client-server-connection/index.html index 453fabf1..c655d944 100644 --- a/public/post/weird-client-server-connection/index.html +++ b/public/post/weird-client-server-connection/index.html @@ -295,6 +295,10 @@ acl CONNECT method CONNECT Latest posts @@ -340,6 +340,10 @@ acl CONNECT method CONNECT Ps (1) +
  • + 碎念 (1) +
  • +
  • 群暉 (1)
  • diff --git a/public/sitemap.xml b/public/sitemap.xml index 57f83651..bee1ac2d 100644 --- a/public/sitemap.xml +++ b/public/sitemap.xml @@ -4,7 +4,7 @@ https://h.cowbay.org/en/sitemap.xml - 2018-12-07T15:19:47+08:00 + 2018-12-12T11:10:22+08:00 diff --git a/public/tags/10g/index.html b/public/tags/10g/index.html index 7ffb981c..cb74de1e 100644 --- a/public/tags/10g/index.html +++ b/public/tags/10g/index.html @@ -204,6 +204,10 @@ Latest posts @@ -249,6 +249,10 @@ Ps (1) +
  • + 碎念 (1) +
  • +
  • 群暉 (1)
  • diff --git a/public/tags/ansible/index.html b/public/tags/ansible/index.html index f50287c9..ac04ba7d 100644 --- a/public/tags/ansible/index.html +++ b/public/tags/ansible/index.html @@ -306,6 +306,10 @@ Latest posts @@ -351,6 +351,10 @@ Ps (1) +
  • + 碎念 (1) +
  • +
  • 群暉 (1)
  • diff --git a/public/tags/bookstack/index.html b/public/tags/bookstack/index.html index debeba1c..21441537 100644 --- a/public/tags/bookstack/index.html +++ b/public/tags/bookstack/index.html @@ -202,6 +202,10 @@ Latest posts @@ -247,6 +247,10 @@ Ps (1) +
  • + 碎念 (1) +
  • +
  • 群暉 (1)
  • diff --git a/public/tags/docker/index.html b/public/tags/docker/index.html index efa91e6a..cb690746 100644 --- a/public/tags/docker/index.html +++ b/public/tags/docker/index.html @@ -202,6 +202,10 @@ Latest posts @@ -247,6 +247,10 @@ Ps (1) +
  • + 碎念 (1) +
  • +
  • 群暉 (1)
  • diff --git a/public/tags/du/index.html b/public/tags/du/index.html index d79c4dda..54af528b 100644 --- a/public/tags/du/index.html +++ b/public/tags/du/index.html @@ -189,6 +189,10 @@ Latest posts @@ -234,6 +234,10 @@ Ps (1) +
  • + 碎念 (1) +
  • +
  • 群暉 (1)
  • diff --git a/public/tags/firefox/index.html b/public/tags/firefox/index.html index bd1f0c1d..8db9b91e 100644 --- a/public/tags/firefox/index.html +++ b/public/tags/firefox/index.html @@ -194,6 +194,10 @@ Latest posts @@ -239,6 +239,10 @@ Ps (1) +
  • + 碎念 (1) +
  • +
  • 群暉 (1)
  • diff --git a/public/tags/index.html b/public/tags/index.html index a81474b5..65329131 100644 --- a/public/tags/index.html +++ b/public/tags/index.html @@ -115,6 +115,8 @@
  • Linux (2)
  • +
  • Mdadm (1)
  • +
  • Mellanox (1)
  • Metabase (1)
  • @@ -156,6 +158,10 @@ Latest posts @@ -201,6 +203,10 @@ Ps (1) +
  • + 碎念 (1) +
  • +
  • 群暉 (1)
  • diff --git a/public/tags/index.xml b/public/tags/index.xml index 548b7427..a1d10869 100644 --- a/public/tags/index.xml +++ b/public/tags/index.xml @@ -73,6 +73,15 @@
    + + Mdadm + https://h.cowbay.org/tags/mdadm/ + Wed, 12 Dec 2018 11:10:22 +0800 + + https://h.cowbay.org/tags/mdadm/ + + + Mellanox https://h.cowbay.org/tags/mellanox/ diff --git a/public/tags/linux/index.html b/public/tags/linux/index.html index 4d16c9bf..3305d66f 100644 --- a/public/tags/linux/index.html +++ b/public/tags/linux/index.html @@ -307,6 +307,10 @@ Latest posts @@ -352,6 +352,10 @@ Ps (1) +
  • + 碎念 (1) +
  • +
  • 群暉 (1)
  • diff --git a/public/tags/mdadm/index.html b/public/tags/mdadm/index.html new file mode 100644 index 00000000..301dba1a --- /dev/null +++ b/public/tags/mdadm/index.html @@ -0,0 +1,388 @@ + + + + + + + + + + Mdadm | MC部落 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
    + +
    +

    MC部落

    + + 這是MC的HUGO部落格,採用bilberry theme + +
    + + + + +
    + + +
    +
    +
    + + +
    + + + +
    + + + + + +
    + + + + +
    +

    [碎念] mdadm 超級慢的rebuild 速度 Incredibly Slow mdadm Rebuild

    +
    + + + 2018-12-12 + + + + + + + + + 碎念 + + + + + + Eric Chang + +
    + + +

    最近在做一台老機器的P2V

    + +

    偏偏user說不能關機,所以我用dd + ssh 做線上移轉

    + +

    這部份有空再來寫

    + +

    只是因為原來的設定有用mdadm 做raid1

    + +

    這部份導致移轉過去proxmox 後,會出現raid degrade 導致無法正常開機

    + +

    + + + Continue reading + + +
    + + + + +
    + + +
    + + + +
    + + + +
    + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/public/tags/mdadm/index.xml b/public/tags/mdadm/index.xml new file mode 100644 index 00000000..6e70557f --- /dev/null +++ b/public/tags/mdadm/index.xml @@ -0,0 +1,33 @@ + + + + Mdadm on MC部落 + https://h.cowbay.org/tags/mdadm/ + Recent content in Mdadm on MC部落 + Hugo -- gohugo.io + Wed, 12 Dec 2018 11:10:22 +0800 + + + + + + [碎念] mdadm 超級慢的rebuild 速度 Incredibly Slow mdadm Rebuild + https://h.cowbay.org/post/incredibly-slow-mdadm-rebuild/ + Wed, 12 Dec 2018 11:10:22 +0800 + + https://h.cowbay.org/post/incredibly-slow-mdadm-rebuild/ + <p>最近在做一台老機器的P2V</p> + +<p>偏偏user說不能關機,所以我用dd + ssh 做線上移轉</p> + +<p>這部份有空再來寫</p> + +<p>只是因為原來的設定有用mdadm 做raid1</p> + +<p>這部份導致移轉過去proxmox 後,會出現raid degrade 導致無法正常開機</p> + +<p></p> + + + + \ No newline at end of file diff --git a/public/tags/mdadm/page/1/index.html b/public/tags/mdadm/page/1/index.html new file mode 100644 index 00000000..53ea8eac --- /dev/null +++ b/public/tags/mdadm/page/1/index.html @@ -0,0 +1 @@ +https://h.cowbay.org/tags/mdadm/ \ No newline at end of file diff --git a/public/tags/mellanox/index.html b/public/tags/mellanox/index.html index dbaa6360..f08ed519 100644 --- a/public/tags/mellanox/index.html +++ b/public/tags/mellanox/index.html @@ -204,6 +204,10 @@ Latest posts @@ -249,6 +249,10 @@ Ps (1) +
  • + 碎念 (1) +
  • +
  • 群暉 (1)
  • diff --git a/public/tags/metabase/index.html b/public/tags/metabase/index.html index 9b81eabc..817fd486 100644 --- a/public/tags/metabase/index.html +++ b/public/tags/metabase/index.html @@ -194,6 +194,10 @@ Latest posts @@ -239,6 +239,10 @@ Ps (1) +
  • + 碎念 (1) +
  • +
  • 群暉 (1)
  • diff --git a/public/tags/nas/index.html b/public/tags/nas/index.html index 0c613c77..d0c691a5 100644 --- a/public/tags/nas/index.html +++ b/public/tags/nas/index.html @@ -294,6 +294,10 @@ Latest posts @@ -339,6 +339,10 @@ Ps (1) +
  • + 碎念 (1) +
  • +
  • 群暉 (1)
  • diff --git a/public/tags/ps/index.html b/public/tags/ps/index.html index cafa3c6e..bb71cc69 100644 --- a/public/tags/ps/index.html +++ b/public/tags/ps/index.html @@ -179,6 +179,10 @@ Latest posts @@ -224,6 +224,10 @@ Ps (1) +
  • + 碎念 (1) +
  • +
  • 群暉 (1)
  • diff --git a/public/tags/psql/index.html b/public/tags/psql/index.html index eec2d423..504aa791 100644 --- a/public/tags/psql/index.html +++ b/public/tags/psql/index.html @@ -192,6 +192,10 @@ Latest posts @@ -237,6 +237,10 @@ Ps (1) +
  • + 碎念 (1) +
  • +
  • 群暉 (1)
  • diff --git a/public/tags/ssh/index.html b/public/tags/ssh/index.html index 91371042..88b0489e 100644 --- a/public/tags/ssh/index.html +++ b/public/tags/ssh/index.html @@ -203,6 +203,10 @@ Latest posts @@ -248,6 +248,10 @@ Ps (1) +
  • + 碎念 (1) +
  • +
  • 群暉 (1)
  • diff --git a/public/tags/synology/index.html b/public/tags/synology/index.html index b8efb121..13fe2a67 100644 --- a/public/tags/synology/index.html +++ b/public/tags/synology/index.html @@ -294,6 +294,10 @@ Latest posts @@ -339,6 +339,10 @@ Ps (1) +
  • + 碎念 (1) +
  • +
  • 群暉 (1)
  • diff --git a/public/tags/ubuntu/index.html b/public/tags/ubuntu/index.html index cde3efcd..da7891f5 100644 --- a/public/tags/ubuntu/index.html +++ b/public/tags/ubuntu/index.html @@ -198,6 +198,10 @@ Latest posts @@ -243,6 +243,10 @@ Ps (1) +
  • + 碎念 (1) +
  • +
  • 群暉 (1)
  • diff --git a/public/tags/vim/index.html b/public/tags/vim/index.html index 8f2e7fa4..5dbdd564 100644 --- a/public/tags/vim/index.html +++ b/public/tags/vim/index.html @@ -190,6 +190,10 @@ Latest posts @@ -235,6 +235,10 @@ Ps (1) +
  • + 碎念 (1) +
  • +
  • 群暉 (1)
  • diff --git a/public/tags/短今/index.html b/public/tags/短今/index.html index d9c2fd7e..76619798 100644 --- a/public/tags/短今/index.html +++ b/public/tags/短今/index.html @@ -179,6 +179,10 @@ Latest posts @@ -224,6 +224,10 @@ Ps (1) +
  • + 碎念 (1) +
  • +
  • 群暉 (1)
  • diff --git a/public/tags/筆記/index.html b/public/tags/筆記/index.html index 8213088c..e4df690f 100644 --- a/public/tags/筆記/index.html +++ b/public/tags/筆記/index.html @@ -547,6 +547,10 @@ Latest posts @@ -592,6 +592,10 @@ Ps (1) +
  • + 碎念 (1) +
  • +
  • 群暉 (1)
  • diff --git a/public/tags/群暉/index.html b/public/tags/群暉/index.html index 87cbaa6f..024b14fb 100644 --- a/public/tags/群暉/index.html +++ b/public/tags/群暉/index.html @@ -202,6 +202,10 @@ Latest posts @@ -247,6 +247,10 @@ Ps (1) +
  • + 碎念 (1) +
  • +
  • 群暉 (1)
  • diff --git a/themes/public/images/post-default.jpg b/themes/public/images/post-default-1.jpg similarity index 100% rename from themes/public/images/post-default.jpg rename to themes/public/images/post-default-1.jpg