add update to proxmox and synology ha cluster

master
Eric Chang 6 years ago
parent a726820c4b
commit 32dde4d676

@ -0,0 +1,109 @@
---
title: "[筆記] 第一次玩 Synology High Availability / first try synology high availability"
date: 2020-01-10T09:48:18+08:00
draft: false
noSummary: false
categories: ['筆記']
image: https://h.cowbay.org/images/post-default-13.jpg
tags: ['synology']
author: "Eric Chang"
keywords:
- synology
- high availability
---
上禮拜,原本擔任 proxmox cluster 的主要 storage 的 ds415+ 掛點了
原因應該就是之前的 intel c2000 series cpu 的 bug
只是不知道為什麼這台兩三年來都沒有關機的NAS
比其他三台多撐了那麼久 (已經有兩台送修回來,一台也是同樣症狀,被放在一邊)
趁著這次機會,看看網路上說的換電阻大法有沒有用!
如果有用,就拿這兩台來玩玩 synology high availability !
<!--more-->
先要感謝這一篇的作者!
https://www.mobile01.com/topicdetail.php?f=494&t=5600042
在網路上訂了一大包的 1/4 w 100Ω 的電阻 (100個才70塊運費都要60了)
照著上面那篇的作法把電阻焊上去NAS就順利開機了
__
架構圖很簡單,只是在做測試而已,又是第一次玩,先不要搞得太複雜
![](https://i.imgur.com/k7IDZ4Y.png)
流程大致如下
設定好NAS Cluster 之後建立NFS 服務
然後在proxmox 主機上掛載這個NFS 空間
接著在proxmox 上建立一台 VM 存放在NFS 空間上
在這台VM裡面持續 ping NAS cluster VIP 192.168.11.85
接著拔掉 192.168.11.87 的兩條網路線模擬NAS cluster 的主伺服器掛點的狀況
這時候VM 還活著,可以正常建立、刪除、檢視檔案,然後 ping 192.168.11.85 也還持續著
NAS的告警信件也正常發出
08:53 NAS High Availability 叢集 ds415cluster 已執行自動故障轉移。 [詳細資訊:無法偵測到 hqs087 (主伺服器)]
08:58 NAS High Availability 叢集 ds415cluster 狀態異常 [詳細資訊:無法偵測到 hqs087 (副伺服器)]
9:08 接回hqs087的網路線
9:09 收到信件 NAS High Availability 叢集 ds415cluster 停止正常運作 [詳細資訊Split-brain 錯誤]
登入管理界面(192.168.11.85:5000) ,操作 HA ,選擇恢復
這時候開始VM 的檔案系統變成是 read only
雖然還活著,但是已經無法建立、刪除檔案,連 cat /var/log/syslog 也會卡住
9:14 VIP NAS cluster 恢復連線,本來卡住的 cat /var/log/syslog 也可以正常顯示內容了
但是系統還是 read onlyreboot VM 之後才恢復正常。
有幾個問題
* split brain 錯誤
這個問題我想應該是因為只有兩台組成clsuter 造成的
如果有第三臺加入應該就不會有這個split brain 的問題
* VM變成 read only
這個我就不知道為什麼了照理說NAS Cluster 已經開始在恢復
在我的觀念裡,應該要能夠「正常」的持續服務
但是VM變成 read only ,而且必須要重新開機才能解決
那這樣NAS Cluster 等於沒有太大作用呀..
來問問看群暉客服好了

@ -0,0 +1,105 @@
---
title: "[筆記] postgresql 效能測試 / postgresql benchmakr using pgbench"
date: 2020-01-07T11:18:59+08:00
draft: false
noSummary: false
categories: ['筆記']
image: https://h.cowbay.org/images/post-default-17.jpg
tags: ['postgresql','pgbench']
author: "Eric Chang"
keywords:
- postgresql
- pgbench
---
昨天老闆在slack 上面問說現在的幾台 DB Server 有沒有跑過 pgbench
分數大概如何,想要跟他的筆電做個比較
之前有跑過幾次,這次就順便測試一下不同的硬體配置、以及不同的軟體版本
對於pgbench 跑分會有多大的影響
<!--more-->
OS: ubuntu 18.04.3 x64
postgresql 版本: 10 / 11 / 12
硬碟分成兩種,一個是透過 NFS 10G 網路存取的storage一個是本機三顆硬碟組成的 zfs raidz
大概步驟就是安裝postgresql & tools 然後initialize pgbench table 最後就跑pgbench 測試
### install tools for postgresql
sudo apt install postgresql-contrib
### su to postgres and initialize pgbench database
sudo su - postgres
createdb pgbench
pgbench -i -U postgres -s 10 pgbench
### running the test
pgbench -t 100 -c 100 -S -U postgres pgbench
得出來的結果如下
| | 2 cores / 16G | 4 cores / 16G |
| --- | --- | --- | PGTUNE | NO PGTUNE | PGTUNE | NO PGTUNE |
| PSQL Version | 10G Storage | Local Raidz | 10G Storage | Local Raidz | 10G Storage | Local Raidz | 10G Storage | Local Raidz |
| 10 | 9014.144993 | 9395.847239 | 9508.819462 | 10192.27069 | 13280.99918 | 13819.12767 | 15257.69002 | 15397.53475 |
| 11 | 9418.477212 | 9333.790266 | 9070.990565 | 9071.182748 | 15455.80444 | 16079.6638 | 15710.24677 | 14274.59939 |
| 12 | 8630.21746 | 8872.475173 | 9072.034237 | 9217.547833 | 16116.7502 | 12380.71452 | 17409.10363 | 14520.79393 |
Update: 喵的 Markdown 的表格不支援 colspan ,只好改用圖片方式呈現
!['postgresql pgbench banchmark reults'](https://i.imgur.com/vQFfj6Y.png)
另外補上一個 2 cores / 2G RAM 的結果
### postgresql 10 , 2G RAM , HDD on 10G Storage
```
postgres@ubuntu:~$ pgbench -t 100 -c 100 -S -U postgres pgbench
starting vacuum...end.
transaction type: <builtin: select only>
scaling factor: 10
query mode: simple
number of clients: 100
number of threads: 1
number of transactions per client: 100
number of transactions actually processed: 10000/10000
latency average = 11.583 ms
tps = 8633.209610 (including connections establishing)
tps = 8651.036900 (excluding connections establishing)
```
有幾個地方值得注意
* 記憶體 2G->16G 效能的增加並沒有很明顯 tps 從 8633 略為上升到 9014
* 這個倒是讓我滿意外的一直以來都認為postgresql 非常的需要記憶體,但是實際跑測試卻不是這樣
* pgtune 的影響不大,甚至可以說是會降低效能
* pgtune 是一個網頁服務可以協助做出「理論上」建議使用的postgresql config
https://pgtune.leopard.in.ua/#/
* 從結果可以看出使用pgtune 做出來的config 跟完全使用預設值的config 相比pgtune的效能大部分都略低於預設值
* 這也讓我很好奇或許要花更多時間去研究postgresql 的config但是我不是 DBA 啊!
* CPU 核心數很明顯地影響pgbench
* 從表格中可以看到當CPU Cores 增加pgbench的效能也明顯增加
* 而我甚至還沒有指定用多核心去執行測試,如果要用多核心去測試,要把測試指令改成
```
pgbench -j 4 -t 100 -c 100 -S -U postgres pgbench
```
* 10G Storage和 3顆 2T SATA硬碟組成的 raidz 效能差不多
* 如果本機改用 SSD RAID 甚至是 NVME SSD RAID ,效能應該會提高更多
* 10G的部份最多大概就是略低於 1000MB 左右
* 如果換成 SSD 效能應該是還會提昇但是有限畢竟10Gb的頻寬限制就在那邊(理論值1250MB左右)

@ -0,0 +1,83 @@
---
title: "[筆記] 測試 proxmox 存取由 synology HA cluster 分享的NFS 目錄 / Proxmox With Synology High Availability"
date: 2020-01-17T12:20:33+08:00
draft: false
noSummary: false
categories: ['筆記']
image: https://h.cowbay.org/images/post-default-18.jpg
tags: ['synology','proxmox','high Availability']
author: "Eric Chang"
keywords:
- synology
- proxmox
- 'high availability'
---
前幾天修復了因為intel cpu bug 導致無法使用的 synology DS415+
詳情請看 https://h.cowbay.org/post/first-try-synology-ha/
今天趁尾牙前夕,手邊沒啥要緊事
就來玩玩看promox 加上 synology high availability 再加上 NFS share 的環境
<!--more-->
先上架構圖
![](https://i.imgur.com/k7IDZ4Y.png)
架構很簡單NAS設定一組NFS share proxmox mount 進來然後開一台VM在NFS 上
主要來談談proxmox 在碰到synology high availability 切換狀態、遇上腦裂(brain split)時候的狀況
觸發 brain split (說真的,我覺得腦裂很難聽 ...)的情況,在上面連結那篇文章裡面有提到,就不多說了
來講講後續的狀況
發生 brain split 時,可以預期管理者會登入管理界面去修復
關於修復brain split 可以看看群暉的這篇文章
https://www.synology.com/zh-tw/knowledgebase/DSM/help/HighAvailability/split_brain
而我選擇的是 [將兩台伺服器一同保留於叢集中]
在進行修復的過程中會發現VM這邊會變成 read only
聽起來很合理,畢竟在修復時,所有服務幾乎都是停擺
但是呢等到修復完成後VM還是read only ,這就有點奇怪了
有跟群暉客服反應過這個狀況
所以在修復完成之後在proxmox server 這邊直接對NFS 存取做測試
去下載一個template 是 OK 的在console 裡面直接在NFS touch file 也是可以的
所以Synology high availability 是有正常發揮作用
而promox 這邊在synology恢復之後也可以正常存取NFS ,所以也沒有問題
~~那問題就是在VM裡面了當發生了某些狀況讓系統進入read only 就必須透過reboot 才能解決~~
~~或者是看看這個指令用fsck去檢查filesystem 看看有沒有幫助~~
```
sudo fsck -Af -M
```
UPDATE:
在proxmox 論壇上提出了這個問題,有回覆說要用 NFS Version 4.1
經過測試在掛載NFS share folder 時,如果有指定 NFS Version 4.1
那在HA Cluster 恢復之後VM也就跟著恢復正常
不必再重開機了!
所以這問題算是解決了!

@ -0,0 +1,179 @@
---
title: "[筆記] 用ubuntu livecd 救援群暉 synology NAS內的資料 / rescue synology nas with ubuntu livecd"
date: 2020-01-03T15:43:45+08:00
draft: false
noSummary: false
categories: ['筆記']
image: https://h.cowbay.org/images/post-default-11.jpg
tags: ['synology','nas']
author: "Eric Chang"
keywords:
- synology
- nas
---
2020/01/02 , 2020年上工的第一天群暉的 DS415+ NAS 掛了!
因為群暉的文件在最關鍵的一步寫得亂七八糟!
所以在這邊紀錄一下我操作的步驟!
<!--more-->
#### 建立可開機的ubuntu 隨身碟
建立 bootable ubuntu flash 的步驟,請參考底下網頁介紹,這邊就不多說了
https://tutorials.ubuntu.com/tutorial/tutorial-create-a-usb-stick-on-ubuntu#0
#### 把NAS上的硬碟接上PC
還好這次的NAS只有四顆如果有八顆我去哪裡生可以接八顆硬碟的主機...
#### 用隨身碟開機進入ubuntu Live 環境
懶人沒截圖
#### 安裝必要套件
進入 ubuntu Live 之後,按 ctal + alt + t
開啟 terminal ,然後先安裝 mdadm & lvm2
```
ubuntu@ubuntu:~$ sudo apt install mdadm lvm2
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
thin-provisioning-tools default-mta | mail-transport-agent dracut-core
The following NEW packages will be installed:
mdadm
The following packages will be upgraded:
lvm2
1 upgraded, 1 newly installed, 0 to remove and 780 not upgraded.
Need to get 1,346 kB of archives.
After this operation, 1,237 kB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 lvm2 amd64 2.02.176-4.1ubuntu3.18.04.2 [930 kB]
Get:2 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 mdadm amd64 4.1~rc1-3~ubuntu18.04.2 [416 kB]
Fetched 1,346 kB in 3s (501 kB/s)
....
...
...
以下省略
```
#### scan raid and lvm
接下來先換成 root 操作
```
ubuntu@ubuntu:~$ sudo su -
```
然後掃描 raid & LVM
```
root@ubuntu:~# mdadm -Asf && vgchange -ay
mdadm: /dev/md/2 has been started with 4 drives.
2 logical volume(s) in volume group "vg1" now active
```
COOL 原本的VG出現了
```
root@ubuntu:~# vgdisplay
--- Volume group ---
VG Name vg1
System ID
Format lvm2
Metadata Areas 1
Metadata Sequence No 3
VG Access read/write
VG Status resizable
MAX LV 0
Cur LV 2
Open LV 0
Max PV 0
Cur PV 1
Act PV 1
VG Size 5.44 TiB
PE Size 4.00 MiB
Total PE 1427264
Alloc PE / Size 1427264 / 5.44 TiB
Free PE / Size 0 / 0
VG UUID O1c8Uw-JmKy-EiKt-92OB-3K3y-roMi-9NUZ6H
```
也可以看到 RAID 資訊了!
```
root@ubuntu:~# mdadm -D /dev/md2
/dev/md2:
Version : 1.2
Creation Time : Thu Oct 13 07:26:12 2016
Raid Level : raid5
Array Size : 5846077632 (5575.25 GiB 5986.38 GB)
Used Dev Size : 1948692544 (1858.42 GiB 1995.46 GB)
Raid Devices : 4
Total Devices : 4
Persistence : Superblock is persistent
Update Time : Thu Jan 2 01:48:34 2020
State : clean
Active Devices : 4
Working Devices : 4
Failed Devices : 0
Spare Devices : 0
Layout : left-symmetric
Chunk Size : 64K
Consistency Policy : resync
Name : video:2
UUID : 18f6706d:91eaaec9:5b0ba8da:e32481e3
Events : 96
Number Major Minor RaidDevice State
0 8 51 0 active sync /dev/sdd3
1 8 35 1 active sync /dev/sdc3
2 8 19 2 active sync /dev/sdb3
3 8 3 3 active sync /dev/sda3
```
然後就會發生我之前寫的這篇的狀況
https://h.cowbay.org/post/what-a-piss-in-synology-document/
問題發生了,總是要想辦法解決
#### scan lv
```
root@ubuntu:~# lvscan
ACTIVE '/dev/vg1/syno_vg_reserved_area' [12.00 MiB] inherit
ACTIVE '/dev/vg1/volume_1' [5.44 TiB] inherit
```
OK ,在 vg1 底下有兩個 volume ,看大小來判斷,第二個是我們要的
用底下的指令就可以掛載了
```
mount /dev/vg1/volume_1 /mnt
```
請依照自己的環境,把第一個路徑改掉,如果要掛載到別的目錄,那也把第二個 /mnt 改掉
```
root@ubuntu:/dev# mount /dev/vg1/volume_1 /mnt
root@ubuntu:/dev# cd /mnt
root@ubuntu:/mnt# ls
@appstore @database @EP_trash @MailScanner @S2S
aquota.group @download @iSCSITrg music synoquota.db
aquota.user @eaDir lost+found nfsforprox @tmp
@clamav @EP @maillog photo video
```
OK可以看到原本NAS 下的目錄了,接下來就可以進行檔案複製了!

@ -0,0 +1,110 @@
---
title: "[碎念] Synology 群暉的文件不知道在工三小 / what a piss in synology document"
date: 2020-01-03T11:45:56+08:00
draft: false
noSummary: false
categories: ['雜念']
image: https://h.cowbay.org/images/post-default-16.jpg
tags: ['synology']
author: "Eric Chang"
keywords:
- synology
---
2020/01/02 2020 上工的第一天,公司碩果僅存的唯一一台 Synology DS415+ 也終於掛了
開機沒多久就連不上,反覆幾次之後,出現了開機時所有燈號都狂閃的狀況
終於宣告不治
問題很明顯的就是Intel C2000 系列 CPU 的瑕疵
<!--more-->
總之,機器老早就過保了,上面放的是 proxmox 的 vm 檔案
在NAS掛點之後就從備份檔把這些VM還原回來了
想說網路上很多文章說只要焊一個電阻上去就可以修復
就把機器和硬碟先放著,等有空再去買電阻回來玩玩看
結果user今天早上就在靠腰說上面有一台開發用的VM上面的歷史紀錄很重要
幹,很重要是不會自己備份逆?
又不跟我說很重要,要備份,然後自己也不做備份
然後現在VM 不見了,再來靠腰??
真的不要以為資訊公司的員工就比較有sense ,屁!
不過呢,人微言輕,還是只好鼻子摸摸,想辦法救出來
然後就找到了群暉的這篇文章
https://www.synology.com/zh-tw/knowledgebase/DSM/tutorial/Storage/How_can_I_recover_data_from_my_DiskStation_using_a_PC
```
如何使用電腦復原存放在 Synology NAS 上的資料?
若您的 Synology NAS 故障,可以輕鬆透過電腦與 Ubuntu Live CD 復原資料。請確認 Synology NAS 硬碟上運行的檔案系統是 EXT4 或 Btrfs並依照下列步驟來復原資料。此處將以 Ubuntu 18.04 版本作為範例:
1.準備一台電腦,該電腦必須具備足夠的硬碟插槽以安裝從 Synology NAS 取出的硬碟。
2.將硬碟從 Synology NAS 取出,並安裝到電腦。若使用 RAID 或 SHR 配置,您必須將所有硬碟 (Hot Spare 硬碟除外) 同時安裝到電腦。
3.按照此教學 Create a bootable USB stick on Windows 來建立 Ubuntu 環境。
4.前往左下角的顯示應用程式選單。
5.在搜尋欄位輸入 Terminal 並選擇終端機。
6.若 Synology NAS 上的磁碟配置為 RAID 或 SHR請依照步驟 7 到 10 操作;若您想復原的檔案位於僅使用一顆硬碟的基本儲存類型機種,請跳至步驟 10。
7.輸入以下指令 (sudo 會將執行權限轉換為 root )。
Ubuntu@ubuntu:~$ sudo -i
8.輸入以下指令來安裝 mdadm 和 lvm2 (皆為 RAID 管理工具)。若沒有安裝 lvm2vgchange 將無法運作。
root@ubuntu:~$ apt-get update
root@ubuntu:~$ apt-get install -y mdadm lvm2
9.輸入以下指令來掛載所有從 Synology NAS 取出的硬碟,結果可能會因 Synology NAS 上的儲存集區配置而有所不同。
root@ubuntu:~$ mdadm -Asf && vgchange -ay
10.輸入以下指令來將所有硬碟掛載為唯讀以存取資料。在 ${device_path} 輸入裝置路徑,${mount_point} 輸入掛載點,您的資料將會被置於掛載點的路徑。
$ mount ${device_path} ${mount_point} -o ro
```
好, 1-9 都沒什麼問題,但是有人可以幫忙翻譯翻譯 10 是在工三小?
當然我能理解因為每一臺NAS的環境不同所以會有一些不同的變數
但是假如你是一個單純的user ,只是想要救資料,好不容易找了臺電腦
把硬碟都接上去用ubuntu liveCD 開機乖乖做了1-9的步驟
接著一定會傻眼, 什麼是 ${device_path} ?? 什麼是 ${mount_point} ???
寫文件的人你就不能配合個圖片,去說明應該要怎麼辨別 device_path ? mount_point 又是什麼?
這很簡單呀!
做完 9 的指令,其實就會回復你 NAS 分割區的名稱
好像叫什麼 vg1 的 <---
然後會在 /dev/vg1 底下看到當初建立的磁區 (我的叫 volume_1)
至於 mount_point 就是看你要掛載到系統的哪個目錄底下
所以我就要執行
```
mount /dev/vg1/volume_1 /mnt
```
這樣就可以把NAS上的分割給掛進liveCD ,就可以進行資料複製了!
連一份文件都做不好,真的是服了這些據說很高薪的「工程師」..

@ -45,9 +45,9 @@
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.3.1/css/all.css" integrity="sha384-mzrmE5qonljUremFsqc01SB46JvROS7bZs3IO2EmfFsd15uHvIt+Y8vEf7N7fWAU" crossorigin="anonymous">
<link href="https://h.cowbay.org/css/style.css?v=1577410044" rel="stylesheet" id="theme-stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/style.css?v=1581582274" rel="stylesheet" id="theme-stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/custom.css?v=1577410044" rel="stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/custom.css?v=1581582274" rel="stylesheet" type='text/css' media='all'>
<link rel="shortcut icon" href="https://h.cowbay.org/img/favicon.ico" type="image/x-icon">
<link rel="icon" href="https://h.cowbay.org/img/favicon.ico" type="image/x-icon">
@ -113,6 +113,10 @@ if (!doNotTrack) {
<a href="/categories/%E7%BE%A4%E6%9A%89">群暉</a>
</li>
<li class="menu-item menu-item-type-taxonomy menu-item-object-category">
<a href="/categories/%E9%9B%9C%E5%BF%B5">雜念</a>
</li>
</ul>
@ -599,7 +603,7 @@ title="pinterest icon"></i>
</div>
<script src="https://h.cowbay.org/js/jquery.min.js"></script>
<script src="https://h.cowbay.org/js/jquerymigrate.js"></script>
<script src="https://h.cowbay.org/js/production.min.js?v=1577410044"></script>
<script src="https://h.cowbay.org/js/production.min.js?v=1581582274"></script>
</body>
</html>

@ -45,9 +45,9 @@
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.3.1/css/all.css" integrity="sha384-mzrmE5qonljUremFsqc01SB46JvROS7bZs3IO2EmfFsd15uHvIt+Y8vEf7N7fWAU" crossorigin="anonymous">
<link href="https://h.cowbay.org/css/style.css?v=1577410044" rel="stylesheet" id="theme-stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/style.css?v=1581582274" rel="stylesheet" id="theme-stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/custom.css?v=1577410044" rel="stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/custom.css?v=1581582274" rel="stylesheet" type='text/css' media='all'>
<link rel="shortcut icon" href="https://h.cowbay.org/img/favicon.ico" type="image/x-icon">
<link rel="icon" href="https://h.cowbay.org/img/favicon.ico" type="image/x-icon">
@ -114,6 +114,10 @@ if (!doNotTrack) {
<a href="/categories/%E7%BE%A4%E6%9A%89">群暉</a>
</li>
<li class="menu-item menu-item-type-taxonomy menu-item-object-category">
<a href="/categories/%E9%9B%9C%E5%BF%B5">雜念</a>
</li>
</ul>
@ -604,6 +608,6 @@ if (!doNotTrack) {
</div>
<script src="https://h.cowbay.org/js/jquery.min.js"></script>
<script src="https://h.cowbay.org/js/jquerymigrate.js"></script>
<script src="https://h.cowbay.org/js/production.min.js?v=1577410044"></script>
<script src="https://h.cowbay.org/js/production.min.js?v=1581582274"></script>
</body>

@ -6,7 +6,7 @@
<description>Recent content in Categories on MC部落</description>
<generator>Hugo -- gohugo.io</generator>
<language>en-us</language>
<lastBuildDate>Fri, 27 Dec 2019 09:09:05 +0800</lastBuildDate>
<lastBuildDate>Fri, 17 Jan 2020 12:20:33 +0800</lastBuildDate>
<atom:link href="https://h.cowbay.org/categories/index.xml" rel="self" type="application/rss+xml" />
@ -14,12 +14,21 @@
<item>
<title>筆記</title>
<link>https://h.cowbay.org/categories/%E7%AD%86%E8%A8%98/</link>
<pubDate>Fri, 27 Dec 2019 09:09:05 +0800</pubDate>
<pubDate>Fri, 17 Jan 2020 12:20:33 +0800</pubDate>
<guid>https://h.cowbay.org/categories/%E7%AD%86%E8%A8%98/</guid>
<description></description>
</item>
<item>
<title>雜念</title>
<link>https://h.cowbay.org/categories/%E9%9B%9C%E5%BF%B5/</link>
<pubDate>Fri, 03 Jan 2020 11:45:56 +0800</pubDate>
<guid>https://h.cowbay.org/categories/%E9%9B%9C%E5%BF%B5/</guid>
<description></description>
</item>
<item>
<title>ansible</title>
<link>https://h.cowbay.org/categories/ansible/</link>

@ -45,9 +45,9 @@
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.3.1/css/all.css" integrity="sha384-mzrmE5qonljUremFsqc01SB46JvROS7bZs3IO2EmfFsd15uHvIt+Y8vEf7N7fWAU" crossorigin="anonymous">
<link href="https://h.cowbay.org/css/style.css?v=1577410044" rel="stylesheet" id="theme-stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/style.css?v=1581582274" rel="stylesheet" id="theme-stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/custom.css?v=1577410044" rel="stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/custom.css?v=1581582274" rel="stylesheet" type='text/css' media='all'>
<link rel="shortcut icon" href="https://h.cowbay.org/img/favicon.ico" type="image/x-icon">
<link rel="icon" href="https://h.cowbay.org/img/favicon.ico" type="image/x-icon">
@ -114,6 +114,10 @@ if (!doNotTrack) {
<a href="/categories/%E7%BE%A4%E6%9A%89">群暉</a>
</li>
<li class="menu-item menu-item-type-taxonomy menu-item-object-category">
<a href="/categories/%E9%9B%9C%E5%BF%B5">雜念</a>
</li>
</ul>
@ -479,6 +483,6 @@ if (!doNotTrack) {
</div>
<script src="https://h.cowbay.org/js/jquery.min.js"></script>
<script src="https://h.cowbay.org/js/jquerymigrate.js"></script>
<script src="https://h.cowbay.org/js/production.min.js?v=1577410044"></script>
<script src="https://h.cowbay.org/js/production.min.js?v=1581582274"></script>
</body>

@ -45,9 +45,9 @@
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.3.1/css/all.css" integrity="sha384-mzrmE5qonljUremFsqc01SB46JvROS7bZs3IO2EmfFsd15uHvIt+Y8vEf7N7fWAU" crossorigin="anonymous">
<link href="https://h.cowbay.org/css/style.css?v=1577410044" rel="stylesheet" id="theme-stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/style.css?v=1581582274" rel="stylesheet" id="theme-stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/custom.css?v=1577410044" rel="stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/custom.css?v=1581582274" rel="stylesheet" type='text/css' media='all'>
<link rel="shortcut icon" href="https://h.cowbay.org/img/favicon.ico" type="image/x-icon">
<link rel="icon" href="https://h.cowbay.org/img/favicon.ico" type="image/x-icon">
@ -114,6 +114,10 @@ if (!doNotTrack) {
<a href="/categories/%E7%BE%A4%E6%9A%89">群暉</a>
</li>
<li class="menu-item menu-item-type-taxonomy menu-item-object-category">
<a href="/categories/%E9%9B%9C%E5%BF%B5">雜念</a>
</li>
</ul>
@ -483,6 +487,6 @@ if (!doNotTrack) {
</div>
<script src="https://h.cowbay.org/js/jquery.min.js"></script>
<script src="https://h.cowbay.org/js/jquerymigrate.js"></script>
<script src="https://h.cowbay.org/js/production.min.js?v=1577410044"></script>
<script src="https://h.cowbay.org/js/production.min.js?v=1581582274"></script>
</body>

@ -45,9 +45,9 @@
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.3.1/css/all.css" integrity="sha384-mzrmE5qonljUremFsqc01SB46JvROS7bZs3IO2EmfFsd15uHvIt+Y8vEf7N7fWAU" crossorigin="anonymous">
<link href="https://h.cowbay.org/css/style.css?v=1577410044" rel="stylesheet" id="theme-stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/style.css?v=1581582274" rel="stylesheet" id="theme-stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/custom.css?v=1577410044" rel="stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/custom.css?v=1581582274" rel="stylesheet" type='text/css' media='all'>
<link rel="shortcut icon" href="https://h.cowbay.org/img/favicon.ico" type="image/x-icon">
<link rel="icon" href="https://h.cowbay.org/img/favicon.ico" type="image/x-icon">
@ -114,6 +114,10 @@ if (!doNotTrack) {
<a href="/categories/%E7%BE%A4%E6%9A%89">群暉</a>
</li>
<li class="menu-item menu-item-type-taxonomy menu-item-object-category">
<a href="/categories/%E9%9B%9C%E5%BF%B5">雜念</a>
</li>
</ul>
@ -418,6 +422,6 @@ if (!doNotTrack) {
</div>
<script src="https://h.cowbay.org/js/jquery.min.js"></script>
<script src="https://h.cowbay.org/js/jquerymigrate.js"></script>
<script src="https://h.cowbay.org/js/production.min.js?v=1577410044"></script>
<script src="https://h.cowbay.org/js/production.min.js?v=1581582274"></script>
</body>

@ -45,9 +45,9 @@
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.3.1/css/all.css" integrity="sha384-mzrmE5qonljUremFsqc01SB46JvROS7bZs3IO2EmfFsd15uHvIt+Y8vEf7N7fWAU" crossorigin="anonymous">
<link href="https://h.cowbay.org/css/style.css?v=1577410044" rel="stylesheet" id="theme-stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/style.css?v=1581582274" rel="stylesheet" id="theme-stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/custom.css?v=1577410044" rel="stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/custom.css?v=1581582274" rel="stylesheet" type='text/css' media='all'>
<link rel="shortcut icon" href="https://h.cowbay.org/img/favicon.ico" type="image/x-icon">
<link rel="icon" href="https://h.cowbay.org/img/favicon.ico" type="image/x-icon">
@ -114,6 +114,10 @@ if (!doNotTrack) {
<a href="/categories/%E7%BE%A4%E6%9A%89">群暉</a>
</li>
<li class="menu-item menu-item-type-taxonomy menu-item-object-category">
<a href="/categories/%E9%9B%9C%E5%BF%B5">雜念</a>
</li>
</ul>
@ -481,6 +485,6 @@ if (!doNotTrack) {
</div>
<script src="https://h.cowbay.org/js/jquery.min.js"></script>
<script src="https://h.cowbay.org/js/jquerymigrate.js"></script>
<script src="https://h.cowbay.org/js/production.min.js?v=1577410044"></script>
<script src="https://h.cowbay.org/js/production.min.js?v=1581582274"></script>
</body>

@ -20,9 +20,9 @@
"publisher": "",
"accountablePerson" : "",
"copyrightHolder" : "",
"copyrightYear" : "2019",
"datePublished": "2019-12-27 09:09:05 \x2b0800 CST",
"dateModified" : "2019-12-27 09:09:05 \x2b0800 CST",
"copyrightYear" : "2020",
"datePublished": "2020-01-17 12:20:33 \x2b0800 CST",
"dateModified" : "2020-01-17 12:20:33 \x2b0800 CST",
"url" : "https:\/\/h.cowbay.org\/categories\/%E7%AD%86%E8%A8%98\/",
"wordCount" : "0",
"image" : "https://h.cowbay.org%!s(\u003cnil\u003e)"",
@ -45,9 +45,9 @@
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.3.1/css/all.css" integrity="sha384-mzrmE5qonljUremFsqc01SB46JvROS7bZs3IO2EmfFsd15uHvIt+Y8vEf7N7fWAU" crossorigin="anonymous">
<link href="https://h.cowbay.org/css/style.css?v=1577410044" rel="stylesheet" id="theme-stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/style.css?v=1581582274" rel="stylesheet" id="theme-stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/custom.css?v=1577410044" rel="stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/custom.css?v=1581582274" rel="stylesheet" type='text/css' media='all'>
<link rel="shortcut icon" href="https://h.cowbay.org/img/favicon.ico" type="image/x-icon">
<link rel="icon" href="https://h.cowbay.org/img/favicon.ico" type="image/x-icon">
@ -114,6 +114,10 @@ if (!doNotTrack) {
<a href="/categories/%E7%BE%A4%E6%9A%89">群暉</a>
</li>
<li class="menu-item menu-item-type-taxonomy menu-item-object-category">
<a href="/categories/%E9%9B%9C%E5%BF%B5">雜念</a>
</li>
</ul>
@ -292,6 +296,252 @@ if (!doNotTrack) {
<div class="post type-post status-publish format-standard has-post-thumbnail hentry category-design tag-memories tag-normal-post tag-standard-2 excerpt zoom full-without-featured odd excerpt">
<a class="featured-image-link" href="https://h.cowbay.org/post/proxmox-with-synology-high-availability/"><div class='featured-image lazy lazy-bg-image' data-background="https://h.cowbay.org/images/post-default-18.jpg"></div></a>
<div class="excerpt-container">
<div class="excerpt-meta">
<span class="date">17 January</span>
<span> / </span>
<span class="author">
<a href="https://github.com/changchichung" title="Posts by Eric Chang" rel="author">Eric Chang</a>
</span>
<span> / </span>
<span class="category">
<a href="/categories/%E7%AD%86%E8%A8%98">筆記</a>
</span>
</div>
<div class='excerpt-header'>
<h2 class='excerpt-title'>
<a href="https://h.cowbay.org/post/proxmox-with-synology-high-availability/ "> [筆記] 測試 proxmox 存取由 synology HA cluster 分享的NFS 目錄 / Proxmox With Synology High Availability </a>
</h2>
</div>
<div class='excerpt-content'>
<article>
<p>前幾天修復了因為intel cpu bug 導致無法使用的 synology DS415+</p>
<p>詳情請看 <a href="https://h.cowbay.org/post/first-try-synology-ha/">https://h.cowbay.org/post/first-try-synology-ha/</a></p>
<p>今天趁尾牙前夕,手邊沒啥要緊事</p>
<p>就來玩玩看promox 加上 synology high availability 再加上 NFS share 的環境</p>
<div class="more-link-wrapper"><a class="more-link" href="https://h.cowbay.org/post/proxmox-with-synology-high-availability/">Read the post<span class="screen-reader-text">This is a Standard Post</span></a></div>
</article>
</div>
</div>
</div>
<div class="post type-post status-publish format-standard has-post-thumbnail hentry category-design tag-memories tag-normal-post tag-standard-2 excerpt zoom full-without-featured even excerpt">
<a class="featured-image-link" href="https://h.cowbay.org/post/first-try-synology-ha/"><div class='featured-image lazy lazy-bg-image' data-background="https://h.cowbay.org/images/post-default-13.jpg"></div></a>
<div class="excerpt-container">
<div class="excerpt-meta">
<span class="date">10 January</span>
<span> / </span>
<span class="author">
<a href="https://github.com/changchichung" title="Posts by Eric Chang" rel="author">Eric Chang</a>
</span>
<span> / </span>
<span class="category">
<a href="/categories/%E7%AD%86%E8%A8%98">筆記</a>
</span>
</div>
<div class='excerpt-header'>
<h2 class='excerpt-title'>
<a href="https://h.cowbay.org/post/first-try-synology-ha/ "> [筆記] 第一次玩 Synology High Availability / first try synology high availability </a>
</h2>
</div>
<div class='excerpt-content'>
<article>
<p>上禮拜,原本擔任 proxmox cluster 的主要 storage 的 ds415+ 掛點了</p>
<p>原因應該就是之前的 intel c2000 series cpu 的 bug</p>
<p>只是不知道為什麼這台兩三年來都沒有關機的NAS</p>
<p>比其他三台多撐了那麼久 (已經有兩台送修回來,一台也是同樣症狀,被放在一邊)</p>
<p>趁著這次機會,看看網路上說的換電阻大法有沒有用!</p>
<p>如果有用,就拿這兩台來玩玩 synology high availability !</p>
<div class="more-link-wrapper"><a class="more-link" href="https://h.cowbay.org/post/first-try-synology-ha/">Read the post<span class="screen-reader-text">This is a Standard Post</span></a></div>
</article>
</div>
</div>
</div>
<div class="post type-post status-publish format-standard has-post-thumbnail hentry category-design tag-memories tag-normal-post tag-standard-2 excerpt zoom full-without-featured odd excerpt">
<a class="featured-image-link" href="https://h.cowbay.org/post/postgresql-pgbench-benchmark/"><div class='featured-image lazy lazy-bg-image' data-background="https://h.cowbay.org/images/post-default-17.jpg"></div></a>
<div class="excerpt-container">
<div class="excerpt-meta">
<span class="date">07 January</span>
<span> / </span>
<span class="author">
<a href="https://github.com/changchichung" title="Posts by Eric Chang" rel="author">Eric Chang</a>
</span>
<span> / </span>
<span class="category">
<a href="/categories/%E7%AD%86%E8%A8%98">筆記</a>
</span>
</div>
<div class='excerpt-header'>
<h2 class='excerpt-title'>
<a href="https://h.cowbay.org/post/postgresql-pgbench-benchmark/ "> [筆記] postgresql 效能測試 / postgresql benchmakr using pgbench </a>
</h2>
</div>
<div class='excerpt-content'>
<article>
<p>昨天老闆在slack 上面問說現在的幾台 DB Server 有沒有跑過 pgbench</p>
<p>分數大概如何,想要跟他的筆電做個比較</p>
<p>之前有跑過幾次,這次就順便測試一下不同的硬體配置、以及不同的軟體版本</p>
<p>對於pgbench 跑分會有多大的影響</p>
<div class="more-link-wrapper"><a class="more-link" href="https://h.cowbay.org/post/postgresql-pgbench-benchmark/">Read the post<span class="screen-reader-text">This is a Standard Post</span></a></div>
</article>
</div>
</div>
</div>
<div class="post type-post status-publish format-standard has-post-thumbnail hentry category-design tag-memories tag-normal-post tag-standard-2 excerpt zoom full-without-featured even excerpt">
<a class="featured-image-link" href="https://h.cowbay.org/post/rescue-synology-nas-with-ubuntu-livecd/"><div class='featured-image lazy lazy-bg-image' data-background="https://h.cowbay.org/images/post-default-11.jpg"></div></a>
<div class="excerpt-container">
<div class="excerpt-meta">
<span class="date">03 January</span>
<span> / </span>
<span class="author">
<a href="https://github.com/changchichung" title="Posts by Eric Chang" rel="author">Eric Chang</a>
</span>
<span> / </span>
<span class="category">
<a href="/categories/%E7%AD%86%E8%A8%98">筆記</a>
</span>
</div>
<div class='excerpt-header'>
<h2 class='excerpt-title'>
<a href="https://h.cowbay.org/post/rescue-synology-nas-with-ubuntu-livecd/ "> [筆記] 用ubuntu livecd 救援群暉 synology NAS內的資料 / rescue synology nas with ubuntu livecd </a>
</h2>
</div>
<div class='excerpt-content'>
<article>
<p>2020/01/02 , 2020年上工的第一天群暉的 DS415+ NAS 掛了!</p>
<p>因為群暉的文件在最關鍵的一步寫得亂七八糟!</p>
<p>所以在這邊紀錄一下我操作的步驟!</p>
<div class="more-link-wrapper"><a class="more-link" href="https://h.cowbay.org/post/rescue-synology-nas-with-ubuntu-livecd/">Read the post<span class="screen-reader-text">This is a Standard Post</span></a></div>
</article>
</div>
</div>
</div>
<div class="post type-post status-publish format-standard has-post-thumbnail hentry category-design tag-memories tag-normal-post tag-standard-2 excerpt zoom full-without-featured odd excerpt">
@ -2819,6 +3069,6 @@ if (!doNotTrack) {
</div>
<script src="https://h.cowbay.org/js/jquery.min.js"></script>
<script src="https://h.cowbay.org/js/jquerymigrate.js"></script>
<script src="https://h.cowbay.org/js/production.min.js?v=1577410044"></script>
<script src="https://h.cowbay.org/js/production.min.js?v=1581582274"></script>
</body>

@ -6,11 +6,73 @@
<description>Recent content in 筆記 on MC部落</description>
<generator>Hugo -- gohugo.io</generator>
<language>en-us</language>
<lastBuildDate>Fri, 27 Dec 2019 09:09:05 +0800</lastBuildDate>
<lastBuildDate>Fri, 17 Jan 2020 12:20:33 +0800</lastBuildDate>
<atom:link href="https://h.cowbay.org/categories/%E7%AD%86%E8%A8%98/index.xml" rel="self" type="application/rss+xml" />
<item>
<title>[筆記] 測試 proxmox 存取由 synology HA cluster 分享的NFS 目錄 / Proxmox With Synology High Availability</title>
<link>https://h.cowbay.org/post/proxmox-with-synology-high-availability/</link>
<pubDate>Fri, 17 Jan 2020 12:20:33 +0800</pubDate>
<guid>https://h.cowbay.org/post/proxmox-with-synology-high-availability/</guid>
<description>&lt;p&gt;前幾天修復了因為intel cpu bug 導致無法使用的 synology DS415+&lt;/p&gt;
&lt;p&gt;詳情請看 &lt;a href=&#34;https://h.cowbay.org/post/first-try-synology-ha/&#34;&gt;https://h.cowbay.org/post/first-try-synology-ha/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;今天趁尾牙前夕,手邊沒啥要緊事&lt;/p&gt;
&lt;p&gt;就來玩玩看promox 加上 synology high availability 再加上 NFS share 的環境&lt;/p&gt;</description>
</item>
<item>
<title>[筆記] 第一次玩 Synology High Availability / first try synology high availability</title>
<link>https://h.cowbay.org/post/first-try-synology-ha/</link>
<pubDate>Fri, 10 Jan 2020 09:48:18 +0800</pubDate>
<guid>https://h.cowbay.org/post/first-try-synology-ha/</guid>
<description>&lt;p&gt;上禮拜,原本擔任 proxmox cluster 的主要 storage 的 ds415+ 掛點了&lt;/p&gt;
&lt;p&gt;原因應該就是之前的 intel c2000 series cpu 的 bug&lt;/p&gt;
&lt;p&gt;只是不知道為什麼這台兩三年來都沒有關機的NAS&lt;/p&gt;
&lt;p&gt;比其他三台多撐了那麼久 (已經有兩台送修回來,一台也是同樣症狀,被放在一邊)&lt;/p&gt;
&lt;p&gt;趁著這次機會,看看網路上說的換電阻大法有沒有用!&lt;/p&gt;
&lt;p&gt;如果有用,就拿這兩台來玩玩 synology high availability !&lt;/p&gt;</description>
</item>
<item>
<title>[筆記] postgresql 效能測試 / postgresql benchmakr using pgbench</title>
<link>https://h.cowbay.org/post/postgresql-pgbench-benchmark/</link>
<pubDate>Tue, 07 Jan 2020 11:18:59 +0800</pubDate>
<guid>https://h.cowbay.org/post/postgresql-pgbench-benchmark/</guid>
<description>&lt;p&gt;昨天老闆在slack 上面問說現在的幾台 DB Server 有沒有跑過 pgbench&lt;/p&gt;
&lt;p&gt;分數大概如何,想要跟他的筆電做個比較&lt;/p&gt;
&lt;p&gt;之前有跑過幾次,這次就順便測試一下不同的硬體配置、以及不同的軟體版本&lt;/p&gt;
&lt;p&gt;對於pgbench 跑分會有多大的影響&lt;/p&gt;</description>
</item>
<item>
<title>[筆記] 用ubuntu livecd 救援群暉 synology NAS內的資料 / rescue synology nas with ubuntu livecd</title>
<link>https://h.cowbay.org/post/rescue-synology-nas-with-ubuntu-livecd/</link>
<pubDate>Fri, 03 Jan 2020 15:43:45 +0800</pubDate>
<guid>https://h.cowbay.org/post/rescue-synology-nas-with-ubuntu-livecd/</guid>
<description>&lt;p&gt;2020/01/02 , 2020年上工的第一天群暉的 DS415+ NAS 掛了!&lt;/p&gt;
&lt;p&gt;因為群暉的文件在最關鍵的一步寫得亂七八糟!&lt;/p&gt;
&lt;p&gt;所以在這邊紀錄一下我操作的步驟!&lt;/p&gt;</description>
</item>
<item>
<title>[筆記]在ansible中取得loop register後的值/ Ansible Get Value From Loop Register</title>
<link>https://h.cowbay.org/post/ansible-get-value-from-loop-register/</link>

@ -45,9 +45,9 @@
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.3.1/css/all.css" integrity="sha384-mzrmE5qonljUremFsqc01SB46JvROS7bZs3IO2EmfFsd15uHvIt+Y8vEf7N7fWAU" crossorigin="anonymous">
<link href="https://h.cowbay.org/css/style.css?v=1577410044" rel="stylesheet" id="theme-stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/style.css?v=1581582274" rel="stylesheet" id="theme-stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/custom.css?v=1577410044" rel="stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/custom.css?v=1581582274" rel="stylesheet" type='text/css' media='all'>
<link rel="shortcut icon" href="https://h.cowbay.org/img/favicon.ico" type="image/x-icon">
<link rel="icon" href="https://h.cowbay.org/img/favicon.ico" type="image/x-icon">
@ -114,6 +114,10 @@ if (!doNotTrack) {
<a href="/categories/%E7%BE%A4%E6%9A%89">群暉</a>
</li>
<li class="menu-item menu-item-type-taxonomy menu-item-object-category">
<a href="/categories/%E9%9B%9C%E5%BF%B5">雜念</a>
</li>
</ul>
@ -487,6 +491,6 @@ if (!doNotTrack) {
</div>
<script src="https://h.cowbay.org/js/jquery.min.js"></script>
<script src="https://h.cowbay.org/js/jquerymigrate.js"></script>
<script src="https://h.cowbay.org/js/production.min.js?v=1577410044"></script>
<script src="https://h.cowbay.org/js/production.min.js?v=1581582274"></script>
</body>

@ -0,0 +1,488 @@
<!DOCTYPE html>
<html lang="en-us">
<head><meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<script type="application/ld+json">
{
"@context" : "http://schema.org",
"@type" : "BlogPosting",
"mainEntityOfPage": {
"@type": "WebPage",
"@id": "https:\/\/h.cowbay.org"
},
"articleSection" : "categories",
"name" : "雜念",
"headline" : "雜念",
"description" : "",
"inLanguage" : "en",
"author" : "",
"creator" : "",
"publisher": "",
"accountablePerson" : "",
"copyrightHolder" : "",
"copyrightYear" : "2020",
"datePublished": "2020-01-03 11:45:56 \x2b0800 CST",
"dateModified" : "2020-01-03 11:45:56 \x2b0800 CST",
"url" : "https:\/\/h.cowbay.org\/categories\/%E9%9B%9C%E5%BF%B5\/",
"wordCount" : "0",
"image" : "https://h.cowbay.org%!s(\u003cnil\u003e)"",
"keywords" : [ "Blog" ]
}
</script>
<title>雜念 </title>
<meta name="description" content="some articles about job,food,passion sisters" />
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="robots" content="all,follow">
<meta name="googlebot" content="index,follow,snippet,archive">
<link rel="stylesheet" id="ct-tracks-google-fonts-css" href="https://fonts.googleapis.com/css?family=Raleway%3A400%2C700&amp;subset=latin%2Clatin-ext&amp;ver=4.7.2" type="text/css" media="all">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.3.1/css/all.css" integrity="sha384-mzrmE5qonljUremFsqc01SB46JvROS7bZs3IO2EmfFsd15uHvIt+Y8vEf7N7fWAU" crossorigin="anonymous">
<link href="https://h.cowbay.org/css/style.css?v=1581582274" rel="stylesheet" id="theme-stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/custom.css?v=1581582274" rel="stylesheet" type='text/css' media='all'>
<link rel="shortcut icon" href="https://h.cowbay.org/img/favicon.ico" type="image/x-icon">
<link rel="icon" href="https://h.cowbay.org/img/favicon.ico" type="image/x-icon">
<link href="https://h.cowbay.org/categories/%E9%9B%9C%E5%BF%B5/index.xml" rel="alternate" type="application/rss+xml" title="MC部落" />
<link href="https://h.cowbay.org/categories/%E9%9B%9C%E5%BF%B5/index.xml" rel="feed" type="application/rss+xml" title="MC部落" />
<script type="application/javascript">
var doNotTrack = false;
if (!doNotTrack) {
window.ga=window.ga||function(){(ga.q=ga.q||[]).push(arguments)};ga.l=+new Date;
ga('create', 'UA-138954876-1', 'auto');
ga('send', 'pageview');
}
</script>
<script async src='https://www.google-analytics.com/analytics.js'></script>
</head>
<body class="home blog ct-body standard">
<div id="overflow-container" class="overflow-container">
<a class="skip-content" href="#main">Skip to content</a>
<header id="site-header" class="site-header" role="banner">
<div class='top-navigation'>
<div class='container'>
<div id="menu-secondary" class="menu-container menu-secondary" role="navigation">
<button id="toggle-secondary-navigation" class="toggle-secondary-navigation"><i class="fas fa-plus"></i></button>
<div class="menu">
<ul id="menu-secondary-items" class="menu-secondary-items">
<li class="menu-item menu-item-type-taxonomy menu-item-object-category">
<a href="/categories/"></a>
</li>
<li class="menu-item menu-item-type-taxonomy menu-item-object-category">
<a href="/categories/ansible">ansible</a>
</li>
<li class="menu-item menu-item-type-taxonomy menu-item-object-category">
<a href="/categories/linux">linux</a>
</li>
<li class="menu-item menu-item-type-taxonomy menu-item-object-category">
<a href="/categories/proxmox">proxmox</a>
</li>
<li class="menu-item menu-item-type-taxonomy menu-item-object-category">
<a href="/categories/ps">ps</a>
</li>
<li class="menu-item menu-item-type-taxonomy menu-item-object-category">
<a href="/categories/%E7%A2%8E%E5%BF%B5">碎念</a>
</li>
<li class="menu-item menu-item-type-taxonomy menu-item-object-category">
<a href="/categories/%E7%AD%86%E8%A8%98">筆記</a>
</li>
<li class="menu-item menu-item-type-taxonomy menu-item-object-category">
<a href="/categories/%E7%BE%A4%E6%9A%89">群暉</a>
</li>
<li class="menu-item menu-item-type-taxonomy menu-item-object-category">
<a href="/categories/%E9%9B%9C%E5%BF%B5">雜念</a>
</li>
</ul>
</div>
</div>
<ul class="social-media-icons">
<li>
<a href="full%20Social%20profile%20url%20in%20facebook" data-animate-hover="pulse" class="facebook" target="_blank">
<i class="fab fa-facebook-square" title="facebook"></i>
<span class="screen-reader-text">facebook</span>
</a>
</li>
<li>
<a href="full%20profile%20url%20in%20googleplus" data-animate-hover="pulse" class="gplus" target="_blank">
<i class="fab fa-google-plus-g" title="googleplus"></i>
<span class="screen-reader-text">googleplus</span>
</a>
</li>
<li>
<a href="chang0206" data-animate-hover="pulse" class="twitter" target="_blank">
<i class="fab fa-twitter-square" title="twitter"></i>
<span class="screen-reader-text">twitter</span>
</a>
</li>
<li>
<a href="chang0206" data-animate-hover="pulse" class="instagram" target="_blank">
<i class="fab fa-instagram" title="instagram"></i>
<span class="screen-reader-text">instagram</span>
</a>
</li>
<li>
<a href="mailto:mc@hotshraingmy.info" data-animate-hover="pulse" class="email">
<i class="fas fa-envelope" title="email"></i>
<span class="screen-reader-text">email</span>
</a>
</li>
<li>
<a href="full%20profile%20url%20in%20linkedin" data-animate-hover="pulse" class="linkedin" target="_blank">
<i class="fab fa-linkedin-in" title="linkedin"></i>
<span class="screen-reader-text">linkedin</span>
</a>
</li>
<li>
<a href="full%20profile%20url%20in%20stackoverflow" data-animate-hover="pulse" class="stackoverflow" target="_blank">
<i class="fab fa-stack-overflow" title="stackoverflow"></i>
<span class="screen-reader-text">stackoverflow</span>
</a>
</li>
<li>
<a href="changchichung" data-animate-hover="pulse" class="github" target="_blank">
<i class="fab fa-github" title="github"></i>
<span class="screen-reader-text">github</span>
</a>
</li>
<li>
<a href="full%20profile%20url%20in%20pinterest" data-animate-hover="pulse" class="pinterest" target="_blank">
<i class="fab fa-pinterest" title="pinterest"></i>
<span class="screen-reader-text">pinterest</span>
</a>
</li>
<li>
<a href="https://h.cowbay.org/index.xml" data-animate-hover="pulse" class="rss" target="_blank">
<i class="fas fa-rss" title="rss"></i>
<span class="screen-reader-text">rss</span>
</a>
</li>
</ul></div>
</div>
<div class="container">
<div id="title-info" class="title-info">
<div id='site-title' class='site-title'>
<a href="/"> MC部落 </a>
</div>
</div>
<button id="toggle-navigation" class="toggle-navigation">
<i class="fas fa-bars"></i>
</button>
<div id="menu-primary-tracks" class="menu-primary-tracks"></div>
<div id="menu-primary" class="menu-container menu-primary" role="navigation">
<p class="site-description">Whats the Worst That Could Happen?</p>
<div class="menu">
<ul id="menu-primary-items" class="menu-primary-items">
<li class='menu-item menu-item-type-custom menu-item-object-custom '>
<a href="https://h.cowbay.org/">Home</a>
</li>
<li class='menu-item menu-item-type-post_type menu-item-object-page '>
<a href="https://h.cowbay.org/about/">About</a>
</li>
<li class='menu-item menu-item-type-post_type menu-item-object-page '>
<a href="https://h.cowbay.org/contact/">Get in touch</a>
</li>
</ul>
</div>
</div>
</div>
</header>
<div id="main" class="main" role="main">
<div class="archive-header">
<h1>
Category: 雜念
<a href="https://h.cowbay.org/categories/%E9%9B%9C%E5%BF%B5/index.xml" data-animate-hover="pulse" class="in-page-rss" target="_blank">
<i class="fas fa-rss" title="rss"></i>
<span class="screen-reader-text">rss</span>
</a>
</h1>
</div>
<h1 class="screen-reader-text">Posts</h1>
<div id="loop-container" class="loop-container">
<div class="post type-post status-publish format-standard has-post-thumbnail hentry category-design tag-memories tag-normal-post tag-standard-2 excerpt zoom full-without-featured odd excerpt">
<a class="featured-image-link" href="https://h.cowbay.org/post/what-a-piss-in-synology-document/"><div class='featured-image lazy lazy-bg-image' data-background="https://h.cowbay.org/images/post-default-16.jpg"></div></a>
<div class="excerpt-container">
<div class="excerpt-meta">
<span class="date">03 January</span>
<span> / </span>
<span class="author">
<a href="https://github.com/changchichung" title="Posts by Eric Chang" rel="author">Eric Chang</a>
</span>
<span> / </span>
<span class="category">
<a href="/categories/%E9%9B%9C%E5%BF%B5">雜念</a>
</span>
</div>
<div class='excerpt-header'>
<h2 class='excerpt-title'>
<a href="https://h.cowbay.org/post/what-a-piss-in-synology-document/ "> [碎念] Synology 群暉的文件不知道在工三小 / what a piss in synology document </a>
</h2>
</div>
<div class='excerpt-content'>
<article>
<p>2020/01/02 2020 上工的第一天,公司碩果僅存的唯一一台 Synology DS415+ 也終於掛了</p>
<p>開機沒多久就連不上,反覆幾次之後,出現了開機時所有燈號都狂閃的狀況</p>
<p>終於宣告不治</p>
<p>問題很明顯的就是Intel C2000 系列 CPU 的瑕疵</p>
<div class="more-link-wrapper"><a class="more-link" href="https://h.cowbay.org/post/what-a-piss-in-synology-document/">Read the post<span class="screen-reader-text">This is a Standard Post</span></a></div>
</article>
</div>
</div>
</div>
</div>
</div>
<footer id="site-footer" class="site-footer" role="contentinfo">
<h1>
<a href=""> MC部落 </a>
</h1>
<p class="site-description">Whats the Worst That Could Happen?</p>
<div id="menu-footer" class="menu-container menu-footer" role="navigation">
<div class="menu">
<ul id="menu-footer-items" class="menu-footer-items">
</ul>
</div> </div>
<ul class="social-media-icons">
<li>
<a class="facebook" target="_blank"
href="full%20Social%20profile%20url%20in%20facebook" >
<i class="fab fa-facebook-f" title="facebook"></i>
<span class="screen-reader-text">facebook</span>
</a>
</li>
<li>
<a class="googleplus" target="_blank"
href="full%20profile%20url%20in%20googleplus" >
<i class="fab fa-google-plus-g" title="googleplus"></i>
<span class="screen-reader-text">googleplus</span>
</a>
</li>
<li>
<a href="chang0206" class="twitter" target="_blank">
<i class="fab fa-twitter-square" title="twitter"></i>
<span class="screen-reader-text">twitter</span>
</a>
</li>
<li>
<a href="chang0206" class="instagram" target="_blank">
<i class="fab fa-instagram" title="instagram"></i>
<span class="screen-reader-text">instagram</span>
</a>
</li>
<li>
<a href="mailto:mc@hotshraingmy.info" class="email">
<i class="fas fa-envelope" title="email"></i>
<span class="screen-reader-text">email</span>
</a>
</li>
<li>
<a href="full%20profile%20url%20in%20linkedin" class="linkedin" target="_blank">
<i class="fab fa-linkedin-in" title="linkedin"></i>
<span class="screen-reader-text">linkedin</span>
</a>
</li>
<li>
<a href="full%20profile%20url%20in%20stackoverflow" class="stackoverflow" target="_blank">
<i class="fab fa-stack-overflow" title="stackoverflow"></i>
<span class="screen-reader-text">stackoverflow</span>
</a>
</li>
<li>
<a href="changchichung" class="github" target="_blank">
<i class="fab fa-github" title="github"></i>
<span class="screen-reader-text">github</span>
</a>
</li>
<li>
<a href="full%20profile%20url%20in%20pinterest" class="pinterest" target="_blank">
<i class="fab fa-pinterest" title="pinterest"></i>
<span class="screen-reader-text">pinterest</span>
</a>
</li>
<li>
<a href="https://h.cowbay.org/index.xml" data-animate-hover="pulse" class="rss" target="_blank">
<i class="fas fa-rss" title="rss"></i>
<span class="screen-reader-text">rss</span>
</a>
</li>
</ul> <div class="design-credit">
<p>&copy; 2018 Göran Svensson</p>
<p>Nederburg Hugo Theme by <a href="https://appernetic.io">Appernetic</a>.</p>
<p>A port of Tracks by Compete Themes.</p>
</div>
</footer>
</div>
<script src="https://h.cowbay.org/js/jquery.min.js"></script>
<script src="https://h.cowbay.org/js/jquerymigrate.js"></script>
<script src="https://h.cowbay.org/js/production.min.js?v=1581582274"></script>
</body>

@ -0,0 +1,30 @@
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>雜念 on MC部落</title>
<link>https://h.cowbay.org/categories/%E9%9B%9C%E5%BF%B5/</link>
<description>Recent content in 雜念 on MC部落</description>
<generator>Hugo -- gohugo.io</generator>
<language>en-us</language>
<lastBuildDate>Fri, 03 Jan 2020 11:45:56 +0800</lastBuildDate>
<atom:link href="https://h.cowbay.org/categories/%E9%9B%9C%E5%BF%B5/index.xml" rel="self" type="application/rss+xml" />
<item>
<title>[碎念] Synology 群暉的文件不知道在工三小 / what a piss in synology document</title>
<link>https://h.cowbay.org/post/what-a-piss-in-synology-document/</link>
<pubDate>Fri, 03 Jan 2020 11:45:56 +0800</pubDate>
<guid>https://h.cowbay.org/post/what-a-piss-in-synology-document/</guid>
<description>&lt;p&gt;2020/01/02 2020 上工的第一天,公司碩果僅存的唯一一台 Synology DS415+ 也終於掛了&lt;/p&gt;
&lt;p&gt;開機沒多久就連不上,反覆幾次之後,出現了開機時所有燈號都狂閃的狀況&lt;/p&gt;
&lt;p&gt;終於宣告不治&lt;/p&gt;
&lt;p&gt;問題很明顯的就是Intel C2000 系列 CPU 的瑕疵&lt;/p&gt;</description>
</item>
</channel>
</rss>

@ -45,9 +45,9 @@
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.3.1/css/all.css" integrity="sha384-mzrmE5qonljUremFsqc01SB46JvROS7bZs3IO2EmfFsd15uHvIt+Y8vEf7N7fWAU" crossorigin="anonymous">
<link href="https://h.cowbay.org/css/style.css?v=1577410044" rel="stylesheet" id="theme-stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/style.css?v=1581582274" rel="stylesheet" id="theme-stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/custom.css?v=1577410044" rel="stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/custom.css?v=1581582274" rel="stylesheet" type='text/css' media='all'>
<link rel="shortcut icon" href="https://h.cowbay.org/img/favicon.ico" type="image/x-icon">
<link rel="icon" href="https://h.cowbay.org/img/favicon.ico" type="image/x-icon">
@ -116,6 +116,10 @@ if (!doNotTrack) {
<a href="/categories/%E7%BE%A4%E6%9A%89">群暉</a>
</li>
<li class="menu-item menu-item-type-taxonomy menu-item-object-category">
<a href="/categories/%E9%9B%9C%E5%BF%B5">雜念</a>
</li>
</ul>
@ -455,7 +459,7 @@ if (!doNotTrack) {
</div>
<script src="https://h.cowbay.org/js/jquery.min.js"></script>
<script src="https://h.cowbay.org/js/jquerymigrate.js"></script>
<script src="https://h.cowbay.org/js/production.min.js?v=1577410044"></script>
<script src="https://h.cowbay.org/js/production.min.js?v=1581582274"></script>
</body>
</html>

@ -45,9 +45,9 @@
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.3.1/css/all.css" integrity="sha384-mzrmE5qonljUremFsqc01SB46JvROS7bZs3IO2EmfFsd15uHvIt+Y8vEf7N7fWAU" crossorigin="anonymous">
<link href="https://h.cowbay.org/css/style.css?v=1577410044" rel="stylesheet" id="theme-stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/style.css?v=1581582274" rel="stylesheet" id="theme-stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/custom.css?v=1577410044" rel="stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/custom.css?v=1581582274" rel="stylesheet" type='text/css' media='all'>
<link rel="shortcut icon" href="https://h.cowbay.org/img/favicon.ico" type="image/x-icon">
<link rel="icon" href="https://h.cowbay.org/img/favicon.ico" type="image/x-icon">
@ -113,6 +113,10 @@ if (!doNotTrack) {
<a href="/categories/%E7%BE%A4%E6%9A%89">群暉</a>
</li>
<li class="menu-item menu-item-type-taxonomy menu-item-object-category">
<a href="/categories/%E9%9B%9C%E5%BF%B5">雜念</a>
</li>
</ul>
@ -594,7 +598,7 @@ title="pinterest icon"></i>
</div>
<script src="https://h.cowbay.org/js/jquery.min.js"></script>
<script src="https://h.cowbay.org/js/jquerymigrate.js"></script>
<script src="https://h.cowbay.org/js/production.min.js?v=1577410044"></script>
<script src="https://h.cowbay.org/js/production.min.js?v=1581582274"></script>
</body>
</html>

@ -21,9 +21,9 @@
"publisher": "",
"accountablePerson" : "",
"copyrightHolder" : "",
"copyrightYear" : "2019",
"datePublished": "2019-12-27 09:09:05 \x2b0800 CST",
"dateModified" : "2019-12-27 09:09:05 \x2b0800 CST",
"copyrightYear" : "2020",
"datePublished": "2020-01-17 12:20:33 \x2b0800 CST",
"dateModified" : "2020-01-17 12:20:33 \x2b0800 CST",
"url" : "https:\/\/h.cowbay.org\/",
"wordCount" : "0",
"image" : "https://h.cowbay.org%!s(\u003cnil\u003e)"",
@ -46,9 +46,9 @@
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.3.1/css/all.css" integrity="sha384-mzrmE5qonljUremFsqc01SB46JvROS7bZs3IO2EmfFsd15uHvIt+Y8vEf7N7fWAU" crossorigin="anonymous">
<link href="https://h.cowbay.org/css/style.css?v=1577410044" rel="stylesheet" id="theme-stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/style.css?v=1581582274" rel="stylesheet" id="theme-stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/custom.css?v=1577410044" rel="stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/custom.css?v=1581582274" rel="stylesheet" type='text/css' media='all'>
<link rel="shortcut icon" href="https://h.cowbay.org/img/favicon.ico" type="image/x-icon">
<link rel="icon" href="https://h.cowbay.org/img/favicon.ico" type="image/x-icon">
@ -116,6 +116,10 @@ if (!doNotTrack) {
<a href="/categories/%E7%BE%A4%E6%9A%89">群暉</a>
</li>
<li class="menu-item menu-item-type-taxonomy menu-item-object-category">
<a href="/categories/%E9%9B%9C%E5%BF%B5">雜念</a>
</li>
</ul>
@ -288,12 +292,12 @@ if (!doNotTrack) {
<a class="featured-image-link" href="https://h.cowbay.org/post/ansible-get-value-from-loop-register/"><div class='featured-image lazy lazy-bg-image' data-background="https://h.cowbay.org/images/post-default-7.jpg"></div></a>
<a class="featured-image-link" href="https://h.cowbay.org/post/proxmox-with-synology-high-availability/"><div class='featured-image lazy lazy-bg-image' data-background="https://h.cowbay.org/images/post-default-18.jpg"></div></a>
<div class="excerpt-container">
<div class="excerpt-meta">
<span class="date">27 December</span>
<span class="date">17 January</span>
@ -315,20 +319,20 @@ if (!doNotTrack) {
</div>
<div class='excerpt-header'>
<h2 class='excerpt-title'>
<a href="https://h.cowbay.org/post/ansible-get-value-from-loop-register/ "> [筆記]在ansible中取得loop register後的值/ Ansible Get Value From Loop Register </a>
<a href="https://h.cowbay.org/post/proxmox-with-synology-high-availability/ "> [筆記] 測試 proxmox 存取由 synology HA cluster 分享的NFS 目錄 / Proxmox With Synology High Availability </a>
</h2>
</div>
<div class='excerpt-content'>
<article>
<p>今天在寫一支客製化 firefox 的playbook</p>
<p>前幾天修復了因為intel cpu bug 導致無法使用的 synology DS415+</p>
<p>因為firefox 會給每個user 建立一個由亂數字串組成的default profile</p>
<p>詳情請看 <a href="https://h.cowbay.org/post/first-try-synology-ha/">https://h.cowbay.org/post/first-try-synology-ha/</a></p>
<p>所以每個user的 default profile 都不同</p>
<p>今天趁尾牙前夕,手邊沒啥要緊事</p>
<p>也因此在用register處理的時候碰到了一些問題</p>
<p>就來玩玩看promox 加上 synology high availability 再加上 NFS share 的環境</p>
<div class="more-link-wrapper"><a class="more-link" href="https://h.cowbay.org/post/ansible-get-value-from-loop-register/">Read the post<span class="screen-reader-text">This is a Standard Post</span></a></div>
<div class="more-link-wrapper"><a class="more-link" href="https://h.cowbay.org/post/proxmox-with-synology-high-availability/">Read the post<span class="screen-reader-text">This is a Standard Post</span></a></div>
</article>
</div>
</div>
@ -346,12 +350,12 @@ if (!doNotTrack) {
<a class="featured-image-link" href="https://h.cowbay.org/post/ansible-ssh-forwardagent/"><div class='featured-image lazy lazy-bg-image' data-background="https://h.cowbay.org/images/post-default-14.jpg"></div></a>
<a class="featured-image-link" href="https://h.cowbay.org/post/first-try-synology-ha/"><div class='featured-image lazy lazy-bg-image' data-background="https://h.cowbay.org/images/post-default-13.jpg"></div></a>
<div class="excerpt-container">
<div class="excerpt-meta">
<span class="date">24 December</span>
<span class="date">10 January</span>
@ -373,22 +377,24 @@ if (!doNotTrack) {
</div>
<div class='excerpt-header'>
<h2 class='excerpt-title'>
<a href="https://h.cowbay.org/post/ansible-ssh-forwardagent/ "> [筆記] ansible 設定 ssh_args 開啟 ForwardX11 / config ansible ssh_args to enable forwardagent </a>
<a href="https://h.cowbay.org/post/first-try-synology-ha/ "> [筆記] 第一次玩 Synology High Availability / first try synology high availability </a>
</h2>
</div>
<div class='excerpt-content'>
<article>
<p>正確來說,我不曉得到底怎麼「稱呼」這個 forwardx11 / forwardagent</p>
<p>上禮拜,原本擔任 proxmox cluster 的主要 storage 的 ds415+ 掛點了</p>
<p>原因應該就是之前的 intel c2000 series cpu 的 bug</p>
<p>總之就是在寫一隻ansible playbook</p>
<p>只是不知道為什麼這台兩三年來都沒有關機的NAS</p>
<p>目的是用來安裝、設定 firefox</p>
<p>比其他三台多撐了那麼久 (已經有兩台送修回來,一台也是同樣症狀,被放在一邊)</p>
<p>包含安裝 firefox addon</p>
<p>趁著這次機會,看看網路上說的換電阻大法有沒有用!</p>
<p>但是一開始在執行的時候,碰到了一些錯誤</p>
<p>如果有用,就拿這兩台來玩玩 synology high availability !</p>
<div class="more-link-wrapper"><a class="more-link" href="https://h.cowbay.org/post/ansible-ssh-forwardagent/">Read the post<span class="screen-reader-text">This is a Standard Post</span></a></div>
<div class="more-link-wrapper"><a class="more-link" href="https://h.cowbay.org/post/first-try-synology-ha/">Read the post<span class="screen-reader-text">This is a Standard Post</span></a></div>
</article>
</div>
</div>
@ -406,12 +412,12 @@ if (!doNotTrack) {
<a class="featured-image-link" href="https://h.cowbay.org/post/test-pg_prewarm/"><div class='featured-image lazy lazy-bg-image' data-background="https://h.cowbay.org/images/post-default-9.jpg"></div></a>
<a class="featured-image-link" href="https://h.cowbay.org/post/postgresql-pgbench-benchmark/"><div class='featured-image lazy lazy-bg-image' data-background="https://h.cowbay.org/images/post-default-17.jpg"></div></a>
<div class="excerpt-container">
<div class="excerpt-meta">
<span class="date">20 December</span>
<span class="date">07 January</span>
@ -433,24 +439,20 @@ if (!doNotTrack) {
</div>
<div class='excerpt-header'>
<h2 class='excerpt-title'>
<a href="https://h.cowbay.org/post/test-pg_prewarm/ "> [筆記] 測試 postgresql 的pg_prewarm 對效能的影響 / test pg_prewarm in postgresql 11 </a>
<a href="https://h.cowbay.org/post/postgresql-pgbench-benchmark/ "> [筆記] postgresql 效能測試 / postgresql benchmakr using pgbench </a>
</h2>
</div>
<div class='excerpt-content'>
<article>
<p>老闆提到想要把新系統的 postgresql 資料庫都撈到記憶體裡面</p>
<p>昨天老闆在slack 上面問說現在的幾台 DB Server 有沒有跑過 pgbench</p>
<p>但是否決了我提出的ramdisk 作法(因為當機的話,資料就沒了)</p>
<p>分數大概如何,想要跟他的筆電做個比較</p>
<p>在找資料的時候發現了這個postgresql 的 pg_prewarm extension</p>
<p>之前有跑過幾次,這次就順便測試一下不同的硬體配置、以及不同的軟體版本</p>
<p>好像有點意思?就來測試看看吧!</p>
<p>對於pgbench 跑分會有多大的影響</p>
<p>只是目前還不知道該怎麼解讀測試的數據就是了&hellip;</p>
<p>幹!林北真的不是 DBA 啦 =.=</p>
<div class="more-link-wrapper"><a class="more-link" href="https://h.cowbay.org/post/test-pg_prewarm/">Read the post<span class="screen-reader-text">This is a Standard Post</span></a></div>
<div class="more-link-wrapper"><a class="more-link" href="https://h.cowbay.org/post/postgresql-pgbench-benchmark/">Read the post<span class="screen-reader-text">This is a Standard Post</span></a></div>
</article>
</div>
</div>
@ -468,12 +470,12 @@ if (!doNotTrack) {
<a class="featured-image-link" href="https://h.cowbay.org/post/accidentally-typed-an-extra-space-in-ansible-playbook/"><div class='featured-image lazy lazy-bg-image' data-background="https://h.cowbay.org/images/post-default-10.jpg"></div></a>
<a class="featured-image-link" href="https://h.cowbay.org/post/rescue-synology-nas-with-ubuntu-livecd/"><div class='featured-image lazy lazy-bg-image' data-background="https://h.cowbay.org/images/post-default-11.jpg"></div></a>
<div class="excerpt-container">
<div class="excerpt-meta">
<span class="date">18 December</span>
<span class="date">03 January</span>
@ -495,18 +497,18 @@ if (!doNotTrack) {
</div>
<div class='excerpt-header'>
<h2 class='excerpt-title'>
<a href="https://h.cowbay.org/post/accidentally-typed-an-extra-space-in-ansible-playbook/ "> [筆記] 在ansible playbook中不小心多打了一個空格 / Accidentally Typed an Extra Space in Ansible Playbook </a>
<a href="https://h.cowbay.org/post/rescue-synology-nas-with-ubuntu-livecd/ "> [筆記] 用ubuntu livecd 救援群暉 synology NAS內的資料 / rescue synology nas with ubuntu livecd </a>
</h2>
</div>
<div class='excerpt-content'>
<article>
<p>剛剛在跑一個修改過的playbook卻發現一個詭異的狀況</p>
<p>2020/01/02 , 2020年上工的第一天群暉的 DS415+ NAS 掛了!</p>
<p>在用template產生檔案之前爲了避免錯誤所以我先用 file module 去建立目錄</p>
<p>因為群暉的文件在最關鍵的一步寫得亂七八糟!</p>
<p>怪就怪在建立目錄的task沒錯但是要產生檔案時卻出現了目的目錄不存在的錯誤</p>
<p>所以在這邊紀錄一下我操作的步驟!</p>
<div class="more-link-wrapper"><a class="more-link" href="https://h.cowbay.org/post/accidentally-typed-an-extra-space-in-ansible-playbook/">Read the post<span class="screen-reader-text">This is a Standard Post</span></a></div>
<div class="more-link-wrapper"><a class="more-link" href="https://h.cowbay.org/post/rescue-synology-nas-with-ubuntu-livecd/">Read the post<span class="screen-reader-text">This is a Standard Post</span></a></div>
</article>
</div>
</div>
@ -524,12 +526,12 @@ if (!doNotTrack) {
<a class="featured-image-link" href="https://h.cowbay.org/post/add-system-wide-favorite-apps-in-dconf/"><div class='featured-image lazy lazy-bg-image' data-background="https://h.cowbay.org/images/post-default-2.jpg"></div></a>
<a class="featured-image-link" href="https://h.cowbay.org/post/what-a-piss-in-synology-document/"><div class='featured-image lazy lazy-bg-image' data-background="https://h.cowbay.org/images/post-default-16.jpg"></div></a>
<div class="excerpt-container">
<div class="excerpt-meta">
<span class="date">16 December</span>
<span class="date">03 January</span>
@ -545,26 +547,26 @@ if (!doNotTrack) {
<span> / </span>
<span class="category">
<a href="/categories/%E7%AD%86%E8%A8%98">筆記</a>
<a href="/categories/%E9%9B%9C%E5%BF%B5">雜念</a>
</span>
</div>
<div class='excerpt-header'>
<h2 class='excerpt-title'>
<a href="https://h.cowbay.org/post/add-system-wide-favorite-apps-in-dconf/ "> 在ubuntu 18.04中,透過 dconf 設定系統層級的「我的最愛」/ Add System Wide Favorite Apps in dock with Dconf in ubuntu 18.04 </a>
<a href="https://h.cowbay.org/post/what-a-piss-in-synology-document/ "> [碎念] Synology 群暉的文件不知道在工三小 / what a piss in synology document </a>
</h2>
</div>
<div class='excerpt-content'>
<article>
<p>這幾天在ansible 寫了一份新的playbook給developer 用</p>
<p>2020/01/02 2020 上工的第一天,公司碩果僅存的唯一一台 Synology DS415+ 也終於掛了</p>
<p>然後user反映說希望能在ubuntu 18.04 內建的dock 裏面新增一個gnome-terminal的icon</p>
<p>開機沒多久就連不上,反覆幾次之後,出現了開機時所有燈號都狂閃的狀況</p>
<p>我才發現原來之前的寫法不能用在 ubuntu 18.04 上</p>
<p>終於宣告不治</p>
<p>只好又弄了一份出來</p>
<p>問題很明顯的就是Intel C2000 系列 CPU 的瑕疵</p>
<div class="more-link-wrapper"><a class="more-link" href="https://h.cowbay.org/post/add-system-wide-favorite-apps-in-dconf/">Read the post<span class="screen-reader-text">This is a Standard Post</span></a></div>
<div class="more-link-wrapper"><a class="more-link" href="https://h.cowbay.org/post/what-a-piss-in-synology-document/">Read the post<span class="screen-reader-text">This is a Standard Post</span></a></div>
</article>
</div>
</div>
@ -677,7 +679,16 @@ if (!doNotTrack) {
<a class="page-numbers" href="/page/10/">10</a>
<a class="page-numbers" href="/page/11/">11</a>
@ -821,7 +832,7 @@ if (!doNotTrack) {
</div>
<script src="https://h.cowbay.org/js/jquery.min.js"></script>
<script src="https://h.cowbay.org/js/jquerymigrate.js"></script>
<script src="https://h.cowbay.org/js/production.min.js?v=1577410044"></script>
<script src="https://h.cowbay.org/js/production.min.js?v=1581582274"></script>
</body>
</html>

@ -6,11 +6,88 @@
<description>Recent content on MC部落</description>
<generator>Hugo -- gohugo.io</generator>
<language>en-us</language>
<lastBuildDate>Fri, 27 Dec 2019 09:09:05 +0800</lastBuildDate>
<lastBuildDate>Fri, 17 Jan 2020 12:20:33 +0800</lastBuildDate>
<atom:link href="https://h.cowbay.org/index.xml" rel="self" type="application/rss+xml" />
<item>
<title>[筆記] 測試 proxmox 存取由 synology HA cluster 分享的NFS 目錄 / Proxmox With Synology High Availability</title>
<link>https://h.cowbay.org/post/proxmox-with-synology-high-availability/</link>
<pubDate>Fri, 17 Jan 2020 12:20:33 +0800</pubDate>
<guid>https://h.cowbay.org/post/proxmox-with-synology-high-availability/</guid>
<description>&lt;p&gt;前幾天修復了因為intel cpu bug 導致無法使用的 synology DS415+&lt;/p&gt;
&lt;p&gt;詳情請看 &lt;a href=&#34;https://h.cowbay.org/post/first-try-synology-ha/&#34;&gt;https://h.cowbay.org/post/first-try-synology-ha/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;今天趁尾牙前夕,手邊沒啥要緊事&lt;/p&gt;
&lt;p&gt;就來玩玩看promox 加上 synology high availability 再加上 NFS share 的環境&lt;/p&gt;</description>
</item>
<item>
<title>[筆記] 第一次玩 Synology High Availability / first try synology high availability</title>
<link>https://h.cowbay.org/post/first-try-synology-ha/</link>
<pubDate>Fri, 10 Jan 2020 09:48:18 +0800</pubDate>
<guid>https://h.cowbay.org/post/first-try-synology-ha/</guid>
<description>&lt;p&gt;上禮拜,原本擔任 proxmox cluster 的主要 storage 的 ds415+ 掛點了&lt;/p&gt;
&lt;p&gt;原因應該就是之前的 intel c2000 series cpu 的 bug&lt;/p&gt;
&lt;p&gt;只是不知道為什麼這台兩三年來都沒有關機的NAS&lt;/p&gt;
&lt;p&gt;比其他三台多撐了那麼久 (已經有兩台送修回來,一台也是同樣症狀,被放在一邊)&lt;/p&gt;
&lt;p&gt;趁著這次機會,看看網路上說的換電阻大法有沒有用!&lt;/p&gt;
&lt;p&gt;如果有用,就拿這兩台來玩玩 synology high availability !&lt;/p&gt;</description>
</item>
<item>
<title>[筆記] postgresql 效能測試 / postgresql benchmakr using pgbench</title>
<link>https://h.cowbay.org/post/postgresql-pgbench-benchmark/</link>
<pubDate>Tue, 07 Jan 2020 11:18:59 +0800</pubDate>
<guid>https://h.cowbay.org/post/postgresql-pgbench-benchmark/</guid>
<description>&lt;p&gt;昨天老闆在slack 上面問說現在的幾台 DB Server 有沒有跑過 pgbench&lt;/p&gt;
&lt;p&gt;分數大概如何,想要跟他的筆電做個比較&lt;/p&gt;
&lt;p&gt;之前有跑過幾次,這次就順便測試一下不同的硬體配置、以及不同的軟體版本&lt;/p&gt;
&lt;p&gt;對於pgbench 跑分會有多大的影響&lt;/p&gt;</description>
</item>
<item>
<title>[筆記] 用ubuntu livecd 救援群暉 synology NAS內的資料 / rescue synology nas with ubuntu livecd</title>
<link>https://h.cowbay.org/post/rescue-synology-nas-with-ubuntu-livecd/</link>
<pubDate>Fri, 03 Jan 2020 15:43:45 +0800</pubDate>
<guid>https://h.cowbay.org/post/rescue-synology-nas-with-ubuntu-livecd/</guid>
<description>&lt;p&gt;2020/01/02 , 2020年上工的第一天群暉的 DS415+ NAS 掛了!&lt;/p&gt;
&lt;p&gt;因為群暉的文件在最關鍵的一步寫得亂七八糟!&lt;/p&gt;
&lt;p&gt;所以在這邊紀錄一下我操作的步驟!&lt;/p&gt;</description>
</item>
<item>
<title>[碎念] Synology 群暉的文件不知道在工三小 / what a piss in synology document</title>
<link>https://h.cowbay.org/post/what-a-piss-in-synology-document/</link>
<pubDate>Fri, 03 Jan 2020 11:45:56 +0800</pubDate>
<guid>https://h.cowbay.org/post/what-a-piss-in-synology-document/</guid>
<description>&lt;p&gt;2020/01/02 2020 上工的第一天,公司碩果僅存的唯一一台 Synology DS415+ 也終於掛了&lt;/p&gt;
&lt;p&gt;開機沒多久就連不上,反覆幾次之後,出現了開機時所有燈號都狂閃的狀況&lt;/p&gt;
&lt;p&gt;終於宣告不治&lt;/p&gt;
&lt;p&gt;問題很明顯的就是Intel C2000 系列 CPU 的瑕疵&lt;/p&gt;</description>
</item>
<item>
<title>[筆記]在ansible中取得loop register後的值/ Ansible Get Value From Loop Register</title>
<link>https://h.cowbay.org/post/ansible-get-value-from-loop-register/</link>

@ -21,9 +21,9 @@
"publisher": "",
"accountablePerson" : "",
"copyrightHolder" : "",
"copyrightYear" : "2019",
"datePublished": "2019-12-27 09:09:05 \x2b0800 CST",
"dateModified" : "2019-12-27 09:09:05 \x2b0800 CST",
"copyrightYear" : "2020",
"datePublished": "2020-01-17 12:20:33 \x2b0800 CST",
"dateModified" : "2020-01-17 12:20:33 \x2b0800 CST",
"url" : "https:\/\/h.cowbay.org\/",
"wordCount" : "0",
"image" : "https://h.cowbay.org%!s(\u003cnil\u003e)"",
@ -46,9 +46,9 @@
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.3.1/css/all.css" integrity="sha384-mzrmE5qonljUremFsqc01SB46JvROS7bZs3IO2EmfFsd15uHvIt+Y8vEf7N7fWAU" crossorigin="anonymous">
<link href="https://h.cowbay.org/css/style.css?v=1577410044" rel="stylesheet" id="theme-stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/style.css?v=1581582274" rel="stylesheet" id="theme-stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/custom.css?v=1577410044" rel="stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/custom.css?v=1581582274" rel="stylesheet" type='text/css' media='all'>
<link rel="shortcut icon" href="https://h.cowbay.org/img/favicon.ico" type="image/x-icon">
<link rel="icon" href="https://h.cowbay.org/img/favicon.ico" type="image/x-icon">
@ -116,6 +116,10 @@ if (!doNotTrack) {
<a href="/categories/%E7%BE%A4%E6%9A%89">群暉</a>
</li>
<li class="menu-item menu-item-type-taxonomy menu-item-object-category">
<a href="/categories/%E9%9B%9C%E5%BF%B5">雜念</a>
</li>
</ul>
@ -288,12 +292,12 @@ if (!doNotTrack) {
<a class="featured-image-link" href="https://h.cowbay.org/post/bookstack-docker/"><div class='featured-image lazy lazy-bg-image' data-background="https://h.cowbay.org/images/post-default-12.jpg"></div></a>
<a class="featured-image-link" href="https://h.cowbay.org/post/ansible-selectattr/"><div class='featured-image lazy lazy-bg-image' data-background="https://h.cowbay.org/images/post-default-1.jpg"></div></a>
<div class="excerpt-container">
<div class="excerpt-meta">
<span class="date">06 November</span>
<span class="date">27 November</span>
@ -315,30 +319,173 @@ if (!doNotTrack) {
</div>
<div class='excerpt-header'>
<h2 class='excerpt-title'>
<a href="https://h.cowbay.org/post/bookstack-docker/ "> Bookstack Docker </a>
<a href="https://h.cowbay.org/post/ansible-selectattr/ "> [筆記] Ansible how to use &#39;list&#39; in yaml file </a>
</h2>
</div>
<div class='excerpt-content'>
<article>
<p>Bookstack 是一套非常好用的線上&rdquo;筆記&rdquo;系統</p>
<p>這幾天在玩ansible 時,碰到一個問題</p>
<p>假如我有個yaml檔作為資料來源檔名是 abc.yml</p>
<p>大概長這樣</p>
<pre><code> &quot;teams&quot;: [
{
&quot;chinese_name&quot;: &quot;TEAM1&quot;,
&quot;description&quot;: &quot;TEAM1&quot;,
&quot;gid&quot;: 10125,
&quot;location&quot;: [
&quot;hq&quot;
],
&quot;name&quot;: &quot;aa&quot;,
&quot;users&quot;: [
&quot;chen&quot;,
&quot;chou&quot;,
&quot;huani&quot;,
&quot;yey&quot;,
&quot;wa&quot;
]
},
{
&quot;chinese_name&quot;: &quot;TEAM2&quot;,
&quot;description&quot;: &quot;TEAM2&quot;,
&quot;gid&quot;: 10126,
&quot;location&quot;: [
&quot;hq&quot;
],
&quot;name&quot;: &quot;bb&quot;,
&quot;users&quot;: [
&quot;chhiao&quot;,
&quot;chgc&quot;,
&quot;chy&quot;,
&quot;hsi&quot;,
&quot;li&quot;,
&quot;li&quot;,
&quot;chgchi&quot;
]
}
]
</code></pre>
<div class="more-link-wrapper"><a class="more-link" href="https://h.cowbay.org/post/ansible-selectattr/">Read the post<span class="screen-reader-text">This is a Standard Post</span></a></div>
</article>
</div>
</div>
</div>
<div class="post type-post status-publish format-standard has-post-thumbnail hentry category-design tag-memories tag-normal-post tag-standard-2 excerpt zoom full-without-featured even excerpt">
<a class="featured-image-link" href="https://h.cowbay.org/post/change-preferred-language-in-firefox/"><div class='featured-image lazy lazy-bg-image' data-background="https://h.cowbay.org/images/post-default-9.jpg"></div></a>
<div class="excerpt-container">
<div class="excerpt-meta">
<span class="date">15 November</span>
<span> / </span>
<span class="author">
<a href="https://github.com/changchichung" title="Posts by Eric Chang" rel="author">Eric Chang</a>
</span>
<p>他用圖書館/書本的概念,讓使用者可以建立自己的&rdquo;圖書館&rdquo;</p>
<p>同時在圖書館內建立不同的&rdquo;書籍&rdquo;</p>
<p>而且支援 Markdown 語法</p>
<p>其他的方式像是在nextcloud上編輯 md檔案(字體太小)</p>
<p>或者是boostnote(只能在本機)</p>
<p>都或多或少有點小缺點</p>
<span> / </span>
<span class="category">
<a href="/categories/%E7%AD%86%E8%A8%98">筆記</a>
</span>
<p>Bookstack則是沒有這些問題不過就是系統「大」了點&hellip;</p>
</div>
<div class='excerpt-header'>
<h2 class='excerpt-title'>
<a href="https://h.cowbay.org/post/change-preferred-language-in-firefox/ "> [筆記] 為了metabase 修改 firefox 開啟網頁時使用的預設語言 change the preferred language in firefox for metabase </a>
</h2>
</div>
<div class='excerpt-content'>
<article>
<p>最近在測試metabase記得幾個月前就有測試過</p>
<p>不過還好有人做成docker的方式來啟動大大的降低了建置的難度(其實也沒有很難啦只是要裝個PHP、弄個DB而已)</p>
<p>但是當時的界面和現在的樣子差很多,看樣子改版還滿勤勞的</p>
<div class="more-link-wrapper"><a class="more-link" href="https://h.cowbay.org/post/bookstack-docker/">Read the post<span class="screen-reader-text">This is a Standard Post</span></a></div>
<p>所以這次改用docker來建立根本五分鐘不到就建好了(挖鼻孔)</p>
<p>不過呢,很討厭的是,一進去就發現語系採用的是簡體中文</p>
<div class="more-link-wrapper"><a class="more-link" href="https://h.cowbay.org/post/change-preferred-language-in-firefox/">Read the post<span class="screen-reader-text">This is a Standard Post</span></a></div>
</article>
</div>
</div>
</div>
<div class="post type-post status-publish format-standard has-post-thumbnail hentry category-design tag-memories tag-normal-post tag-standard-2 excerpt zoom full-without-featured odd excerpt">
<a class="featured-image-link" href="https://h.cowbay.org/post/copy_role_in_pgsql/"><div class='featured-image lazy lazy-bg-image' data-background="https://h.cowbay.org/images/post-default-7.jpg"></div></a>
<div class="excerpt-container">
<div class="excerpt-meta">
<span class="date">12 November</span>
<span> / </span>
<span class="author">
<a href="https://github.com/changchichung" title="Posts by Eric Chang" rel="author">Eric Chang</a>
</span>
<span> / </span>
<span class="category">
<a href="/categories/%E7%AD%86%E8%A8%98">筆記</a>
</span>
</div>
<div class='excerpt-header'>
<h2 class='excerpt-title'>
<a href="https://h.cowbay.org/post/copy_role_in_pgsql/ "> PostgreSQL 直接從已經存在的使用者複製權限到另一個使用者 </a>
</h2>
</div>
<div class='excerpt-content'>
<article>
<p>因為工作上的需求有個資料庫需要開放給不同team的人去存取</p>
<p>雖然都是在同一台機器上的同一個資料庫</p>
<p>但是希望能夠不同team的人用不同的資料庫使用者</p>
<p>這樣萬一出事,會比較好抓兇手??</p>
<div class="more-link-wrapper"><a class="more-link" href="https://h.cowbay.org/post/copy_role_in_pgsql/">Read the post<span class="screen-reader-text">This is a Standard Post</span></a></div>
</article>
</div>
</div>
@ -356,12 +503,12 @@ if (!doNotTrack) {
<a class="featured-image-link" href="https://h.cowbay.org/post/enable-synology-public-ssh/"><div class='featured-image lazy lazy-bg-image' data-background="https://i.imgur.com/jcDQmI1.png"></div></a>
<a class="featured-image-link" href="https://h.cowbay.org/post/weird-client-server-connection/"><div class='featured-image lazy lazy-bg-image' data-background="https://h.cowbay.org/images/post-default-4.jpg"></div></a>
<div class="excerpt-container">
<div class="excerpt-meta">
<span class="date">05 November</span>
<span class="date">08 November</span>
@ -383,27 +530,83 @@ if (!doNotTrack) {
</div>
<div class='excerpt-header'>
<h2 class='excerpt-title'>
<a href="https://h.cowbay.org/post/enable-synology-public-ssh/ "> 筆記- 啟用群暉NAS (Synology NAS)的SSH Server 透過Publickey 認證免密碼登入 </a>
<a href="https://h.cowbay.org/post/weird-client-server-connection/ "> [筆記] 詭異的client&amp;server間連線的問題或許跟KVM有關係 </a>
</h2>
</div>
<div class='excerpt-content'>
<article>
<p>公司內有幾台NAS其中有一台用來放開發人員的postgresql dump file
之前都是主要的開發人員上傳到google drive分享出來 ,然後其他人去抓回來</p>
<p>這是發生在一個夜黑風高的寂寥深夜&hellip;.. ( What The FXXX &hellip; )</p>
<p>來到這個環境之後,有一個很詭異的狀況一直困擾著我</p>
<p>這樣子有個問題是當server要存取這些檔案時就沒辦法了除非透過一些 3rd party的軟體
像是這篇</p>
<p>在每個分公司都會有一台伺服器作為KVM Host</p>
<p><a href="https://www.omgubuntu.co.uk/2017/04/mount-google-drive-ocamlfuse-linux">https://www.omgubuntu.co.uk/2017/04/mount-google-drive-ocamlfuse-linux</a></p>
<p>上面跑兩台VM一台作為ansible controller (目前沒作用)</p>
<p>或者是這篇</p>
<p>另一台作為這邊所謂的 &ldquo;Build Server&rdquo;</p>
<p><a href="https://www.maketecheasier.com/mount-google-drive-ubuntu/">https://www.maketecheasier.com/mount-google-drive-ubuntu/</a></p>
<p>用途包含了DHCP Server / Proxy Server (squid3) / APT Proxy (squid-deb-proxy)</p>
<p>但是手邊的伺服器原則上除非有必要不然都沒有開放internet
所以導致明明檔案就在那邊,但是要取得就是很麻煩</p>
<p>問題就發生在這台 Build Server 上&hellip;</p>
<div class="more-link-wrapper"><a class="more-link" href="https://h.cowbay.org/post/enable-synology-public-ssh/">Read the post<span class="screen-reader-text">This is a Standard Post</span></a></div>
<div class="more-link-wrapper"><a class="more-link" href="https://h.cowbay.org/post/weird-client-server-connection/">Read the post<span class="screen-reader-text">This is a Standard Post</span></a></div>
</article>
</div>
</div>
</div>
<div class="post type-post status-publish format-standard has-post-thumbnail hentry category-design tag-memories tag-normal-post tag-standard-2 excerpt zoom full-without-featured odd excerpt">
<a class="featured-image-link" href="https://h.cowbay.org/post/nice-du-report-tool-durep/"><div class='featured-image lazy lazy-bg-image' data-background="https://h.cowbay.org/images/post-default-9.jpg"></div></a>
<div class="excerpt-container">
<div class="excerpt-meta">
<span class="date">06 November</span>
<span> / </span>
<span class="author">
<a href="https://github.com/changchichung" title="Posts by Eric Chang" rel="author">Eric Chang</a>
</span>
<span> / </span>
<span class="category">
<a href="/categories/%E7%AD%86%E8%A8%98">筆記</a>
</span>
</div>
<div class='excerpt-header'>
<h2 class='excerpt-title'>
<a href="https://h.cowbay.org/post/nice-du-report-tool-durep/ "> Nice Du Report Tool Durep </a>
</h2>
</div>
<div class='excerpt-content'>
<article>
<p>最近在重新規劃前人留下的backup爛攤子
各個伺服器統一備份到一台backup storage
想說如果每天能夠看到backup storage的磁碟用量的話
就可以抓出備份空間成長速度、推估需要多大的磁碟空間
找了一些工具,結果發現 durep 這個 ubuntu 內建的工具
基本上可以滿足我的需求</p>
<div class="more-link-wrapper"><a class="more-link" href="https://h.cowbay.org/post/nice-du-report-tool-durep/">Read the post<span class="screen-reader-text">This is a Standard Post</span></a></div>
</article>
</div>
</div>
@ -524,6 +727,19 @@ if (!doNotTrack) {
<a class="page-numbers" href="/page/11/">11</a>
<a class="next page-numbers" href="/page/11/">Next</a>
</div>
</nav>
@ -662,7 +878,7 @@ if (!doNotTrack) {
</div>
<script src="https://h.cowbay.org/js/jquery.min.js"></script>
<script src="https://h.cowbay.org/js/jquerymigrate.js"></script>
<script src="https://h.cowbay.org/js/production.min.js?v=1577410044"></script>
<script src="https://h.cowbay.org/js/production.min.js?v=1581582274"></script>
</body>
</html>

@ -0,0 +1,681 @@
<!DOCTYPE html>
<html lang="en-us">
<head>
<meta name="generator" content="Hugo 0.58.3" /><meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<script type="application/ld+json">
{
"@context" : "http://schema.org",
"@type" : "BlogPosting",
"mainEntityOfPage": {
"@type": "WebPage",
"@id": "https:\/\/h.cowbay.org"
},
"articleSection" : "",
"name" : "MC部落",
"headline" : "MC部落",
"description" : "",
"inLanguage" : "en",
"author" : "",
"creator" : "",
"publisher": "",
"accountablePerson" : "",
"copyrightHolder" : "",
"copyrightYear" : "2020",
"datePublished": "2020-01-17 12:20:33 \x2b0800 CST",
"dateModified" : "2020-01-17 12:20:33 \x2b0800 CST",
"url" : "https:\/\/h.cowbay.org\/",
"wordCount" : "0",
"image" : "https://h.cowbay.org%!s(\u003cnil\u003e)"",
"keywords" : [ "Blog" ]
}
</script>
<title>MC部落 - Whats the Worst That Could Happen?</title>
<meta name="description" content="some articles about job,food,passion sisters" />
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="robots" content="all,follow">
<meta name="googlebot" content="index,follow,snippet,archive">
<link rel="stylesheet" id="ct-tracks-google-fonts-css" href="https://fonts.googleapis.com/css?family=Raleway%3A400%2C700&amp;subset=latin%2Clatin-ext&amp;ver=4.7.2" type="text/css" media="all">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.3.1/css/all.css" integrity="sha384-mzrmE5qonljUremFsqc01SB46JvROS7bZs3IO2EmfFsd15uHvIt+Y8vEf7N7fWAU" crossorigin="anonymous">
<link href="https://h.cowbay.org/css/style.css?v=1581582274" rel="stylesheet" id="theme-stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/custom.css?v=1581582274" rel="stylesheet" type='text/css' media='all'>
<link rel="shortcut icon" href="https://h.cowbay.org/img/favicon.ico" type="image/x-icon">
<link rel="icon" href="https://h.cowbay.org/img/favicon.ico" type="image/x-icon">
<link href="https://h.cowbay.org/index.xml" rel="alternate" type="application/rss+xml" title="MC部落" />
<link href="https://h.cowbay.org/index.xml" rel="feed" type="application/rss+xml" title="MC部落" />
<script type="application/javascript">
var doNotTrack = false;
if (!doNotTrack) {
window.ga=window.ga||function(){(ga.q=ga.q||[]).push(arguments)};ga.l=+new Date;
ga('create', 'UA-138954876-1', 'auto');
ga('send', 'pageview');
}
</script>
<script async src='https://www.google-analytics.com/analytics.js'></script>
</head>
<body class="home blog ct-body standard">
<div id="overflow-container" class="overflow-container">
<a class="skip-content" href="#main">Skip to content</a>
<header id="site-header" class="site-header" role="banner">
<div class='top-navigation'>
<div class='container'>
<div id="menu-secondary" class="menu-container menu-secondary" role="navigation">
<button id="toggle-secondary-navigation" class="toggle-secondary-navigation"><i class="fas fa-plus"></i></button>
<div class="menu">
<ul id="menu-secondary-items" class="menu-secondary-items">
<li class="menu-item menu-item-type-taxonomy menu-item-object-category">
<a href="/categories/"></a>
</li>
<li class="menu-item menu-item-type-taxonomy menu-item-object-category">
<a href="/categories/ansible">ansible</a>
</li>
<li class="menu-item menu-item-type-taxonomy menu-item-object-category">
<a href="/categories/linux">linux</a>
</li>
<li class="menu-item menu-item-type-taxonomy menu-item-object-category">
<a href="/categories/proxmox">proxmox</a>
</li>
<li class="menu-item menu-item-type-taxonomy menu-item-object-category">
<a href="/categories/ps">ps</a>
</li>
<li class="menu-item menu-item-type-taxonomy menu-item-object-category">
<a href="/categories/%E7%A2%8E%E5%BF%B5">碎念</a>
</li>
<li class="menu-item menu-item-type-taxonomy menu-item-object-category">
<a href="/categories/%E7%AD%86%E8%A8%98">筆記</a>
</li>
<li class="menu-item menu-item-type-taxonomy menu-item-object-category">
<a href="/categories/%E7%BE%A4%E6%9A%89">群暉</a>
</li>
<li class="menu-item menu-item-type-taxonomy menu-item-object-category">
<a href="/categories/%E9%9B%9C%E5%BF%B5">雜念</a>
</li>
</ul>
</div>
</div>
<ul class="social-media-icons">
<li>
<a href="full%20Social%20profile%20url%20in%20facebook" data-animate-hover="pulse" class="facebook" target="_blank">
<i class="fab fa-facebook-square" title="facebook"></i>
<span class="screen-reader-text">facebook</span>
</a>
</li>
<li>
<a href="full%20profile%20url%20in%20googleplus" data-animate-hover="pulse" class="gplus" target="_blank">
<i class="fab fa-google-plus-g" title="googleplus"></i>
<span class="screen-reader-text">googleplus</span>
</a>
</li>
<li>
<a href="chang0206" data-animate-hover="pulse" class="twitter" target="_blank">
<i class="fab fa-twitter-square" title="twitter"></i>
<span class="screen-reader-text">twitter</span>
</a>
</li>
<li>
<a href="chang0206" data-animate-hover="pulse" class="instagram" target="_blank">
<i class="fab fa-instagram" title="instagram"></i>
<span class="screen-reader-text">instagram</span>
</a>
</li>
<li>
<a href="mailto:mc@hotshraingmy.info" data-animate-hover="pulse" class="email">
<i class="fas fa-envelope" title="email"></i>
<span class="screen-reader-text">email</span>
</a>
</li>
<li>
<a href="full%20profile%20url%20in%20linkedin" data-animate-hover="pulse" class="linkedin" target="_blank">
<i class="fab fa-linkedin-in" title="linkedin"></i>
<span class="screen-reader-text">linkedin</span>
</a>
</li>
<li>
<a href="full%20profile%20url%20in%20stackoverflow" data-animate-hover="pulse" class="stackoverflow" target="_blank">
<i class="fab fa-stack-overflow" title="stackoverflow"></i>
<span class="screen-reader-text">stackoverflow</span>
</a>
</li>
<li>
<a href="changchichung" data-animate-hover="pulse" class="github" target="_blank">
<i class="fab fa-github" title="github"></i>
<span class="screen-reader-text">github</span>
</a>
</li>
<li>
<a href="full%20profile%20url%20in%20pinterest" data-animate-hover="pulse" class="pinterest" target="_blank">
<i class="fab fa-pinterest" title="pinterest"></i>
<span class="screen-reader-text">pinterest</span>
</a>
</li>
<li>
<a href="https://h.cowbay.org/index.xml" data-animate-hover="pulse" class="rss" target="_blank">
<i class="fas fa-rss" title="rss"></i>
<span class="screen-reader-text">rss</span>
</a>
</li>
</ul></div>
</div>
<div class="container">
<div id="title-info" class="title-info">
<div id='site-title' class='site-title'>
<a href="/"> MC部落 </a>
</div>
</div>
<button id="toggle-navigation" class="toggle-navigation">
<i class="fas fa-bars"></i>
</button>
<div id="menu-primary-tracks" class="menu-primary-tracks"></div>
<div id="menu-primary" class="menu-container menu-primary" role="navigation">
<p class="site-description">Whats the Worst That Could Happen?</p>
<div class="menu">
<ul id="menu-primary-items" class="menu-primary-items">
<li class='menu-item menu-item-type-custom menu-item-object-custom current-menu-item current_page_item'>
<a href="https://h.cowbay.org/">Home</a>
</li>
<li class='menu-item menu-item-type-post_type menu-item-object-page '>
<a href="https://h.cowbay.org/about/">About</a>
</li>
<li class='menu-item menu-item-type-post_type menu-item-object-page '>
<a href="https://h.cowbay.org/contact/">Get in touch</a>
</li>
</ul>
</div>
</div>
</div>
</header>
<div id="main" class="main" role="main">
<h1 class="screen-reader-text">Posts</h1>
<div id="loop-container" class="loop-container">
<div class="post type-post status-publish format-standard has-post-thumbnail hentry category-design tag-memories tag-normal-post tag-standard-2 excerpt zoom full-without-featured odd excerpt">
<a class="featured-image-link" href="https://h.cowbay.org/post/bookstack-docker/"><div class='featured-image lazy lazy-bg-image' data-background="https://h.cowbay.org/images/post-default-12.jpg"></div></a>
<div class="excerpt-container">
<div class="excerpt-meta">
<span class="date">06 November</span>
<span> / </span>
<span class="author">
<a href="https://github.com/changchichung" title="Posts by Eric Chang" rel="author">Eric Chang</a>
</span>
<span> / </span>
<span class="category">
<a href="/categories/%E7%AD%86%E8%A8%98">筆記</a>
</span>
</div>
<div class='excerpt-header'>
<h2 class='excerpt-title'>
<a href="https://h.cowbay.org/post/bookstack-docker/ "> Bookstack Docker </a>
</h2>
</div>
<div class='excerpt-content'>
<article>
<p>Bookstack 是一套非常好用的線上&rdquo;筆記&rdquo;系統</p>
<p>他用圖書館/書本的概念,讓使用者可以建立自己的&rdquo;圖書館&rdquo;</p>
<p>同時在圖書館內建立不同的&rdquo;書籍&rdquo;</p>
<p>而且支援 Markdown 語法</p>
<p>其他的方式像是在nextcloud上編輯 md檔案(字體太小)</p>
<p>或者是boostnote(只能在本機)</p>
<p>都或多或少有點小缺點</p>
<p>Bookstack則是沒有這些問題不過就是系統「大」了點&hellip;</p>
<p>不過還好有人做成docker的方式來啟動大大的降低了建置的難度(其實也沒有很難啦只是要裝個PHP、弄個DB而已)</p>
<div class="more-link-wrapper"><a class="more-link" href="https://h.cowbay.org/post/bookstack-docker/">Read the post<span class="screen-reader-text">This is a Standard Post</span></a></div>
</article>
</div>
</div>
</div>
<div class="post type-post status-publish format-standard has-post-thumbnail hentry category-design tag-memories tag-normal-post tag-standard-2 excerpt zoom full-without-featured even excerpt">
<a class="featured-image-link" href="https://h.cowbay.org/post/enable-synology-public-ssh/"><div class='featured-image lazy lazy-bg-image' data-background="https://i.imgur.com/jcDQmI1.png"></div></a>
<div class="excerpt-container">
<div class="excerpt-meta">
<span class="date">05 November</span>
<span> / </span>
<span class="author">
<a href="https://github.com/changchichung" title="Posts by Eric Chang" rel="author">Eric Chang</a>
</span>
<span> / </span>
<span class="category">
<a href="/categories/%E7%AD%86%E8%A8%98">筆記</a>
</span>
</div>
<div class='excerpt-header'>
<h2 class='excerpt-title'>
<a href="https://h.cowbay.org/post/enable-synology-public-ssh/ "> 筆記- 啟用群暉NAS (Synology NAS)的SSH Server 透過Publickey 認證免密碼登入 </a>
</h2>
</div>
<div class='excerpt-content'>
<article>
<p>公司內有幾台NAS其中有一台用來放開發人員的postgresql dump file
之前都是主要的開發人員上傳到google drive分享出來 ,然後其他人去抓回來</p>
<p>這樣子有個問題是當server要存取這些檔案時就沒辦法了除非透過一些 3rd party的軟體
像是這篇</p>
<p><a href="https://www.omgubuntu.co.uk/2017/04/mount-google-drive-ocamlfuse-linux">https://www.omgubuntu.co.uk/2017/04/mount-google-drive-ocamlfuse-linux</a></p>
<p>或者是這篇</p>
<p><a href="https://www.maketecheasier.com/mount-google-drive-ubuntu/">https://www.maketecheasier.com/mount-google-drive-ubuntu/</a></p>
<p>但是手邊的伺服器原則上除非有必要不然都沒有開放internet
所以導致明明檔案就在那邊,但是要取得就是很麻煩</p>
<div class="more-link-wrapper"><a class="more-link" href="https://h.cowbay.org/post/enable-synology-public-ssh/">Read the post<span class="screen-reader-text">This is a Standard Post</span></a></div>
</article>
</div>
</div>
</div>
</div>
<nav class="navigation pagination" role="navigation">
<h2 class="screen-reader-text">Posts navigation</h2>
<div class="nav-links">
<a class="prev page-numbers" href="/page/10/">Previous</a>
<a class="page-numbers" href="/">1</a>
<a class="page-numbers" href="/page/2/">2</a>
<a class="page-numbers" href="/page/3/">3</a>
<span aria-current="page" class="page-numbers current">4</span>
<a class="page-numbers" href="/page/10/">10</a>
<a class="page-numbers" href="/page/11/">11</a>
</div>
</nav>
</div>
<footer id="site-footer" class="site-footer" role="contentinfo">
<h1>
<a href=""> MC部落 </a>
</h1>
<p class="site-description">Whats the Worst That Could Happen?</p>
<div id="menu-footer" class="menu-container menu-footer" role="navigation">
<div class="menu">
<ul id="menu-footer-items" class="menu-footer-items">
</ul>
</div> </div>
<ul class="social-media-icons">
<li>
<a class="facebook" target="_blank"
href="full%20Social%20profile%20url%20in%20facebook" >
<i class="fab fa-facebook-f" title="facebook"></i>
<span class="screen-reader-text">facebook</span>
</a>
</li>
<li>
<a class="googleplus" target="_blank"
href="full%20profile%20url%20in%20googleplus" >
<i class="fab fa-google-plus-g" title="googleplus"></i>
<span class="screen-reader-text">googleplus</span>
</a>
</li>
<li>
<a href="chang0206" class="twitter" target="_blank">
<i class="fab fa-twitter-square" title="twitter"></i>
<span class="screen-reader-text">twitter</span>
</a>
</li>
<li>
<a href="chang0206" class="instagram" target="_blank">
<i class="fab fa-instagram" title="instagram"></i>
<span class="screen-reader-text">instagram</span>
</a>
</li>
<li>
<a href="mailto:mc@hotshraingmy.info" class="email">
<i class="fas fa-envelope" title="email"></i>
<span class="screen-reader-text">email</span>
</a>
</li>
<li>
<a href="full%20profile%20url%20in%20linkedin" class="linkedin" target="_blank">
<i class="fab fa-linkedin-in" title="linkedin"></i>
<span class="screen-reader-text">linkedin</span>
</a>
</li>
<li>
<a href="full%20profile%20url%20in%20stackoverflow" class="stackoverflow" target="_blank">
<i class="fab fa-stack-overflow" title="stackoverflow"></i>
<span class="screen-reader-text">stackoverflow</span>
</a>
</li>
<li>
<a href="changchichung" class="github" target="_blank">
<i class="fab fa-github" title="github"></i>
<span class="screen-reader-text">github</span>
</a>
</li>
<li>
<a href="full%20profile%20url%20in%20pinterest" class="pinterest" target="_blank">
<i class="fab fa-pinterest" title="pinterest"></i>
<span class="screen-reader-text">pinterest</span>
</a>
</li>
<li>
<a href="https://h.cowbay.org/index.xml" data-animate-hover="pulse" class="rss" target="_blank">
<i class="fas fa-rss" title="rss"></i>
<span class="screen-reader-text">rss</span>
</a>
</li>
</ul> <div class="design-credit">
<p>&copy; 2018 Göran Svensson</p>
<p>Nederburg Hugo Theme by <a href="https://appernetic.io">Appernetic</a>.</p>
<p>A port of Tracks by Compete Themes.</p>
</div>
</footer>
</div>
<script src="https://h.cowbay.org/js/jquery.min.js"></script>
<script src="https://h.cowbay.org/js/jquerymigrate.js"></script>
<script src="https://h.cowbay.org/js/production.min.js?v=1581582274"></script>
</body>
</html>

@ -21,9 +21,9 @@
"publisher": "",
"accountablePerson" : "",
"copyrightHolder" : "",
"copyrightYear" : "2019",
"datePublished": "2019-12-27 09:09:05 \x2b0800 CST",
"dateModified" : "2019-12-27 09:09:05 \x2b0800 CST",
"copyrightYear" : "2020",
"datePublished": "2020-01-17 12:20:33 \x2b0800 CST",
"dateModified" : "2020-01-17 12:20:33 \x2b0800 CST",
"url" : "https:\/\/h.cowbay.org\/",
"wordCount" : "0",
"image" : "https://h.cowbay.org%!s(\u003cnil\u003e)"",
@ -46,9 +46,9 @@
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.3.1/css/all.css" integrity="sha384-mzrmE5qonljUremFsqc01SB46JvROS7bZs3IO2EmfFsd15uHvIt+Y8vEf7N7fWAU" crossorigin="anonymous">
<link href="https://h.cowbay.org/css/style.css?v=1577410044" rel="stylesheet" id="theme-stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/style.css?v=1581582274" rel="stylesheet" id="theme-stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/custom.css?v=1577410044" rel="stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/custom.css?v=1581582274" rel="stylesheet" type='text/css' media='all'>
<link rel="shortcut icon" href="https://h.cowbay.org/img/favicon.ico" type="image/x-icon">
<link rel="icon" href="https://h.cowbay.org/img/favicon.ico" type="image/x-icon">
@ -116,6 +116,10 @@ if (!doNotTrack) {
<a href="/categories/%E7%BE%A4%E6%9A%89">群暉</a>
</li>
<li class="menu-item menu-item-type-taxonomy menu-item-object-category">
<a href="/categories/%E9%9B%9C%E5%BF%B5">雜念</a>
</li>
</ul>
@ -288,12 +292,12 @@ if (!doNotTrack) {
<a class="featured-image-link" href="https://h.cowbay.org/post/ubuntu-dconf-proxy-settings/"><div class='featured-image lazy lazy-bg-image' data-background="https://h.cowbay.org/images/post-default-7.jpg"></div></a>
<a class="featured-image-link" href="https://h.cowbay.org/post/ansible-get-value-from-loop-register/"><div class='featured-image lazy lazy-bg-image' data-background="https://h.cowbay.org/images/post-default-7.jpg"></div></a>
<div class="excerpt-container">
<div class="excerpt-meta">
<span class="date">31 October</span>
<span class="date">27 December</span>
@ -315,28 +319,20 @@ if (!doNotTrack) {
</div>
<div class='excerpt-header'>
<h2 class='excerpt-title'>
<a href="https://h.cowbay.org/post/ubuntu-dconf-proxy-settings/ "> [筆記] ubuntu 18.04 透過 dconf 修改系統 proxy / modify system proxy with dconf in ubuntu 18.04 </a>
<a href="https://h.cowbay.org/post/ansible-get-value-from-loop-register/ "> [筆記]在ansible中取得loop register後的值/ Ansible Get Value From Loop Register </a>
</h2>
</div>
<div class='excerpt-content'>
<article>
<p>最近在準備升級client 的作業系統,從 ubuntu 14.04 準備升級到 18.04 或明年的 20.04</p>
<p>因為公司政策的關係所以現在要連接internet ,需要申請</p>
<p>今天在寫一支客製化 firefox 的playbook</p>
<p>然後 user 再去系統的proxy 設定新增一個 PAC 檔</p>
<p>因為firefox 會給每個user 建立一個由亂數字串組成的default profile</p>
<p>但是這個動作其實是去叫NetworkManager 這個服務</p>
<p>所以每個user的 default profile 都不同</p>
<p>可是在18.04 上我會把這個服務關掉因為他會干擾我的DNS設定</p>
<p>也因此在用register處理的時候碰到了一些問題</p>
<p>所以想試試看有沒有辦法不使用 NetworkManager 服務</p>
<p>又能夠在 user level 修改 proxy 參數</p>
<p>就想到了用 dconf 來做</p>
<div class="more-link-wrapper"><a class="more-link" href="https://h.cowbay.org/post/ubuntu-dconf-proxy-settings/">Read the post<span class="screen-reader-text">This is a Standard Post</span></a></div>
<div class="more-link-wrapper"><a class="more-link" href="https://h.cowbay.org/post/ansible-get-value-from-loop-register/">Read the post<span class="screen-reader-text">This is a Standard Post</span></a></div>
</article>
</div>
</div>
@ -354,12 +350,12 @@ if (!doNotTrack) {
<a class="featured-image-link" href="https://h.cowbay.org/post/awesome-all-in-one-vpn-server-streisand/"><div class='featured-image lazy lazy-bg-image' data-background="https://h.cowbay.org/images/post-default-18.jpg"></div></a>
<a class="featured-image-link" href="https://h.cowbay.org/post/ansible-ssh-forwardagent/"><div class='featured-image lazy lazy-bg-image' data-background="https://h.cowbay.org/images/post-default-14.jpg"></div></a>
<div class="excerpt-container">
<div class="excerpt-meta">
<span class="date">14 October</span>
<span class="date">24 December</span>
@ -381,20 +377,22 @@ if (!doNotTrack) {
</div>
<div class='excerpt-header'>
<h2 class='excerpt-title'>
<a href="https://h.cowbay.org/post/awesome-all-in-one-vpn-server-streisand/ "> [筆記] 超強的ALL-in-One VPN Server streisand / Awesome All in One Vpn Server Streisand </a>
<a href="https://h.cowbay.org/post/ansible-ssh-forwardagent/ "> [筆記] ansible 設定 ssh_args 開啟 ForwardX11 / config ansible ssh_args to enable forwardagent </a>
</h2>
</div>
<div class='excerpt-content'>
<article>
<p>最近上班閒得發慌,沒事就上 github 找看看有沒有什麼好玩的專案</p>
<p>正確來說,我不曉得到底怎麼「稱呼」這個 forwardx11 / forwardagent</p>
<p>總之就是在寫一隻ansible playbook</p>
<p>就不小心發現了這個 streisand</p>
<p>目的是用來安裝、設定 firefox</p>
<p><a href="https://github.com/StreisandEffect/streisand">https://github.com/StreisandEffect/streisand</a></p>
<p>包含安裝 firefox addon</p>
<p>玩了一下發現這根本就是終極的VPN Server solution ..</p>
<p>但是一開始在執行的時候,碰到了一些錯誤</p>
<div class="more-link-wrapper"><a class="more-link" href="https://h.cowbay.org/post/awesome-all-in-one-vpn-server-streisand/">Read the post<span class="screen-reader-text">This is a Standard Post</span></a></div>
<div class="more-link-wrapper"><a class="more-link" href="https://h.cowbay.org/post/ansible-ssh-forwardagent/">Read the post<span class="screen-reader-text">This is a Standard Post</span></a></div>
</article>
</div>
</div>
@ -412,12 +410,12 @@ if (!doNotTrack) {
<a class="featured-image-link" href="https://h.cowbay.org/post/recommended-ulauncher-in-ubuntu-1804/"><div class='featured-image lazy lazy-bg-image' data-background="https://h.cowbay.org/images/post-default-16.jpg"></div></a>
<a class="featured-image-link" href="https://h.cowbay.org/post/test-pg_prewarm/"><div class='featured-image lazy lazy-bg-image' data-background="https://h.cowbay.org/images/post-default-9.jpg"></div></a>
<div class="excerpt-container">
<div class="excerpt-meta">
<span class="date">04 October</span>
<span class="date">20 December</span>
@ -433,22 +431,30 @@ if (!doNotTrack) {
<span> / </span>
<span class="category">
<a href="/categories/"></a>
<a href="/categories/%E7%AD%86%E8%A8%98">筆記</a>
</span>
</div>
<div class='excerpt-header'>
<h2 class='excerpt-title'>
<a href="https://h.cowbay.org/post/recommended-ulauncher-in-ubuntu-1804/ "> [推薦] ulauncher ubuntu 18.04 底下,好用的 app launcher / Recommended Ulauncher in Ubuntu 1804 </a>
<a href="https://h.cowbay.org/post/test-pg_prewarm/ "> [筆記] 測試 postgresql 的pg_prewarm 對效能的影響 / test pg_prewarm in postgresql 11 </a>
</h2>
</div>
<div class='excerpt-content'>
<article>
<p>這兩天在找關於在 ubuntu 中做搜尋的軟體</p>
<p>老闆提到想要把新系統的 postgresql 資料庫都撈到記憶體裡面</p>
<p>但是否決了我提出的ramdisk 作法(因為當機的話,資料就沒了)</p>
<p>在找資料的時候發現了這個postgresql 的 pg_prewarm extension</p>
<p>意外找到一個非常好用的工具 ulauncher</p>
<p>好像有點意思?就來測試看看吧!</p>
<div class="more-link-wrapper"><a class="more-link" href="https://h.cowbay.org/post/recommended-ulauncher-in-ubuntu-1804/">Read the post<span class="screen-reader-text">This is a Standard Post</span></a></div>
<p>只是目前還不知道該怎麼解讀測試的數據就是了&hellip;</p>
<p>幹!林北真的不是 DBA 啦 =.=</p>
<div class="more-link-wrapper"><a class="more-link" href="https://h.cowbay.org/post/test-pg_prewarm/">Read the post<span class="screen-reader-text">This is a Standard Post</span></a></div>
</article>
</div>
</div>
@ -466,12 +472,12 @@ if (!doNotTrack) {
<a class="featured-image-link" href="https://h.cowbay.org/post/pg_auto_failover_in_ubuntu_1804_psql_11/"><div class='featured-image lazy lazy-bg-image' data-background="https://h.cowbay.org/images/post-default-11.jpg"></div></a>
<a class="featured-image-link" href="https://h.cowbay.org/post/accidentally-typed-an-extra-space-in-ansible-playbook/"><div class='featured-image lazy lazy-bg-image' data-background="https://h.cowbay.org/images/post-default-10.jpg"></div></a>
<div class="excerpt-container">
<div class="excerpt-meta">
<span class="date">20 September</span>
<span class="date">18 December</span>
@ -493,24 +499,18 @@ if (!doNotTrack) {
</div>
<div class='excerpt-header'>
<h2 class='excerpt-title'>
<a href="https://h.cowbay.org/post/pg_auto_failover_in_ubuntu_1804_psql_11/ "> [筆記] 在ubuntu 18.04安裝psql 11 以及 pg_auto_failover / install psql 11 and pg_auto_failover in ubuntu 18.04 </a>
<a href="https://h.cowbay.org/post/accidentally-typed-an-extra-space-in-ansible-playbook/ "> [筆記] 在ansible playbook中不小心多打了一個空格 / Accidentally Typed an Extra Space in Ansible Playbook </a>
</h2>
</div>
<div class='excerpt-content'>
<article>
<p>最近都在弄postgresql</p>
<p>備份、還原測試得差不多了,就等著看到時候要用什麼方式</p>
<p>剛剛在跑一個修改過的playbook卻發現一個詭異的狀況</p>
<p>前幾天看到 pg_auto_failover 這個postgresql 的extension</p>
<p>在用template產生檔案之前爲了避免錯誤所以我先用 file module 去建立目錄</p>
<p><a href="https://github.com/citusdata/pg_auto_failover">https://github.com/citusdata/pg_auto_failover</a></p>
<p>怪就怪在建立目錄的task沒錯但是要產生檔案時卻出現了目的目錄不存在的錯誤</p>
<p>感覺挺不錯的,看起來設定很簡單,雖然之前已經測試了 keepalived 做 HA</p>
<p>不過,反正當作練功嘛,多測試一套也不錯!</p>
<div class="more-link-wrapper"><a class="more-link" href="https://h.cowbay.org/post/pg_auto_failover_in_ubuntu_1804_psql_11/">Read the post<span class="screen-reader-text">This is a Standard Post</span></a></div>
<div class="more-link-wrapper"><a class="more-link" href="https://h.cowbay.org/post/accidentally-typed-an-extra-space-in-ansible-playbook/">Read the post<span class="screen-reader-text">This is a Standard Post</span></a></div>
</article>
</div>
</div>
@ -528,12 +528,12 @@ if (!doNotTrack) {
<a class="featured-image-link" href="https://h.cowbay.org/post/bencmark-with-external-internal-nvme-ssd-and-external-sata-ssd/"><div class='featured-image lazy lazy-bg-image' data-background="https://h.cowbay.org/images/post-default-9.jpg"></div></a>
<a class="featured-image-link" href="https://h.cowbay.org/post/add-system-wide-favorite-apps-in-dconf/"><div class='featured-image lazy lazy-bg-image' data-background="https://h.cowbay.org/images/post-default-2.jpg"></div></a>
<div class="excerpt-container">
<div class="excerpt-meta">
<span class="date">10 September</span>
<span class="date">16 December</span>
@ -555,16 +555,20 @@ if (!doNotTrack) {
</div>
<div class='excerpt-header'>
<h2 class='excerpt-title'>
<a href="https://h.cowbay.org/post/bencmark-with-external-internal-nvme-ssd-and-external-sata-ssd/ "> [筆記] 測試 USB 3.1 Gen2 NVME SSD 外接盒 &amp; 內建pci-e ssd &amp; 外接SATA SSD / Bencmark With External Internal Nvme Ssd and External Sata Ssd </a>
<a href="https://h.cowbay.org/post/add-system-wide-favorite-apps-in-dconf/ "> 在ubuntu 18.04中,透過 dconf 設定系統層級的「我的最愛」/ Add System Wide Favorite Apps in dock with Dconf in ubuntu 18.04 </a>
</h2>
</div>
<div class='excerpt-content'>
<article>
<p>前幾天在淘寶上買了個 SSK 的USB 3.1 Gen2 (type-c) NVME SSD 外接盒
手邊也剛好有一條多的intel 600p nvme ssd 就順手來做個比較
目標是看看有沒有可能直接用外接的SSD來跑postgresql</p>
<p>這幾天在ansible 寫了一份新的playbook給developer 用</p>
<p>然後user反映說希望能在ubuntu 18.04 內建的dock 裏面新增一個gnome-terminal的icon</p>
<p>我才發現原來之前的寫法不能用在 ubuntu 18.04 上</p>
<div class="more-link-wrapper"><a class="more-link" href="https://h.cowbay.org/post/bencmark-with-external-internal-nvme-ssd-and-external-sata-ssd/">Read the post<span class="screen-reader-text">This is a Standard Post</span></a></div>
<p>只好又弄了一份出來</p>
<div class="more-link-wrapper"><a class="more-link" href="https://h.cowbay.org/post/add-system-wide-favorite-apps-in-dconf/">Read the post<span class="screen-reader-text">This is a Standard Post</span></a></div>
</article>
</div>
</div>
@ -679,7 +683,16 @@ if (!doNotTrack) {
<a class="page-numbers" href="/page/10/">10</a>
<a class="page-numbers" href="/page/11/">11</a>
@ -823,7 +836,7 @@ if (!doNotTrack) {
</div>
<script src="https://h.cowbay.org/js/jquery.min.js"></script>
<script src="https://h.cowbay.org/js/jquerymigrate.js"></script>
<script src="https://h.cowbay.org/js/production.min.js?v=1577410044"></script>
<script src="https://h.cowbay.org/js/production.min.js?v=1581582274"></script>
</body>
</html>

@ -21,9 +21,9 @@
"publisher": "",
"accountablePerson" : "",
"copyrightHolder" : "",
"copyrightYear" : "2019",
"datePublished": "2019-12-27 09:09:05 \x2b0800 CST",
"dateModified" : "2019-12-27 09:09:05 \x2b0800 CST",
"copyrightYear" : "2020",
"datePublished": "2020-01-17 12:20:33 \x2b0800 CST",
"dateModified" : "2020-01-17 12:20:33 \x2b0800 CST",
"url" : "https:\/\/h.cowbay.org\/",
"wordCount" : "0",
"image" : "https://h.cowbay.org%!s(\u003cnil\u003e)"",
@ -46,9 +46,9 @@
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.3.1/css/all.css" integrity="sha384-mzrmE5qonljUremFsqc01SB46JvROS7bZs3IO2EmfFsd15uHvIt+Y8vEf7N7fWAU" crossorigin="anonymous">
<link href="https://h.cowbay.org/css/style.css?v=1577410044" rel="stylesheet" id="theme-stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/style.css?v=1581582274" rel="stylesheet" id="theme-stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/custom.css?v=1577410044" rel="stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/custom.css?v=1581582274" rel="stylesheet" type='text/css' media='all'>
<link rel="shortcut icon" href="https://h.cowbay.org/img/favicon.ico" type="image/x-icon">
<link rel="icon" href="https://h.cowbay.org/img/favicon.ico" type="image/x-icon">
@ -116,6 +116,10 @@ if (!doNotTrack) {
<a href="/categories/%E7%BE%A4%E6%9A%89">群暉</a>
</li>
<li class="menu-item menu-item-type-taxonomy menu-item-object-category">
<a href="/categories/%E9%9B%9C%E5%BF%B5">雜念</a>
</li>
</ul>
@ -288,12 +292,12 @@ if (!doNotTrack) {
<a class="featured-image-link" href="https://h.cowbay.org/post/postgresql-backup-restore-using-zfs-snapshot/"><div class='featured-image lazy lazy-bg-image' data-background="https://h.cowbay.org/images/post-default-5.jpg"></div></a>
<a class="featured-image-link" href="https://h.cowbay.org/post/ubuntu-dconf-proxy-settings/"><div class='featured-image lazy lazy-bg-image' data-background="https://h.cowbay.org/images/post-default-7.jpg"></div></a>
<div class="excerpt-container">
<div class="excerpt-meta">
<span class="date">06 September</span>
<span class="date">31 October</span>
@ -315,18 +319,28 @@ if (!doNotTrack) {
</div>
<div class='excerpt-header'>
<h2 class='excerpt-title'>
<a href="https://h.cowbay.org/post/postgresql-backup-restore-using-zfs-snapshot/ "> [筆記] 用zfs的snapshot 快照功能來做 postgresql 的備份還原 / Postgresql Backup Restore Using Zfs Snapshot </a>
<a href="https://h.cowbay.org/post/ubuntu-dconf-proxy-settings/ "> [筆記] ubuntu 18.04 透過 dconf 修改系統 proxy / modify system proxy with dconf in ubuntu 18.04 </a>
</h2>
</div>
<div class='excerpt-content'>
<article>
<p>前面測試了用pgbarman / pgbackrest 來備份 postgresql</p>
<p>最近在準備升級client 的作業系統,從 ubuntu 14.04 準備升級到 18.04 或明年的 20.04</p>
<p>因為公司政策的關係所以現在要連接internet ,需要申請</p>
<p>然後 user 再去系統的proxy 設定新增一個 PAC 檔</p>
<p>但是這個動作其實是去叫NetworkManager 這個服務</p>
<p>可是在18.04 上我會把這個服務關掉因為他會干擾我的DNS設定</p>
<p>這次改從system file level 來下手</p>
<p>所以想試試看有沒有辦法不使用 NetworkManager 服務</p>
<p>採用zfs 的快照來備份、還原postgresql 資料庫</p>
<p>又能夠在 user level 修改 proxy 參數</p>
<div class="more-link-wrapper"><a class="more-link" href="https://h.cowbay.org/post/postgresql-backup-restore-using-zfs-snapshot/">Read the post<span class="screen-reader-text">This is a Standard Post</span></a></div>
<p>就想到了用 dconf 來做</p>
<div class="more-link-wrapper"><a class="more-link" href="https://h.cowbay.org/post/ubuntu-dconf-proxy-settings/">Read the post<span class="screen-reader-text">This is a Standard Post</span></a></div>
</article>
</div>
</div>
@ -344,12 +358,12 @@ if (!doNotTrack) {
<a class="featured-image-link" href="https://h.cowbay.org/post/backup-restore-postgresql-with-pgbackrest/"><div class='featured-image lazy lazy-bg-image' data-background="https://h.cowbay.org/images/post-default-15.jpg"></div></a>
<a class="featured-image-link" href="https://h.cowbay.org/post/awesome-all-in-one-vpn-server-streisand/"><div class='featured-image lazy lazy-bg-image' data-background="https://h.cowbay.org/images/post-default-18.jpg"></div></a>
<div class="excerpt-container">
<div class="excerpt-meta">
<span class="date">05 September</span>
<span class="date">14 October</span>
@ -371,14 +385,20 @@ if (!doNotTrack) {
</div>
<div class='excerpt-header'>
<h2 class='excerpt-title'>
<a href="https://h.cowbay.org/post/backup-restore-postgresql-with-pgbackrest/ "> [筆記] 用pbackrest 備份還原 postgresql / Backup Restore Postgresql With Pgbackrest </a>
<a href="https://h.cowbay.org/post/awesome-all-in-one-vpn-server-streisand/ "> [筆記] 超強的ALL-in-One VPN Server streisand / Awesome All in One Vpn Server Streisand </a>
</h2>
</div>
<div class='excerpt-content'>
<article>
<p>這兩天在測試pgbackrest ,簡單筆記一下測試狀況</p>
<p>最近上班閒得發慌,沒事就上 github 找看看有沒有什麼好玩的專案</p>
<p>就不小心發現了這個 streisand</p>
<p><a href="https://github.com/StreisandEffect/streisand">https://github.com/StreisandEffect/streisand</a></p>
<p>玩了一下發現這根本就是終極的VPN Server solution ..</p>
<div class="more-link-wrapper"><a class="more-link" href="https://h.cowbay.org/post/backup-restore-postgresql-with-pgbackrest/">Read the post<span class="screen-reader-text">This is a Standard Post</span></a></div>
<div class="more-link-wrapper"><a class="more-link" href="https://h.cowbay.org/post/awesome-all-in-one-vpn-server-streisand/">Read the post<span class="screen-reader-text">This is a Standard Post</span></a></div>
</article>
</div>
</div>
@ -396,12 +416,12 @@ if (!doNotTrack) {
<a class="featured-image-link" href="https://h.cowbay.org/post/pgbarman-in-ubuntu-1804-postgresql-10-via-ssh/"><div class='featured-image lazy lazy-bg-image' data-background="https://h.cowbay.org/images/post-default-4.jpg"></div></a>
<a class="featured-image-link" href="https://h.cowbay.org/post/recommended-ulauncher-in-ubuntu-1804/"><div class='featured-image lazy lazy-bg-image' data-background="https://h.cowbay.org/images/post-default-16.jpg"></div></a>
<div class="excerpt-container">
<div class="excerpt-meta">
<span class="date">23 August</span>
<span class="date">04 October</span>
@ -417,20 +437,22 @@ if (!doNotTrack) {
<span> / </span>
<span class="category">
<a href="/categories/%E7%AD%86%E8%A8%98">筆記</a>
<a href="/categories/"></a>
</span>
</div>
<div class='excerpt-header'>
<h2 class='excerpt-title'>
<a href="https://h.cowbay.org/post/pgbarman-in-ubuntu-1804-postgresql-10-via-ssh/ "> [筆記] 在Ubuntu 18.04 下 透過 pgbarman rsync/ssh backup 備份 postgresql 10 / backup postgresql 10 with pgbarman via ssh/rsync in ubuntu 18.04 </a>
<a href="https://h.cowbay.org/post/recommended-ulauncher-in-ubuntu-1804/ "> [推薦] ulauncher ubuntu 18.04 底下,好用的 app launcher / Recommended Ulauncher in Ubuntu 1804 </a>
</h2>
</div>
<div class='excerpt-content'>
<article>
<p>這篇繼續講 pgbarman 透過 rsync/ssh 來備份 postgresql 資料庫的方式</p>
<p>這兩天在找關於在 ubuntu 中做搜尋的軟體</p>
<p>意外找到一個非常好用的工具 ulauncher</p>
<div class="more-link-wrapper"><a class="more-link" href="https://h.cowbay.org/post/pgbarman-in-ubuntu-1804-postgresql-10-via-ssh/">Read the post<span class="screen-reader-text">This is a Standard Post</span></a></div>
<div class="more-link-wrapper"><a class="more-link" href="https://h.cowbay.org/post/recommended-ulauncher-in-ubuntu-1804/">Read the post<span class="screen-reader-text">This is a Standard Post</span></a></div>
</article>
</div>
</div>
@ -448,12 +470,12 @@ if (!doNotTrack) {
<a class="featured-image-link" href="https://h.cowbay.org/post/pgbarman-in-ubuntu-1804-postgresql-10/"><div class='featured-image lazy lazy-bg-image' data-background="https://h.cowbay.org/images/post-default-4.jpg"></div></a>
<a class="featured-image-link" href="https://h.cowbay.org/post/pg_auto_failover_in_ubuntu_1804_psql_11/"><div class='featured-image lazy lazy-bg-image' data-background="https://h.cowbay.org/images/post-default-11.jpg"></div></a>
<div class="excerpt-container">
<div class="excerpt-meta">
<span class="date">23 August</span>
<span class="date">20 September</span>
@ -475,20 +497,24 @@ if (!doNotTrack) {
</div>
<div class='excerpt-header'>
<h2 class='excerpt-title'>
<a href="https://h.cowbay.org/post/pgbarman-in-ubuntu-1804-postgresql-10/ "> [筆記] 在Ubuntu 18.04 下 透過 pgbarman streaming backup 備份 postgresql 10/ backup postgresql 10 with pgbarman straming backup in ubuntu 18.04 </a>
<a href="https://h.cowbay.org/post/pg_auto_failover_in_ubuntu_1804_psql_11/ "> [筆記] 在ubuntu 18.04安裝psql 11 以及 pg_auto_failover / install psql 11 and pg_auto_failover in ubuntu 18.04 </a>
</h2>
</div>
<div class='excerpt-content'>
<article>
<p>很久以前就有看到這個用來備份postgresql 的 pgbarman</p>
<p>最近都在弄postgresql</p>
<p><a href="https://www.pgbarman.org/">https://www.pgbarman.org/</a></p>
<p>備份、還原測試得差不多了,就等著看到時候要用什麼方式</p>
<p>前幾天老闆在slack 上面又提到,所以這次就花了點時間來玩玩看</p>
<p>前幾天看到 pg_auto_failover 這個postgresql 的extension</p>
<p>不過呢,雖然有弄起來,但是還真不知道有些問題是怎麼解決的&hellip;</p>
<p><a href="https://github.com/citusdata/pg_auto_failover">https://github.com/citusdata/pg_auto_failover</a></p>
<div class="more-link-wrapper"><a class="more-link" href="https://h.cowbay.org/post/pgbarman-in-ubuntu-1804-postgresql-10/">Read the post<span class="screen-reader-text">This is a Standard Post</span></a></div>
<p>感覺挺不錯的,看起來設定很簡單,雖然之前已經測試了 keepalived 做 HA</p>
<p>不過,反正當作練功嘛,多測試一套也不錯!</p>
<div class="more-link-wrapper"><a class="more-link" href="https://h.cowbay.org/post/pg_auto_failover_in_ubuntu_1804_psql_11/">Read the post<span class="screen-reader-text">This is a Standard Post</span></a></div>
</article>
</div>
</div>
@ -506,12 +532,12 @@ if (!doNotTrack) {
<a class="featured-image-link" href="https://h.cowbay.org/post/install-nvidia-driver-cuda-pgstrom-in-ubuntu-1804/"><div class='featured-image lazy lazy-bg-image' data-background="https://h.cowbay.org/images/post-default-7.jpg"></div></a>
<a class="featured-image-link" href="https://h.cowbay.org/post/bencmark-with-external-internal-nvme-ssd-and-external-sata-ssd/"><div class='featured-image lazy lazy-bg-image' data-background="https://h.cowbay.org/images/post-default-9.jpg"></div></a>
<div class="excerpt-container">
<div class="excerpt-meta">
<span class="date">20 August</span>
<span class="date">10 September</span>
@ -533,20 +559,16 @@ if (!doNotTrack) {
</div>
<div class='excerpt-header'>
<h2 class='excerpt-title'>
<a href="https://h.cowbay.org/post/install-nvidia-driver-cuda-pgstrom-in-ubuntu-1804/ "> [筆記] 在ubuntu 18.04 下安裝nvidia 顯示卡驅動程式以及 pgstrom / Install Nvidia Driver Cuda Pgstrom in Ubuntu 1804 </a>
<a href="https://h.cowbay.org/post/bencmark-with-external-internal-nvme-ssd-and-external-sata-ssd/ "> [筆記] 測試 USB 3.1 Gen2 NVME SSD 外接盒 &amp; 內建pci-e ssd &amp; 外接SATA SSD / Bencmark With External Internal Nvme Ssd and External Sata Ssd </a>
</h2>
</div>
<div class='excerpt-content'>
<article>
<p>因為老闆說要試試看用GPU 來跑postgresql 威力</p>
<p>手邊剛好有一張 geforce gt 720</p>
<p>一開始沒想太多看到有這張卡的驅動程式然後CUDA也有支援</p>
<p>前幾天在淘寶上買了個 SSK 的USB 3.1 Gen2 (type-c) NVME SSD 外接盒
手邊也剛好有一條多的intel 600p nvme ssd 就順手來做個比較
目標是看看有沒有可能直接用外接的SSD來跑postgresql</p>
<p>就直接從桌機拔下來接去LAB Server ,然後就開始一連串的難關了&hellip;</p>
<div class="more-link-wrapper"><a class="more-link" href="https://h.cowbay.org/post/install-nvidia-driver-cuda-pgstrom-in-ubuntu-1804/">Read the post<span class="screen-reader-text">This is a Standard Post</span></a></div>
<div class="more-link-wrapper"><a class="more-link" href="https://h.cowbay.org/post/bencmark-with-external-internal-nvme-ssd-and-external-sata-ssd/">Read the post<span class="screen-reader-text">This is a Standard Post</span></a></div>
</article>
</div>
</div>
@ -663,7 +685,16 @@ if (!doNotTrack) {
<a class="page-numbers" href="/page/10/">10</a>
<a class="page-numbers" href="/page/11/">11</a>
@ -807,7 +838,7 @@ if (!doNotTrack) {
</div>
<script src="https://h.cowbay.org/js/jquery.min.js"></script>
<script src="https://h.cowbay.org/js/jquerymigrate.js"></script>
<script src="https://h.cowbay.org/js/production.min.js?v=1577410044"></script>
<script src="https://h.cowbay.org/js/production.min.js?v=1581582274"></script>
</body>
</html>

@ -21,9 +21,9 @@
"publisher": "",
"accountablePerson" : "",
"copyrightHolder" : "",
"copyrightYear" : "2019",
"datePublished": "2019-12-27 09:09:05 \x2b0800 CST",
"dateModified" : "2019-12-27 09:09:05 \x2b0800 CST",
"copyrightYear" : "2020",
"datePublished": "2020-01-17 12:20:33 \x2b0800 CST",
"dateModified" : "2020-01-17 12:20:33 \x2b0800 CST",
"url" : "https:\/\/h.cowbay.org\/",
"wordCount" : "0",
"image" : "https://h.cowbay.org%!s(\u003cnil\u003e)"",
@ -46,9 +46,9 @@
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.3.1/css/all.css" integrity="sha384-mzrmE5qonljUremFsqc01SB46JvROS7bZs3IO2EmfFsd15uHvIt+Y8vEf7N7fWAU" crossorigin="anonymous">
<link href="https://h.cowbay.org/css/style.css?v=1577410044" rel="stylesheet" id="theme-stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/style.css?v=1581582274" rel="stylesheet" id="theme-stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/custom.css?v=1577410044" rel="stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/custom.css?v=1581582274" rel="stylesheet" type='text/css' media='all'>
<link rel="shortcut icon" href="https://h.cowbay.org/img/favicon.ico" type="image/x-icon">
<link rel="icon" href="https://h.cowbay.org/img/favicon.ico" type="image/x-icon">
@ -116,6 +116,10 @@ if (!doNotTrack) {
<a href="/categories/%E7%BE%A4%E6%9A%89">群暉</a>
</li>
<li class="menu-item menu-item-type-taxonomy menu-item-object-category">
<a href="/categories/%E9%9B%9C%E5%BF%B5">雜念</a>
</li>
</ul>
@ -288,12 +292,12 @@ if (!doNotTrack) {
<a class="featured-image-link" href="https://h.cowbay.org/post/do-no-use-10-0-0-0-private-ipaddr-in-gcp/"><div class='featured-image lazy lazy-bg-image' data-background="https://h.cowbay.org/images/post-default-8.jpg"></div></a>
<a class="featured-image-link" href="https://h.cowbay.org/post/postgresql-backup-restore-using-zfs-snapshot/"><div class='featured-image lazy lazy-bg-image' data-background="https://h.cowbay.org/images/post-default-5.jpg"></div></a>
<div class="excerpt-container">
<div class="excerpt-meta">
<span class="date">16 August</span>
<span class="date">06 September</span>
@ -315,26 +319,18 @@ if (!doNotTrack) {
</div>
<div class='excerpt-header'>
<h2 class='excerpt-title'>
<a href="https://h.cowbay.org/post/do-no-use-10-0-0-0-private-ipaddr-in-gcp/ "> [筆記] 在gcp 中用wireguard建立VPN時不要用 10.0.0.0/16 網段/Do No Use 10 0 0 0 Private Ipaddr in GCP </a>
<a href="https://h.cowbay.org/post/postgresql-backup-restore-using-zfs-snapshot/ "> [筆記] 用zfs的snapshot 快照功能來做 postgresql 的備份還原 / Postgresql Backup Restore Using Zfs Snapshot </a>
</h2>
</div>
<div class='excerpt-content'>
<article>
<p>最近一直在玩 wireguard 先前把各個分公司和總部的VPN 改用 wireguard 建立</p>
<p>想說再打個VPN tunnel 來當跳板連 ptt 好了</p>
<p>因為wireguard 建立很簡單,而且又可以指定想要繞出去的路由,不會影響原本的網路環境</p>
<p>前面測試了用pgbarman / pgbackrest 來備份 postgresql</p>
<p>本來是在vultr 的VPS上面建立這個tunnel</p>
<p>這次改從system file level 來下手</p>
<p>但是那台VPS連去ptt 很頓,卡卡的</p>
<p>採用zfs 的快照來備份、還原postgresql 資料庫</p>
<p>所以改用google cloud platform 的free tier 來做</p>
<p>反正只是拿來當跳板,不會有什麼流量、運算產生,可以一直保持免費的狀態</p>
<div class="more-link-wrapper"><a class="more-link" href="https://h.cowbay.org/post/do-no-use-10-0-0-0-private-ipaddr-in-gcp/">Read the post<span class="screen-reader-text">This is a Standard Post</span></a></div>
<div class="more-link-wrapper"><a class="more-link" href="https://h.cowbay.org/post/postgresql-backup-restore-using-zfs-snapshot/">Read the post<span class="screen-reader-text">This is a Standard Post</span></a></div>
</article>
</div>
</div>
@ -352,12 +348,12 @@ if (!doNotTrack) {
<a class="featured-image-link" href="https://h.cowbay.org/post/multiple-site-to-site-vpn-using-wireguard/"><div class='featured-image lazy lazy-bg-image' data-background="https://h.cowbay.org/images/post-default-10.jpg"></div></a>
<a class="featured-image-link" href="https://h.cowbay.org/post/backup-restore-postgresql-with-pgbackrest/"><div class='featured-image lazy lazy-bg-image' data-background="https://h.cowbay.org/images/post-default-15.jpg"></div></a>
<div class="excerpt-container">
<div class="excerpt-meta">
<span class="date">13 August</span>
<span class="date">05 September</span>
@ -379,24 +375,14 @@ if (!doNotTrack) {
</div>
<div class='excerpt-header'>
<h2 class='excerpt-title'>
<a href="https://h.cowbay.org/post/multiple-site-to-site-vpn-using-wireguard/ "> [筆記] 透過 wireguard 建立多點 site to site VPN / Multiple Site to Site VPN Using Wireguard </a>
<a href="https://h.cowbay.org/post/backup-restore-postgresql-with-pgbackrest/ "> [筆記] 用pbackrest 備份還原 postgresql / Backup Restore Postgresql With Pgbackrest </a>
</h2>
</div>
<div class='excerpt-content'>
<article>
<p>因為實在受夠了現在用的 openwrt + strongswan 建立 IPSec VPN</p>
<p>雖然說其實沒有什麼不好,但是畢竟不是我建立的,而當初的文件也都不見了</p>
<p>完全沒辦法了解當時設計的邏輯造成後續debug 困難</p>
<p>可以想像一下一台VPN router ping 不到remote、ping不到internet、甚至ping不到自己 是要怎麼debug !?(翻桌</p>
<p>這兩天在測試pgbackrest ,簡單筆記一下測試狀況</p>
<p>之前買了兩台edgerouter X 拿來玩了一下 wireguard感覺還不錯不過只有測試到點對點</p>
<p>這次試試看躲在gateway後面看看能不能建立多點的VPN環境</p>
<div class="more-link-wrapper"><a class="more-link" href="https://h.cowbay.org/post/multiple-site-to-site-vpn-using-wireguard/">Read the post<span class="screen-reader-text">This is a Standard Post</span></a></div>
<div class="more-link-wrapper"><a class="more-link" href="https://h.cowbay.org/post/backup-restore-postgresql-with-pgbackrest/">Read the post<span class="screen-reader-text">This is a Standard Post</span></a></div>
</article>
</div>
</div>
@ -414,12 +400,12 @@ if (!doNotTrack) {
<a class="featured-image-link" href="https://h.cowbay.org/post/site-to-site-vpn-using-wireguard-in-two-edgerouters/"><div class='featured-image lazy lazy-bg-image' data-background="https://h.cowbay.org/images/post-default-5.jpg"></div></a>
<a class="featured-image-link" href="https://h.cowbay.org/post/pgbarman-in-ubuntu-1804-postgresql-10-via-ssh/"><div class='featured-image lazy lazy-bg-image' data-background="https://h.cowbay.org/images/post-default-4.jpg"></div></a>
<div class="excerpt-container">
<div class="excerpt-meta">
<span class="date">06 August</span>
<span class="date">23 August</span>
@ -441,32 +427,14 @@ if (!doNotTrack) {
</div>
<div class='excerpt-header'>
<h2 class='excerpt-title'>
<a href="https://h.cowbay.org/post/site-to-site-vpn-using-wireguard-in-two-edgerouters/ "> [筆記] 在edgerouter上用wireguard 建立site to site VPN / Site to Site Vpn Using Wireguard in Two Edgerouters </a>
<a href="https://h.cowbay.org/post/pgbarman-in-ubuntu-1804-postgresql-10-via-ssh/ "> [筆記] 在Ubuntu 18.04 下 透過 pgbarman rsync/ssh backup 備份 postgresql 10 / backup postgresql 10 with pgbarman via ssh/rsync in ubuntu 18.04 </a>
</h2>
</div>
<div class='excerpt-content'>
<article>
<p>之前總部和分公司之間 是用buffalo 的小AP 灌 openwrt</p>
<p>然後用strongswan 來打 IPSEC site to site VPN</p>
<p>config 看起來不是很難 (只是看起來)</p>
<p>但是實際上已經找不到當初的文件</p>
<p>所以要維護很困難(光那些RSA KEY 就不知道為何、如何產生)</p>
<p>後來採購了兩台edgerouter X 做測試</p>
<p>也用openvpn 成功的建立了 site to site VPN</p>
<p>本來想說 openvpn 已經夠簡單了</p>
<p>這篇繼續講 pgbarman 透過 rsync/ssh 來備份 postgresql 資料庫的方式</p>
<p>今天看到文章說用wireguard 可以更簡單</p>
<p>於是研究了一下,發現還真的很簡單!</p>
<div class="more-link-wrapper"><a class="more-link" href="https://h.cowbay.org/post/site-to-site-vpn-using-wireguard-in-two-edgerouters/">Read the post<span class="screen-reader-text">This is a Standard Post</span></a></div>
<div class="more-link-wrapper"><a class="more-link" href="https://h.cowbay.org/post/pgbarman-in-ubuntu-1804-postgresql-10-via-ssh/">Read the post<span class="screen-reader-text">This is a Standard Post</span></a></div>
</article>
</div>
</div>
@ -484,12 +452,12 @@ if (!doNotTrack) {
<a class="featured-image-link" href="https://h.cowbay.org/post/another-way-to-keep-ansible-log/"><div class='featured-image lazy lazy-bg-image' data-background="https://h.cowbay.org/images/post-default-10.jpg"></div></a>
<a class="featured-image-link" href="https://h.cowbay.org/post/pgbarman-in-ubuntu-1804-postgresql-10/"><div class='featured-image lazy lazy-bg-image' data-background="https://h.cowbay.org/images/post-default-4.jpg"></div></a>
<div class="excerpt-container">
<div class="excerpt-meta">
<span class="date">05 August</span>
<span class="date">23 August</span>
@ -505,31 +473,26 @@ if (!doNotTrack) {
<span> / </span>
<span class="category">
<a href="/categories/ansible">ansible</a>
<a href="/categories/%E7%AD%86%E8%A8%98">筆記</a>
</span>
</div>
<div class='excerpt-header'>
<h2 class='excerpt-title'>
<a href="https://h.cowbay.org/post/another-way-to-keep-ansible-log/ "> [筆記] 為了保存log 用script 指令執行ansible / Another Way to Keep Ansible Log using script command </a>
<a href="https://h.cowbay.org/post/pgbarman-in-ubuntu-1804-postgresql-10/ "> [筆記] 在Ubuntu 18.04 下 透過 pgbarman streaming backup 備份 postgresql 10/ backup postgresql 10 with pgbarman straming backup in ubuntu 18.04 </a>
</h2>
</div>
<div class='excerpt-content'>
<article>
<p>之前為了能夠在執行完 ansible playbook 後能有個log 可以看</p>
<p>所以在每次執行的時候,都要加入 tee 的指令</p>
<p>很久以前就有看到這個用來備份postgresql 的 pgbarman</p>
<p>像是</p>
<p><a href="https://www.pgbarman.org/">https://www.pgbarman.org/</a></p>
<pre><code>ANSIBLE_CONFIG=/home/D/ansiblecontrol/ansible.cfg /usr/local/bin/ansible-playbook /home/D/ansiblecontrol/playbook.user_client.yml --vault-password-file=/home/D/ansiblecontrol/vault.passwd -i /home/D/ansiblecontrol/inventory/production -f1 --limit tyuserclients |tee /tmp/tyuserclients.log
</code></pre>
<p>前幾天老闆在slack 上面又提到,所以這次就花了點時間來玩玩看</p>
<p>一直都是放在crontab 裡面執行,也就沒有去管他</p>
<p>不過呢,雖然有弄起來,但是還真不知道有些問題是怎麼解決的&hellip;</p>
<p>反正也沒有人關心結果怎樣 (攤手</p>
<div class="more-link-wrapper"><a class="more-link" href="https://h.cowbay.org/post/another-way-to-keep-ansible-log/">Read the post<span class="screen-reader-text">This is a Standard Post</span></a></div>
<div class="more-link-wrapper"><a class="more-link" href="https://h.cowbay.org/post/pgbarman-in-ubuntu-1804-postgresql-10/">Read the post<span class="screen-reader-text">This is a Standard Post</span></a></div>
</article>
</div>
</div>
@ -547,12 +510,12 @@ if (!doNotTrack) {
<a class="featured-image-link" href="https://h.cowbay.org/post/send-mail-to-notify-after-pxe-install/"><div class='featured-image lazy lazy-bg-image' data-background="https://h.cowbay.org/images/post-default-11.jpg"></div></a>
<a class="featured-image-link" href="https://h.cowbay.org/post/install-nvidia-driver-cuda-pgstrom-in-ubuntu-1804/"><div class='featured-image lazy lazy-bg-image' data-background="https://h.cowbay.org/images/post-default-7.jpg"></div></a>
<div class="excerpt-container">
<div class="excerpt-meta">
<span class="date">31 July</span>
<span class="date">20 August</span>
@ -574,28 +537,20 @@ if (!doNotTrack) {
</div>
<div class='excerpt-header'>
<h2 class='excerpt-title'>
<a href="https://h.cowbay.org/post/send-mail-to-notify-after-pxe-install/ "> [筆記] 用pxe 安裝系統,完成後送出郵件通知 / send mail notification after pxe install </a>
<a href="https://h.cowbay.org/post/install-nvidia-driver-cuda-pgstrom-in-ubuntu-1804/ "> [筆記] 在ubuntu 18.04 下安裝nvidia 顯示卡驅動程式以及 pgstrom / Install Nvidia Driver Cuda Pgstrom in Ubuntu 1804 </a>
</h2>
</div>
<div class='excerpt-content'>
<article>
<p>最近有個任務需要大量安裝client</p>
<p>想用PXE來處理只要user開機按F12(acer 桌機) 選擇PXE Boot</p>
<p>然後選擇OS版本就可以自動進行安裝</p>
<p>安裝完成後會自動重新開機接著就用ansible來做user環境設定</p>
<p>PXE的部份本來是沒有什麼問題自動安裝系統的部份都做好了</p>
<p>因為老闆說要試試看用GPU 來跑postgresql 威力</p>
<p>可是因為這次的量比較多想說讓每一台在完成PXE安裝後的第一次重開機</p>
<p>手邊剛好有一張 geforce gt 720</p>
<p>就送出一封郵件來通知我說已經完成安裝可以執行ansible 了</p>
<p>一開始沒想太多看到有這張卡的驅動程式然後CUDA也有支援</p>
<p>看似很簡單的一件事情,卻搞了我兩天&hellip;.</p>
<p>就直接從桌機拔下來接去LAB Server ,然後就開始一連串的難關了&hellip;</p>
<div class="more-link-wrapper"><a class="more-link" href="https://h.cowbay.org/post/send-mail-to-notify-after-pxe-install/">Read the post<span class="screen-reader-text">This is a Standard Post</span></a></div>
<div class="more-link-wrapper"><a class="more-link" href="https://h.cowbay.org/post/install-nvidia-driver-cuda-pgstrom-in-ubuntu-1804/">Read the post<span class="screen-reader-text">This is a Standard Post</span></a></div>
</article>
</div>
</div>
@ -714,7 +669,16 @@ if (!doNotTrack) {
<a class="page-numbers" href="/page/10/">10</a>
<a class="page-numbers" href="/page/11/">11</a>
@ -858,7 +822,7 @@ if (!doNotTrack) {
</div>
<script src="https://h.cowbay.org/js/jquery.min.js"></script>
<script src="https://h.cowbay.org/js/jquerymigrate.js"></script>
<script src="https://h.cowbay.org/js/production.min.js?v=1577410044"></script>
<script src="https://h.cowbay.org/js/production.min.js?v=1581582274"></script>
</body>
</html>

@ -21,9 +21,9 @@
"publisher": "",
"accountablePerson" : "",
"copyrightHolder" : "",
"copyrightYear" : "2019",
"datePublished": "2019-12-27 09:09:05 \x2b0800 CST",
"dateModified" : "2019-12-27 09:09:05 \x2b0800 CST",
"copyrightYear" : "2020",
"datePublished": "2020-01-17 12:20:33 \x2b0800 CST",
"dateModified" : "2020-01-17 12:20:33 \x2b0800 CST",
"url" : "https:\/\/h.cowbay.org\/",
"wordCount" : "0",
"image" : "https://h.cowbay.org%!s(\u003cnil\u003e)"",
@ -46,9 +46,9 @@
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.3.1/css/all.css" integrity="sha384-mzrmE5qonljUremFsqc01SB46JvROS7bZs3IO2EmfFsd15uHvIt+Y8vEf7N7fWAU" crossorigin="anonymous">
<link href="https://h.cowbay.org/css/style.css?v=1577410044" rel="stylesheet" id="theme-stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/style.css?v=1581582274" rel="stylesheet" id="theme-stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/custom.css?v=1577410044" rel="stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/custom.css?v=1581582274" rel="stylesheet" type='text/css' media='all'>
<link rel="shortcut icon" href="https://h.cowbay.org/img/favicon.ico" type="image/x-icon">
<link rel="icon" href="https://h.cowbay.org/img/favicon.ico" type="image/x-icon">
@ -116,6 +116,10 @@ if (!doNotTrack) {
<a href="/categories/%E7%BE%A4%E6%9A%89">群暉</a>
</li>
<li class="menu-item menu-item-type-taxonomy menu-item-object-category">
<a href="/categories/%E9%9B%9C%E5%BF%B5">雜念</a>
</li>
</ul>
@ -288,12 +292,12 @@ if (!doNotTrack) {
<a class="featured-image-link" href="https://h.cowbay.org/post/ansible-run-task-depends-on-ipaddr/"><div class='featured-image lazy lazy-bg-image' data-background="https://h.cowbay.org/images/post-default-7.jpg"></div></a>
<a class="featured-image-link" href="https://h.cowbay.org/post/do-no-use-10-0-0-0-private-ipaddr-in-gcp/"><div class='featured-image lazy lazy-bg-image' data-background="https://h.cowbay.org/images/post-default-8.jpg"></div></a>
<div class="excerpt-container">
<div class="excerpt-meta">
<span class="date">23 July</span>
<span class="date">16 August</span>
@ -309,26 +313,32 @@ if (!doNotTrack) {
<span> / </span>
<span class="category">
<a href="/categories/ansible">ansible</a>
<a href="/categories/%E7%AD%86%E8%A8%98">筆記</a>
</span>
</div>
<div class='excerpt-header'>
<h2 class='excerpt-title'>
<a href="https://h.cowbay.org/post/ansible-run-task-depends-on-ipaddr/ "> [ansible] 用 ip 位置判斷是否要執行task /ansible run task depends on ipaddr </a>
<a href="https://h.cowbay.org/post/do-no-use-10-0-0-0-private-ipaddr-in-gcp/ "> [筆記] 在gcp 中用wireguard建立VPN時不要用 10.0.0.0/16 網段/Do No Use 10 0 0 0 Private Ipaddr in GCP </a>
</h2>
</div>
<div class='excerpt-content'>
<article>
<p>因為工作上的需要要修改client端的 /etc/environment 檔案</p>
<p>最近一直在玩 wireguard 先前把各個分公司和總部的VPN 改用 wireguard 建立</p>
<p>在有權限使用proxy 服務的user的環境中加入proxy 的設定</p>
<p>想說再打個VPN tunnel 來當跳板連 ptt 好了</p>
<p>原本的清單中有host/user/ip 這幾個值可以拿來判斷</p>
<p>因為wireguard 建立很簡單,而且又可以指定想要繞出去的路由,不會影響原本的網路環境</p>
<p>proxy server 那邊是採用ip 來控制,所以這邊也跟著用 ip 來判斷要不要修改 /etc/environment</p>
<p>本來是在vultr 的VPS上面建立這個tunnel</p>
<div class="more-link-wrapper"><a class="more-link" href="https://h.cowbay.org/post/ansible-run-task-depends-on-ipaddr/">Read the post<span class="screen-reader-text">This is a Standard Post</span></a></div>
<p>但是那台VPS連去ptt 很頓,卡卡的</p>
<p>所以改用google cloud platform 的free tier 來做</p>
<p>反正只是拿來當跳板,不會有什麼流量、運算產生,可以一直保持免費的狀態</p>
<div class="more-link-wrapper"><a class="more-link" href="https://h.cowbay.org/post/do-no-use-10-0-0-0-private-ipaddr-in-gcp/">Read the post<span class="screen-reader-text">This is a Standard Post</span></a></div>
</article>
</div>
</div>
@ -346,12 +356,12 @@ if (!doNotTrack) {
<a class="featured-image-link" href="https://h.cowbay.org/post/ansible-selectattr-from-list-in-dictionary/"><div class='featured-image lazy lazy-bg-image' data-background="https://h.cowbay.org/images/post-default-7.jpg"></div></a>
<a class="featured-image-link" href="https://h.cowbay.org/post/multiple-site-to-site-vpn-using-wireguard/"><div class='featured-image lazy lazy-bg-image' data-background="https://h.cowbay.org/images/post-default-10.jpg"></div></a>
<div class="excerpt-container">
<div class="excerpt-meta">
<span class="date">01 July</span>
<span class="date">13 August</span>
@ -367,24 +377,30 @@ if (!doNotTrack) {
<span> / </span>
<span class="category">
<a href="/categories/ansible">Ansible</a>
<a href="/categories/%E7%AD%86%E8%A8%98">筆記</a>
</span>
</div>
<div class='excerpt-header'>
<h2 class='excerpt-title'>
<a href="https://h.cowbay.org/post/ansible-selectattr-from-list-in-dictionary/ "> [ansible] 引用事先定義好的yaml檔裡面的變數 - Ansible Selectattr From List in Dictionary file </a>
<a href="https://h.cowbay.org/post/multiple-site-to-site-vpn-using-wireguard/ "> [筆記] 透過 wireguard 建立多點 site to site VPN / Multiple Site to Site VPN Using Wireguard </a>
</h2>
</div>
<div class='excerpt-content'>
<article>
<p>在ansible中關於如何引用自定義的變數一直讓我很頭疼</p>
<p>因為實在受夠了現在用的 openwrt + strongswan 建立 IPSec VPN</p>
<p>尤其是有牽涉到從外部導入yaml檔案時更是常常讓我不知道到底該怎麼抓出想要的變數</p>
<p>雖然說其實沒有什麼不好,但是畢竟不是我建立的,而當初的文件也都不見了</p>
<p>這次還是用selectattr 來處理,希望下次能夠記得&hellip;</p>
<p>完全沒辦法了解當時設計的邏輯造成後續debug 困難</p>
<div class="more-link-wrapper"><a class="more-link" href="https://h.cowbay.org/post/ansible-selectattr-from-list-in-dictionary/">Read the post<span class="screen-reader-text">This is a Standard Post</span></a></div>
<p>可以想像一下一台VPN router ping 不到remote、ping不到internet、甚至ping不到自己 是要怎麼debug !?(翻桌</p>
<p>之前買了兩台edgerouter X 拿來玩了一下 wireguard感覺還不錯不過只有測試到點對點</p>
<p>這次試試看躲在gateway後面看看能不能建立多點的VPN環境</p>
<div class="more-link-wrapper"><a class="more-link" href="https://h.cowbay.org/post/multiple-site-to-site-vpn-using-wireguard/">Read the post<span class="screen-reader-text">This is a Standard Post</span></a></div>
</article>
</div>
</div>
@ -402,12 +418,12 @@ if (!doNotTrack) {
<a class="featured-image-link" href="https://h.cowbay.org/post/remote-management-system-meshcentral/"><div class='featured-image lazy lazy-bg-image' data-background="https://h.cowbay.org/images/post-default-5.jpg"></div></a>
<a class="featured-image-link" href="https://h.cowbay.org/post/site-to-site-vpn-using-wireguard-in-two-edgerouters/"><div class='featured-image lazy lazy-bg-image' data-background="https://h.cowbay.org/images/post-default-5.jpg"></div></a>
<div class="excerpt-container">
<div class="excerpt-meta">
<span class="date">20 June</span>
<span class="date">06 August</span>
@ -429,22 +445,32 @@ if (!doNotTrack) {
</div>
<div class='excerpt-header'>
<h2 class='excerpt-title'>
<a href="https://h.cowbay.org/post/remote-management-system-meshcentral/ "> linux底下遠端遙控&amp;管理的好用系統 Meshcentral / Remote Management &amp; control system Meshcentral </a>
<a href="https://h.cowbay.org/post/site-to-site-vpn-using-wireguard-in-two-edgerouters/ "> [筆記] 在edgerouter上用wireguard 建立site to site VPN / Site to Site Vpn Using Wireguard in Two Edgerouters </a>
</h2>
</div>
<div class='excerpt-content'>
<article>
<p>之前在LAN/windows環境下一直都是用ultravnc/winvnc/tigervnc之類的VNC軟體</p>
<p>之前總部和分公司之間 是用buffalo 的小AP 灌 openwrt</p>
<p>然後用strongswan 來打 IPSEC site to site VPN</p>
<p>config 看起來不是很難 (只是看起來)</p>
<p>但是實際上已經找不到當初的文件</p>
<p>所以要維護很困難(光那些RSA KEY 就不知道為何、如何產生)</p>
<p>後來採購了兩台edgerouter X 做測試</p>
<p>但是如果要過 internet 就會碰到各種開port的問題</p>
<p>也用openvpn 成功的建立了 site to site VPN</p>
<p>在這種環境下,就有了當時 teamviewer 的橫空出世</p>
<p>本來想說 openvpn 已經夠簡單了</p>
<p>解決了開PORT的問題讓被控端(通常是資訊技術相對弱勢,需要接受幫助的一方)不需要懂太多</p>
<p>今天看到文章說用wireguard 可以更簡單</p>
<p>只要下載teamviewer被控端開啟後報ID 給協助者就好了</p>
<p>於是研究了一下,發現還真的很簡單!</p>
<div class="more-link-wrapper"><a class="more-link" href="https://h.cowbay.org/post/remote-management-system-meshcentral/">Read the post<span class="screen-reader-text">This is a Standard Post</span></a></div>
<div class="more-link-wrapper"><a class="more-link" href="https://h.cowbay.org/post/site-to-site-vpn-using-wireguard-in-two-edgerouters/">Read the post<span class="screen-reader-text">This is a Standard Post</span></a></div>
</article>
</div>
</div>
@ -462,12 +488,12 @@ if (!doNotTrack) {
<a class="featured-image-link" href="https://h.cowbay.org/post/install-asus-10g-nic-in-proxmox/"><div class='featured-image lazy lazy-bg-image' data-background="https://h.cowbay.org/images/post-default-13.jpg"></div></a>
<a class="featured-image-link" href="https://h.cowbay.org/post/another-way-to-keep-ansible-log/"><div class='featured-image lazy lazy-bg-image' data-background="https://h.cowbay.org/images/post-default-10.jpg"></div></a>
<div class="excerpt-container">
<div class="excerpt-meta">
<span class="date">17 June</span>
<span class="date">05 August</span>
@ -483,30 +509,31 @@ if (!doNotTrack) {
<span> / </span>
<span class="category">
<a href="/categories/proxmox">Proxmox</a>
<a href="/categories/ansible">ansible</a>
</span>
</div>
<div class='excerpt-header'>
<h2 class='excerpt-title'>
<a href="https://h.cowbay.org/post/install-asus-10g-nic-in-proxmox/ "> Install Asus 10G NIC XG-C100C in Proxmox </a>
<a href="https://h.cowbay.org/post/another-way-to-keep-ansible-log/ "> [筆記] 為了保存log 用script 指令執行ansible / Another Way to Keep Ansible Log using script command </a>
</h2>
</div>
<div class='excerpt-content'>
<article>
<p>前幾天接的一個case</p>
<p>之前為了能夠在執行完 ansible playbook 後能有個log 可以看</p>
<p>因為費用的關係,所以沒有考慮用傳統定義上的伺服器(DELL R640)</p>
<p>所以在每次執行的時候,都要加入 tee 的指令</p>
<p>改採用比較高階一點的洋垃圾,規格大概是 Intel E5-2680V2 x2 + 64G RAM + 128G SSD x2 (OS) + 960G SSD x4 (raid 10 , zfs)</p>
<p>像是</p>
<p>storage 選擇QNAP NAS TS-932X + 960G SSD x 4 (raid 10 , NFS) + QNAP 10G Switch QSW-1280C-8C</p>
<pre><code>ANSIBLE_CONFIG=/home/D/ansiblecontrol/ansible.cfg /usr/local/bin/ansible-playbook /home/D/ansiblecontrol/playbook.user_client.yml --vault-password-file=/home/D/ansiblecontrol/vault.passwd -i /home/D/ansiblecontrol/inventory/production -f1 --limit tyuserclients |tee /tmp/tyuserclients.log
</code></pre>
<p>既然storage這邊選用了10G的機種伺服器上當然也要增加10G網卡</p>
<p>一直都是放在crontab 裡面執行,也就沒有去管他</p>
<p>一樣成本考量就不用INTEL 了,買了這張 ASUS 10G 網卡</p>
<p>反正也沒有人關心結果怎樣 (攤手</p>
<div class="more-link-wrapper"><a class="more-link" href="https://h.cowbay.org/post/install-asus-10g-nic-in-proxmox/">Read the post<span class="screen-reader-text">This is a Standard Post</span></a></div>
<div class="more-link-wrapper"><a class="more-link" href="https://h.cowbay.org/post/another-way-to-keep-ansible-log/">Read the post<span class="screen-reader-text">This is a Standard Post</span></a></div>
</article>
</div>
</div>
@ -524,12 +551,12 @@ if (!doNotTrack) {
<a class="featured-image-link" href="https://h.cowbay.org/post/change-timezone-in-docker/"><div class='featured-image lazy lazy-bg-image' data-background="https://h.cowbay.org/images/post-default-3.jpg"></div></a>
<a class="featured-image-link" href="https://h.cowbay.org/post/send-mail-to-notify-after-pxe-install/"><div class='featured-image lazy lazy-bg-image' data-background="https://h.cowbay.org/images/post-default-11.jpg"></div></a>
<div class="excerpt-container">
<div class="excerpt-meta">
<span class="date">21 May</span>
<span class="date">31 July</span>
@ -551,16 +578,28 @@ if (!doNotTrack) {
</div>
<div class='excerpt-header'>
<h2 class='excerpt-title'>
<a href="https://h.cowbay.org/post/change-timezone-in-docker/ "> [筆記] 修改 docker 容器內的時區 - Change Timezone in Docker </a>
<a href="https://h.cowbay.org/post/send-mail-to-notify-after-pxe-install/ "> [筆記] 用pxe 安裝系統,完成後送出郵件通知 / send mail notification after pxe install </a>
</h2>
</div>
<div class='excerpt-content'>
<article>
<p>最近一直在玩一些docker不過老是會碰到歪果扔寫的東西時區都不一致</p>
<p>最近有個任務需要大量安裝client</p>
<p>想用PXE來處理只要user開機按F12(acer 桌機) 選擇PXE Boot</p>
<p>然後選擇OS版本就可以自動進行安裝</p>
<p>安裝完成後會自動重新開機接著就用ansible來做user環境設定</p>
<p>有的用 UTC有的用localtime就是沒碰到用 Asia/Taipei 的&hellip;.</p>
<p>PXE的部份本來是沒有什麼問題自動安裝系統的部份都做好了</p>
<div class="more-link-wrapper"><a class="more-link" href="https://h.cowbay.org/post/change-timezone-in-docker/">Read the post<span class="screen-reader-text">This is a Standard Post</span></a></div>
<p>可是因為這次的量比較多想說讓每一台在完成PXE安裝後的第一次重開機</p>
<p>就送出一封郵件來通知我說已經完成安裝可以執行ansible 了</p>
<p>看似很簡單的一件事情,卻搞了我兩天&hellip;.</p>
<div class="more-link-wrapper"><a class="more-link" href="https://h.cowbay.org/post/send-mail-to-notify-after-pxe-install/">Read the post<span class="screen-reader-text">This is a Standard Post</span></a></div>
</article>
</div>
</div>
@ -681,7 +720,16 @@ if (!doNotTrack) {
<a class="page-numbers" href="/page/10/">10</a>
<a class="page-numbers" href="/page/11/">11</a>
@ -825,7 +873,7 @@ if (!doNotTrack) {
</div>
<script src="https://h.cowbay.org/js/jquery.min.js"></script>
<script src="https://h.cowbay.org/js/jquerymigrate.js"></script>
<script src="https://h.cowbay.org/js/production.min.js?v=1577410044"></script>
<script src="https://h.cowbay.org/js/production.min.js?v=1581582274"></script>
</body>
</html>

@ -21,9 +21,9 @@
"publisher": "",
"accountablePerson" : "",
"copyrightHolder" : "",
"copyrightYear" : "2019",
"datePublished": "2019-12-27 09:09:05 \x2b0800 CST",
"dateModified" : "2019-12-27 09:09:05 \x2b0800 CST",
"copyrightYear" : "2020",
"datePublished": "2020-01-17 12:20:33 \x2b0800 CST",
"dateModified" : "2020-01-17 12:20:33 \x2b0800 CST",
"url" : "https:\/\/h.cowbay.org\/",
"wordCount" : "0",
"image" : "https://h.cowbay.org%!s(\u003cnil\u003e)"",
@ -46,9 +46,9 @@
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.3.1/css/all.css" integrity="sha384-mzrmE5qonljUremFsqc01SB46JvROS7bZs3IO2EmfFsd15uHvIt+Y8vEf7N7fWAU" crossorigin="anonymous">
<link href="https://h.cowbay.org/css/style.css?v=1577410044" rel="stylesheet" id="theme-stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/style.css?v=1581582274" rel="stylesheet" id="theme-stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/custom.css?v=1577410044" rel="stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/custom.css?v=1581582274" rel="stylesheet" type='text/css' media='all'>
<link rel="shortcut icon" href="https://h.cowbay.org/img/favicon.ico" type="image/x-icon">
<link rel="icon" href="https://h.cowbay.org/img/favicon.ico" type="image/x-icon">
@ -116,6 +116,10 @@ if (!doNotTrack) {
<a href="/categories/%E7%BE%A4%E6%9A%89">群暉</a>
</li>
<li class="menu-item menu-item-type-taxonomy menu-item-object-category">
<a href="/categories/%E9%9B%9C%E5%BF%B5">雜念</a>
</li>
</ul>
@ -288,12 +292,12 @@ if (!doNotTrack) {
<a class="featured-image-link" href="https://h.cowbay.org/post/transfer-file-content-using-xclip-in-terminal/"><div class='featured-image lazy lazy-bg-image' data-background="https://h.cowbay.org/images/post-default-11.jpg"></div></a>
<a class="featured-image-link" href="https://h.cowbay.org/post/ansible-run-task-depends-on-ipaddr/"><div class='featured-image lazy lazy-bg-image' data-background="https://h.cowbay.org/images/post-default-7.jpg"></div></a>
<div class="excerpt-container">
<div class="excerpt-meta">
<span class="date">17 May</span>
<span class="date">23 July</span>
@ -309,26 +313,26 @@ if (!doNotTrack) {
<span> / </span>
<span class="category">
<a href="/categories/linux">linux</a>
<a href="/categories/ansible">ansible</a>
</span>
</div>
<div class='excerpt-header'>
<h2 class='excerpt-title'>
<a href="https://h.cowbay.org/post/transfer-file-content-using-xclip-in-terminal/ "> Transfer File Content Using Xclip in Terminal </a>
<a href="https://h.cowbay.org/post/ansible-run-task-depends-on-ipaddr/ "> [ansible] 用 ip 位置判斷是否要執行task /ansible run task depends on ipaddr </a>
</h2>
</div>
<div class='excerpt-content'>
<article>
<p>工作上常會需要用ssh登入遠端主機檢查LOG有必要的時候還要把log複製回本機來處理。</p>
<p>因為工作上的需要要修改client端的 /etc/environment 檔案</p>
<p>以前都是傻傻的用 scp 傳檔案</p>
<p>在有權限使用proxy 服務的user的環境中加入proxy 的設定</p>
<p>之前就記得有這個xclip/xsel 可以用,但是一直沒有弄清楚怎麼執行</p>
<p>原本的清單中有host/user/ip 這幾個值可以拿來判斷</p>
<p>早上研究了一下,順便做個筆記。</p>
<p>proxy server 那邊是採用ip 來控制,所以這邊也跟著用 ip 來判斷要不要修改 /etc/environment</p>
<div class="more-link-wrapper"><a class="more-link" href="https://h.cowbay.org/post/transfer-file-content-using-xclip-in-terminal/">Read the post<span class="screen-reader-text">This is a Standard Post</span></a></div>
<div class="more-link-wrapper"><a class="more-link" href="https://h.cowbay.org/post/ansible-run-task-depends-on-ipaddr/">Read the post<span class="screen-reader-text">This is a Standard Post</span></a></div>
</article>
</div>
</div>
@ -346,12 +350,12 @@ if (!doNotTrack) {
<a class="featured-image-link" href="https://h.cowbay.org/post/inx-collect-detail-hardware-info/"><div class='featured-image lazy lazy-bg-image' data-background="https://h.cowbay.org/images/post-default-10.jpg"></div></a>
<a class="featured-image-link" href="https://h.cowbay.org/post/ansible-selectattr-from-list-in-dictionary/"><div class='featured-image lazy lazy-bg-image' data-background="https://h.cowbay.org/images/post-default-7.jpg"></div></a>
<div class="excerpt-container">
<div class="excerpt-meta">
<span class="date">23 April</span>
<span class="date">01 July</span>
@ -367,28 +371,24 @@ if (!doNotTrack) {
<span> / </span>
<span class="category">
<a href="/categories/%E7%AD%86%E8%A8%98">筆記</a>
<a href="/categories/ansible">Ansible</a>
</span>
</div>
<div class='excerpt-header'>
<h2 class='excerpt-title'>
<a href="https://h.cowbay.org/post/inx-collect-detail-hardware-info/ "> [筆記] inxi 蒐集詳盡的硬體資訊 / inxi Collect Detail Hardware Info </a>
<a href="https://h.cowbay.org/post/ansible-selectattr-from-list-in-dictionary/ "> [ansible] 引用事先定義好的yaml檔裡面的變數 - Ansible Selectattr From List in Dictionary file </a>
</h2>
</div>
<div class='excerpt-content'>
<article>
<p>最近因為一直碰到硬碟故障的問題算起來那一批同時購買的5X顆 seagate 2T硬碟已經有一半以上故障返修了&hellip;.</p>
<p>在ansible中關於如何引用自定義的變數一直讓我很頭疼</p>
<p>然後又因為一直沒有添購新的硬碟,只能用這些快過保/已過保的撐著</p>
<p>尤其是有牽涉到從外部導入yaml檔案時更是常常讓我不知道到底該怎麼抓出想要的變數</p>
<p>所以最近不斷的在更換機器內的硬碟,而且還沒有熱插拔!</p>
<p>這次還是用selectattr 來處理,希望下次能夠記得&hellip;</p>
<p>也導致原本負責處理盤點資產的同事困擾,因為跟手邊的紀錄已經對不起來了</p>
<p>然後就變成要對資產的時候,需要一台一台登入,然後去下不同的指令,取得想要的硬體資訊,超級麻煩的!</p>
<div class="more-link-wrapper"><a class="more-link" href="https://h.cowbay.org/post/inx-collect-detail-hardware-info/">Read the post<span class="screen-reader-text">This is a Standard Post</span></a></div>
<div class="more-link-wrapper"><a class="more-link" href="https://h.cowbay.org/post/ansible-selectattr-from-list-in-dictionary/">Read the post<span class="screen-reader-text">This is a Standard Post</span></a></div>
</article>
</div>
</div>
@ -406,12 +406,12 @@ if (!doNotTrack) {
<a class="featured-image-link" href="https://h.cowbay.org/post/log-all-bash-commands/"><div class='featured-image lazy lazy-bg-image' data-background="https://h.cowbay.org/images/post-default-11.jpg"></div></a>
<a class="featured-image-link" href="https://h.cowbay.org/post/remote-management-system-meshcentral/"><div class='featured-image lazy lazy-bg-image' data-background="https://h.cowbay.org/images/post-default-5.jpg"></div></a>
<div class="excerpt-container">
<div class="excerpt-meta">
<span class="date">23 April</span>
<span class="date">20 June</span>
@ -433,20 +433,22 @@ if (!doNotTrack) {
</div>
<div class='excerpt-header'>
<h2 class='excerpt-title'>
<a href="https://h.cowbay.org/post/log-all-bash-commands/ "> [筆記] 紀錄所有下過的指令、時間 / Log All commands with timestamp </a>
<a href="https://h.cowbay.org/post/remote-management-system-meshcentral/ "> linux底下遠端遙控&amp;管理的好用系統 Meshcentral / Remote Management &amp; control system Meshcentral </a>
</h2>
</div>
<div class='excerpt-content'>
<article>
<p>今天發生一件有點詭異的事情,本來應該要經過某個指令才會產生的檔案</p>
<p>之前在LAN/windows環境下一直都是用ultravnc/winvnc/tigervnc之類的VNC軟體</p>
<p>但是如果要過 internet 就會碰到各種開port的問題</p>
<p>居然不知為何自己產生了,在我記憶中沒有去執行過那個指令</p>
<p>在這種環境下,就有了當時 teamviewer 的橫空出世</p>
<p>翻了一下 bash_history ,裡面也只有下過哪些指令,沒有紀錄時間,完全沒有參考價值(攤手)</p>
<p>解決了開PORT的問題讓被控端(通常是資訊技術相對弱勢,需要接受幫助的一方)不需要懂太多</p>
<p>所以翻了一下網路至少把這兩台主要跑ansible的機器的log功能補上紀錄所有指令以及時間的部份</p>
<p>只要下載teamviewer被控端開啟後報ID 給協助者就好了</p>
<div class="more-link-wrapper"><a class="more-link" href="https://h.cowbay.org/post/log-all-bash-commands/">Read the post<span class="screen-reader-text">This is a Standard Post</span></a></div>
<div class="more-link-wrapper"><a class="more-link" href="https://h.cowbay.org/post/remote-management-system-meshcentral/">Read the post<span class="screen-reader-text">This is a Standard Post</span></a></div>
</article>
</div>
</div>
@ -464,12 +466,12 @@ if (!doNotTrack) {
<a class="featured-image-link" href="https://h.cowbay.org/post/fix-zpool-device-busy-using-dmsetup/"><div class='featured-image lazy lazy-bg-image' data-background="https://h.cowbay.org/images/post-default-11.jpg"></div></a>
<a class="featured-image-link" href="https://h.cowbay.org/post/install-asus-10g-nic-in-proxmox/"><div class='featured-image lazy lazy-bg-image' data-background="https://h.cowbay.org/images/post-default-13.jpg"></div></a>
<div class="excerpt-container">
<div class="excerpt-meta">
<span class="date">01 April</span>
<span class="date">17 June</span>
@ -485,24 +487,30 @@ if (!doNotTrack) {
<span> / </span>
<span class="category">
<a href="/categories/%E7%AD%86%E8%A8%98">筆記</a>
<a href="/categories/proxmox">Proxmox</a>
</span>
</div>
<div class='excerpt-header'>
<h2 class='excerpt-title'>
<a href="https://h.cowbay.org/post/fix-zpool-device-busy-using-dmsetup/ "> [筆記] 解決無法建立zpool 的錯誤 / Fix Zpool Device Busy Using dmsetup </a>
<a href="https://h.cowbay.org/post/install-asus-10g-nic-in-proxmox/ "> Install Asus 10G NIC XG-C100C in Proxmox </a>
</h2>
</div>
<div class='excerpt-content'>
<article>
<p>今天把其中一台proxmox 加上10G 光纖網卡準備和另一台proxmox 組成10G 環境進行測試</p>
<p>前幾天接的一個case</p>
<p>因為費用的關係,所以沒有考慮用傳統定義上的伺服器(DELL R640)</p>
<p>想說把本機的zpool 拆掉重新建立一個raid0 的空間來做clone/migrate</p>
<p>改採用比較高階一點的洋垃圾,規格大概是 Intel E5-2680V2 x2 + 64G RAM + 128G SSD x2 (OS) + 960G SSD x4 (raid 10 , zfs)</p>
<p>可是一直出現device busy的錯誤訊息</p>
<p>storage 選擇QNAP NAS TS-932X + 960G SSD x 4 (raid 10 , NFS) + QNAP 10G Switch QSW-1280C-8C</p>
<div class="more-link-wrapper"><a class="more-link" href="https://h.cowbay.org/post/fix-zpool-device-busy-using-dmsetup/">Read the post<span class="screen-reader-text">This is a Standard Post</span></a></div>
<p>既然storage這邊選用了10G的機種伺服器上當然也要增加10G網卡</p>
<p>一樣成本考量就不用INTEL 了,買了這張 ASUS 10G 網卡</p>
<div class="more-link-wrapper"><a class="more-link" href="https://h.cowbay.org/post/install-asus-10g-nic-in-proxmox/">Read the post<span class="screen-reader-text">This is a Standard Post</span></a></div>
</article>
</div>
</div>
@ -520,12 +528,12 @@ if (!doNotTrack) {
<a class="featured-image-link" href="https://h.cowbay.org/post/transfer-cent62-using-rsync/"><div class='featured-image lazy lazy-bg-image' data-background="https://h.cowbay.org/images/post-default-9.jpg"></div></a>
<a class="featured-image-link" href="https://h.cowbay.org/post/change-timezone-in-docker/"><div class='featured-image lazy lazy-bg-image' data-background="https://h.cowbay.org/images/post-default-3.jpg"></div></a>
<div class="excerpt-container">
<div class="excerpt-meta">
<span class="date">27 March</span>
<span class="date">21 May</span>
@ -547,16 +555,16 @@ if (!doNotTrack) {
</div>
<div class='excerpt-header'>
<h2 class='excerpt-title'>
<a href="https://h.cowbay.org/post/transfer-cent62-using-rsync/ "> [筆記] 用rsync 移轉 centos 6.2的老機器 Transfer Cent6.2 using rsync </a>
<a href="https://h.cowbay.org/post/change-timezone-in-docker/ "> [筆記] 修改 docker 容器內的時區 - Change Timezone in Docker </a>
</h2>
</div>
<div class='excerpt-content'>
<article>
<p>公司的一台老伺服器空間不足了,要執行指令都會中斷,所以想要擴充空間。</p>
<p>最近一直在玩一些docker不過老是會碰到歪果扔寫的東西時區都不一致</p>
<p>看起來不難搞,事實上&hellip;..</p>
<p>有的用 UTC有的用localtime就是沒碰到用 Asia/Taipei 的&hellip;.</p>
<div class="more-link-wrapper"><a class="more-link" href="https://h.cowbay.org/post/transfer-cent62-using-rsync/">Read the post<span class="screen-reader-text">This is a Standard Post</span></a></div>
<div class="more-link-wrapper"><a class="more-link" href="https://h.cowbay.org/post/change-timezone-in-docker/">Read the post<span class="screen-reader-text">This is a Standard Post</span></a></div>
</article>
</div>
</div>
@ -679,7 +687,16 @@ if (!doNotTrack) {
<a class="page-numbers" href="/page/10/">10</a>
<a class="page-numbers" href="/page/11/">11</a>
@ -823,7 +840,7 @@ if (!doNotTrack) {
</div>
<script src="https://h.cowbay.org/js/jquery.min.js"></script>
<script src="https://h.cowbay.org/js/jquerymigrate.js"></script>
<script src="https://h.cowbay.org/js/production.min.js?v=1577410044"></script>
<script src="https://h.cowbay.org/js/production.min.js?v=1581582274"></script>
</body>
</html>

@ -21,9 +21,9 @@
"publisher": "",
"accountablePerson" : "",
"copyrightHolder" : "",
"copyrightYear" : "2019",
"datePublished": "2019-12-27 09:09:05 \x2b0800 CST",
"dateModified" : "2019-12-27 09:09:05 \x2b0800 CST",
"copyrightYear" : "2020",
"datePublished": "2020-01-17 12:20:33 \x2b0800 CST",
"dateModified" : "2020-01-17 12:20:33 \x2b0800 CST",
"url" : "https:\/\/h.cowbay.org\/",
"wordCount" : "0",
"image" : "https://h.cowbay.org%!s(\u003cnil\u003e)"",
@ -46,9 +46,9 @@
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.3.1/css/all.css" integrity="sha384-mzrmE5qonljUremFsqc01SB46JvROS7bZs3IO2EmfFsd15uHvIt+Y8vEf7N7fWAU" crossorigin="anonymous">
<link href="https://h.cowbay.org/css/style.css?v=1577410044" rel="stylesheet" id="theme-stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/style.css?v=1581582274" rel="stylesheet" id="theme-stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/custom.css?v=1577410044" rel="stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/custom.css?v=1581582274" rel="stylesheet" type='text/css' media='all'>
<link rel="shortcut icon" href="https://h.cowbay.org/img/favicon.ico" type="image/x-icon">
<link rel="icon" href="https://h.cowbay.org/img/favicon.ico" type="image/x-icon">
@ -116,6 +116,10 @@ if (!doNotTrack) {
<a href="/categories/%E7%BE%A4%E6%9A%89">群暉</a>
</li>
<li class="menu-item menu-item-type-taxonomy menu-item-object-category">
<a href="/categories/%E9%9B%9C%E5%BF%B5">雜念</a>
</li>
</ul>
@ -288,12 +292,12 @@ if (!doNotTrack) {
<a class="featured-image-link" href="https://h.cowbay.org/post/command_to_test_main_ssl/"><div class='featured-image lazy lazy-bg-image' data-background="https://h.cowbay.org/images/post-default-10.jpg"></div></a>
<a class="featured-image-link" href="https://h.cowbay.org/post/transfer-file-content-using-xclip-in-terminal/"><div class='featured-image lazy lazy-bg-image' data-background="https://h.cowbay.org/images/post-default-11.jpg"></div></a>
<div class="excerpt-container">
<div class="excerpt-meta">
<span class="date">20 March</span>
<span class="date">17 May</span>
@ -307,21 +311,28 @@ if (!doNotTrack) {
<span> / </span>
<span class="category">
<a href="/categories/linux">linux</a>
</span>
</div>
<div class='excerpt-header'>
<h2 class='excerpt-title'>
<a href="https://h.cowbay.org/post/command_to_test_main_ssl/ "> [筆記] 測試mail server 的SSL憑證的指令 Command to test mailserver SSL </a>
<a href="https://h.cowbay.org/post/transfer-file-content-using-xclip-in-terminal/ "> Transfer File Content Using Xclip in Terminal </a>
</h2>
</div>
<div class='excerpt-content'>
<article>
<p>今天老闆出國發slack說手機不能寄信看了一下似乎是因為用GMAIL的APP來收信</p>
<p>工作上常會需要用ssh登入遠端主機檢查LOG有必要的時候還要把log複製回本機來處理。</p>
<p>以前都是傻傻的用 scp 傳檔案</p>
<p>然後google 不知道跟人家改了什麼,結果不接受原本的認證了&hellip; WTF &hellip;.</p>
<p>之前就記得有這個xclip/xsel 可以用,但是一直沒有弄清楚怎麼執行</p>
<p>然後,這問題應該很久了,結果現在才在講 &hellip;.</p>
<p>早上研究了一下,順便做個筆記。</p>
<div class="more-link-wrapper"><a class="more-link" href="https://h.cowbay.org/post/command_to_test_main_ssl/">Read the post<span class="screen-reader-text">This is a Standard Post</span></a></div>
<div class="more-link-wrapper"><a class="more-link" href="https://h.cowbay.org/post/transfer-file-content-using-xclip-in-terminal/">Read the post<span class="screen-reader-text">This is a Standard Post</span></a></div>
</article>
</div>
</div>
@ -339,12 +350,12 @@ if (!doNotTrack) {
<a class="featured-image-link" href="https://h.cowbay.org/post/install-timeshift-on-ubuntu1804/"><div class='featured-image lazy lazy-bg-image' data-background="https://h.cowbay.org/images/post-default-12.jpg"></div></a>
<a class="featured-image-link" href="https://h.cowbay.org/post/inx-collect-detail-hardware-info/"><div class='featured-image lazy lazy-bg-image' data-background="https://h.cowbay.org/images/post-default-10.jpg"></div></a>
<div class="excerpt-container">
<div class="excerpt-meta">
<span class="date">11 March</span>
<span class="date">23 April</span>
@ -366,20 +377,22 @@ if (!doNotTrack) {
</div>
<div class='excerpt-header'>
<h2 class='excerpt-title'>
<a href="https://h.cowbay.org/post/install-timeshift-on-ubuntu1804/ "> Install Timeshift on Ubuntu1804 </a>
<a href="https://h.cowbay.org/post/inx-collect-detail-hardware-info/ "> [筆記] inxi 蒐集詳盡的硬體資訊 / inxi Collect Detail Hardware Info </a>
</h2>
</div>
<div class='excerpt-content'>
<article>
<p>最近要開始測試client安裝 ubuntu 18.04 的 ansible playbook</p>
<p>最近因為一直碰到硬碟故障的問題算起來那一批同時購買的5X顆 seagate 2T硬碟已經有一半以上故障返修了&hellip;.</p>
<p>因為要不斷的修正所以想到一直有在自己電腦上執行的timeshift這個軟體</p>
<p>然後又因為一直沒有添購新的硬碟,只能用這些快過保/已過保的撐著</p>
<p>可以很簡單快速的備份、恢復系統狀態</p>
<p>所以最近不斷的在更換機器內的硬碟,而且還沒有熱插拔!</p>
<p>可是不知道為什麼在ubuntu 18.04 上安裝就是會發生錯誤&hellip;.</p>
<p>也導致原本負責處理盤點資產的同事困擾,因為跟手邊的紀錄已經對不起來了</p>
<div class="more-link-wrapper"><a class="more-link" href="https://h.cowbay.org/post/install-timeshift-on-ubuntu1804/">Read the post<span class="screen-reader-text">This is a Standard Post</span></a></div>
<p>然後就變成要對資產的時候,需要一台一台登入,然後去下不同的指令,取得想要的硬體資訊,超級麻煩的!</p>
<div class="more-link-wrapper"><a class="more-link" href="https://h.cowbay.org/post/inx-collect-detail-hardware-info/">Read the post<span class="screen-reader-text">This is a Standard Post</span></a></div>
</article>
</div>
</div>
@ -397,12 +410,12 @@ if (!doNotTrack) {
<a class="featured-image-link" href="https://h.cowbay.org/post/install-ubuntu1804-on-dell-6ir-raid-controller/"><div class='featured-image lazy lazy-bg-image' data-background="https://h.cowbay.org/images/post-default-11.jpg"></div></a>
<a class="featured-image-link" href="https://h.cowbay.org/post/log-all-bash-commands/"><div class='featured-image lazy lazy-bg-image' data-background="https://h.cowbay.org/images/post-default-11.jpg"></div></a>
<div class="excerpt-container">
<div class="excerpt-meta">
<span class="date">16 January</span>
<span class="date">23 April</span>
@ -424,16 +437,20 @@ if (!doNotTrack) {
</div>
<div class='excerpt-header'>
<h2 class='excerpt-title'>
<a href="https://h.cowbay.org/post/install-ubuntu1804-on-dell-6ir-raid-controller/ "> 用DELL 6 i/R 建立RAID並在上面安裝ubuntu 18.04 </a>
<a href="https://h.cowbay.org/post/log-all-bash-commands/ "> [筆記] 紀錄所有下過的指令、時間 / Log All commands with timestamp </a>
</h2>
</div>
<div class='excerpt-content'>
<article>
<p>買了一張 DELL 6/iR 低階的raid 卡</p>
<p>今天發生一件有點詭異的事情,本來應該要經過某個指令才會產生的檔案</p>
<p>居然不知為何自己產生了,在我記憶中沒有去執行過那個指令</p>
<p>翻了一下 bash_history ,裡面也只有下過哪些指令,沒有紀錄時間,完全沒有參考價值(攤手)</p>
<p>來測試把系統裝在硬體做的RAID上結果沒想到居然不能開機&hellip;</p>
<p>所以翻了一下網路至少把這兩台主要跑ansible的機器的log功能補上紀錄所有指令以及時間的部份</p>
<div class="more-link-wrapper"><a class="more-link" href="https://h.cowbay.org/post/install-ubuntu1804-on-dell-6ir-raid-controller/">Read the post<span class="screen-reader-text">This is a Standard Post</span></a></div>
<div class="more-link-wrapper"><a class="more-link" href="https://h.cowbay.org/post/log-all-bash-commands/">Read the post<span class="screen-reader-text">This is a Standard Post</span></a></div>
</article>
</div>
</div>
@ -451,12 +468,12 @@ if (!doNotTrack) {
<a class="featured-image-link" href="https://h.cowbay.org/post/ubuntu-1804-install-root-on-raid/"><div class='featured-image lazy lazy-bg-image' data-background="https://h.cowbay.org/images/post-default-14.jpg"></div></a>
<a class="featured-image-link" href="https://h.cowbay.org/post/fix-zpool-device-busy-using-dmsetup/"><div class='featured-image lazy lazy-bg-image' data-background="https://h.cowbay.org/images/post-default-11.jpg"></div></a>
<div class="excerpt-container">
<div class="excerpt-meta">
<span class="date">16 January</span>
<span class="date">01 April</span>
@ -478,18 +495,18 @@ if (!doNotTrack) {
</div>
<div class='excerpt-header'>
<h2 class='excerpt-title'>
<a href="https://h.cowbay.org/post/ubuntu-1804-install-root-on-raid/ "> Ubuntu 1804 Install Root on Raid </a>
<a href="https://h.cowbay.org/post/fix-zpool-device-busy-using-dmsetup/ "> [筆記] 解決無法建立zpool 的錯誤 / Fix Zpool Device Busy Using dmsetup </a>
</h2>
</div>
<div class='excerpt-content'>
<article>
<p>最近在弄一台機器想要把ubuntu 18.04 安裝在software raid上</p>
<p>今天把其中一台proxmox 加上10G 光纖網卡準備和另一台proxmox 組成10G 環境進行測試</p>
<p>因為新開的機器大部分都是在proxmox上所以很少碰實體機器了</p>
<p>想說把本機的zpool 拆掉重新建立一個raid0 的空間來做clone/migrate</p>
<p>結果在安裝過程中做raid碰到一些問題來紀錄一下</p>
<p>可是一直出現device busy的錯誤訊息</p>
<div class="more-link-wrapper"><a class="more-link" href="https://h.cowbay.org/post/ubuntu-1804-install-root-on-raid/">Read the post<span class="screen-reader-text">This is a Standard Post</span></a></div>
<div class="more-link-wrapper"><a class="more-link" href="https://h.cowbay.org/post/fix-zpool-device-busy-using-dmsetup/">Read the post<span class="screen-reader-text">This is a Standard Post</span></a></div>
</article>
</div>
</div>
@ -507,12 +524,12 @@ if (!doNotTrack) {
<a class="featured-image-link" href="https://h.cowbay.org/post/smartd-failed-to-start-in-freenas/"><div class='featured-image lazy lazy-bg-image' data-background="https://h.cowbay.org/images/post-default-2.jpg"></div></a>
<a class="featured-image-link" href="https://h.cowbay.org/post/transfer-cent62-using-rsync/"><div class='featured-image lazy lazy-bg-image' data-background="https://h.cowbay.org/images/post-default-9.jpg"></div></a>
<div class="excerpt-container">
<div class="excerpt-meta">
<span class="date">13 December</span>
<span class="date">27 March</span>
@ -534,20 +551,16 @@ if (!doNotTrack) {
</div>
<div class='excerpt-header'>
<h2 class='excerpt-title'>
<a href="https://h.cowbay.org/post/smartd-failed-to-start-in-freenas/ "> [筆記] Freenas Smartd 啟動失敗 Smartd Failed to Start in Freenas </a>
<a href="https://h.cowbay.org/post/transfer-cent62-using-rsync/ "> [筆記] 用rsync 移轉 centos 6.2的老機器 Transfer Cent6.2 using rsync </a>
</h2>
</div>
<div class='excerpt-content'>
<article>
<p>這兩天在弄兩台Freenas 準備當作Proxmox 的Storage &amp; Server Backup</p>
<p>公司的一台老伺服器空間不足了,要執行指令都會中斷,所以想要擴充空間。</p>
<p>因為伺服器的限制只能接六個SATA我接了六個2T的硬碟做raid10</p>
<p>看起來不難搞,事實上&hellip;..</p>
<p>然後把Freenas 安裝在隨身碟上</p>
<p>不過會一直出現Smartd failed to start 的錯誤訊息</p>
<div class="more-link-wrapper"><a class="more-link" href="https://h.cowbay.org/post/smartd-failed-to-start-in-freenas/">Read the post<span class="screen-reader-text">This is a Standard Post</span></a></div>
<div class="more-link-wrapper"><a class="more-link" href="https://h.cowbay.org/post/transfer-cent62-using-rsync/">Read the post<span class="screen-reader-text">This is a Standard Post</span></a></div>
</article>
</div>
</div>
@ -670,7 +683,16 @@ if (!doNotTrack) {
<a class="page-numbers" href="/page/10/">10</a>
<a class="page-numbers" href="/page/11/">11</a>
@ -814,7 +836,7 @@ if (!doNotTrack) {
</div>
<script src="https://h.cowbay.org/js/jquery.min.js"></script>
<script src="https://h.cowbay.org/js/jquerymigrate.js"></script>
<script src="https://h.cowbay.org/js/production.min.js?v=1577410044"></script>
<script src="https://h.cowbay.org/js/production.min.js?v=1581582274"></script>
</body>
</html>

@ -21,9 +21,9 @@
"publisher": "",
"accountablePerson" : "",
"copyrightHolder" : "",
"copyrightYear" : "2019",
"datePublished": "2019-12-27 09:09:05 \x2b0800 CST",
"dateModified" : "2019-12-27 09:09:05 \x2b0800 CST",
"copyrightYear" : "2020",
"datePublished": "2020-01-17 12:20:33 \x2b0800 CST",
"dateModified" : "2020-01-17 12:20:33 \x2b0800 CST",
"url" : "https:\/\/h.cowbay.org\/",
"wordCount" : "0",
"image" : "https://h.cowbay.org%!s(\u003cnil\u003e)"",
@ -46,9 +46,9 @@
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.3.1/css/all.css" integrity="sha384-mzrmE5qonljUremFsqc01SB46JvROS7bZs3IO2EmfFsd15uHvIt+Y8vEf7N7fWAU" crossorigin="anonymous">
<link href="https://h.cowbay.org/css/style.css?v=1577410044" rel="stylesheet" id="theme-stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/style.css?v=1581582274" rel="stylesheet" id="theme-stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/custom.css?v=1577410044" rel="stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/custom.css?v=1581582274" rel="stylesheet" type='text/css' media='all'>
<link rel="shortcut icon" href="https://h.cowbay.org/img/favicon.ico" type="image/x-icon">
<link rel="icon" href="https://h.cowbay.org/img/favicon.ico" type="image/x-icon">
@ -116,6 +116,10 @@ if (!doNotTrack) {
<a href="/categories/%E7%BE%A4%E6%9A%89">群暉</a>
</li>
<li class="menu-item menu-item-type-taxonomy menu-item-object-category">
<a href="/categories/%E9%9B%9C%E5%BF%B5">雜念</a>
</li>
</ul>
@ -288,12 +292,12 @@ if (!doNotTrack) {
<a class="featured-image-link" href="https://h.cowbay.org/post/incredibly-slow-mdadm-rebuild/"><div class='featured-image lazy lazy-bg-image' data-background="https://h.cowbay.org/images/post-default-1.jpg"></div></a>
<a class="featured-image-link" href="https://h.cowbay.org/post/command_to_test_main_ssl/"><div class='featured-image lazy lazy-bg-image' data-background="https://h.cowbay.org/images/post-default-10.jpg"></div></a>
<div class="excerpt-container">
<div class="excerpt-meta">
<span class="date">12 December</span>
<span class="date">20 March</span>
@ -307,30 +311,21 @@ if (!doNotTrack) {
<span> / </span>
<span class="category">
<a href="/categories/%E7%A2%8E%E5%BF%B5">碎念</a>
</span>
</div>
<div class='excerpt-header'>
<h2 class='excerpt-title'>
<a href="https://h.cowbay.org/post/incredibly-slow-mdadm-rebuild/ "> [碎念] mdadm 超級慢的rebuild 速度 Incredibly Slow mdadm Rebuild </a>
<a href="https://h.cowbay.org/post/command_to_test_main_ssl/ "> [筆記] 測試mail server 的SSL憑證的指令 Command to test mailserver SSL </a>
</h2>
</div>
<div class='excerpt-content'>
<article>
<p>最近在做一台老機器的P2V</p>
<p>偏偏user說不能關機所以我用dd + ssh 做線上移轉</p>
<p>今天老闆出國發slack說手機不能寄信看了一下似乎是因為用GMAIL的APP來收信</p>
<p>這部份有空再來寫</p>
<p>然後google 不知道跟人家改了什麼,結果不接受原本的認證了&hellip; WTF &hellip;.</p>
<p>只是因為原來的設定有用mdadm 做raid1</p>
<p>然後,這問題應該很久了,結果現在才在講 &hellip;.</p>
<p>這部份導致移轉過去proxmox 後會出現raid degrade 導致無法正常開機</p>
<div class="more-link-wrapper"><a class="more-link" href="https://h.cowbay.org/post/incredibly-slow-mdadm-rebuild/">Read the post<span class="screen-reader-text">This is a Standard Post</span></a></div>
<div class="more-link-wrapper"><a class="more-link" href="https://h.cowbay.org/post/command_to_test_main_ssl/">Read the post<span class="screen-reader-text">This is a Standard Post</span></a></div>
</article>
</div>
</div>
@ -348,12 +343,12 @@ if (!doNotTrack) {
<a class="featured-image-link" href="https://h.cowbay.org/post/create-portable-vim-environment/"><div class='featured-image lazy lazy-bg-image' data-background="https://h.cowbay.org/images/post-default-8.jpg"></div></a>
<a class="featured-image-link" href="https://h.cowbay.org/post/install-timeshift-on-ubuntu1804/"><div class='featured-image lazy lazy-bg-image' data-background="https://h.cowbay.org/images/post-default-12.jpg"></div></a>
<div class="excerpt-container">
<div class="excerpt-meta">
<span class="date">07 December</span>
<span class="date">11 March</span>
@ -375,20 +370,20 @@ if (!doNotTrack) {
</div>
<div class='excerpt-header'>
<h2 class='excerpt-title'>
<a href="https://h.cowbay.org/post/create-portable-vim-environment/ "> [筆記] 建立一個帶著走的 VIM 環境 Creating portable Vim environment </a>
<a href="https://h.cowbay.org/post/install-timeshift-on-ubuntu1804/ "> Install Timeshift on Ubuntu1804 </a>
</h2>
</div>
<div class='excerpt-content'>
<article>
<p>因為工作的關係現在很多時間都花在VIM的操作上</p>
<p>最近要開始測試client安裝 ubuntu 18.04 的 ansible playbook</p>
<p>所以之前花了滿多時間調整出一個適合自己的VIM環境</p>
<p>因為要不斷的修正所以想到一直有在自己電腦上執行的timeshift這個軟體</p>
<p>原本的作法是把這個設定好的環境丟到自己建立的gitea 上面</p>
<p>可以很簡單快速的備份、恢復系統狀態</p>
<p>然後每到一台新的機器就要去clone 下來</p>
<p>可是不知道為什麼在ubuntu 18.04 上安裝就是會發生錯誤&hellip;.</p>
<div class="more-link-wrapper"><a class="more-link" href="https://h.cowbay.org/post/create-portable-vim-environment/">Read the post<span class="screen-reader-text">This is a Standard Post</span></a></div>
<div class="more-link-wrapper"><a class="more-link" href="https://h.cowbay.org/post/install-timeshift-on-ubuntu1804/">Read the post<span class="screen-reader-text">This is a Standard Post</span></a></div>
</article>
</div>
</div>
@ -406,12 +401,12 @@ if (!doNotTrack) {
<a class="featured-image-link" href="https://h.cowbay.org/post/synology-ds415-repair-cost/"><div class='featured-image lazy lazy-bg-image' data-background="https://h.cowbay.org/images/post-default-13.jpg"></div></a>
<a class="featured-image-link" href="https://h.cowbay.org/post/install-ubuntu1804-on-dell-6ir-raid-controller/"><div class='featured-image lazy lazy-bg-image' data-background="https://h.cowbay.org/images/post-default-11.jpg"></div></a>
<div class="excerpt-container">
<div class="excerpt-meta">
<span class="date">04 December</span>
<span class="date">16 January</span>
@ -427,34 +422,22 @@ if (!doNotTrack) {
<span> / </span>
<span class="category">
<a href="/categories/%E7%BE%A4%E6%9A%89">群暉</a>
<a href="/categories/%E7%AD%86%E8%A8%98">筆記</a>
</span>
</div>
<div class='excerpt-header'>
<h2 class='excerpt-title'>
<a href="https://h.cowbay.org/post/synology-ds415-repair-cost/ "> [雜念] 群暉 Synology NAS DS 415&#43; 誇張的維修費用 </a>
<a href="https://h.cowbay.org/post/install-ubuntu1804-on-dell-6ir-raid-controller/ "> 用DELL 6 i/R 建立RAID並在上面安裝ubuntu 18.04 </a>
</h2>
</div>
<div class='excerpt-content'>
<article>
<p>前幾天公司的一台 Synology DS 415+ 發生異常</p>
<p>注意到的時候,四顆硬碟燈號都不斷的在閃爍</p>
<p>但是已經無法登入系統</p>
<p>重開機之後更慘,四顆硬碟燈號全部橘燈恆亮</p>
<p>底下的電源藍燈不斷的在閃爍</p>
<p>雖然我一再表示不希望送修了</p>
<p>一來是已經過保二來是DS415+ 本身就有intel bug三來是因為對synology的NAS 實在沒有愛&hellip;</p>
<p>買了一張 DELL 6/iR 低階的raid 卡</p>
<p>不過主管還是希望能夠先問群暉維修的費用多少</p>
<p>來測試把系統裝在硬體做的RAID上結果沒想到居然不能開機&hellip;</p>
<div class="more-link-wrapper"><a class="more-link" href="https://h.cowbay.org/post/synology-ds415-repair-cost/">Read the post<span class="screen-reader-text">This is a Standard Post</span></a></div>
<div class="more-link-wrapper"><a class="more-link" href="https://h.cowbay.org/post/install-ubuntu1804-on-dell-6ir-raid-controller/">Read the post<span class="screen-reader-text">This is a Standard Post</span></a></div>
</article>
</div>
</div>
@ -472,12 +455,12 @@ if (!doNotTrack) {
<a class="featured-image-link" href="https://h.cowbay.org/post/10g-lab-using-proxmox-and-mellanox/"><div class='featured-image lazy lazy-bg-image' data-background="https://h.cowbay.org/images/post-default-03.jpg"></div></a>
<a class="featured-image-link" href="https://h.cowbay.org/post/ubuntu-1804-install-root-on-raid/"><div class='featured-image lazy lazy-bg-image' data-background="https://h.cowbay.org/images/post-default-14.jpg"></div></a>
<div class="excerpt-container">
<div class="excerpt-meta">
<span class="date">30 November</span>
<span class="date">16 January</span>
@ -499,30 +482,18 @@ if (!doNotTrack) {
</div>
<div class='excerpt-header'>
<h2 class='excerpt-title'>
<a href="https://h.cowbay.org/post/10g-lab-using-proxmox-and-mellanox/ "> [筆記] 用 proxmox &amp; Mellanox SFP 網卡土炮 10G LAB </a>
<a href="https://h.cowbay.org/post/ubuntu-1804-install-root-on-raid/ "> Ubuntu 1804 Install Root on Raid </a>
</h2>
</div>
<div class='excerpt-content'>
<article>
<p>想做一個 10G 的 LAB 環境出來已經很久了。</p>
<p>最近在弄一台機器想要把ubuntu 18.04 安裝在software raid上</p>
<p>只是礙於10G RJ45的卡太貴了然後光纖的種類又太複雜</p>
<p>因為新開的機器大部分都是在proxmox上所以很少碰實體機器了</p>
<p>如果直接在淘寶購買,很怕會買錯(什麼LC/FC LC/LC 多模單模 單芯雙芯 SFP/SFP+ 又是什麼光模塊的一大堆規格)</p>
<p>結果在安裝過程中做raid碰到一些問題來紀錄一下</p>
<p>所以一直沒有付諸行動。</p>
<p>硬體的工作很久沒碰了,剛好在蝦皮看到有個賣家在賣 mellanox 的X2網卡以在台灣的價格來說算很便宜的 (550)</p>
<p>聊了一下,跟他請教了關於線材、光纖模塊的問題,回答也都很快很到位</p>
<p>就直接下訂了兩張網卡、兩個光纖模塊、一條LC/LC 光纖線</p>
<p>就是到貨有點久,等了兩個禮拜左右,一直到昨天東西才寄到</p>
<p>今天就花了點時間測試一下</p>
<div class="more-link-wrapper"><a class="more-link" href="https://h.cowbay.org/post/10g-lab-using-proxmox-and-mellanox/">Read the post<span class="screen-reader-text">This is a Standard Post</span></a></div>
<div class="more-link-wrapper"><a class="more-link" href="https://h.cowbay.org/post/ubuntu-1804-install-root-on-raid/">Read the post<span class="screen-reader-text">This is a Standard Post</span></a></div>
</article>
</div>
</div>
@ -540,12 +511,12 @@ if (!doNotTrack) {
<a class="featured-image-link" href="https://h.cowbay.org/post/ansible-selectattr-filter/"><div class='featured-image lazy lazy-bg-image' data-background="https://h.cowbay.org/images/post-default-11.jpg"></div></a>
<a class="featured-image-link" href="https://h.cowbay.org/post/smartd-failed-to-start-in-freenas/"><div class='featured-image lazy lazy-bg-image' data-background="https://h.cowbay.org/images/post-default-2.jpg"></div></a>
<div class="excerpt-container">
<div class="excerpt-meta">
<span class="date">29 November</span>
<span class="date">13 December</span>
@ -567,18 +538,20 @@ if (!doNotTrack) {
</div>
<div class='excerpt-header'>
<h2 class='excerpt-title'>
<a href="https://h.cowbay.org/post/ansible-selectattr-filter/ "> [筆記] 還是 Ansible Selectattr </a>
<a href="https://h.cowbay.org/post/smartd-failed-to-start-in-freenas/ "> [筆記] Freenas Smartd 啟動失敗 Smartd Failed to Start in Freenas </a>
</h2>
</div>
<div class='excerpt-content'>
<article>
<p>在上一篇 <a href="https://h.cowbay.org/post/ansible-selectattr/">Ansible how to use &lsquo;list&rsquo; in yaml file </a></p>
<p>這兩天在弄兩台Freenas 準備當作Proxmox 的Storage &amp; Server Backup</p>
<p>因為伺服器的限制只能接六個SATA我接了六個2T的硬碟做raid10</p>
<p>有提到怎麼用 with_items / set_fact 來取得在yaml 檔案中的清單</p>
<p>然後把Freenas 安裝在隨身碟上</p>
<p>不過就是有點醜</p>
<p>不過會一直出現Smartd failed to start 的錯誤訊息</p>
<div class="more-link-wrapper"><a class="more-link" href="https://h.cowbay.org/post/ansible-selectattr-filter/">Read the post<span class="screen-reader-text">This is a Standard Post</span></a></div>
<div class="more-link-wrapper"><a class="more-link" href="https://h.cowbay.org/post/smartd-failed-to-start-in-freenas/">Read the post<span class="screen-reader-text">This is a Standard Post</span></a></div>
</article>
</div>
</div>
@ -699,7 +672,18 @@ if (!doNotTrack) {
<a class="page-numbers" href="/page/10/">10</a>
<span aria-current="page" class="page-numbers current">10</span>
<a class="page-numbers" href="/page/11/">11</a>
@ -843,7 +827,7 @@ if (!doNotTrack) {
</div>
<script src="https://h.cowbay.org/js/jquery.min.js"></script>
<script src="https://h.cowbay.org/js/jquerymigrate.js"></script>
<script src="https://h.cowbay.org/js/production.min.js?v=1577410044"></script>
<script src="https://h.cowbay.org/js/production.min.js?v=1581582274"></script>
</body>
</html>

@ -21,9 +21,9 @@
"publisher": "",
"accountablePerson" : "",
"copyrightHolder" : "",
"copyrightYear" : "2019",
"datePublished": "2019-12-27 09:09:05 \x2b0800 CST",
"dateModified" : "2019-12-27 09:09:05 \x2b0800 CST",
"copyrightYear" : "2020",
"datePublished": "2020-01-17 12:20:33 \x2b0800 CST",
"dateModified" : "2020-01-17 12:20:33 \x2b0800 CST",
"url" : "https:\/\/h.cowbay.org\/",
"wordCount" : "0",
"image" : "https://h.cowbay.org%!s(\u003cnil\u003e)"",
@ -46,9 +46,9 @@
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.3.1/css/all.css" integrity="sha384-mzrmE5qonljUremFsqc01SB46JvROS7bZs3IO2EmfFsd15uHvIt+Y8vEf7N7fWAU" crossorigin="anonymous">
<link href="https://h.cowbay.org/css/style.css?v=1577410044" rel="stylesheet" id="theme-stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/style.css?v=1581582274" rel="stylesheet" id="theme-stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/custom.css?v=1577410044" rel="stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/custom.css?v=1581582274" rel="stylesheet" type='text/css' media='all'>
<link rel="shortcut icon" href="https://h.cowbay.org/img/favicon.ico" type="image/x-icon">
<link rel="icon" href="https://h.cowbay.org/img/favicon.ico" type="image/x-icon">
@ -116,6 +116,10 @@ if (!doNotTrack) {
<a href="/categories/%E7%BE%A4%E6%9A%89">群暉</a>
</li>
<li class="menu-item menu-item-type-taxonomy menu-item-object-category">
<a href="/categories/%E9%9B%9C%E5%BF%B5">雜念</a>
</li>
</ul>
@ -288,12 +292,12 @@ if (!doNotTrack) {
<a class="featured-image-link" href="https://h.cowbay.org/post/ansible-selectattr/"><div class='featured-image lazy lazy-bg-image' data-background="https://h.cowbay.org/images/post-default-1.jpg"></div></a>
<a class="featured-image-link" href="https://h.cowbay.org/post/incredibly-slow-mdadm-rebuild/"><div class='featured-image lazy lazy-bg-image' data-background="https://h.cowbay.org/images/post-default-1.jpg"></div></a>
<div class="excerpt-container">
<div class="excerpt-meta">
<span class="date">27 November</span>
<span class="date">12 December</span>
@ -309,63 +313,28 @@ if (!doNotTrack) {
<span> / </span>
<span class="category">
<a href="/categories/%E7%AD%86%E8%A8%98">筆記</a>
<a href="/categories/%E7%A2%8E%E5%BF%B5">碎念</a>
</span>
</div>
<div class='excerpt-header'>
<h2 class='excerpt-title'>
<a href="https://h.cowbay.org/post/ansible-selectattr/ "> [筆記] Ansible how to use &#39;list&#39; in yaml file </a>
<a href="https://h.cowbay.org/post/incredibly-slow-mdadm-rebuild/ "> [碎念] mdadm 超級慢的rebuild 速度 Incredibly Slow mdadm Rebuild </a>
</h2>
</div>
<div class='excerpt-content'>
<article>
<p>這幾天在玩ansible 時,碰到一個問題</p>
<p>最近在做一台老機器的P2V</p>
<p>假如我有個yaml檔作為資料來源檔名是 abc.yml</p>
<p>偏偏user說不能關機所以我用dd + ssh 做線上移轉</p>
<p>大概長這樣</p>
<p>這部份有空再來寫</p>
<pre><code> &quot;teams&quot;: [
{
&quot;chinese_name&quot;: &quot;TEAM1&quot;,
&quot;description&quot;: &quot;TEAM1&quot;,
&quot;gid&quot;: 10125,
&quot;location&quot;: [
&quot;hq&quot;
],
&quot;name&quot;: &quot;aa&quot;,
&quot;users&quot;: [
&quot;chen&quot;,
&quot;chou&quot;,
&quot;huani&quot;,
&quot;yey&quot;,
&quot;wa&quot;
]
},
{
&quot;chinese_name&quot;: &quot;TEAM2&quot;,
&quot;description&quot;: &quot;TEAM2&quot;,
&quot;gid&quot;: 10126,
&quot;location&quot;: [
&quot;hq&quot;
],
&quot;name&quot;: &quot;bb&quot;,
&quot;users&quot;: [
&quot;chhiao&quot;,
&quot;chgc&quot;,
&quot;chy&quot;,
&quot;hsi&quot;,
&quot;li&quot;,
&quot;li&quot;,
&quot;chgchi&quot;
]
}
]
<p>只是因為原來的設定有用mdadm 做raid1</p>
</code></pre>
<p>這部份導致移轉過去proxmox 後會出現raid degrade 導致無法正常開機</p>
<div class="more-link-wrapper"><a class="more-link" href="https://h.cowbay.org/post/ansible-selectattr/">Read the post<span class="screen-reader-text">This is a Standard Post</span></a></div>
<div class="more-link-wrapper"><a class="more-link" href="https://h.cowbay.org/post/incredibly-slow-mdadm-rebuild/">Read the post<span class="screen-reader-text">This is a Standard Post</span></a></div>
</article>
</div>
</div>
@ -383,12 +352,12 @@ if (!doNotTrack) {
<a class="featured-image-link" href="https://h.cowbay.org/post/change-preferred-language-in-firefox/"><div class='featured-image lazy lazy-bg-image' data-background="https://h.cowbay.org/images/post-default-9.jpg"></div></a>
<a class="featured-image-link" href="https://h.cowbay.org/post/create-portable-vim-environment/"><div class='featured-image lazy lazy-bg-image' data-background="https://h.cowbay.org/images/post-default-8.jpg"></div></a>
<div class="excerpt-container">
<div class="excerpt-meta">
<span class="date">15 November</span>
<span class="date">07 December</span>
@ -410,20 +379,20 @@ if (!doNotTrack) {
</div>
<div class='excerpt-header'>
<h2 class='excerpt-title'>
<a href="https://h.cowbay.org/post/change-preferred-language-in-firefox/ "> [筆記] 為了metabase 修改 firefox 開啟網頁時使用的預設語言 change the preferred language in firefox for metabase </a>
<a href="https://h.cowbay.org/post/create-portable-vim-environment/ "> [筆記] 建立一個帶著走的 VIM 環境 Creating portable Vim environment </a>
</h2>
</div>
<div class='excerpt-content'>
<article>
<p>最近在測試metabase記得幾個月前就有測試過</p>
<p>因為工作的關係現在很多時間都花在VIM的操作上</p>
<p>但是當時的界面和現在的樣子差很多,看樣子改版還滿勤勞的</p>
<p>所以之前花了滿多時間調整出一個適合自己的VIM環境</p>
<p>所以這次改用docker來建立根本五分鐘不到就建好了(挖鼻孔)</p>
<p>原本的作法是把這個設定好的環境丟到自己建立的gitea 上面</p>
<p>不過呢,很討厭的是,一進去就發現語系採用的是簡體中文</p>
<p>然後每到一台新的機器就要去clone 下來</p>
<div class="more-link-wrapper"><a class="more-link" href="https://h.cowbay.org/post/change-preferred-language-in-firefox/">Read the post<span class="screen-reader-text">This is a Standard Post</span></a></div>
<div class="more-link-wrapper"><a class="more-link" href="https://h.cowbay.org/post/create-portable-vim-environment/">Read the post<span class="screen-reader-text">This is a Standard Post</span></a></div>
</article>
</div>
</div>
@ -441,12 +410,12 @@ if (!doNotTrack) {
<a class="featured-image-link" href="https://h.cowbay.org/post/copy_role_in_pgsql/"><div class='featured-image lazy lazy-bg-image' data-background="https://h.cowbay.org/images/post-default-7.jpg"></div></a>
<a class="featured-image-link" href="https://h.cowbay.org/post/synology-ds415-repair-cost/"><div class='featured-image lazy lazy-bg-image' data-background="https://h.cowbay.org/images/post-default-13.jpg"></div></a>
<div class="excerpt-container">
<div class="excerpt-meta">
<span class="date">12 November</span>
<span class="date">04 December</span>
@ -462,26 +431,34 @@ if (!doNotTrack) {
<span> / </span>
<span class="category">
<a href="/categories/%E7%AD%86%E8%A8%98">筆記</a>
<a href="/categories/%E7%BE%A4%E6%9A%89">群暉</a>
</span>
</div>
<div class='excerpt-header'>
<h2 class='excerpt-title'>
<a href="https://h.cowbay.org/post/copy_role_in_pgsql/ "> PostgreSQL 直接從已經存在的使用者複製權限到另一個使用者 </a>
<a href="https://h.cowbay.org/post/synology-ds415-repair-cost/ "> [雜念] 群暉 Synology NAS DS 415&#43; 誇張的維修費用 </a>
</h2>
</div>
<div class='excerpt-content'>
<article>
<p>因為工作上的需求有個資料庫需要開放給不同team的人去存取</p>
<p>前幾天公司的一台 Synology DS 415+ 發生異常</p>
<p>注意到的時候,四顆硬碟燈號都不斷的在閃爍</p>
<p>但是已經無法登入系統</p>
<p>重開機之後更慘,四顆硬碟燈號全部橘燈恆亮</p>
<p>底下的電源藍燈不斷的在閃爍</p>
<p>雖然都是在同一台機器上的同一個資料庫</p>
<p>雖然我一再表示不希望送修了</p>
<p>但是希望能夠不同team的人用不同的資料庫使用者</p>
<p>一來是已經過保二來是DS415+ 本身就有intel bug三來是因為對synology的NAS 實在沒有愛&hellip;</p>
<p>這樣萬一出事,會比較好抓兇手??</p>
<p>不過主管還是希望能夠先問群暉維修的費用多少</p>
<div class="more-link-wrapper"><a class="more-link" href="https://h.cowbay.org/post/copy_role_in_pgsql/">Read the post<span class="screen-reader-text">This is a Standard Post</span></a></div>
<div class="more-link-wrapper"><a class="more-link" href="https://h.cowbay.org/post/synology-ds415-repair-cost/">Read the post<span class="screen-reader-text">This is a Standard Post</span></a></div>
</article>
</div>
</div>
@ -499,12 +476,12 @@ if (!doNotTrack) {
<a class="featured-image-link" href="https://h.cowbay.org/post/weird-client-server-connection/"><div class='featured-image lazy lazy-bg-image' data-background="https://h.cowbay.org/images/post-default-4.jpg"></div></a>
<a class="featured-image-link" href="https://h.cowbay.org/post/10g-lab-using-proxmox-and-mellanox/"><div class='featured-image lazy lazy-bg-image' data-background="https://h.cowbay.org/images/post-default-03.jpg"></div></a>
<div class="excerpt-container">
<div class="excerpt-meta">
<span class="date">08 November</span>
<span class="date">30 November</span>
@ -526,26 +503,30 @@ if (!doNotTrack) {
</div>
<div class='excerpt-header'>
<h2 class='excerpt-title'>
<a href="https://h.cowbay.org/post/weird-client-server-connection/ "> [筆記] 詭異的client&amp;server間連線的問題或許跟KVM有關係 </a>
<a href="https://h.cowbay.org/post/10g-lab-using-proxmox-and-mellanox/ "> [筆記] 用 proxmox &amp; Mellanox SFP 網卡土炮 10G LAB </a>
</h2>
</div>
<div class='excerpt-content'>
<article>
<p>這是發生在一個夜黑風高的寂寥深夜&hellip;.. ( What The FXXX &hellip; )</p>
<p>想做一個 10G 的 LAB 環境出來已經很久了。</p>
<p>來到這個環境之後,有一個很詭異的狀況一直困擾著我</p>
<p>只是礙於10G RJ45的卡太貴了然後光纖的種類又太複雜</p>
<p>在每個分公司都會有一台伺服器作為KVM Host</p>
<p>如果直接在淘寶購買,很怕會買錯(什麼LC/FC LC/LC 多模單模 單芯雙芯 SFP/SFP+ 又是什麼光模塊的一大堆規格)</p>
<p>上面跑兩台VM一台作為ansible controller (目前沒作用)</p>
<p>所以一直沒有付諸行動。</p>
<p>另一台作為這邊所謂的 &ldquo;Build Server&rdquo;</p>
<p>硬體的工作很久沒碰了,剛好在蝦皮看到有個賣家在賣 mellanox 的X2網卡以在台灣的價格來說算很便宜的 (550)</p>
<p>用途包含了DHCP Server / Proxy Server (squid3) / APT Proxy (squid-deb-proxy)</p>
<p>聊了一下,跟他請教了關於線材、光纖模塊的問題,回答也都很快很到位</p>
<p>問題就發生在這台 Build Server 上&hellip;</p>
<p>就直接下訂了兩張網卡、兩個光纖模塊、一條LC/LC 光纖線</p>
<div class="more-link-wrapper"><a class="more-link" href="https://h.cowbay.org/post/weird-client-server-connection/">Read the post<span class="screen-reader-text">This is a Standard Post</span></a></div>
<p>就是到貨有點久,等了兩個禮拜左右,一直到昨天東西才寄到</p>
<p>今天就花了點時間測試一下</p>
<div class="more-link-wrapper"><a class="more-link" href="https://h.cowbay.org/post/10g-lab-using-proxmox-and-mellanox/">Read the post<span class="screen-reader-text">This is a Standard Post</span></a></div>
</article>
</div>
</div>
@ -563,12 +544,12 @@ if (!doNotTrack) {
<a class="featured-image-link" href="https://h.cowbay.org/post/nice-du-report-tool-durep/"><div class='featured-image lazy lazy-bg-image' data-background="https://h.cowbay.org/images/post-default-9.jpg"></div></a>
<a class="featured-image-link" href="https://h.cowbay.org/post/ansible-selectattr-filter/"><div class='featured-image lazy lazy-bg-image' data-background="https://h.cowbay.org/images/post-default-11.jpg"></div></a>
<div class="excerpt-container">
<div class="excerpt-meta">
<span class="date">06 November</span>
<span class="date">29 November</span>
@ -590,19 +571,18 @@ if (!doNotTrack) {
</div>
<div class='excerpt-header'>
<h2 class='excerpt-title'>
<a href="https://h.cowbay.org/post/nice-du-report-tool-durep/ "> Nice Du Report Tool Durep </a>
<a href="https://h.cowbay.org/post/ansible-selectattr-filter/ "> [筆記] 還是 Ansible Selectattr </a>
</h2>
</div>
<div class='excerpt-content'>
<article>
<p>最近在重新規劃前人留下的backup爛攤子
各個伺服器統一備份到一台backup storage
想說如果每天能夠看到backup storage的磁碟用量的話
就可以抓出備份空間成長速度、推估需要多大的磁碟空間
找了一些工具,結果發現 durep 這個 ubuntu 內建的工具
基本上可以滿足我的需求</p>
<div class="more-link-wrapper"><a class="more-link" href="https://h.cowbay.org/post/nice-du-report-tool-durep/">Read the post<span class="screen-reader-text">This is a Standard Post</span></a></div>
<p>在上一篇 <a href="https://h.cowbay.org/post/ansible-selectattr/">Ansible how to use &lsquo;list&rsquo; in yaml file </a></p>
<p>有提到怎麼用 with_items / set_fact 來取得在yaml 檔案中的清單</p>
<p>不過就是有點醜</p>
<div class="more-link-wrapper"><a class="more-link" href="https://h.cowbay.org/post/ansible-selectattr-filter/">Read the post<span class="screen-reader-text">This is a Standard Post</span></a></div>
</article>
</div>
</div>
@ -725,6 +705,17 @@ if (!doNotTrack) {
<a class="page-numbers" href="/page/11/">11</a>
<a class="next page-numbers" href="/page/10/">Next</a>
</div>
@ -865,7 +856,7 @@ if (!doNotTrack) {
</div>
<script src="https://h.cowbay.org/js/jquery.min.js"></script>
<script src="https://h.cowbay.org/js/jquerymigrate.js"></script>
<script src="https://h.cowbay.org/js/production.min.js?v=1577410044"></script>
<script src="https://h.cowbay.org/js/production.min.js?v=1581582274"></script>
</body>
</html>

@ -45,9 +45,9 @@
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.3.1/css/all.css" integrity="sha384-mzrmE5qonljUremFsqc01SB46JvROS7bZs3IO2EmfFsd15uHvIt+Y8vEf7N7fWAU" crossorigin="anonymous">
<link href="https://h.cowbay.org/css/style.css?v=1577410044" rel="stylesheet" id="theme-stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/style.css?v=1581582274" rel="stylesheet" id="theme-stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/custom.css?v=1577410044" rel="stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/custom.css?v=1581582274" rel="stylesheet" type='text/css' media='all'>
<link rel="shortcut icon" href="https://h.cowbay.org/img/favicon.ico" type="image/x-icon">
<link rel="icon" href="https://h.cowbay.org/img/favicon.ico" type="image/x-icon">
@ -113,6 +113,10 @@ if (!doNotTrack) {
<a href="/categories/%E7%BE%A4%E6%9A%89">群暉</a>
</li>
<li class="menu-item menu-item-type-taxonomy menu-item-object-category">
<a href="/categories/%E9%9B%9C%E5%BF%B5">雜念</a>
</li>
</ul>
@ -814,7 +818,7 @@ title="pinterest icon"></i>
</div>
<script src="https://h.cowbay.org/js/jquery.min.js"></script>
<script src="https://h.cowbay.org/js/jquerymigrate.js"></script>
<script src="https://h.cowbay.org/js/production.min.js?v=1577410044"></script>
<script src="https://h.cowbay.org/js/production.min.js?v=1581582274"></script>
</body>
</html>

@ -45,9 +45,9 @@
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.3.1/css/all.css" integrity="sha384-mzrmE5qonljUremFsqc01SB46JvROS7bZs3IO2EmfFsd15uHvIt+Y8vEf7N7fWAU" crossorigin="anonymous">
<link href="https://h.cowbay.org/css/style.css?v=1577410044" rel="stylesheet" id="theme-stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/style.css?v=1581582274" rel="stylesheet" id="theme-stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/custom.css?v=1577410044" rel="stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/custom.css?v=1581582274" rel="stylesheet" type='text/css' media='all'>
<link rel="shortcut icon" href="https://h.cowbay.org/img/favicon.ico" type="image/x-icon">
<link rel="icon" href="https://h.cowbay.org/img/favicon.ico" type="image/x-icon">
@ -113,6 +113,10 @@ if (!doNotTrack) {
<a href="/categories/%E7%BE%A4%E6%9A%89">群暉</a>
</li>
<li class="menu-item menu-item-type-taxonomy menu-item-object-category">
<a href="/categories/%E9%9B%9C%E5%BF%B5">雜念</a>
</li>
</ul>
@ -684,7 +688,7 @@ title="pinterest icon"></i>
</div>
<script src="https://h.cowbay.org/js/jquery.min.js"></script>
<script src="https://h.cowbay.org/js/jquerymigrate.js"></script>
<script src="https://h.cowbay.org/js/production.min.js?v=1577410044"></script>
<script src="https://h.cowbay.org/js/production.min.js?v=1581582274"></script>
</body>
</html>

@ -45,9 +45,9 @@
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.3.1/css/all.css" integrity="sha384-mzrmE5qonljUremFsqc01SB46JvROS7bZs3IO2EmfFsd15uHvIt+Y8vEf7N7fWAU" crossorigin="anonymous">
<link href="https://h.cowbay.org/css/style.css?v=1577410044" rel="stylesheet" id="theme-stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/style.css?v=1581582274" rel="stylesheet" id="theme-stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/custom.css?v=1577410044" rel="stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/custom.css?v=1581582274" rel="stylesheet" type='text/css' media='all'>
<link rel="shortcut icon" href="https://h.cowbay.org/img/favicon.ico" type="image/x-icon">
<link rel="icon" href="https://h.cowbay.org/img/favicon.ico" type="image/x-icon">
@ -113,6 +113,10 @@ if (!doNotTrack) {
<a href="/categories/%E7%BE%A4%E6%9A%89">群暉</a>
</li>
<li class="menu-item menu-item-type-taxonomy menu-item-object-category">
<a href="/categories/%E9%9B%9C%E5%BF%B5">雜念</a>
</li>
</ul>
@ -652,7 +656,7 @@ title="pinterest icon"></i>
</div>
<script src="https://h.cowbay.org/js/jquery.min.js"></script>
<script src="https://h.cowbay.org/js/jquerymigrate.js"></script>
<script src="https://h.cowbay.org/js/production.min.js?v=1577410044"></script>
<script src="https://h.cowbay.org/js/production.min.js?v=1581582274"></script>
</body>
</html>

@ -45,9 +45,9 @@
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.3.1/css/all.css" integrity="sha384-mzrmE5qonljUremFsqc01SB46JvROS7bZs3IO2EmfFsd15uHvIt+Y8vEf7N7fWAU" crossorigin="anonymous">
<link href="https://h.cowbay.org/css/style.css?v=1577410044" rel="stylesheet" id="theme-stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/style.css?v=1581582274" rel="stylesheet" id="theme-stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/custom.css?v=1577410044" rel="stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/custom.css?v=1581582274" rel="stylesheet" type='text/css' media='all'>
<link rel="shortcut icon" href="https://h.cowbay.org/img/favicon.ico" type="image/x-icon">
<link rel="icon" href="https://h.cowbay.org/img/favicon.ico" type="image/x-icon">
@ -113,6 +113,10 @@ if (!doNotTrack) {
<a href="/categories/%E7%BE%A4%E6%9A%89">群暉</a>
</li>
<li class="menu-item menu-item-type-taxonomy menu-item-object-category">
<a href="/categories/%E9%9B%9C%E5%BF%B5">雜念</a>
</li>
</ul>
@ -614,7 +618,7 @@ title="pinterest icon"></i>
</div>
<script src="https://h.cowbay.org/js/jquery.min.js"></script>
<script src="https://h.cowbay.org/js/jquerymigrate.js"></script>
<script src="https://h.cowbay.org/js/production.min.js?v=1577410044"></script>
<script src="https://h.cowbay.org/js/production.min.js?v=1581582274"></script>
</body>
</html>

@ -45,9 +45,9 @@
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.3.1/css/all.css" integrity="sha384-mzrmE5qonljUremFsqc01SB46JvROS7bZs3IO2EmfFsd15uHvIt+Y8vEf7N7fWAU" crossorigin="anonymous">
<link href="https://h.cowbay.org/css/style.css?v=1577410044" rel="stylesheet" id="theme-stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/style.css?v=1581582274" rel="stylesheet" id="theme-stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/custom.css?v=1577410044" rel="stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/custom.css?v=1581582274" rel="stylesheet" type='text/css' media='all'>
<link rel="shortcut icon" href="https://h.cowbay.org/img/favicon.ico" type="image/x-icon">
<link rel="icon" href="https://h.cowbay.org/img/favicon.ico" type="image/x-icon">
@ -113,6 +113,10 @@ if (!doNotTrack) {
<a href="/categories/%E7%BE%A4%E6%9A%89">群暉</a>
</li>
<li class="menu-item menu-item-type-taxonomy menu-item-object-category">
<a href="/categories/%E9%9B%9C%E5%BF%B5">雜念</a>
</li>
</ul>
@ -719,7 +723,7 @@ title="pinterest icon"></i>
</div>
<script src="https://h.cowbay.org/js/jquery.min.js"></script>
<script src="https://h.cowbay.org/js/jquerymigrate.js"></script>
<script src="https://h.cowbay.org/js/production.min.js?v=1577410044"></script>
<script src="https://h.cowbay.org/js/production.min.js?v=1581582274"></script>
</body>
</html>

@ -45,9 +45,9 @@
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.3.1/css/all.css" integrity="sha384-mzrmE5qonljUremFsqc01SB46JvROS7bZs3IO2EmfFsd15uHvIt+Y8vEf7N7fWAU" crossorigin="anonymous">
<link href="https://h.cowbay.org/css/style.css?v=1577410044" rel="stylesheet" id="theme-stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/style.css?v=1581582274" rel="stylesheet" id="theme-stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/custom.css?v=1577410044" rel="stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/custom.css?v=1581582274" rel="stylesheet" type='text/css' media='all'>
<link rel="shortcut icon" href="https://h.cowbay.org/img/favicon.ico" type="image/x-icon">
<link rel="icon" href="https://h.cowbay.org/img/favicon.ico" type="image/x-icon">
@ -113,6 +113,10 @@ if (!doNotTrack) {
<a href="/categories/%E7%BE%A4%E6%9A%89">群暉</a>
</li>
<li class="menu-item menu-item-type-taxonomy menu-item-object-category">
<a href="/categories/%E9%9B%9C%E5%BF%B5">雜念</a>
</li>
</ul>
@ -697,7 +701,7 @@ title="pinterest icon"></i>
</div>
<script src="https://h.cowbay.org/js/jquery.min.js"></script>
<script src="https://h.cowbay.org/js/jquerymigrate.js"></script>
<script src="https://h.cowbay.org/js/production.min.js?v=1577410044"></script>
<script src="https://h.cowbay.org/js/production.min.js?v=1581582274"></script>
</body>
</html>

@ -45,9 +45,9 @@
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.3.1/css/all.css" integrity="sha384-mzrmE5qonljUremFsqc01SB46JvROS7bZs3IO2EmfFsd15uHvIt+Y8vEf7N7fWAU" crossorigin="anonymous">
<link href="https://h.cowbay.org/css/style.css?v=1577410044" rel="stylesheet" id="theme-stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/style.css?v=1581582274" rel="stylesheet" id="theme-stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/custom.css?v=1577410044" rel="stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/custom.css?v=1581582274" rel="stylesheet" type='text/css' media='all'>
<link rel="shortcut icon" href="https://h.cowbay.org/img/favicon.ico" type="image/x-icon">
<link rel="icon" href="https://h.cowbay.org/img/favicon.ico" type="image/x-icon">
@ -113,6 +113,10 @@ if (!doNotTrack) {
<a href="/categories/%E7%BE%A4%E6%9A%89">群暉</a>
</li>
<li class="menu-item menu-item-type-taxonomy menu-item-object-category">
<a href="/categories/%E9%9B%9C%E5%BF%B5">雜念</a>
</li>
</ul>
@ -617,7 +621,7 @@ title="pinterest icon"></i>
</div>
<script src="https://h.cowbay.org/js/jquery.min.js"></script>
<script src="https://h.cowbay.org/js/jquerymigrate.js"></script>
<script src="https://h.cowbay.org/js/production.min.js?v=1577410044"></script>
<script src="https://h.cowbay.org/js/production.min.js?v=1581582274"></script>
</body>
</html>

@ -45,9 +45,9 @@
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.3.1/css/all.css" integrity="sha384-mzrmE5qonljUremFsqc01SB46JvROS7bZs3IO2EmfFsd15uHvIt+Y8vEf7N7fWAU" crossorigin="anonymous">
<link href="https://h.cowbay.org/css/style.css?v=1577410044" rel="stylesheet" id="theme-stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/style.css?v=1581582274" rel="stylesheet" id="theme-stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/custom.css?v=1577410044" rel="stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/custom.css?v=1581582274" rel="stylesheet" type='text/css' media='all'>
<link rel="shortcut icon" href="https://h.cowbay.org/img/favicon.ico" type="image/x-icon">
<link rel="icon" href="https://h.cowbay.org/img/favicon.ico" type="image/x-icon">
@ -113,6 +113,10 @@ if (!doNotTrack) {
<a href="/categories/%E7%BE%A4%E6%9A%89">群暉</a>
</li>
<li class="menu-item menu-item-type-taxonomy menu-item-object-category">
<a href="/categories/%E9%9B%9C%E5%BF%B5">雜念</a>
</li>
</ul>
@ -672,7 +676,7 @@ title="pinterest icon"></i>
</div>
<script src="https://h.cowbay.org/js/jquery.min.js"></script>
<script src="https://h.cowbay.org/js/jquerymigrate.js"></script>
<script src="https://h.cowbay.org/js/production.min.js?v=1577410044"></script>
<script src="https://h.cowbay.org/js/production.min.js?v=1581582274"></script>
</body>
</html>

@ -45,9 +45,9 @@
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.3.1/css/all.css" integrity="sha384-mzrmE5qonljUremFsqc01SB46JvROS7bZs3IO2EmfFsd15uHvIt+Y8vEf7N7fWAU" crossorigin="anonymous">
<link href="https://h.cowbay.org/css/style.css?v=1577410044" rel="stylesheet" id="theme-stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/style.css?v=1581582274" rel="stylesheet" id="theme-stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/custom.css?v=1577410044" rel="stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/custom.css?v=1581582274" rel="stylesheet" type='text/css' media='all'>
<link rel="shortcut icon" href="https://h.cowbay.org/img/favicon.ico" type="image/x-icon">
<link rel="icon" href="https://h.cowbay.org/img/favicon.ico" type="image/x-icon">
@ -113,6 +113,10 @@ if (!doNotTrack) {
<a href="/categories/%E7%BE%A4%E6%9A%89">群暉</a>
</li>
<li class="menu-item menu-item-type-taxonomy menu-item-object-category">
<a href="/categories/%E9%9B%9C%E5%BF%B5">雜念</a>
</li>
</ul>
@ -728,7 +732,7 @@ title="pinterest icon"></i>
</div>
<script src="https://h.cowbay.org/js/jquery.min.js"></script>
<script src="https://h.cowbay.org/js/jquerymigrate.js"></script>
<script src="https://h.cowbay.org/js/production.min.js?v=1577410044"></script>
<script src="https://h.cowbay.org/js/production.min.js?v=1581582274"></script>
</body>
</html>

@ -45,9 +45,9 @@
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.3.1/css/all.css" integrity="sha384-mzrmE5qonljUremFsqc01SB46JvROS7bZs3IO2EmfFsd15uHvIt+Y8vEf7N7fWAU" crossorigin="anonymous">
<link href="https://h.cowbay.org/css/style.css?v=1577410044" rel="stylesheet" id="theme-stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/style.css?v=1581582274" rel="stylesheet" id="theme-stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/custom.css?v=1577410044" rel="stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/custom.css?v=1581582274" rel="stylesheet" type='text/css' media='all'>
<link rel="shortcut icon" href="https://h.cowbay.org/img/favicon.ico" type="image/x-icon">
<link rel="icon" href="https://h.cowbay.org/img/favicon.ico" type="image/x-icon">
@ -113,6 +113,10 @@ if (!doNotTrack) {
<a href="/categories/%E7%BE%A4%E6%9A%89">群暉</a>
</li>
<li class="menu-item menu-item-type-taxonomy menu-item-object-category">
<a href="/categories/%E9%9B%9C%E5%BF%B5">雜念</a>
</li>
</ul>
@ -766,7 +770,7 @@ title="pinterest icon"></i>
</div>
<script src="https://h.cowbay.org/js/jquery.min.js"></script>
<script src="https://h.cowbay.org/js/jquerymigrate.js"></script>
<script src="https://h.cowbay.org/js/production.min.js?v=1577410044"></script>
<script src="https://h.cowbay.org/js/production.min.js?v=1581582274"></script>
</body>
</html>

@ -45,9 +45,9 @@
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.3.1/css/all.css" integrity="sha384-mzrmE5qonljUremFsqc01SB46JvROS7bZs3IO2EmfFsd15uHvIt+Y8vEf7N7fWAU" crossorigin="anonymous">
<link href="https://h.cowbay.org/css/style.css?v=1577410044" rel="stylesheet" id="theme-stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/style.css?v=1581582274" rel="stylesheet" id="theme-stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/custom.css?v=1577410044" rel="stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/custom.css?v=1581582274" rel="stylesheet" type='text/css' media='all'>
<link rel="shortcut icon" href="https://h.cowbay.org/img/favicon.ico" type="image/x-icon">
<link rel="icon" href="https://h.cowbay.org/img/favicon.ico" type="image/x-icon">
@ -113,6 +113,10 @@ if (!doNotTrack) {
<a href="/categories/%E7%BE%A4%E6%9A%89">群暉</a>
</li>
<li class="menu-item menu-item-type-taxonomy menu-item-object-category">
<a href="/categories/%E9%9B%9C%E5%BF%B5">雜念</a>
</li>
</ul>
@ -629,7 +633,7 @@ title="pinterest icon"></i>
</div>
<script src="https://h.cowbay.org/js/jquery.min.js"></script>
<script src="https://h.cowbay.org/js/jquerymigrate.js"></script>
<script src="https://h.cowbay.org/js/production.min.js?v=1577410044"></script>
<script src="https://h.cowbay.org/js/production.min.js?v=1581582274"></script>
</body>
</html>

@ -45,9 +45,9 @@
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.3.1/css/all.css" integrity="sha384-mzrmE5qonljUremFsqc01SB46JvROS7bZs3IO2EmfFsd15uHvIt+Y8vEf7N7fWAU" crossorigin="anonymous">
<link href="https://h.cowbay.org/css/style.css?v=1577410044" rel="stylesheet" id="theme-stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/style.css?v=1581582274" rel="stylesheet" id="theme-stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/custom.css?v=1577410044" rel="stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/custom.css?v=1581582274" rel="stylesheet" type='text/css' media='all'>
<link rel="shortcut icon" href="https://h.cowbay.org/img/favicon.ico" type="image/x-icon">
<link rel="icon" href="https://h.cowbay.org/img/favicon.ico" type="image/x-icon">
@ -113,6 +113,10 @@ if (!doNotTrack) {
<a href="/categories/%E7%BE%A4%E6%9A%89">群暉</a>
</li>
<li class="menu-item menu-item-type-taxonomy menu-item-object-category">
<a href="/categories/%E9%9B%9C%E5%BF%B5">雜念</a>
</li>
</ul>
@ -854,7 +858,7 @@ title="pinterest icon"></i>
</div>
<script src="https://h.cowbay.org/js/jquery.min.js"></script>
<script src="https://h.cowbay.org/js/jquerymigrate.js"></script>
<script src="https://h.cowbay.org/js/production.min.js?v=1577410044"></script>
<script src="https://h.cowbay.org/js/production.min.js?v=1581582274"></script>
</body>
</html>

@ -45,9 +45,9 @@
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.3.1/css/all.css" integrity="sha384-mzrmE5qonljUremFsqc01SB46JvROS7bZs3IO2EmfFsd15uHvIt+Y8vEf7N7fWAU" crossorigin="anonymous">
<link href="https://h.cowbay.org/css/style.css?v=1577410044" rel="stylesheet" id="theme-stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/style.css?v=1581582274" rel="stylesheet" id="theme-stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/custom.css?v=1577410044" rel="stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/custom.css?v=1581582274" rel="stylesheet" type='text/css' media='all'>
<link rel="shortcut icon" href="https://h.cowbay.org/img/favicon.ico" type="image/x-icon">
<link rel="icon" href="https://h.cowbay.org/img/favicon.ico" type="image/x-icon">
@ -113,6 +113,10 @@ if (!doNotTrack) {
<a href="/categories/%E7%BE%A4%E6%9A%89">群暉</a>
</li>
<li class="menu-item menu-item-type-taxonomy menu-item-object-category">
<a href="/categories/%E9%9B%9C%E5%BF%B5">雜念</a>
</li>
</ul>
@ -996,7 +1000,7 @@ title="pinterest icon"></i>
</div>
<script src="https://h.cowbay.org/js/jquery.min.js"></script>
<script src="https://h.cowbay.org/js/jquerymigrate.js"></script>
<script src="https://h.cowbay.org/js/production.min.js?v=1577410044"></script>
<script src="https://h.cowbay.org/js/production.min.js?v=1581582274"></script>
</body>
</html>

@ -45,9 +45,9 @@
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.3.1/css/all.css" integrity="sha384-mzrmE5qonljUremFsqc01SB46JvROS7bZs3IO2EmfFsd15uHvIt+Y8vEf7N7fWAU" crossorigin="anonymous">
<link href="https://h.cowbay.org/css/style.css?v=1577410044" rel="stylesheet" id="theme-stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/style.css?v=1581582274" rel="stylesheet" id="theme-stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/custom.css?v=1577410044" rel="stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/custom.css?v=1581582274" rel="stylesheet" type='text/css' media='all'>
<link rel="shortcut icon" href="https://h.cowbay.org/img/favicon.ico" type="image/x-icon">
<link rel="icon" href="https://h.cowbay.org/img/favicon.ico" type="image/x-icon">
@ -113,6 +113,10 @@ if (!doNotTrack) {
<a href="/categories/%E7%BE%A4%E6%9A%89">群暉</a>
</li>
<li class="menu-item menu-item-type-taxonomy menu-item-object-category">
<a href="/categories/%E9%9B%9C%E5%BF%B5">雜念</a>
</li>
</ul>
@ -683,7 +687,7 @@ title="pinterest icon"></i>
</div>
<script src="https://h.cowbay.org/js/jquery.min.js"></script>
<script src="https://h.cowbay.org/js/jquerymigrate.js"></script>
<script src="https://h.cowbay.org/js/production.min.js?v=1577410044"></script>
<script src="https://h.cowbay.org/js/production.min.js?v=1581582274"></script>
</body>
</html>

@ -45,9 +45,9 @@
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.3.1/css/all.css" integrity="sha384-mzrmE5qonljUremFsqc01SB46JvROS7bZs3IO2EmfFsd15uHvIt+Y8vEf7N7fWAU" crossorigin="anonymous">
<link href="https://h.cowbay.org/css/style.css?v=1577410044" rel="stylesheet" id="theme-stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/style.css?v=1581582274" rel="stylesheet" id="theme-stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/custom.css?v=1577410044" rel="stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/custom.css?v=1581582274" rel="stylesheet" type='text/css' media='all'>
<link rel="shortcut icon" href="https://h.cowbay.org/img/favicon.ico" type="image/x-icon">
<link rel="icon" href="https://h.cowbay.org/img/favicon.ico" type="image/x-icon">
@ -113,6 +113,10 @@ if (!doNotTrack) {
<a href="/categories/%E7%BE%A4%E6%9A%89">群暉</a>
</li>
<li class="menu-item menu-item-type-taxonomy menu-item-object-category">
<a href="/categories/%E9%9B%9C%E5%BF%B5">雜念</a>
</li>
</ul>
@ -657,7 +661,7 @@ title="pinterest icon"></i>
</div>
<script src="https://h.cowbay.org/js/jquery.min.js"></script>
<script src="https://h.cowbay.org/js/jquerymigrate.js"></script>
<script src="https://h.cowbay.org/js/production.min.js?v=1577410044"></script>
<script src="https://h.cowbay.org/js/production.min.js?v=1581582274"></script>
</body>
</html>

@ -45,9 +45,9 @@
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.3.1/css/all.css" integrity="sha384-mzrmE5qonljUremFsqc01SB46JvROS7bZs3IO2EmfFsd15uHvIt+Y8vEf7N7fWAU" crossorigin="anonymous">
<link href="https://h.cowbay.org/css/style.css?v=1577410044" rel="stylesheet" id="theme-stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/style.css?v=1581582274" rel="stylesheet" id="theme-stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/custom.css?v=1577410044" rel="stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/custom.css?v=1581582274" rel="stylesheet" type='text/css' media='all'>
<link rel="shortcut icon" href="https://h.cowbay.org/img/favicon.ico" type="image/x-icon">
<link rel="icon" href="https://h.cowbay.org/img/favicon.ico" type="image/x-icon">
@ -113,6 +113,10 @@ if (!doNotTrack) {
<a href="/categories/%E7%BE%A4%E6%9A%89">群暉</a>
</li>
<li class="menu-item menu-item-type-taxonomy menu-item-object-category">
<a href="/categories/%E9%9B%9C%E5%BF%B5">雜念</a>
</li>
</ul>
@ -721,7 +725,7 @@ title="pinterest icon"></i>
</div>
<script src="https://h.cowbay.org/js/jquery.min.js"></script>
<script src="https://h.cowbay.org/js/jquerymigrate.js"></script>
<script src="https://h.cowbay.org/js/production.min.js?v=1577410044"></script>
<script src="https://h.cowbay.org/js/production.min.js?v=1581582274"></script>
</body>
</html>

@ -45,9 +45,9 @@
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.3.1/css/all.css" integrity="sha384-mzrmE5qonljUremFsqc01SB46JvROS7bZs3IO2EmfFsd15uHvIt+Y8vEf7N7fWAU" crossorigin="anonymous">
<link href="https://h.cowbay.org/css/style.css?v=1577410044" rel="stylesheet" id="theme-stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/style.css?v=1581582274" rel="stylesheet" id="theme-stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/custom.css?v=1577410044" rel="stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/custom.css?v=1581582274" rel="stylesheet" type='text/css' media='all'>
<link rel="shortcut icon" href="https://h.cowbay.org/img/favicon.ico" type="image/x-icon">
<link rel="icon" href="https://h.cowbay.org/img/favicon.ico" type="image/x-icon">
@ -113,6 +113,10 @@ if (!doNotTrack) {
<a href="/categories/%E7%BE%A4%E6%9A%89">群暉</a>
</li>
<li class="menu-item menu-item-type-taxonomy menu-item-object-category">
<a href="/categories/%E9%9B%9C%E5%BF%B5">雜念</a>
</li>
</ul>
@ -798,7 +802,7 @@ title="pinterest icon"></i>
</div>
<script src="https://h.cowbay.org/js/jquery.min.js"></script>
<script src="https://h.cowbay.org/js/jquerymigrate.js"></script>
<script src="https://h.cowbay.org/js/production.min.js?v=1577410044"></script>
<script src="https://h.cowbay.org/js/production.min.js?v=1581582274"></script>
</body>
</html>

@ -45,9 +45,9 @@
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.3.1/css/all.css" integrity="sha384-mzrmE5qonljUremFsqc01SB46JvROS7bZs3IO2EmfFsd15uHvIt+Y8vEf7N7fWAU" crossorigin="anonymous">
<link href="https://h.cowbay.org/css/style.css?v=1577410044" rel="stylesheet" id="theme-stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/style.css?v=1581582274" rel="stylesheet" id="theme-stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/custom.css?v=1577410044" rel="stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/custom.css?v=1581582274" rel="stylesheet" type='text/css' media='all'>
<link rel="shortcut icon" href="https://h.cowbay.org/img/favicon.ico" type="image/x-icon">
<link rel="icon" href="https://h.cowbay.org/img/favicon.ico" type="image/x-icon">
@ -113,6 +113,10 @@ if (!doNotTrack) {
<a href="/categories/%E7%BE%A4%E6%9A%89">群暉</a>
</li>
<li class="menu-item menu-item-type-taxonomy menu-item-object-category">
<a href="/categories/%E9%9B%9C%E5%BF%B5">雜念</a>
</li>
</ul>
@ -615,7 +619,7 @@ title="pinterest icon"></i>
</div>
<script src="https://h.cowbay.org/js/jquery.min.js"></script>
<script src="https://h.cowbay.org/js/jquerymigrate.js"></script>
<script src="https://h.cowbay.org/js/production.min.js?v=1577410044"></script>
<script src="https://h.cowbay.org/js/production.min.js?v=1581582274"></script>
</body>
</html>

@ -45,9 +45,9 @@
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.3.1/css/all.css" integrity="sha384-mzrmE5qonljUremFsqc01SB46JvROS7bZs3IO2EmfFsd15uHvIt+Y8vEf7N7fWAU" crossorigin="anonymous">
<link href="https://h.cowbay.org/css/style.css?v=1577410044" rel="stylesheet" id="theme-stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/style.css?v=1581582274" rel="stylesheet" id="theme-stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/custom.css?v=1577410044" rel="stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/custom.css?v=1581582274" rel="stylesheet" type='text/css' media='all'>
<link rel="shortcut icon" href="https://h.cowbay.org/img/favicon.ico" type="image/x-icon">
<link rel="icon" href="https://h.cowbay.org/img/favicon.ico" type="image/x-icon">
@ -113,6 +113,10 @@ if (!doNotTrack) {
<a href="/categories/%E7%BE%A4%E6%9A%89">群暉</a>
</li>
<li class="menu-item menu-item-type-taxonomy menu-item-object-category">
<a href="/categories/%E9%9B%9C%E5%BF%B5">雜念</a>
</li>
</ul>
@ -628,7 +632,7 @@ title="pinterest icon"></i>
</div>
<script src="https://h.cowbay.org/js/jquery.min.js"></script>
<script src="https://h.cowbay.org/js/jquerymigrate.js"></script>
<script src="https://h.cowbay.org/js/production.min.js?v=1577410044"></script>
<script src="https://h.cowbay.org/js/production.min.js?v=1581582274"></script>
</body>
</html>

@ -45,9 +45,9 @@
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.3.1/css/all.css" integrity="sha384-mzrmE5qonljUremFsqc01SB46JvROS7bZs3IO2EmfFsd15uHvIt+Y8vEf7N7fWAU" crossorigin="anonymous">
<link href="https://h.cowbay.org/css/style.css?v=1577410044" rel="stylesheet" id="theme-stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/style.css?v=1581582274" rel="stylesheet" id="theme-stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/custom.css?v=1577410044" rel="stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/custom.css?v=1581582274" rel="stylesheet" type='text/css' media='all'>
<link rel="shortcut icon" href="https://h.cowbay.org/img/favicon.ico" type="image/x-icon">
<link rel="icon" href="https://h.cowbay.org/img/favicon.ico" type="image/x-icon">
@ -113,6 +113,10 @@ if (!doNotTrack) {
<a href="/categories/%E7%BE%A4%E6%9A%89">群暉</a>
</li>
<li class="menu-item menu-item-type-taxonomy menu-item-object-category">
<a href="/categories/%E9%9B%9C%E5%BF%B5">雜念</a>
</li>
</ul>
@ -683,7 +687,7 @@ title="pinterest icon"></i>
</div>
<script src="https://h.cowbay.org/js/jquery.min.js"></script>
<script src="https://h.cowbay.org/js/jquerymigrate.js"></script>
<script src="https://h.cowbay.org/js/production.min.js?v=1577410044"></script>
<script src="https://h.cowbay.org/js/production.min.js?v=1581582274"></script>
</body>
</html>

@ -45,9 +45,9 @@
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.3.1/css/all.css" integrity="sha384-mzrmE5qonljUremFsqc01SB46JvROS7bZs3IO2EmfFsd15uHvIt+Y8vEf7N7fWAU" crossorigin="anonymous">
<link href="https://h.cowbay.org/css/style.css?v=1577410044" rel="stylesheet" id="theme-stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/style.css?v=1581582274" rel="stylesheet" id="theme-stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/custom.css?v=1577410044" rel="stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/custom.css?v=1581582274" rel="stylesheet" type='text/css' media='all'>
<link rel="shortcut icon" href="https://h.cowbay.org/img/favicon.ico" type="image/x-icon">
<link rel="icon" href="https://h.cowbay.org/img/favicon.ico" type="image/x-icon">
@ -113,6 +113,10 @@ if (!doNotTrack) {
<a href="/categories/%E7%BE%A4%E6%9A%89">群暉</a>
</li>
<li class="menu-item menu-item-type-taxonomy menu-item-object-category">
<a href="/categories/%E9%9B%9C%E5%BF%B5">雜念</a>
</li>
</ul>
@ -701,7 +705,7 @@ title="pinterest icon"></i>
</div>
<script src="https://h.cowbay.org/js/jquery.min.js"></script>
<script src="https://h.cowbay.org/js/jquerymigrate.js"></script>
<script src="https://h.cowbay.org/js/production.min.js?v=1577410044"></script>
<script src="https://h.cowbay.org/js/production.min.js?v=1581582274"></script>
</body>
</html>

@ -0,0 +1,682 @@
<!DOCTYPE html>
<html lang="en-us">
<head><meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<script type="application/ld+json">
{
"@context" : "http://schema.org",
"@type" : "BlogPosting",
"mainEntityOfPage": {
"@type": "WebPage",
"@id": "https:\/\/h.cowbay.org"
},
"articleSection" : "post",
"name" : "[筆記] 第一次玩 Synology High Availability \/ first try synology high availability",
"headline" : "[筆記] 第一次玩 Synology High Availability \/ first try synology high availability",
"description" : "\x3cp\x3e上禮拜原本擔任 proxmox cluster 的主要 storage 的 ds415\x2b 掛點了\x3c\/p\x3e\n\n\x3cp\x3e原因應該就是之前的 intel c2000 series cpu 的 bug\x3c\/p\x3e\n\n\x3cp\x3e只是不知道為什麼這台兩三年來都沒有關機的NAS\x3c\/p\x3e\n\n\x3cp\x3e比其他三台多撐了那麼久 (已經有兩台送修回來,一台也是同樣症狀,被放在一邊)\x3c\/p\x3e\n\n\x3cp\x3e趁著這次機會看看網路上說的換電阻大法有沒有用\x3c\/p\x3e\n\n\x3cp\x3e如果有用就拿這兩台來玩玩 synology high availability !\x3c\/p\x3e",
"inLanguage" : "en",
"author" : "Eric Chang",
"creator" : "Eric Chang",
"publisher": "Eric Chang",
"accountablePerson" : "Eric Chang",
"copyrightHolder" : "Eric Chang",
"copyrightYear" : "2020",
"datePublished": "2020-01-10 09:48:18 \x2b0800 CST",
"dateModified" : "2020-01-10 09:48:18 \x2b0800 CST",
"url" : "https:\/\/h.cowbay.org\/post\/first-try-synology-ha\/",
"wordCount" : "146",
"image" : "https://h.cowbay.orghttps://h.cowbay.org/images/post-default-13.jpg"",
"keywords" : [ ""synology"","Blog" ]
}
</script>
<title>[筆記] 第一次玩 Synology High Availability / first try synology high availability </title>
<meta name="description" content="some articles about job,food,passion sisters" />
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="robots" content="all,follow">
<meta name="googlebot" content="index,follow,snippet,archive">
<link rel="stylesheet" id="ct-tracks-google-fonts-css" href="https://fonts.googleapis.com/css?family=Raleway%3A400%2C700&amp;subset=latin%2Clatin-ext&amp;ver=4.7.2" type="text/css" media="all">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.3.1/css/all.css" integrity="sha384-mzrmE5qonljUremFsqc01SB46JvROS7bZs3IO2EmfFsd15uHvIt+Y8vEf7N7fWAU" crossorigin="anonymous">
<link href="https://h.cowbay.org/css/style.css?v=1581582274" rel="stylesheet" id="theme-stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/custom.css?v=1581582274" rel="stylesheet" type='text/css' media='all'>
<link rel="shortcut icon" href="https://h.cowbay.org/img/favicon.ico" type="image/x-icon">
<link rel="icon" href="https://h.cowbay.org/img/favicon.ico" type="image/x-icon">
<script type="application/javascript">
var doNotTrack = false;
if (!doNotTrack) {
window.ga=window.ga||function(){(ga.q=ga.q||[]).push(arguments)};ga.l=+new Date;
ga('create', 'UA-138954876-1', 'auto');
ga('send', 'pageview');
}
</script>
<script async src='https://www.google-analytics.com/analytics.js'></script>
</head>
<body class="post-template-default single single-post single-format-standard ct-body singular singular-post not-front standard">
<div id="overflow-container" class="overflow-container">
<a class="skip-content" href="#main">Skip to content</a>
<header id="site-header" class="site-header" role="banner">
<div class='top-navigation'>
<div class='container'>
<div id="menu-secondary" class="menu-container menu-secondary" role="navigation">
<button id="toggle-secondary-navigation" class="toggle-secondary-navigation"><i class="fas fa-plus"></i></button>
<div class="menu">
<ul id="menu-secondary-items" class="menu-secondary-items">
<li class="menu-item menu-item-type-taxonomy menu-item-object-category">
<a href="/categories/"></a>
</li>
<li class="menu-item menu-item-type-taxonomy menu-item-object-category">
<a href="/categories/ansible">ansible</a>
</li>
<li class="menu-item menu-item-type-taxonomy menu-item-object-category">
<a href="/categories/linux">linux</a>
</li>
<li class="menu-item menu-item-type-taxonomy menu-item-object-category">
<a href="/categories/proxmox">proxmox</a>
</li>
<li class="menu-item menu-item-type-taxonomy menu-item-object-category">
<a href="/categories/ps">ps</a>
</li>
<li class="menu-item menu-item-type-taxonomy menu-item-object-category">
<a href="/categories/%E7%A2%8E%E5%BF%B5">碎念</a>
</li>
<li class="menu-item menu-item-type-taxonomy menu-item-object-category">
<a href="/categories/%E7%AD%86%E8%A8%98">筆記</a>
</li>
<li class="menu-item menu-item-type-taxonomy menu-item-object-category">
<a href="/categories/%E7%BE%A4%E6%9A%89">群暉</a>
</li>
<li class="menu-item menu-item-type-taxonomy menu-item-object-category">
<a href="/categories/%E9%9B%9C%E5%BF%B5">雜念</a>
</li>
</ul>
</div>
</div>
<ul class="social-media-icons">
<li>
<a href="full%20Social%20profile%20url%20in%20facebook" data-animate-hover="pulse" class="facebook" target="_blank">
<i class="fab fa-facebook-square" title="facebook"></i>
<span class="screen-reader-text">facebook</span>
</a>
</li>
<li>
<a href="full%20profile%20url%20in%20googleplus" data-animate-hover="pulse" class="gplus" target="_blank">
<i class="fab fa-google-plus-g" title="googleplus"></i>
<span class="screen-reader-text">googleplus</span>
</a>
</li>
<li>
<a href="chang0206" data-animate-hover="pulse" class="twitter" target="_blank">
<i class="fab fa-twitter-square" title="twitter"></i>
<span class="screen-reader-text">twitter</span>
</a>
</li>
<li>
<a href="chang0206" data-animate-hover="pulse" class="instagram" target="_blank">
<i class="fab fa-instagram" title="instagram"></i>
<span class="screen-reader-text">instagram</span>
</a>
</li>
<li>
<a href="mailto:mc@hotshraingmy.info" data-animate-hover="pulse" class="email">
<i class="fas fa-envelope" title="email"></i>
<span class="screen-reader-text">email</span>
</a>
</li>
<li>
<a href="full%20profile%20url%20in%20linkedin" data-animate-hover="pulse" class="linkedin" target="_blank">
<i class="fab fa-linkedin-in" title="linkedin"></i>
<span class="screen-reader-text">linkedin</span>
</a>
</li>
<li>
<a href="full%20profile%20url%20in%20stackoverflow" data-animate-hover="pulse" class="stackoverflow" target="_blank">
<i class="fab fa-stack-overflow" title="stackoverflow"></i>
<span class="screen-reader-text">stackoverflow</span>
</a>
</li>
<li>
<a href="changchichung" data-animate-hover="pulse" class="github" target="_blank">
<i class="fab fa-github" title="github"></i>
<span class="screen-reader-text">github</span>
</a>
</li>
<li>
<a href="full%20profile%20url%20in%20pinterest" data-animate-hover="pulse" class="pinterest" target="_blank">
<i class="fab fa-pinterest" title="pinterest"></i>
<span class="screen-reader-text">pinterest</span>
</a>
</li>
<li>
<a href="https://h.cowbay.org/index.xml" data-animate-hover="pulse" class="rss" target="_blank">
<i class="fas fa-rss" title="rss"></i>
<span class="screen-reader-text">rss</span>
</a>
</li>
</ul></div>
</div>
<div class="container">
<div id="title-info" class="title-info">
<div id='site-title' class='site-title'>
<a href="/"> MC部落 </a>
</div>
</div>
<button id="toggle-navigation" class="toggle-navigation">
<i class="fas fa-bars"></i>
</button>
<div id="menu-primary-tracks" class="menu-primary-tracks"></div>
<div id="menu-primary" class="menu-container menu-primary" role="navigation">
<p class="site-description">Whats the Worst That Could Happen?</p>
<div class="menu">
<ul id="menu-primary-items" class="menu-primary-items">
<li class='menu-item menu-item-type-custom menu-item-object-custom '>
<a href="https://h.cowbay.org/">Home</a>
</li>
<li class='menu-item menu-item-type-post_type menu-item-object-page '>
<a href="https://h.cowbay.org/about/">About</a>
</li>
<li class='menu-item menu-item-type-post_type menu-item-object-page '>
<a href="https://h.cowbay.org/contact/">Get in touch</a>
</li>
</ul>
</div>
</div>
</div>
</header>
<div id="main" class="main" role="main">
<div id="loop-container" class="loop-container">
<div class="post type-post status-publish format-standard has-post-thumbnail hentry category-design tag-design tag-standard-2 tag-tagalicious tag-travel entry full-without-featured odd excerpt-1">
<div class='featured-image lazy lazy-bg-image' data-background="https://h.cowbay.org/images/post-default-13.jpg">
</div>
<div class="entry-meta">
<span class="date">10 January</span> <span> / </span>
<span class="author">
<a href="https://github.com/changchichung" title="Posts by Eric Chang" rel="author">Eric Chang</a>
</span>
<span class="category">
<span> / </span>
<a href="/categories/%E7%AD%86%E8%A8%98">筆記</a>
</span>
</div>
<div class='entry-header'>
<h1 class='entry-title'> [筆記] 第一次玩 Synology High Availability / first try synology high availability</h1>
</div>
<div class="entry-container">
<div class="entry-content">
<article>
<p>上禮拜,原本擔任 proxmox cluster 的主要 storage 的 ds415+ 掛點了</p>
<p>原因應該就是之前的 intel c2000 series cpu 的 bug</p>
<p>只是不知道為什麼這台兩三年來都沒有關機的NAS</p>
<p>比其他三台多撐了那麼久 (已經有兩台送修回來,一台也是同樣症狀,被放在一邊)</p>
<p>趁著這次機會,看看網路上說的換電阻大法有沒有用!</p>
<p>如果有用,就拿這兩台來玩玩 synology high availability !</p>
<p>先要感謝這一篇的作者!</p>
<p><a href="https://www.mobile01.com/topicdetail.php?f=494&amp;t=5600042">https://www.mobile01.com/topicdetail.php?f=494&amp;t=5600042</a></p>
<p>在網路上訂了一大包的 <sup>1</sup>&frasl;<sub>4</sub> w 100Ω 的電阻 (100個才70塊運費都要60了)</p>
<p>照著上面那篇的作法把電阻焊上去NAS就順利開機了</p>
<p>__</p>
<p>架構圖很簡單,只是在做測試而已,又是第一次玩,先不要搞得太複雜</p>
<p><img src="https://i.imgur.com/k7IDZ4Y.png" alt="" /></p>
<p>流程大致如下</p>
<p>設定好NAS Cluster 之後建立NFS 服務</p>
<p>然後在proxmox 主機上掛載這個NFS 空間</p>
<p>接著在proxmox 上建立一台 VM 存放在NFS 空間上</p>
<p>在這台VM裡面持續 ping NAS cluster VIP 192.168.11.85</p>
<p>接著拔掉 192.168.11.87 的兩條網路線模擬NAS cluster 的主伺服器掛點的狀況</p>
<p>這時候VM 還活著,可以正常建立、刪除、檢視檔案,然後 ping 192.168.11.85 也還持續著</p>
<p>NAS的告警信件也正常發出</p>
<p>08:53 NAS High Availability 叢集 ds415cluster 已執行自動故障轉移。 [詳細資訊:無法偵測到 hqs087 (主伺服器)]
08:58 NAS High Availability 叢集 ds415cluster 狀態異常 [詳細資訊:無法偵測到 hqs087 (副伺服器)]</p>
<p>9:08 接回hqs087的網路線</p>
<p>9:09 收到信件 NAS High Availability 叢集 ds415cluster 停止正常運作 [詳細資訊Split-brain 錯誤]</p>
<p>登入管理界面(192.168.11.85:5000) ,操作 HA ,選擇恢復</p>
<p>這時候開始VM 的檔案系統變成是 read only</p>
<p>雖然還活著,但是已經無法建立、刪除檔案,連 cat /var/log/syslog 也會卡住</p>
<p>9:14 VIP NAS cluster 恢復連線,本來卡住的 cat /var/log/syslog 也可以正常顯示內容了</p>
<p>但是系統還是 read onlyreboot VM 之後才恢復正常。</p>
<p>有幾個問題</p>
<ul>
<li>split brain 錯誤</li>
</ul>
<p>這個問題我想應該是因為只有兩台組成clsuter 造成的</p>
<p>如果有第三臺加入應該就不會有這個split brain 的問題</p>
<ul>
<li>VM變成 read only</li>
</ul>
<p>這個我就不知道為什麼了照理說NAS Cluster 已經開始在恢復</p>
<p>在我的觀念裡,應該要能夠「正常」的持續服務</p>
<p>但是VM變成 read only ,而且必須要重新開機才能解決</p>
<p>那這樣NAS Cluster 等於沒有太大作用呀..</p>
<p>來問問看群暉客服好了</p>
</article>
</div>
<div class='entry-meta-bottom'>
<div class="entry-categories"><p><span>Categories</span>
<a href="/categories/%E7%AD%86%E8%A8%98" title="View all posts in 筆記">筆記</a>
</p>
</div>
<div class="entry-tags"><p><span>Tags</span>
<a href="/tags/synology" title="View all posts tagged synology">synology</a>
</p></div> </div>
<div class="author-meta">
<div class="author">
<img alt='Eric Chang' src="https://www.gravatar.com/avatar/23f8ed94e007297499ac8df1641b3ff5?s=100&d=identicon" class='avatar avatar-72 photo' height='72' width='72'>
<span>
Written by:<a href="https://github.com/changchichung" title="Posts by Eric Chang" rel="author">Eric Chang</a> </span>
</div>
<div class="bio">
<p>塵世裡一個迷途小書僮</p>
<a class="facebook" target="_blank"
href="full%20Social%20profile%20url%20in%20facebook">
<i class="fab fa-facebook-f"
title="facebook icon"></i>
</a>
<a class="googleplus" target="_blank"
href="full%20profile%20url%20in%20googleplus">
<i class="fab fa-google-plus-g"
title="googleplus icon"></i>
</a>
<a class="twitter" target="_blank"
href="chang0206">
<i class="fab fa-twitter-square"
title="twitter icon"></i>
</a>
<a class="linkedin" target="_blank"
href="full%20profile%20url%20in%20linkedin">
<i class="fab fa-linkedin"
title="linkedin icon"></i>
</a>
<a class="email" target="_blank"
href="mailto:mc@hotshraingmy.info">
<i class="fas fa-envelope"
title="email icon"></i>
</a>
<a class="instagram" target="_blank"
href="chang0206">
<i class="fab fa-instagram"
title="instagram icon"></i>
</a>
<a class="stackoverflow" target="_blank"
href="full%20profile%20url%20in%20stackoverflow">
<i class="fab fa-stack-overflow"
title="stackoverflow icon"></i>
</a>
<a class="github" target="_blank"
href="changchichung">
<i class="fab fa-github"
title="github icon"></i>
</a>
<a class="pinterest" target="_blank"
href="full%20profile%20url%20in%20pinterest">
<i class="fab fa-pinterest"
title="pinterest icon"></i>
</a>
</div>
</div>
</div>
</div>
<section id="comments" class="comments">
<div id="disqus_thread"></div>
<script type="application/javascript">
var disqus_config = function () {
};
(function() {
if (["localhost", "127.0.0.1"].indexOf(window.location.hostname) != -1) {
document.getElementById('disqus_thread').innerHTML = 'Disqus comments not available by default when the website is previewed locally.';
return;
}
var d = document, s = d.createElement('script'); s.async = true;
s.src = '//' + "h-cowbay-org-1" + '.disqus.com/embed.js';
s.setAttribute('data-timestamp', +new Date());
(d.head || d.body).appendChild(s);
})();
</script>
<noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
<a href="https://disqus.com" class="dsq-brlink">comments powered by <span class="logo-disqus">Disqus</span></a>
</section>
</div>
</div>
<footer id="site-footer" class="site-footer" role="contentinfo">
<h1>
<a href=""> MC部落 </a>
</h1>
<p class="site-description">Whats the Worst That Could Happen?</p>
<div id="menu-footer" class="menu-container menu-footer" role="navigation">
<div class="menu">
<ul id="menu-footer-items" class="menu-footer-items">
</ul>
</div> </div>
<ul class="social-media-icons">
<li>
<a class="facebook" target="_blank"
href="full%20Social%20profile%20url%20in%20facebook" >
<i class="fab fa-facebook-f" title="facebook"></i>
<span class="screen-reader-text">facebook</span>
</a>
</li>
<li>
<a class="googleplus" target="_blank"
href="full%20profile%20url%20in%20googleplus" >
<i class="fab fa-google-plus-g" title="googleplus"></i>
<span class="screen-reader-text">googleplus</span>
</a>
</li>
<li>
<a href="chang0206" class="twitter" target="_blank">
<i class="fab fa-twitter-square" title="twitter"></i>
<span class="screen-reader-text">twitter</span>
</a>
</li>
<li>
<a href="chang0206" class="instagram" target="_blank">
<i class="fab fa-instagram" title="instagram"></i>
<span class="screen-reader-text">instagram</span>
</a>
</li>
<li>
<a href="mailto:mc@hotshraingmy.info" class="email">
<i class="fas fa-envelope" title="email"></i>
<span class="screen-reader-text">email</span>
</a>
</li>
<li>
<a href="full%20profile%20url%20in%20linkedin" class="linkedin" target="_blank">
<i class="fab fa-linkedin-in" title="linkedin"></i>
<span class="screen-reader-text">linkedin</span>
</a>
</li>
<li>
<a href="full%20profile%20url%20in%20stackoverflow" class="stackoverflow" target="_blank">
<i class="fab fa-stack-overflow" title="stackoverflow"></i>
<span class="screen-reader-text">stackoverflow</span>
</a>
</li>
<li>
<a href="changchichung" class="github" target="_blank">
<i class="fab fa-github" title="github"></i>
<span class="screen-reader-text">github</span>
</a>
</li>
<li>
<a href="full%20profile%20url%20in%20pinterest" class="pinterest" target="_blank">
<i class="fab fa-pinterest" title="pinterest"></i>
<span class="screen-reader-text">pinterest</span>
</a>
</li>
<li>
<a href="https://h.cowbay.org/index.xml" data-animate-hover="pulse" class="rss" target="_blank">
<i class="fas fa-rss" title="rss"></i>
<span class="screen-reader-text">rss</span>
</a>
</li>
</ul> <div class="design-credit">
<p>&copy; 2018 Göran Svensson</p>
<p>Nederburg Hugo Theme by <a href="https://appernetic.io">Appernetic</a>.</p>
<p>A port of Tracks by Compete Themes.</p>
</div>
</footer>
</div>
<script src="https://h.cowbay.org/js/jquery.min.js"></script>
<script src="https://h.cowbay.org/js/jquerymigrate.js"></script>
<script src="https://h.cowbay.org/js/production.min.js?v=1581582274"></script>
</body>
</html>

@ -45,9 +45,9 @@
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.3.1/css/all.css" integrity="sha384-mzrmE5qonljUremFsqc01SB46JvROS7bZs3IO2EmfFsd15uHvIt+Y8vEf7N7fWAU" crossorigin="anonymous">
<link href="https://h.cowbay.org/css/style.css?v=1577410044" rel="stylesheet" id="theme-stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/style.css?v=1581582274" rel="stylesheet" id="theme-stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/custom.css?v=1577410044" rel="stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/custom.css?v=1581582274" rel="stylesheet" type='text/css' media='all'>
<link rel="shortcut icon" href="https://h.cowbay.org/img/favicon.ico" type="image/x-icon">
<link rel="icon" href="https://h.cowbay.org/img/favicon.ico" type="image/x-icon">
@ -113,6 +113,10 @@ if (!doNotTrack) {
<a href="/categories/%E7%BE%A4%E6%9A%89">群暉</a>
</li>
<li class="menu-item menu-item-type-taxonomy menu-item-object-category">
<a href="/categories/%E9%9B%9C%E5%BF%B5">雜念</a>
</li>
</ul>
@ -648,7 +652,7 @@ title="pinterest icon"></i>
</div>
<script src="https://h.cowbay.org/js/jquery.min.js"></script>
<script src="https://h.cowbay.org/js/jquerymigrate.js"></script>
<script src="https://h.cowbay.org/js/production.min.js?v=1577410044"></script>
<script src="https://h.cowbay.org/js/production.min.js?v=1581582274"></script>
</body>
</html>

@ -45,9 +45,9 @@
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.3.1/css/all.css" integrity="sha384-mzrmE5qonljUremFsqc01SB46JvROS7bZs3IO2EmfFsd15uHvIt+Y8vEf7N7fWAU" crossorigin="anonymous">
<link href="https://h.cowbay.org/css/style.css?v=1577410044" rel="stylesheet" id="theme-stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/style.css?v=1581582274" rel="stylesheet" id="theme-stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/custom.css?v=1577410044" rel="stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/custom.css?v=1581582274" rel="stylesheet" type='text/css' media='all'>
<link rel="shortcut icon" href="https://h.cowbay.org/img/favicon.ico" type="image/x-icon">
<link rel="icon" href="https://h.cowbay.org/img/favicon.ico" type="image/x-icon">
@ -113,6 +113,10 @@ if (!doNotTrack) {
<a href="/categories/%E7%BE%A4%E6%9A%89">群暉</a>
</li>
<li class="menu-item menu-item-type-taxonomy menu-item-object-category">
<a href="/categories/%E9%9B%9C%E5%BF%B5">雜念</a>
</li>
</ul>
@ -671,7 +675,7 @@ title="pinterest icon"></i>
</div>
<script src="https://h.cowbay.org/js/jquery.min.js"></script>
<script src="https://h.cowbay.org/js/jquerymigrate.js"></script>
<script src="https://h.cowbay.org/js/production.min.js?v=1577410044"></script>
<script src="https://h.cowbay.org/js/production.min.js?v=1581582274"></script>
</body>
</html>

@ -6,11 +6,88 @@
<description>Recent content in Posts on MC部落</description>
<generator>Hugo -- gohugo.io</generator>
<language>en-us</language>
<lastBuildDate>Fri, 27 Dec 2019 09:09:05 +0800</lastBuildDate>
<lastBuildDate>Fri, 17 Jan 2020 12:20:33 +0800</lastBuildDate>
<atom:link href="https://h.cowbay.org/post/index.xml" rel="self" type="application/rss+xml" />
<item>
<title>[筆記] 測試 proxmox 存取由 synology HA cluster 分享的NFS 目錄 / Proxmox With Synology High Availability</title>
<link>https://h.cowbay.org/post/proxmox-with-synology-high-availability/</link>
<pubDate>Fri, 17 Jan 2020 12:20:33 +0800</pubDate>
<guid>https://h.cowbay.org/post/proxmox-with-synology-high-availability/</guid>
<description>&lt;p&gt;前幾天修復了因為intel cpu bug 導致無法使用的 synology DS415+&lt;/p&gt;
&lt;p&gt;詳情請看 &lt;a href=&#34;https://h.cowbay.org/post/first-try-synology-ha/&#34;&gt;https://h.cowbay.org/post/first-try-synology-ha/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;今天趁尾牙前夕,手邊沒啥要緊事&lt;/p&gt;
&lt;p&gt;就來玩玩看promox 加上 synology high availability 再加上 NFS share 的環境&lt;/p&gt;</description>
</item>
<item>
<title>[筆記] 第一次玩 Synology High Availability / first try synology high availability</title>
<link>https://h.cowbay.org/post/first-try-synology-ha/</link>
<pubDate>Fri, 10 Jan 2020 09:48:18 +0800</pubDate>
<guid>https://h.cowbay.org/post/first-try-synology-ha/</guid>
<description>&lt;p&gt;上禮拜,原本擔任 proxmox cluster 的主要 storage 的 ds415+ 掛點了&lt;/p&gt;
&lt;p&gt;原因應該就是之前的 intel c2000 series cpu 的 bug&lt;/p&gt;
&lt;p&gt;只是不知道為什麼這台兩三年來都沒有關機的NAS&lt;/p&gt;
&lt;p&gt;比其他三台多撐了那麼久 (已經有兩台送修回來,一台也是同樣症狀,被放在一邊)&lt;/p&gt;
&lt;p&gt;趁著這次機會,看看網路上說的換電阻大法有沒有用!&lt;/p&gt;
&lt;p&gt;如果有用,就拿這兩台來玩玩 synology high availability !&lt;/p&gt;</description>
</item>
<item>
<title>[筆記] postgresql 效能測試 / postgresql benchmakr using pgbench</title>
<link>https://h.cowbay.org/post/postgresql-pgbench-benchmark/</link>
<pubDate>Tue, 07 Jan 2020 11:18:59 +0800</pubDate>
<guid>https://h.cowbay.org/post/postgresql-pgbench-benchmark/</guid>
<description>&lt;p&gt;昨天老闆在slack 上面問說現在的幾台 DB Server 有沒有跑過 pgbench&lt;/p&gt;
&lt;p&gt;分數大概如何,想要跟他的筆電做個比較&lt;/p&gt;
&lt;p&gt;之前有跑過幾次,這次就順便測試一下不同的硬體配置、以及不同的軟體版本&lt;/p&gt;
&lt;p&gt;對於pgbench 跑分會有多大的影響&lt;/p&gt;</description>
</item>
<item>
<title>[筆記] 用ubuntu livecd 救援群暉 synology NAS內的資料 / rescue synology nas with ubuntu livecd</title>
<link>https://h.cowbay.org/post/rescue-synology-nas-with-ubuntu-livecd/</link>
<pubDate>Fri, 03 Jan 2020 15:43:45 +0800</pubDate>
<guid>https://h.cowbay.org/post/rescue-synology-nas-with-ubuntu-livecd/</guid>
<description>&lt;p&gt;2020/01/02 , 2020年上工的第一天群暉的 DS415+ NAS 掛了!&lt;/p&gt;
&lt;p&gt;因為群暉的文件在最關鍵的一步寫得亂七八糟!&lt;/p&gt;
&lt;p&gt;所以在這邊紀錄一下我操作的步驟!&lt;/p&gt;</description>
</item>
<item>
<title>[碎念] Synology 群暉的文件不知道在工三小 / what a piss in synology document</title>
<link>https://h.cowbay.org/post/what-a-piss-in-synology-document/</link>
<pubDate>Fri, 03 Jan 2020 11:45:56 +0800</pubDate>
<guid>https://h.cowbay.org/post/what-a-piss-in-synology-document/</guid>
<description>&lt;p&gt;2020/01/02 2020 上工的第一天,公司碩果僅存的唯一一台 Synology DS415+ 也終於掛了&lt;/p&gt;
&lt;p&gt;開機沒多久就連不上,反覆幾次之後,出現了開機時所有燈號都狂閃的狀況&lt;/p&gt;
&lt;p&gt;終於宣告不治&lt;/p&gt;
&lt;p&gt;問題很明顯的就是Intel C2000 系列 CPU 的瑕疵&lt;/p&gt;</description>
</item>
<item>
<title>[筆記]在ansible中取得loop register後的值/ Ansible Get Value From Loop Register</title>
<link>https://h.cowbay.org/post/ansible-get-value-from-loop-register/</link>

@ -45,9 +45,9 @@
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.3.1/css/all.css" integrity="sha384-mzrmE5qonljUremFsqc01SB46JvROS7bZs3IO2EmfFsd15uHvIt+Y8vEf7N7fWAU" crossorigin="anonymous">
<link href="https://h.cowbay.org/css/style.css?v=1577410044" rel="stylesheet" id="theme-stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/style.css?v=1581582274" rel="stylesheet" id="theme-stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/custom.css?v=1577410044" rel="stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/custom.css?v=1581582274" rel="stylesheet" type='text/css' media='all'>
<link rel="shortcut icon" href="https://h.cowbay.org/img/favicon.ico" type="image/x-icon">
<link rel="icon" href="https://h.cowbay.org/img/favicon.ico" type="image/x-icon">
@ -113,6 +113,10 @@ if (!doNotTrack) {
<a href="/categories/%E7%BE%A4%E6%9A%89">群暉</a>
</li>
<li class="menu-item menu-item-type-taxonomy menu-item-object-category">
<a href="/categories/%E9%9B%9C%E5%BF%B5">雜念</a>
</li>
</ul>
@ -710,7 +714,7 @@ title="pinterest icon"></i>
</div>
<script src="https://h.cowbay.org/js/jquery.min.js"></script>
<script src="https://h.cowbay.org/js/jquerymigrate.js"></script>
<script src="https://h.cowbay.org/js/production.min.js?v=1577410044"></script>
<script src="https://h.cowbay.org/js/production.min.js?v=1581582274"></script>
</body>
</html>

@ -45,9 +45,9 @@
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.3.1/css/all.css" integrity="sha384-mzrmE5qonljUremFsqc01SB46JvROS7bZs3IO2EmfFsd15uHvIt+Y8vEf7N7fWAU" crossorigin="anonymous">
<link href="https://h.cowbay.org/css/style.css?v=1577410044" rel="stylesheet" id="theme-stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/style.css?v=1581582274" rel="stylesheet" id="theme-stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/custom.css?v=1577410044" rel="stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/custom.css?v=1581582274" rel="stylesheet" type='text/css' media='all'>
<link rel="shortcut icon" href="https://h.cowbay.org/img/favicon.ico" type="image/x-icon">
<link rel="icon" href="https://h.cowbay.org/img/favicon.ico" type="image/x-icon">
@ -113,6 +113,10 @@ if (!doNotTrack) {
<a href="/categories/%E7%BE%A4%E6%9A%89">群暉</a>
</li>
<li class="menu-item menu-item-type-taxonomy menu-item-object-category">
<a href="/categories/%E9%9B%9C%E5%BF%B5">雜念</a>
</li>
</ul>
@ -848,7 +852,7 @@ title="pinterest icon"></i>
</div>
<script src="https://h.cowbay.org/js/jquery.min.js"></script>
<script src="https://h.cowbay.org/js/jquerymigrate.js"></script>
<script src="https://h.cowbay.org/js/production.min.js?v=1577410044"></script>
<script src="https://h.cowbay.org/js/production.min.js?v=1581582274"></script>
</body>
</html>

@ -45,9 +45,9 @@
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.3.1/css/all.css" integrity="sha384-mzrmE5qonljUremFsqc01SB46JvROS7bZs3IO2EmfFsd15uHvIt+Y8vEf7N7fWAU" crossorigin="anonymous">
<link href="https://h.cowbay.org/css/style.css?v=1577410044" rel="stylesheet" id="theme-stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/style.css?v=1581582274" rel="stylesheet" id="theme-stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/custom.css?v=1577410044" rel="stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/custom.css?v=1581582274" rel="stylesheet" type='text/css' media='all'>
<link rel="shortcut icon" href="https://h.cowbay.org/img/favicon.ico" type="image/x-icon">
<link rel="icon" href="https://h.cowbay.org/img/favicon.ico" type="image/x-icon">
@ -113,6 +113,10 @@ if (!doNotTrack) {
<a href="/categories/%E7%BE%A4%E6%9A%89">群暉</a>
</li>
<li class="menu-item menu-item-type-taxonomy menu-item-object-category">
<a href="/categories/%E9%9B%9C%E5%BF%B5">雜念</a>
</li>
</ul>
@ -1173,7 +1177,7 @@ title="pinterest icon"></i>
</div>
<script src="https://h.cowbay.org/js/jquery.min.js"></script>
<script src="https://h.cowbay.org/js/jquerymigrate.js"></script>
<script src="https://h.cowbay.org/js/production.min.js?v=1577410044"></script>
<script src="https://h.cowbay.org/js/production.min.js?v=1581582274"></script>
</body>
</html>

@ -45,9 +45,9 @@
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.3.1/css/all.css" integrity="sha384-mzrmE5qonljUremFsqc01SB46JvROS7bZs3IO2EmfFsd15uHvIt+Y8vEf7N7fWAU" crossorigin="anonymous">
<link href="https://h.cowbay.org/css/style.css?v=1577410044" rel="stylesheet" id="theme-stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/style.css?v=1581582274" rel="stylesheet" id="theme-stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/custom.css?v=1577410044" rel="stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/custom.css?v=1581582274" rel="stylesheet" type='text/css' media='all'>
<link rel="shortcut icon" href="https://h.cowbay.org/img/favicon.ico" type="image/x-icon">
<link rel="icon" href="https://h.cowbay.org/img/favicon.ico" type="image/x-icon">
@ -113,6 +113,10 @@ if (!doNotTrack) {
<a href="/categories/%E7%BE%A4%E6%9A%89">群暉</a>
</li>
<li class="menu-item menu-item-type-taxonomy menu-item-object-category">
<a href="/categories/%E9%9B%9C%E5%BF%B5">雜念</a>
</li>
</ul>
@ -634,7 +638,7 @@ title="pinterest icon"></i>
</div>
<script src="https://h.cowbay.org/js/jquery.min.js"></script>
<script src="https://h.cowbay.org/js/jquerymigrate.js"></script>
<script src="https://h.cowbay.org/js/production.min.js?v=1577410044"></script>
<script src="https://h.cowbay.org/js/production.min.js?v=1581582274"></script>
</body>
</html>

@ -45,9 +45,9 @@
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.3.1/css/all.css" integrity="sha384-mzrmE5qonljUremFsqc01SB46JvROS7bZs3IO2EmfFsd15uHvIt+Y8vEf7N7fWAU" crossorigin="anonymous">
<link href="https://h.cowbay.org/css/style.css?v=1577410044" rel="stylesheet" id="theme-stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/style.css?v=1581582274" rel="stylesheet" id="theme-stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/custom.css?v=1577410044" rel="stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/custom.css?v=1581582274" rel="stylesheet" type='text/css' media='all'>
<link rel="shortcut icon" href="https://h.cowbay.org/img/favicon.ico" type="image/x-icon">
<link rel="icon" href="https://h.cowbay.org/img/favicon.ico" type="image/x-icon">
@ -113,6 +113,10 @@ if (!doNotTrack) {
<a href="/categories/%E7%BE%A4%E6%9A%89">群暉</a>
</li>
<li class="menu-item menu-item-type-taxonomy menu-item-object-category">
<a href="/categories/%E9%9B%9C%E5%BF%B5">雜念</a>
</li>
</ul>
@ -719,7 +723,7 @@ title="pinterest icon"></i>
</div>
<script src="https://h.cowbay.org/js/jquery.min.js"></script>
<script src="https://h.cowbay.org/js/jquerymigrate.js"></script>
<script src="https://h.cowbay.org/js/production.min.js?v=1577410044"></script>
<script src="https://h.cowbay.org/js/production.min.js?v=1581582274"></script>
</body>
</html>

@ -45,9 +45,9 @@
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.3.1/css/all.css" integrity="sha384-mzrmE5qonljUremFsqc01SB46JvROS7bZs3IO2EmfFsd15uHvIt+Y8vEf7N7fWAU" crossorigin="anonymous">
<link href="https://h.cowbay.org/css/style.css?v=1577410044" rel="stylesheet" id="theme-stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/style.css?v=1581582274" rel="stylesheet" id="theme-stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/custom.css?v=1577410044" rel="stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/custom.css?v=1581582274" rel="stylesheet" type='text/css' media='all'>
<link rel="shortcut icon" href="https://h.cowbay.org/img/favicon.ico" type="image/x-icon">
<link rel="icon" href="https://h.cowbay.org/img/favicon.ico" type="image/x-icon">
@ -113,6 +113,10 @@ if (!doNotTrack) {
<a href="/categories/%E7%BE%A4%E6%9A%89">群暉</a>
</li>
<li class="menu-item menu-item-type-taxonomy menu-item-object-category">
<a href="/categories/%E9%9B%9C%E5%BF%B5">雜念</a>
</li>
</ul>
@ -652,7 +656,7 @@ title="pinterest icon"></i>
</div>
<script src="https://h.cowbay.org/js/jquery.min.js"></script>
<script src="https://h.cowbay.org/js/jquerymigrate.js"></script>
<script src="https://h.cowbay.org/js/production.min.js?v=1577410044"></script>
<script src="https://h.cowbay.org/js/production.min.js?v=1581582274"></script>
</body>
</html>

@ -45,9 +45,9 @@
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.3.1/css/all.css" integrity="sha384-mzrmE5qonljUremFsqc01SB46JvROS7bZs3IO2EmfFsd15uHvIt+Y8vEf7N7fWAU" crossorigin="anonymous">
<link href="https://h.cowbay.org/css/style.css?v=1577410044" rel="stylesheet" id="theme-stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/style.css?v=1581582274" rel="stylesheet" id="theme-stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/custom.css?v=1577410044" rel="stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/custom.css?v=1581582274" rel="stylesheet" type='text/css' media='all'>
<link rel="shortcut icon" href="https://h.cowbay.org/img/favicon.ico" type="image/x-icon">
<link rel="icon" href="https://h.cowbay.org/img/favicon.ico" type="image/x-icon">
@ -113,6 +113,10 @@ if (!doNotTrack) {
<a href="/categories/%E7%BE%A4%E6%9A%89">群暉</a>
</li>
<li class="menu-item menu-item-type-taxonomy menu-item-object-category">
<a href="/categories/%E9%9B%9C%E5%BF%B5">雜念</a>
</li>
</ul>
@ -876,7 +880,7 @@ title="pinterest icon"></i>
</div>
<script src="https://h.cowbay.org/js/jquery.min.js"></script>
<script src="https://h.cowbay.org/js/jquerymigrate.js"></script>
<script src="https://h.cowbay.org/js/production.min.js?v=1577410044"></script>
<script src="https://h.cowbay.org/js/production.min.js?v=1581582274"></script>
</body>
</html>

@ -45,9 +45,9 @@
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.3.1/css/all.css" integrity="sha384-mzrmE5qonljUremFsqc01SB46JvROS7bZs3IO2EmfFsd15uHvIt+Y8vEf7N7fWAU" crossorigin="anonymous">
<link href="https://h.cowbay.org/css/style.css?v=1577410044" rel="stylesheet" id="theme-stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/style.css?v=1581582274" rel="stylesheet" id="theme-stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/custom.css?v=1577410044" rel="stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/custom.css?v=1581582274" rel="stylesheet" type='text/css' media='all'>
<link rel="shortcut icon" href="https://h.cowbay.org/img/favicon.ico" type="image/x-icon">
<link rel="icon" href="https://h.cowbay.org/img/favicon.ico" type="image/x-icon">
@ -113,6 +113,10 @@ if (!doNotTrack) {
<a href="/categories/%E7%BE%A4%E6%9A%89">群暉</a>
</li>
<li class="menu-item menu-item-type-taxonomy menu-item-object-category">
<a href="/categories/%E9%9B%9C%E5%BF%B5">雜念</a>
</li>
</ul>
@ -651,7 +655,7 @@ title="pinterest icon"></i>
</div>
<script src="https://h.cowbay.org/js/jquery.min.js"></script>
<script src="https://h.cowbay.org/js/jquerymigrate.js"></script>
<script src="https://h.cowbay.org/js/production.min.js?v=1577410044"></script>
<script src="https://h.cowbay.org/js/production.min.js?v=1581582274"></script>
</body>
</html>

@ -45,9 +45,9 @@
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.3.1/css/all.css" integrity="sha384-mzrmE5qonljUremFsqc01SB46JvROS7bZs3IO2EmfFsd15uHvIt+Y8vEf7N7fWAU" crossorigin="anonymous">
<link href="https://h.cowbay.org/css/style.css?v=1577410044" rel="stylesheet" id="theme-stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/style.css?v=1581582274" rel="stylesheet" id="theme-stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/custom.css?v=1577410044" rel="stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/custom.css?v=1581582274" rel="stylesheet" type='text/css' media='all'>
<link rel="shortcut icon" href="https://h.cowbay.org/img/favicon.ico" type="image/x-icon">
<link rel="icon" href="https://h.cowbay.org/img/favicon.ico" type="image/x-icon">
@ -113,6 +113,10 @@ if (!doNotTrack) {
<a href="/categories/%E7%BE%A4%E6%9A%89">群暉</a>
</li>
<li class="menu-item menu-item-type-taxonomy menu-item-object-category">
<a href="/categories/%E9%9B%9C%E5%BF%B5">雜念</a>
</li>
</ul>
@ -1570,7 +1574,7 @@ title="pinterest icon"></i>
</div>
<script src="https://h.cowbay.org/js/jquery.min.js"></script>
<script src="https://h.cowbay.org/js/jquerymigrate.js"></script>
<script src="https://h.cowbay.org/js/production.min.js?v=1577410044"></script>
<script src="https://h.cowbay.org/js/production.min.js?v=1581582274"></script>
</body>
</html>

@ -45,9 +45,9 @@
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.3.1/css/all.css" integrity="sha384-mzrmE5qonljUremFsqc01SB46JvROS7bZs3IO2EmfFsd15uHvIt+Y8vEf7N7fWAU" crossorigin="anonymous">
<link href="https://h.cowbay.org/css/style.css?v=1577410044" rel="stylesheet" id="theme-stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/style.css?v=1581582274" rel="stylesheet" id="theme-stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/custom.css?v=1577410044" rel="stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/custom.css?v=1581582274" rel="stylesheet" type='text/css' media='all'>
<link rel="shortcut icon" href="https://h.cowbay.org/img/favicon.ico" type="image/x-icon">
<link rel="icon" href="https://h.cowbay.org/img/favicon.ico" type="image/x-icon">
@ -113,6 +113,10 @@ if (!doNotTrack) {
<a href="/categories/%E7%BE%A4%E6%9A%89">群暉</a>
</li>
<li class="menu-item menu-item-type-taxonomy menu-item-object-category">
<a href="/categories/%E9%9B%9C%E5%BF%B5">雜念</a>
</li>
</ul>
@ -740,7 +744,7 @@ title="pinterest icon"></i>
</div>
<script src="https://h.cowbay.org/js/jquery.min.js"></script>
<script src="https://h.cowbay.org/js/jquerymigrate.js"></script>
<script src="https://h.cowbay.org/js/production.min.js?v=1577410044"></script>
<script src="https://h.cowbay.org/js/production.min.js?v=1581582274"></script>
</body>
</html>

@ -45,9 +45,9 @@
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.3.1/css/all.css" integrity="sha384-mzrmE5qonljUremFsqc01SB46JvROS7bZs3IO2EmfFsd15uHvIt+Y8vEf7N7fWAU" crossorigin="anonymous">
<link href="https://h.cowbay.org/css/style.css?v=1577410044" rel="stylesheet" id="theme-stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/style.css?v=1581582274" rel="stylesheet" id="theme-stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/custom.css?v=1577410044" rel="stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/custom.css?v=1581582274" rel="stylesheet" type='text/css' media='all'>
<link rel="shortcut icon" href="https://h.cowbay.org/img/favicon.ico" type="image/x-icon">
<link rel="icon" href="https://h.cowbay.org/img/favicon.ico" type="image/x-icon">
@ -113,6 +113,10 @@ if (!doNotTrack) {
<a href="/categories/%E7%BE%A4%E6%9A%89">群暉</a>
</li>
<li class="menu-item menu-item-type-taxonomy menu-item-object-category">
<a href="/categories/%E9%9B%9C%E5%BF%B5">雜念</a>
</li>
</ul>
@ -904,7 +908,7 @@ title="pinterest icon"></i>
</div>
<script src="https://h.cowbay.org/js/jquery.min.js"></script>
<script src="https://h.cowbay.org/js/jquerymigrate.js"></script>
<script src="https://h.cowbay.org/js/production.min.js?v=1577410044"></script>
<script src="https://h.cowbay.org/js/production.min.js?v=1581582274"></script>
</body>
</html>

@ -45,9 +45,9 @@
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.3.1/css/all.css" integrity="sha384-mzrmE5qonljUremFsqc01SB46JvROS7bZs3IO2EmfFsd15uHvIt+Y8vEf7N7fWAU" crossorigin="anonymous">
<link href="https://h.cowbay.org/css/style.css?v=1577410044" rel="stylesheet" id="theme-stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/style.css?v=1581582274" rel="stylesheet" id="theme-stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/custom.css?v=1577410044" rel="stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/custom.css?v=1581582274" rel="stylesheet" type='text/css' media='all'>
<link rel="shortcut icon" href="https://h.cowbay.org/img/favicon.ico" type="image/x-icon">
<link rel="icon" href="https://h.cowbay.org/img/favicon.ico" type="image/x-icon">
@ -113,6 +113,10 @@ if (!doNotTrack) {
<a href="/categories/%E7%BE%A4%E6%9A%89">群暉</a>
</li>
<li class="menu-item menu-item-type-taxonomy menu-item-object-category">
<a href="/categories/%E9%9B%9C%E5%BF%B5">雜念</a>
</li>
</ul>
@ -1005,7 +1009,7 @@ title="pinterest icon"></i>
</div>
<script src="https://h.cowbay.org/js/jquery.min.js"></script>
<script src="https://h.cowbay.org/js/jquerymigrate.js"></script>
<script src="https://h.cowbay.org/js/production.min.js?v=1577410044"></script>
<script src="https://h.cowbay.org/js/production.min.js?v=1581582274"></script>
</body>
</html>

@ -0,0 +1,699 @@
<!DOCTYPE html>
<html lang="en-us">
<head><meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<script type="application/ld+json">
{
"@context" : "http://schema.org",
"@type" : "BlogPosting",
"mainEntityOfPage": {
"@type": "WebPage",
"@id": "https:\/\/h.cowbay.org"
},
"articleSection" : "post",
"name" : "[筆記] postgresql 效能測試 \/ postgresql benchmakr using pgbench",
"headline" : "[筆記] postgresql 效能測試 \/ postgresql benchmakr using pgbench",
"description" : "\x3cp\x3e昨天老闆在slack 上面問說現在的幾台 DB Server 有沒有跑過 pgbench\x3c\/p\x3e\n\n\x3cp\x3e分數大概如何想要跟他的筆電做個比較\x3c\/p\x3e\n\n\x3cp\x3e之前有跑過幾次這次就順便測試一下不同的硬體配置、以及不同的軟體版本\x3c\/p\x3e\n\n\x3cp\x3e對於pgbench 跑分會有多大的影響\x3c\/p\x3e",
"inLanguage" : "en",
"author" : "Eric Chang",
"creator" : "Eric Chang",
"publisher": "Eric Chang",
"accountablePerson" : "Eric Chang",
"copyrightHolder" : "Eric Chang",
"copyrightYear" : "2020",
"datePublished": "2020-01-07 11:18:59 \x2b0800 CST",
"dateModified" : "2020-01-07 11:18:59 \x2b0800 CST",
"url" : "https:\/\/h.cowbay.org\/post\/postgresql-pgbench-benchmark\/",
"wordCount" : "336",
"image" : "https://h.cowbay.orghttps://h.cowbay.org/images/post-default-17.jpg"",
"keywords" : [ ""postgresql"",""pgbench"","Blog" ]
}
</script>
<title>[筆記] postgresql 效能測試 / postgresql benchmakr using pgbench </title>
<meta name="description" content="some articles about job,food,passion sisters" />
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="robots" content="all,follow">
<meta name="googlebot" content="index,follow,snippet,archive">
<link rel="stylesheet" id="ct-tracks-google-fonts-css" href="https://fonts.googleapis.com/css?family=Raleway%3A400%2C700&amp;subset=latin%2Clatin-ext&amp;ver=4.7.2" type="text/css" media="all">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.3.1/css/all.css" integrity="sha384-mzrmE5qonljUremFsqc01SB46JvROS7bZs3IO2EmfFsd15uHvIt+Y8vEf7N7fWAU" crossorigin="anonymous">
<link href="https://h.cowbay.org/css/style.css?v=1581582274" rel="stylesheet" id="theme-stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/custom.css?v=1581582274" rel="stylesheet" type='text/css' media='all'>
<link rel="shortcut icon" href="https://h.cowbay.org/img/favicon.ico" type="image/x-icon">
<link rel="icon" href="https://h.cowbay.org/img/favicon.ico" type="image/x-icon">
<script type="application/javascript">
var doNotTrack = false;
if (!doNotTrack) {
window.ga=window.ga||function(){(ga.q=ga.q||[]).push(arguments)};ga.l=+new Date;
ga('create', 'UA-138954876-1', 'auto');
ga('send', 'pageview');
}
</script>
<script async src='https://www.google-analytics.com/analytics.js'></script>
</head>
<body class="post-template-default single single-post single-format-standard ct-body singular singular-post not-front standard">
<div id="overflow-container" class="overflow-container">
<a class="skip-content" href="#main">Skip to content</a>
<header id="site-header" class="site-header" role="banner">
<div class='top-navigation'>
<div class='container'>
<div id="menu-secondary" class="menu-container menu-secondary" role="navigation">
<button id="toggle-secondary-navigation" class="toggle-secondary-navigation"><i class="fas fa-plus"></i></button>
<div class="menu">
<ul id="menu-secondary-items" class="menu-secondary-items">
<li class="menu-item menu-item-type-taxonomy menu-item-object-category">
<a href="/categories/"></a>
</li>
<li class="menu-item menu-item-type-taxonomy menu-item-object-category">
<a href="/categories/ansible">ansible</a>
</li>
<li class="menu-item menu-item-type-taxonomy menu-item-object-category">
<a href="/categories/linux">linux</a>
</li>
<li class="menu-item menu-item-type-taxonomy menu-item-object-category">
<a href="/categories/proxmox">proxmox</a>
</li>
<li class="menu-item menu-item-type-taxonomy menu-item-object-category">
<a href="/categories/ps">ps</a>
</li>
<li class="menu-item menu-item-type-taxonomy menu-item-object-category">
<a href="/categories/%E7%A2%8E%E5%BF%B5">碎念</a>
</li>
<li class="menu-item menu-item-type-taxonomy menu-item-object-category">
<a href="/categories/%E7%AD%86%E8%A8%98">筆記</a>
</li>
<li class="menu-item menu-item-type-taxonomy menu-item-object-category">
<a href="/categories/%E7%BE%A4%E6%9A%89">群暉</a>
</li>
<li class="menu-item menu-item-type-taxonomy menu-item-object-category">
<a href="/categories/%E9%9B%9C%E5%BF%B5">雜念</a>
</li>
</ul>
</div>
</div>
<ul class="social-media-icons">
<li>
<a href="full%20Social%20profile%20url%20in%20facebook" data-animate-hover="pulse" class="facebook" target="_blank">
<i class="fab fa-facebook-square" title="facebook"></i>
<span class="screen-reader-text">facebook</span>
</a>
</li>
<li>
<a href="full%20profile%20url%20in%20googleplus" data-animate-hover="pulse" class="gplus" target="_blank">
<i class="fab fa-google-plus-g" title="googleplus"></i>
<span class="screen-reader-text">googleplus</span>
</a>
</li>
<li>
<a href="chang0206" data-animate-hover="pulse" class="twitter" target="_blank">
<i class="fab fa-twitter-square" title="twitter"></i>
<span class="screen-reader-text">twitter</span>
</a>
</li>
<li>
<a href="chang0206" data-animate-hover="pulse" class="instagram" target="_blank">
<i class="fab fa-instagram" title="instagram"></i>
<span class="screen-reader-text">instagram</span>
</a>
</li>
<li>
<a href="mailto:mc@hotshraingmy.info" data-animate-hover="pulse" class="email">
<i class="fas fa-envelope" title="email"></i>
<span class="screen-reader-text">email</span>
</a>
</li>
<li>
<a href="full%20profile%20url%20in%20linkedin" data-animate-hover="pulse" class="linkedin" target="_blank">
<i class="fab fa-linkedin-in" title="linkedin"></i>
<span class="screen-reader-text">linkedin</span>
</a>
</li>
<li>
<a href="full%20profile%20url%20in%20stackoverflow" data-animate-hover="pulse" class="stackoverflow" target="_blank">
<i class="fab fa-stack-overflow" title="stackoverflow"></i>
<span class="screen-reader-text">stackoverflow</span>
</a>
</li>
<li>
<a href="changchichung" data-animate-hover="pulse" class="github" target="_blank">
<i class="fab fa-github" title="github"></i>
<span class="screen-reader-text">github</span>
</a>
</li>
<li>
<a href="full%20profile%20url%20in%20pinterest" data-animate-hover="pulse" class="pinterest" target="_blank">
<i class="fab fa-pinterest" title="pinterest"></i>
<span class="screen-reader-text">pinterest</span>
</a>
</li>
<li>
<a href="https://h.cowbay.org/index.xml" data-animate-hover="pulse" class="rss" target="_blank">
<i class="fas fa-rss" title="rss"></i>
<span class="screen-reader-text">rss</span>
</a>
</li>
</ul></div>
</div>
<div class="container">
<div id="title-info" class="title-info">
<div id='site-title' class='site-title'>
<a href="/"> MC部落 </a>
</div>
</div>
<button id="toggle-navigation" class="toggle-navigation">
<i class="fas fa-bars"></i>
</button>
<div id="menu-primary-tracks" class="menu-primary-tracks"></div>
<div id="menu-primary" class="menu-container menu-primary" role="navigation">
<p class="site-description">Whats the Worst That Could Happen?</p>
<div class="menu">
<ul id="menu-primary-items" class="menu-primary-items">
<li class='menu-item menu-item-type-custom menu-item-object-custom '>
<a href="https://h.cowbay.org/">Home</a>
</li>
<li class='menu-item menu-item-type-post_type menu-item-object-page '>
<a href="https://h.cowbay.org/about/">About</a>
</li>
<li class='menu-item menu-item-type-post_type menu-item-object-page '>
<a href="https://h.cowbay.org/contact/">Get in touch</a>
</li>
</ul>
</div>
</div>
</div>
</header>
<div id="main" class="main" role="main">
<div id="loop-container" class="loop-container">
<div class="post type-post status-publish format-standard has-post-thumbnail hentry category-design tag-design tag-standard-2 tag-tagalicious tag-travel entry full-without-featured odd excerpt-1">
<div class='featured-image lazy lazy-bg-image' data-background="https://h.cowbay.org/images/post-default-17.jpg">
</div>
<div class="entry-meta">
<span class="date">07 January</span> <span> / </span>
<span class="author">
<a href="https://github.com/changchichung" title="Posts by Eric Chang" rel="author">Eric Chang</a>
</span>
<span class="category">
<span> / </span>
<a href="/categories/%E7%AD%86%E8%A8%98">筆記</a>
</span>
</div>
<div class='entry-header'>
<h1 class='entry-title'> [筆記] postgresql 效能測試 / postgresql benchmakr using pgbench</h1>
</div>
<div class="entry-container">
<div class="entry-content">
<article>
<p>昨天老闆在slack 上面問說現在的幾台 DB Server 有沒有跑過 pgbench</p>
<p>分數大概如何,想要跟他的筆電做個比較</p>
<p>之前有跑過幾次,這次就順便測試一下不同的硬體配置、以及不同的軟體版本</p>
<p>對於pgbench 跑分會有多大的影響</p>
<p>OS: ubuntu 18.04.3 x64
postgresql 版本: 10 / 11 / 12
硬碟分成兩種,一個是透過 NFS 10G 網路存取的storage一個是本機三顆硬碟組成的 zfs raidz</p>
<p>大概步驟就是安裝postgresql &amp; tools 然後initialize pgbench table 最後就跑pgbench 測試</p>
<h3 id="install-tools-for-postgresql">install tools for postgresql</h3>
<p>sudo apt install postgresql-contrib</p>
<h3 id="su-to-postgres-and-initialize-pgbench-database">su to postgres and initialize pgbench database</h3>
<p>sudo su - postgres
createdb pgbench
pgbench -i -U postgres -s 10 pgbench</p>
<h3 id="running-the-test">running the test</h3>
<p>pgbench -t 100 -c 100 -S -U postgres pgbench</p>
<p>得出來的結果如下</p>
<p>| | 2 cores / 16G | 4 cores / 16G |
| &mdash; | &mdash; | &mdash; | PGTUNE | NO PGTUNE | PGTUNE | NO PGTUNE |
| PSQL Version | 10G Storage | Local Raidz | 10G Storage | Local Raidz | 10G Storage | Local Raidz | 10G Storage | Local Raidz |
| 10 | 9014.144993 | 9395.847239 | 9508.819462 | 10192.27069 | 13280.99918 | 13819.12767 | 15257.69002 | 15397.53475 |
| 11 | 9418.477212 | 9333.790266 | 9070.990565 | 9071.182748 | 15455.80444 | 16079.6638 | 15710.24677 | 14274.59939 |
| 12 | 8630.21746 | 8872.475173 | 9072.034237 | 9217.547833 | 16116.7502 | 12380.71452 | 17409.10363 | 14520.79393 |</p>
<p>Update: 喵的 Markdown 的表格不支援 colspan ,只好改用圖片方式呈現</p>
<p><img src="https://i.imgur.com/vQFfj6Y.png" alt="'postgresql pgbench banchmark reults'" /></p>
<p>另外補上一個 2 cores / 2G RAM 的結果</p>
<h3 id="postgresql-10-2g-ram-hdd-on-10g-storage">postgresql 10 , 2G RAM , HDD on 10G Storage</h3>
<pre><code>postgres@ubuntu:~$ pgbench -t 100 -c 100 -S -U postgres pgbench
starting vacuum...end.
transaction type: &lt;builtin: select only&gt;
scaling factor: 10
query mode: simple
number of clients: 100
number of threads: 1
number of transactions per client: 100
number of transactions actually processed: 10000/10000
latency average = 11.583 ms
tps = 8633.209610 (including connections establishing)
tps = 8651.036900 (excluding connections establishing)
</code></pre>
<p>有幾個地方值得注意</p>
<ul>
<li><p>記憶體 2G-&gt;16G 效能的增加並沒有很明顯 tps 從 8633 略為上升到 9014</p>
<ul>
<li>這個倒是讓我滿意外的一直以來都認為postgresql 非常的需要記憶體,但是實際跑測試卻不是這樣</li>
</ul></li>
<li><p>pgtune 的影響不大,甚至可以說是會降低效能</p>
<ul>
<li>pgtune 是一個網頁服務可以協助做出「理論上」建議使用的postgresql config
<a href="https://pgtune.leopard.in.ua/#/">https://pgtune.leopard.in.ua/#/</a></li>
<li>從結果可以看出使用pgtune 做出來的config 跟完全使用預設值的config 相比pgtune的效能大部分都略低於預設值</li>
<li>這也讓我很好奇或許要花更多時間去研究postgresql 的config但是我不是 DBA 啊!</li>
</ul></li>
<li><p>CPU 核心數很明顯地影響pgbench</p>
<ul>
<li>從表格中可以看到當CPU Cores 增加pgbench的效能也明顯增加</li>
<li><p>而我甚至還沒有指定用多核心去執行測試,如果要用多核心去測試,要把測試指令改成</p>
<pre><code>pgbench -j 4 -t 100 -c 100 -S -U postgres pgbench
</code></pre></li>
</ul></li>
<li><p>10G Storage和 3顆 2T SATA硬碟組成的 raidz 效能差不多</p>
<ul>
<li>如果本機改用 SSD RAID 甚至是 NVME SSD RAID ,效能應該會提高更多</li>
<li>10G的部份最多大概就是略低於 1000MB 左右</li>
<li>如果換成 SSD 效能應該是還會提昇但是有限畢竟10Gb的頻寬限制就在那邊(理論值1250MB左右)</li>
</ul></li>
</ul>
</article>
</div>
<div class='entry-meta-bottom'>
<div class="entry-categories"><p><span>Categories</span>
<a href="/categories/%E7%AD%86%E8%A8%98" title="View all posts in 筆記">筆記</a>
</p>
</div>
<div class="entry-tags"><p><span>Tags</span>
<a href="/tags/postgresql" title="View all posts tagged postgresql">postgresql</a>
<a href="/tags/pgbench" title="View all posts tagged pgbench">pgbench</a>
</p></div> </div>
<div class="author-meta">
<div class="author">
<img alt='Eric Chang' src="https://www.gravatar.com/avatar/23f8ed94e007297499ac8df1641b3ff5?s=100&d=identicon" class='avatar avatar-72 photo' height='72' width='72'>
<span>
Written by:<a href="https://github.com/changchichung" title="Posts by Eric Chang" rel="author">Eric Chang</a> </span>
</div>
<div class="bio">
<p>塵世裡一個迷途小書僮</p>
<a class="facebook" target="_blank"
href="full%20Social%20profile%20url%20in%20facebook">
<i class="fab fa-facebook-f"
title="facebook icon"></i>
</a>
<a class="googleplus" target="_blank"
href="full%20profile%20url%20in%20googleplus">
<i class="fab fa-google-plus-g"
title="googleplus icon"></i>
</a>
<a class="twitter" target="_blank"
href="chang0206">
<i class="fab fa-twitter-square"
title="twitter icon"></i>
</a>
<a class="linkedin" target="_blank"
href="full%20profile%20url%20in%20linkedin">
<i class="fab fa-linkedin"
title="linkedin icon"></i>
</a>
<a class="email" target="_blank"
href="mailto:mc@hotshraingmy.info">
<i class="fas fa-envelope"
title="email icon"></i>
</a>
<a class="instagram" target="_blank"
href="chang0206">
<i class="fab fa-instagram"
title="instagram icon"></i>
</a>
<a class="stackoverflow" target="_blank"
href="full%20profile%20url%20in%20stackoverflow">
<i class="fab fa-stack-overflow"
title="stackoverflow icon"></i>
</a>
<a class="github" target="_blank"
href="changchichung">
<i class="fab fa-github"
title="github icon"></i>
</a>
<a class="pinterest" target="_blank"
href="full%20profile%20url%20in%20pinterest">
<i class="fab fa-pinterest"
title="pinterest icon"></i>
</a>
</div>
</div>
</div>
</div>
<section id="comments" class="comments">
<div id="disqus_thread"></div>
<script type="application/javascript">
var disqus_config = function () {
};
(function() {
if (["localhost", "127.0.0.1"].indexOf(window.location.hostname) != -1) {
document.getElementById('disqus_thread').innerHTML = 'Disqus comments not available by default when the website is previewed locally.';
return;
}
var d = document, s = d.createElement('script'); s.async = true;
s.src = '//' + "h-cowbay-org-1" + '.disqus.com/embed.js';
s.setAttribute('data-timestamp', +new Date());
(d.head || d.body).appendChild(s);
})();
</script>
<noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
<a href="https://disqus.com" class="dsq-brlink">comments powered by <span class="logo-disqus">Disqus</span></a>
</section>
</div>
</div>
<footer id="site-footer" class="site-footer" role="contentinfo">
<h1>
<a href=""> MC部落 </a>
</h1>
<p class="site-description">Whats the Worst That Could Happen?</p>
<div id="menu-footer" class="menu-container menu-footer" role="navigation">
<div class="menu">
<ul id="menu-footer-items" class="menu-footer-items">
</ul>
</div> </div>
<ul class="social-media-icons">
<li>
<a class="facebook" target="_blank"
href="full%20Social%20profile%20url%20in%20facebook" >
<i class="fab fa-facebook-f" title="facebook"></i>
<span class="screen-reader-text">facebook</span>
</a>
</li>
<li>
<a class="googleplus" target="_blank"
href="full%20profile%20url%20in%20googleplus" >
<i class="fab fa-google-plus-g" title="googleplus"></i>
<span class="screen-reader-text">googleplus</span>
</a>
</li>
<li>
<a href="chang0206" class="twitter" target="_blank">
<i class="fab fa-twitter-square" title="twitter"></i>
<span class="screen-reader-text">twitter</span>
</a>
</li>
<li>
<a href="chang0206" class="instagram" target="_blank">
<i class="fab fa-instagram" title="instagram"></i>
<span class="screen-reader-text">instagram</span>
</a>
</li>
<li>
<a href="mailto:mc@hotshraingmy.info" class="email">
<i class="fas fa-envelope" title="email"></i>
<span class="screen-reader-text">email</span>
</a>
</li>
<li>
<a href="full%20profile%20url%20in%20linkedin" class="linkedin" target="_blank">
<i class="fab fa-linkedin-in" title="linkedin"></i>
<span class="screen-reader-text">linkedin</span>
</a>
</li>
<li>
<a href="full%20profile%20url%20in%20stackoverflow" class="stackoverflow" target="_blank">
<i class="fab fa-stack-overflow" title="stackoverflow"></i>
<span class="screen-reader-text">stackoverflow</span>
</a>
</li>
<li>
<a href="changchichung" class="github" target="_blank">
<i class="fab fa-github" title="github"></i>
<span class="screen-reader-text">github</span>
</a>
</li>
<li>
<a href="full%20profile%20url%20in%20pinterest" class="pinterest" target="_blank">
<i class="fab fa-pinterest" title="pinterest"></i>
<span class="screen-reader-text">pinterest</span>
</a>
</li>
<li>
<a href="https://h.cowbay.org/index.xml" data-animate-hover="pulse" class="rss" target="_blank">
<i class="fas fa-rss" title="rss"></i>
<span class="screen-reader-text">rss</span>
</a>
</li>
</ul> <div class="design-credit">
<p>&copy; 2018 Göran Svensson</p>
<p>Nederburg Hugo Theme by <a href="https://appernetic.io">Appernetic</a>.</p>
<p>A port of Tracks by Compete Themes.</p>
</div>
</footer>
</div>
<script src="https://h.cowbay.org/js/jquery.min.js"></script>
<script src="https://h.cowbay.org/js/jquerymigrate.js"></script>
<script src="https://h.cowbay.org/js/production.min.js?v=1581582274"></script>
</body>
</html>

@ -0,0 +1,666 @@
<!DOCTYPE html>
<html lang="en-us">
<head><meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<script type="application/ld+json">
{
"@context" : "http://schema.org",
"@type" : "BlogPosting",
"mainEntityOfPage": {
"@type": "WebPage",
"@id": "https:\/\/h.cowbay.org"
},
"articleSection" : "post",
"name" : "[筆記] 測試 proxmox 存取由 synology HA cluster 分享的NFS 目錄 \/ Proxmox With Synology High Availability",
"headline" : "[筆記] 測試 proxmox 存取由 synology HA cluster 分享的NFS 目錄 \/ Proxmox With Synology High Availability",
"description" : "\x3cp\x3e前幾天修復了因為intel cpu bug 導致無法使用的 synology DS415\x2b\x3c\/p\x3e\n\n\x3cp\x3e詳情請看 \x3ca href=\x22https:\/\/h.cowbay.org\/post\/first-try-synology-ha\/\x22\x3ehttps:\/\/h.cowbay.org\/post\/first-try-synology-ha\/\x3c\/a\x3e\x3c\/p\x3e\n\n\x3cp\x3e今天趁尾牙前夕手邊沒啥要緊事\x3c\/p\x3e\n\n\x3cp\x3e就來玩玩看promox 加上 synology high availability 再加上 NFS share 的環境\x3c\/p\x3e",
"inLanguage" : "en",
"author" : "Eric Chang",
"creator" : "Eric Chang",
"publisher": "Eric Chang",
"accountablePerson" : "Eric Chang",
"copyrightHolder" : "Eric Chang",
"copyrightYear" : "2020",
"datePublished": "2020-01-17 12:20:33 \x2b0800 CST",
"dateModified" : "2020-01-17 12:20:33 \x2b0800 CST",
"url" : "https:\/\/h.cowbay.org\/post\/proxmox-with-synology-high-availability\/",
"wordCount" : "102",
"image" : "https://h.cowbay.orghttps://h.cowbay.org/images/post-default-18.jpg"",
"keywords" : [ ""synology"",""proxmox"",""high Availability"","Blog" ]
}
</script>
<title>[筆記] 測試 proxmox 存取由 synology HA cluster 分享的NFS 目錄 / Proxmox With Synology High Availability </title>
<meta name="description" content="some articles about job,food,passion sisters" />
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="robots" content="all,follow">
<meta name="googlebot" content="index,follow,snippet,archive">
<link rel="stylesheet" id="ct-tracks-google-fonts-css" href="https://fonts.googleapis.com/css?family=Raleway%3A400%2C700&amp;subset=latin%2Clatin-ext&amp;ver=4.7.2" type="text/css" media="all">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.3.1/css/all.css" integrity="sha384-mzrmE5qonljUremFsqc01SB46JvROS7bZs3IO2EmfFsd15uHvIt+Y8vEf7N7fWAU" crossorigin="anonymous">
<link href="https://h.cowbay.org/css/style.css?v=1581582274" rel="stylesheet" id="theme-stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/custom.css?v=1581582274" rel="stylesheet" type='text/css' media='all'>
<link rel="shortcut icon" href="https://h.cowbay.org/img/favicon.ico" type="image/x-icon">
<link rel="icon" href="https://h.cowbay.org/img/favicon.ico" type="image/x-icon">
<script type="application/javascript">
var doNotTrack = false;
if (!doNotTrack) {
window.ga=window.ga||function(){(ga.q=ga.q||[]).push(arguments)};ga.l=+new Date;
ga('create', 'UA-138954876-1', 'auto');
ga('send', 'pageview');
}
</script>
<script async src='https://www.google-analytics.com/analytics.js'></script>
</head>
<body class="post-template-default single single-post single-format-standard ct-body singular singular-post not-front standard">
<div id="overflow-container" class="overflow-container">
<a class="skip-content" href="#main">Skip to content</a>
<header id="site-header" class="site-header" role="banner">
<div class='top-navigation'>
<div class='container'>
<div id="menu-secondary" class="menu-container menu-secondary" role="navigation">
<button id="toggle-secondary-navigation" class="toggle-secondary-navigation"><i class="fas fa-plus"></i></button>
<div class="menu">
<ul id="menu-secondary-items" class="menu-secondary-items">
<li class="menu-item menu-item-type-taxonomy menu-item-object-category">
<a href="/categories/"></a>
</li>
<li class="menu-item menu-item-type-taxonomy menu-item-object-category">
<a href="/categories/ansible">ansible</a>
</li>
<li class="menu-item menu-item-type-taxonomy menu-item-object-category">
<a href="/categories/linux">linux</a>
</li>
<li class="menu-item menu-item-type-taxonomy menu-item-object-category">
<a href="/categories/proxmox">proxmox</a>
</li>
<li class="menu-item menu-item-type-taxonomy menu-item-object-category">
<a href="/categories/ps">ps</a>
</li>
<li class="menu-item menu-item-type-taxonomy menu-item-object-category">
<a href="/categories/%E7%A2%8E%E5%BF%B5">碎念</a>
</li>
<li class="menu-item menu-item-type-taxonomy menu-item-object-category">
<a href="/categories/%E7%AD%86%E8%A8%98">筆記</a>
</li>
<li class="menu-item menu-item-type-taxonomy menu-item-object-category">
<a href="/categories/%E7%BE%A4%E6%9A%89">群暉</a>
</li>
<li class="menu-item menu-item-type-taxonomy menu-item-object-category">
<a href="/categories/%E9%9B%9C%E5%BF%B5">雜念</a>
</li>
</ul>
</div>
</div>
<ul class="social-media-icons">
<li>
<a href="full%20Social%20profile%20url%20in%20facebook" data-animate-hover="pulse" class="facebook" target="_blank">
<i class="fab fa-facebook-square" title="facebook"></i>
<span class="screen-reader-text">facebook</span>
</a>
</li>
<li>
<a href="full%20profile%20url%20in%20googleplus" data-animate-hover="pulse" class="gplus" target="_blank">
<i class="fab fa-google-plus-g" title="googleplus"></i>
<span class="screen-reader-text">googleplus</span>
</a>
</li>
<li>
<a href="chang0206" data-animate-hover="pulse" class="twitter" target="_blank">
<i class="fab fa-twitter-square" title="twitter"></i>
<span class="screen-reader-text">twitter</span>
</a>
</li>
<li>
<a href="chang0206" data-animate-hover="pulse" class="instagram" target="_blank">
<i class="fab fa-instagram" title="instagram"></i>
<span class="screen-reader-text">instagram</span>
</a>
</li>
<li>
<a href="mailto:mc@hotshraingmy.info" data-animate-hover="pulse" class="email">
<i class="fas fa-envelope" title="email"></i>
<span class="screen-reader-text">email</span>
</a>
</li>
<li>
<a href="full%20profile%20url%20in%20linkedin" data-animate-hover="pulse" class="linkedin" target="_blank">
<i class="fab fa-linkedin-in" title="linkedin"></i>
<span class="screen-reader-text">linkedin</span>
</a>
</li>
<li>
<a href="full%20profile%20url%20in%20stackoverflow" data-animate-hover="pulse" class="stackoverflow" target="_blank">
<i class="fab fa-stack-overflow" title="stackoverflow"></i>
<span class="screen-reader-text">stackoverflow</span>
</a>
</li>
<li>
<a href="changchichung" data-animate-hover="pulse" class="github" target="_blank">
<i class="fab fa-github" title="github"></i>
<span class="screen-reader-text">github</span>
</a>
</li>
<li>
<a href="full%20profile%20url%20in%20pinterest" data-animate-hover="pulse" class="pinterest" target="_blank">
<i class="fab fa-pinterest" title="pinterest"></i>
<span class="screen-reader-text">pinterest</span>
</a>
</li>
<li>
<a href="https://h.cowbay.org/index.xml" data-animate-hover="pulse" class="rss" target="_blank">
<i class="fas fa-rss" title="rss"></i>
<span class="screen-reader-text">rss</span>
</a>
</li>
</ul></div>
</div>
<div class="container">
<div id="title-info" class="title-info">
<div id='site-title' class='site-title'>
<a href="/"> MC部落 </a>
</div>
</div>
<button id="toggle-navigation" class="toggle-navigation">
<i class="fas fa-bars"></i>
</button>
<div id="menu-primary-tracks" class="menu-primary-tracks"></div>
<div id="menu-primary" class="menu-container menu-primary" role="navigation">
<p class="site-description">Whats the Worst That Could Happen?</p>
<div class="menu">
<ul id="menu-primary-items" class="menu-primary-items">
<li class='menu-item menu-item-type-custom menu-item-object-custom '>
<a href="https://h.cowbay.org/">Home</a>
</li>
<li class='menu-item menu-item-type-post_type menu-item-object-page '>
<a href="https://h.cowbay.org/about/">About</a>
</li>
<li class='menu-item menu-item-type-post_type menu-item-object-page '>
<a href="https://h.cowbay.org/contact/">Get in touch</a>
</li>
</ul>
</div>
</div>
</div>
</header>
<div id="main" class="main" role="main">
<div id="loop-container" class="loop-container">
<div class="post type-post status-publish format-standard has-post-thumbnail hentry category-design tag-design tag-standard-2 tag-tagalicious tag-travel entry full-without-featured odd excerpt-1">
<div class='featured-image lazy lazy-bg-image' data-background="https://h.cowbay.org/images/post-default-18.jpg">
</div>
<div class="entry-meta">
<span class="date">17 January</span> <span> / </span>
<span class="author">
<a href="https://github.com/changchichung" title="Posts by Eric Chang" rel="author">Eric Chang</a>
</span>
<span class="category">
<span> / </span>
<a href="/categories/%E7%AD%86%E8%A8%98">筆記</a>
</span>
</div>
<div class='entry-header'>
<h1 class='entry-title'> [筆記] 測試 proxmox 存取由 synology HA cluster 分享的NFS 目錄 / Proxmox With Synology High Availability</h1>
</div>
<div class="entry-container">
<div class="entry-content">
<article>
<p>前幾天修復了因為intel cpu bug 導致無法使用的 synology DS415+</p>
<p>詳情請看 <a href="https://h.cowbay.org/post/first-try-synology-ha/">https://h.cowbay.org/post/first-try-synology-ha/</a></p>
<p>今天趁尾牙前夕,手邊沒啥要緊事</p>
<p>就來玩玩看promox 加上 synology high availability 再加上 NFS share 的環境</p>
<p>先上架構圖</p>
<p><img src="https://i.imgur.com/k7IDZ4Y.png" alt="" /></p>
<p>架構很簡單NAS設定一組NFS share proxmox mount 進來然後開一台VM在NFS 上</p>
<p>主要來談談proxmox 在碰到synology high availability 切換狀態、遇上腦裂(brain split)時候的狀況</p>
<p>觸發 brain split (說真的,我覺得腦裂很難聽 &hellip;)的情況,在上面連結那篇文章裡面有提到,就不多說了</p>
<p>來講講後續的狀況</p>
<p>發生 brain split 時,可以預期管理者會登入管理界面去修復</p>
<p>關於修復brain split 可以看看群暉的這篇文章</p>
<p><a href="https://www.synology.com/zh-tw/knowledgebase/DSM/help/HighAvailability/split_brain">https://www.synology.com/zh-tw/knowledgebase/DSM/help/HighAvailability/split_brain</a></p>
<p>而我選擇的是 [將兩台伺服器一同保留於叢集中]</p>
<p>在進行修復的過程中會發現VM這邊會變成 read only</p>
<p>聽起來很合理,畢竟在修復時,所有服務幾乎都是停擺</p>
<p>但是呢等到修復完成後VM還是read only ,這就有點奇怪了</p>
<p>有跟群暉客服反應過這個狀況</p>
<p>所以在修復完成之後在proxmox server 這邊直接對NFS 存取做測試</p>
<p>去下載一個template 是 OK 的在console 裡面直接在NFS touch file 也是可以的</p>
<p>所以Synology high availability 是有正常發揮作用</p>
<p>而promox 這邊在synology恢復之後也可以正常存取NFS ,所以也沒有問題</p>
<p><del>那問題就是在VM裡面了當發生了某些狀況讓系統進入read only 就必須透過reboot 才能解決</del></p>
<p><del>或者是看看這個指令用fsck去檢查filesystem 看看有沒有幫助</del></p>
<pre><code>sudo fsck -Af -M
</code></pre>
<p>UPDATE:</p>
<p>在proxmox 論壇上提出了這個問題,有回覆說要用 NFS Version 4.1</p>
<p>經過測試在掛載NFS share folder 時,如果有指定 NFS Version 4.1</p>
<p>那在HA Cluster 恢復之後VM也就跟著恢復正常</p>
<p>不必再重開機了!</p>
<p>所以這問題算是解決了!</p>
</article>
</div>
<div class='entry-meta-bottom'>
<div class="entry-categories"><p><span>Categories</span>
<a href="/categories/%E7%AD%86%E8%A8%98" title="View all posts in 筆記">筆記</a>
</p>
</div>
<div class="entry-tags"><p><span>Tags</span>
<a href="/tags/synology" title="View all posts tagged synology">synology</a>
<a href="/tags/proxmox" title="View all posts tagged proxmox">proxmox</a>
<a href="/tags/high-availability" title="View all posts tagged high Availability">high Availability</a>
</p></div> </div>
<div class="author-meta">
<div class="author">
<img alt='Eric Chang' src="https://www.gravatar.com/avatar/23f8ed94e007297499ac8df1641b3ff5?s=100&d=identicon" class='avatar avatar-72 photo' height='72' width='72'>
<span>
Written by:<a href="https://github.com/changchichung" title="Posts by Eric Chang" rel="author">Eric Chang</a> </span>
</div>
<div class="bio">
<p>塵世裡一個迷途小書僮</p>
<a class="facebook" target="_blank"
href="full%20Social%20profile%20url%20in%20facebook">
<i class="fab fa-facebook-f"
title="facebook icon"></i>
</a>
<a class="googleplus" target="_blank"
href="full%20profile%20url%20in%20googleplus">
<i class="fab fa-google-plus-g"
title="googleplus icon"></i>
</a>
<a class="twitter" target="_blank"
href="chang0206">
<i class="fab fa-twitter-square"
title="twitter icon"></i>
</a>
<a class="linkedin" target="_blank"
href="full%20profile%20url%20in%20linkedin">
<i class="fab fa-linkedin"
title="linkedin icon"></i>
</a>
<a class="email" target="_blank"
href="mailto:mc@hotshraingmy.info">
<i class="fas fa-envelope"
title="email icon"></i>
</a>
<a class="instagram" target="_blank"
href="chang0206">
<i class="fab fa-instagram"
title="instagram icon"></i>
</a>
<a class="stackoverflow" target="_blank"
href="full%20profile%20url%20in%20stackoverflow">
<i class="fab fa-stack-overflow"
title="stackoverflow icon"></i>
</a>
<a class="github" target="_blank"
href="changchichung">
<i class="fab fa-github"
title="github icon"></i>
</a>
<a class="pinterest" target="_blank"
href="full%20profile%20url%20in%20pinterest">
<i class="fab fa-pinterest"
title="pinterest icon"></i>
</a>
</div>
</div>
</div>
</div>
<section id="comments" class="comments">
<div id="disqus_thread"></div>
<script type="application/javascript">
var disqus_config = function () {
};
(function() {
if (["localhost", "127.0.0.1"].indexOf(window.location.hostname) != -1) {
document.getElementById('disqus_thread').innerHTML = 'Disqus comments not available by default when the website is previewed locally.';
return;
}
var d = document, s = d.createElement('script'); s.async = true;
s.src = '//' + "h-cowbay-org-1" + '.disqus.com/embed.js';
s.setAttribute('data-timestamp', +new Date());
(d.head || d.body).appendChild(s);
})();
</script>
<noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
<a href="https://disqus.com" class="dsq-brlink">comments powered by <span class="logo-disqus">Disqus</span></a>
</section>
</div>
</div>
<footer id="site-footer" class="site-footer" role="contentinfo">
<h1>
<a href=""> MC部落 </a>
</h1>
<p class="site-description">Whats the Worst That Could Happen?</p>
<div id="menu-footer" class="menu-container menu-footer" role="navigation">
<div class="menu">
<ul id="menu-footer-items" class="menu-footer-items">
</ul>
</div> </div>
<ul class="social-media-icons">
<li>
<a class="facebook" target="_blank"
href="full%20Social%20profile%20url%20in%20facebook" >
<i class="fab fa-facebook-f" title="facebook"></i>
<span class="screen-reader-text">facebook</span>
</a>
</li>
<li>
<a class="googleplus" target="_blank"
href="full%20profile%20url%20in%20googleplus" >
<i class="fab fa-google-plus-g" title="googleplus"></i>
<span class="screen-reader-text">googleplus</span>
</a>
</li>
<li>
<a href="chang0206" class="twitter" target="_blank">
<i class="fab fa-twitter-square" title="twitter"></i>
<span class="screen-reader-text">twitter</span>
</a>
</li>
<li>
<a href="chang0206" class="instagram" target="_blank">
<i class="fab fa-instagram" title="instagram"></i>
<span class="screen-reader-text">instagram</span>
</a>
</li>
<li>
<a href="mailto:mc@hotshraingmy.info" class="email">
<i class="fas fa-envelope" title="email"></i>
<span class="screen-reader-text">email</span>
</a>
</li>
<li>
<a href="full%20profile%20url%20in%20linkedin" class="linkedin" target="_blank">
<i class="fab fa-linkedin-in" title="linkedin"></i>
<span class="screen-reader-text">linkedin</span>
</a>
</li>
<li>
<a href="full%20profile%20url%20in%20stackoverflow" class="stackoverflow" target="_blank">
<i class="fab fa-stack-overflow" title="stackoverflow"></i>
<span class="screen-reader-text">stackoverflow</span>
</a>
</li>
<li>
<a href="changchichung" class="github" target="_blank">
<i class="fab fa-github" title="github"></i>
<span class="screen-reader-text">github</span>
</a>
</li>
<li>
<a href="full%20profile%20url%20in%20pinterest" class="pinterest" target="_blank">
<i class="fab fa-pinterest" title="pinterest"></i>
<span class="screen-reader-text">pinterest</span>
</a>
</li>
<li>
<a href="https://h.cowbay.org/index.xml" data-animate-hover="pulse" class="rss" target="_blank">
<i class="fas fa-rss" title="rss"></i>
<span class="screen-reader-text">rss</span>
</a>
</li>
</ul> <div class="design-credit">
<p>&copy; 2018 Göran Svensson</p>
<p>Nederburg Hugo Theme by <a href="https://appernetic.io">Appernetic</a>.</p>
<p>A port of Tracks by Compete Themes.</p>
</div>
</footer>
</div>
<script src="https://h.cowbay.org/js/jquery.min.js"></script>
<script src="https://h.cowbay.org/js/jquerymigrate.js"></script>
<script src="https://h.cowbay.org/js/production.min.js?v=1581582274"></script>
</body>
</html>

@ -45,9 +45,9 @@
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.3.1/css/all.css" integrity="sha384-mzrmE5qonljUremFsqc01SB46JvROS7bZs3IO2EmfFsd15uHvIt+Y8vEf7N7fWAU" crossorigin="anonymous">
<link href="https://h.cowbay.org/css/style.css?v=1577410044" rel="stylesheet" id="theme-stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/style.css?v=1581582274" rel="stylesheet" id="theme-stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/custom.css?v=1577410044" rel="stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/custom.css?v=1581582274" rel="stylesheet" type='text/css' media='all'>
<link rel="shortcut icon" href="https://h.cowbay.org/img/favicon.ico" type="image/x-icon">
<link rel="icon" href="https://h.cowbay.org/img/favicon.ico" type="image/x-icon">
@ -113,6 +113,10 @@ if (!doNotTrack) {
<a href="/categories/%E7%BE%A4%E6%9A%89">群暉</a>
</li>
<li class="menu-item menu-item-type-taxonomy menu-item-object-category">
<a href="/categories/%E9%9B%9C%E5%BF%B5">雜念</a>
</li>
</ul>
@ -683,7 +687,7 @@ title="pinterest icon"></i>
</div>
<script src="https://h.cowbay.org/js/jquery.min.js"></script>
<script src="https://h.cowbay.org/js/jquerymigrate.js"></script>
<script src="https://h.cowbay.org/js/production.min.js?v=1577410044"></script>
<script src="https://h.cowbay.org/js/production.min.js?v=1581582274"></script>
</body>
</html>

@ -45,9 +45,9 @@
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.3.1/css/all.css" integrity="sha384-mzrmE5qonljUremFsqc01SB46JvROS7bZs3IO2EmfFsd15uHvIt+Y8vEf7N7fWAU" crossorigin="anonymous">
<link href="https://h.cowbay.org/css/style.css?v=1577410044" rel="stylesheet" id="theme-stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/style.css?v=1581582274" rel="stylesheet" id="theme-stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/custom.css?v=1577410044" rel="stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/custom.css?v=1581582274" rel="stylesheet" type='text/css' media='all'>
<link rel="shortcut icon" href="https://h.cowbay.org/img/favicon.ico" type="image/x-icon">
<link rel="icon" href="https://h.cowbay.org/img/favicon.ico" type="image/x-icon">
@ -113,6 +113,10 @@ if (!doNotTrack) {
<a href="/categories/%E7%BE%A4%E6%9A%89">群暉</a>
</li>
<li class="menu-item menu-item-type-taxonomy menu-item-object-category">
<a href="/categories/%E9%9B%9C%E5%BF%B5">雜念</a>
</li>
</ul>
@ -713,7 +717,7 @@ title="pinterest icon"></i>
</div>
<script src="https://h.cowbay.org/js/jquery.min.js"></script>
<script src="https://h.cowbay.org/js/jquerymigrate.js"></script>
<script src="https://h.cowbay.org/js/production.min.js?v=1577410044"></script>
<script src="https://h.cowbay.org/js/production.min.js?v=1581582274"></script>
</body>
</html>

@ -0,0 +1,757 @@
<!DOCTYPE html>
<html lang="en-us">
<head><meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<script type="application/ld+json">
{
"@context" : "http://schema.org",
"@type" : "BlogPosting",
"mainEntityOfPage": {
"@type": "WebPage",
"@id": "https:\/\/h.cowbay.org"
},
"articleSection" : "post",
"name" : "[筆記] 用ubuntu livecd 救援群暉 synology NAS內的資料 \/ rescue synology nas with ubuntu livecd",
"headline" : "[筆記] 用ubuntu livecd 救援群暉 synology NAS內的資料 \/ rescue synology nas with ubuntu livecd",
"description" : "\x3cp\x3e2020\/01\/02 , 2020年上工的第一天群暉的 DS415\x2b NAS 掛了!\x3c\/p\x3e\n\n\x3cp\x3e因為群暉的文件在最關鍵的一步寫得亂七八糟\x3c\/p\x3e\n\n\x3cp\x3e所以在這邊紀錄一下我操作的步驟\x3c\/p\x3e",
"inLanguage" : "en",
"author" : "Eric Chang",
"creator" : "Eric Chang",
"publisher": "Eric Chang",
"accountablePerson" : "Eric Chang",
"copyrightHolder" : "Eric Chang",
"copyrightYear" : "2020",
"datePublished": "2020-01-03 15:43:45 \x2b0800 CST",
"dateModified" : "2020-01-03 15:43:45 \x2b0800 CST",
"url" : "https:\/\/h.cowbay.org\/post\/rescue-synology-nas-with-ubuntu-livecd\/",
"wordCount" : "444",
"image" : "https://h.cowbay.orghttps://h.cowbay.org/images/post-default-11.jpg"",
"keywords" : [ ""synology"",""nas"","Blog" ]
}
</script>
<title>[筆記] 用ubuntu livecd 救援群暉 synology NAS內的資料 / rescue synology nas with ubuntu livecd </title>
<meta name="description" content="some articles about job,food,passion sisters" />
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="robots" content="all,follow">
<meta name="googlebot" content="index,follow,snippet,archive">
<link rel="stylesheet" id="ct-tracks-google-fonts-css" href="https://fonts.googleapis.com/css?family=Raleway%3A400%2C700&amp;subset=latin%2Clatin-ext&amp;ver=4.7.2" type="text/css" media="all">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.3.1/css/all.css" integrity="sha384-mzrmE5qonljUremFsqc01SB46JvROS7bZs3IO2EmfFsd15uHvIt+Y8vEf7N7fWAU" crossorigin="anonymous">
<link href="https://h.cowbay.org/css/style.css?v=1581582274" rel="stylesheet" id="theme-stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/custom.css?v=1581582274" rel="stylesheet" type='text/css' media='all'>
<link rel="shortcut icon" href="https://h.cowbay.org/img/favicon.ico" type="image/x-icon">
<link rel="icon" href="https://h.cowbay.org/img/favicon.ico" type="image/x-icon">
<script type="application/javascript">
var doNotTrack = false;
if (!doNotTrack) {
window.ga=window.ga||function(){(ga.q=ga.q||[]).push(arguments)};ga.l=+new Date;
ga('create', 'UA-138954876-1', 'auto');
ga('send', 'pageview');
}
</script>
<script async src='https://www.google-analytics.com/analytics.js'></script>
</head>
<body class="post-template-default single single-post single-format-standard ct-body singular singular-post not-front standard">
<div id="overflow-container" class="overflow-container">
<a class="skip-content" href="#main">Skip to content</a>
<header id="site-header" class="site-header" role="banner">
<div class='top-navigation'>
<div class='container'>
<div id="menu-secondary" class="menu-container menu-secondary" role="navigation">
<button id="toggle-secondary-navigation" class="toggle-secondary-navigation"><i class="fas fa-plus"></i></button>
<div class="menu">
<ul id="menu-secondary-items" class="menu-secondary-items">
<li class="menu-item menu-item-type-taxonomy menu-item-object-category">
<a href="/categories/"></a>
</li>
<li class="menu-item menu-item-type-taxonomy menu-item-object-category">
<a href="/categories/ansible">ansible</a>
</li>
<li class="menu-item menu-item-type-taxonomy menu-item-object-category">
<a href="/categories/linux">linux</a>
</li>
<li class="menu-item menu-item-type-taxonomy menu-item-object-category">
<a href="/categories/proxmox">proxmox</a>
</li>
<li class="menu-item menu-item-type-taxonomy menu-item-object-category">
<a href="/categories/ps">ps</a>
</li>
<li class="menu-item menu-item-type-taxonomy menu-item-object-category">
<a href="/categories/%E7%A2%8E%E5%BF%B5">碎念</a>
</li>
<li class="menu-item menu-item-type-taxonomy menu-item-object-category">
<a href="/categories/%E7%AD%86%E8%A8%98">筆記</a>
</li>
<li class="menu-item menu-item-type-taxonomy menu-item-object-category">
<a href="/categories/%E7%BE%A4%E6%9A%89">群暉</a>
</li>
<li class="menu-item menu-item-type-taxonomy menu-item-object-category">
<a href="/categories/%E9%9B%9C%E5%BF%B5">雜念</a>
</li>
</ul>
</div>
</div>
<ul class="social-media-icons">
<li>
<a href="full%20Social%20profile%20url%20in%20facebook" data-animate-hover="pulse" class="facebook" target="_blank">
<i class="fab fa-facebook-square" title="facebook"></i>
<span class="screen-reader-text">facebook</span>
</a>
</li>
<li>
<a href="full%20profile%20url%20in%20googleplus" data-animate-hover="pulse" class="gplus" target="_blank">
<i class="fab fa-google-plus-g" title="googleplus"></i>
<span class="screen-reader-text">googleplus</span>
</a>
</li>
<li>
<a href="chang0206" data-animate-hover="pulse" class="twitter" target="_blank">
<i class="fab fa-twitter-square" title="twitter"></i>
<span class="screen-reader-text">twitter</span>
</a>
</li>
<li>
<a href="chang0206" data-animate-hover="pulse" class="instagram" target="_blank">
<i class="fab fa-instagram" title="instagram"></i>
<span class="screen-reader-text">instagram</span>
</a>
</li>
<li>
<a href="mailto:mc@hotshraingmy.info" data-animate-hover="pulse" class="email">
<i class="fas fa-envelope" title="email"></i>
<span class="screen-reader-text">email</span>
</a>
</li>
<li>
<a href="full%20profile%20url%20in%20linkedin" data-animate-hover="pulse" class="linkedin" target="_blank">
<i class="fab fa-linkedin-in" title="linkedin"></i>
<span class="screen-reader-text">linkedin</span>
</a>
</li>
<li>
<a href="full%20profile%20url%20in%20stackoverflow" data-animate-hover="pulse" class="stackoverflow" target="_blank">
<i class="fab fa-stack-overflow" title="stackoverflow"></i>
<span class="screen-reader-text">stackoverflow</span>
</a>
</li>
<li>
<a href="changchichung" data-animate-hover="pulse" class="github" target="_blank">
<i class="fab fa-github" title="github"></i>
<span class="screen-reader-text">github</span>
</a>
</li>
<li>
<a href="full%20profile%20url%20in%20pinterest" data-animate-hover="pulse" class="pinterest" target="_blank">
<i class="fab fa-pinterest" title="pinterest"></i>
<span class="screen-reader-text">pinterest</span>
</a>
</li>
<li>
<a href="https://h.cowbay.org/index.xml" data-animate-hover="pulse" class="rss" target="_blank">
<i class="fas fa-rss" title="rss"></i>
<span class="screen-reader-text">rss</span>
</a>
</li>
</ul></div>
</div>
<div class="container">
<div id="title-info" class="title-info">
<div id='site-title' class='site-title'>
<a href="/"> MC部落 </a>
</div>
</div>
<button id="toggle-navigation" class="toggle-navigation">
<i class="fas fa-bars"></i>
</button>
<div id="menu-primary-tracks" class="menu-primary-tracks"></div>
<div id="menu-primary" class="menu-container menu-primary" role="navigation">
<p class="site-description">Whats the Worst That Could Happen?</p>
<div class="menu">
<ul id="menu-primary-items" class="menu-primary-items">
<li class='menu-item menu-item-type-custom menu-item-object-custom '>
<a href="https://h.cowbay.org/">Home</a>
</li>
<li class='menu-item menu-item-type-post_type menu-item-object-page '>
<a href="https://h.cowbay.org/about/">About</a>
</li>
<li class='menu-item menu-item-type-post_type menu-item-object-page '>
<a href="https://h.cowbay.org/contact/">Get in touch</a>
</li>
</ul>
</div>
</div>
</div>
</header>
<div id="main" class="main" role="main">
<div id="loop-container" class="loop-container">
<div class="post type-post status-publish format-standard has-post-thumbnail hentry category-design tag-design tag-standard-2 tag-tagalicious tag-travel entry full-without-featured odd excerpt-1">
<div class='featured-image lazy lazy-bg-image' data-background="https://h.cowbay.org/images/post-default-11.jpg">
</div>
<div class="entry-meta">
<span class="date">03 January</span> <span> / </span>
<span class="author">
<a href="https://github.com/changchichung" title="Posts by Eric Chang" rel="author">Eric Chang</a>
</span>
<span class="category">
<span> / </span>
<a href="/categories/%E7%AD%86%E8%A8%98">筆記</a>
</span>
</div>
<div class='entry-header'>
<h1 class='entry-title'> [筆記] 用ubuntu livecd 救援群暉 synology NAS內的資料 / rescue synology nas with ubuntu livecd</h1>
</div>
<div class="entry-container">
<div class="entry-content">
<article>
<p>2020/01/02 , 2020年上工的第一天群暉的 DS415+ NAS 掛了!</p>
<p>因為群暉的文件在最關鍵的一步寫得亂七八糟!</p>
<p>所以在這邊紀錄一下我操作的步驟!</p>
<h4 id="建立可開機的ubuntu-隨身碟">建立可開機的ubuntu 隨身碟</h4>
<p>建立 bootable ubuntu flash 的步驟,請參考底下網頁介紹,這邊就不多說了</p>
<p><a href="https://tutorials.ubuntu.com/tutorial/tutorial-create-a-usb-stick-on-ubuntu#0">https://tutorials.ubuntu.com/tutorial/tutorial-create-a-usb-stick-on-ubuntu#0</a></p>
<h4 id="把nas上的硬碟接上pc">把NAS上的硬碟接上PC</h4>
<p>還好這次的NAS只有四顆如果有八顆我去哪裡生可以接八顆硬碟的主機&hellip;</p>
<h4 id="用隨身碟開機進入ubuntu-live-環境">用隨身碟開機進入ubuntu Live 環境</h4>
<p>懶人沒截圖</p>
<h4 id="安裝必要套件">安裝必要套件</h4>
<p>進入 ubuntu Live 之後,按 ctal + alt + t</p>
<p>開啟 terminal ,然後先安裝 mdadm &amp; lvm2</p>
<pre><code>ubuntu@ubuntu:~$ sudo apt install mdadm lvm2
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
thin-provisioning-tools default-mta | mail-transport-agent dracut-core
The following NEW packages will be installed:
mdadm
The following packages will be upgraded:
lvm2
1 upgraded, 1 newly installed, 0 to remove and 780 not upgraded.
Need to get 1,346 kB of archives.
After this operation, 1,237 kB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 lvm2 amd64 2.02.176-4.1ubuntu3.18.04.2 [930 kB]
Get:2 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 mdadm amd64 4.1~rc1-3~ubuntu18.04.2 [416 kB]
Fetched 1,346 kB in 3s (501 kB/s)
....
...
...
以下省略
</code></pre>
<h4 id="scan-raid-and-lvm">scan raid and lvm</h4>
<p>接下來先換成 root 操作</p>
<pre><code>ubuntu@ubuntu:~$ sudo su -
</code></pre>
<p>然後掃描 raid &amp; LVM</p>
<pre><code>root@ubuntu:~# mdadm -Asf &amp;&amp; vgchange -ay
mdadm: /dev/md/2 has been started with 4 drives.
2 logical volume(s) in volume group &quot;vg1&quot; now active
</code></pre>
<p>COOL 原本的VG出現了</p>
<pre><code>root@ubuntu:~# vgdisplay
--- Volume group ---
VG Name vg1
System ID
Format lvm2
Metadata Areas 1
Metadata Sequence No 3
VG Access read/write
VG Status resizable
MAX LV 0
Cur LV 2
Open LV 0
Max PV 0
Cur PV 1
Act PV 1
VG Size 5.44 TiB
PE Size 4.00 MiB
Total PE 1427264
Alloc PE / Size 1427264 / 5.44 TiB
Free PE / Size 0 / 0
VG UUID O1c8Uw-JmKy-EiKt-92OB-3K3y-roMi-9NUZ6H
</code></pre>
<p>也可以看到 RAID 資訊了!</p>
<pre><code>root@ubuntu:~# mdadm -D /dev/md2
/dev/md2:
Version : 1.2
Creation Time : Thu Oct 13 07:26:12 2016
Raid Level : raid5
Array Size : 5846077632 (5575.25 GiB 5986.38 GB)
Used Dev Size : 1948692544 (1858.42 GiB 1995.46 GB)
Raid Devices : 4
Total Devices : 4
Persistence : Superblock is persistent
Update Time : Thu Jan 2 01:48:34 2020
State : clean
Active Devices : 4
Working Devices : 4
Failed Devices : 0
Spare Devices : 0
Layout : left-symmetric
Chunk Size : 64K
Consistency Policy : resync
Name : video:2
UUID : 18f6706d:91eaaec9:5b0ba8da:e32481e3
Events : 96
Number Major Minor RaidDevice State
0 8 51 0 active sync /dev/sdd3
1 8 35 1 active sync /dev/sdc3
2 8 19 2 active sync /dev/sdb3
3 8 3 3 active sync /dev/sda3
</code></pre>
<p>然後就會發生我之前寫的這篇的狀況</p>
<p><a href="https://h.cowbay.org/post/what-a-piss-in-synology-document/">https://h.cowbay.org/post/what-a-piss-in-synology-document/</a></p>
<p>問題發生了,總是要想辦法解決</p>
<h4 id="scan-lv">scan lv</h4>
<pre><code>root@ubuntu:~# lvscan
ACTIVE '/dev/vg1/syno_vg_reserved_area' [12.00 MiB] inherit
ACTIVE '/dev/vg1/volume_1' [5.44 TiB] inherit
</code></pre>
<p>OK ,在 vg1 底下有兩個 volume ,看大小來判斷,第二個是我們要的</p>
<p>用底下的指令就可以掛載了</p>
<pre><code>mount /dev/vg1/volume_1 /mnt
</code></pre>
<p>請依照自己的環境,把第一個路徑改掉,如果要掛載到別的目錄,那也把第二個 /mnt 改掉</p>
<pre><code>root@ubuntu:/dev# mount /dev/vg1/volume_1 /mnt
root@ubuntu:/dev# cd /mnt
root@ubuntu:/mnt# ls
@appstore @database @EP_trash @MailScanner @S2S
aquota.group @download @iSCSITrg music synoquota.db
aquota.user @eaDir lost+found nfsforprox @tmp
@clamav @EP @maillog photo video
</code></pre>
<p>OK可以看到原本NAS 下的目錄了,接下來就可以進行檔案複製了!</p>
</article>
</div>
<div class='entry-meta-bottom'>
<div class="entry-categories"><p><span>Categories</span>
<a href="/categories/%E7%AD%86%E8%A8%98" title="View all posts in 筆記">筆記</a>
</p>
</div>
<div class="entry-tags"><p><span>Tags</span>
<a href="/tags/synology" title="View all posts tagged synology">synology</a>
<a href="/tags/nas" title="View all posts tagged nas">nas</a>
</p></div> </div>
<div class="author-meta">
<div class="author">
<img alt='Eric Chang' src="https://www.gravatar.com/avatar/23f8ed94e007297499ac8df1641b3ff5?s=100&d=identicon" class='avatar avatar-72 photo' height='72' width='72'>
<span>
Written by:<a href="https://github.com/changchichung" title="Posts by Eric Chang" rel="author">Eric Chang</a> </span>
</div>
<div class="bio">
<p>塵世裡一個迷途小書僮</p>
<a class="facebook" target="_blank"
href="full%20Social%20profile%20url%20in%20facebook">
<i class="fab fa-facebook-f"
title="facebook icon"></i>
</a>
<a class="googleplus" target="_blank"
href="full%20profile%20url%20in%20googleplus">
<i class="fab fa-google-plus-g"
title="googleplus icon"></i>
</a>
<a class="twitter" target="_blank"
href="chang0206">
<i class="fab fa-twitter-square"
title="twitter icon"></i>
</a>
<a class="linkedin" target="_blank"
href="full%20profile%20url%20in%20linkedin">
<i class="fab fa-linkedin"
title="linkedin icon"></i>
</a>
<a class="email" target="_blank"
href="mailto:mc@hotshraingmy.info">
<i class="fas fa-envelope"
title="email icon"></i>
</a>
<a class="instagram" target="_blank"
href="chang0206">
<i class="fab fa-instagram"
title="instagram icon"></i>
</a>
<a class="stackoverflow" target="_blank"
href="full%20profile%20url%20in%20stackoverflow">
<i class="fab fa-stack-overflow"
title="stackoverflow icon"></i>
</a>
<a class="github" target="_blank"
href="changchichung">
<i class="fab fa-github"
title="github icon"></i>
</a>
<a class="pinterest" target="_blank"
href="full%20profile%20url%20in%20pinterest">
<i class="fab fa-pinterest"
title="pinterest icon"></i>
</a>
</div>
</div>
</div>
</div>
<section id="comments" class="comments">
<div id="disqus_thread"></div>
<script type="application/javascript">
var disqus_config = function () {
};
(function() {
if (["localhost", "127.0.0.1"].indexOf(window.location.hostname) != -1) {
document.getElementById('disqus_thread').innerHTML = 'Disqus comments not available by default when the website is previewed locally.';
return;
}
var d = document, s = d.createElement('script'); s.async = true;
s.src = '//' + "h-cowbay-org-1" + '.disqus.com/embed.js';
s.setAttribute('data-timestamp', +new Date());
(d.head || d.body).appendChild(s);
})();
</script>
<noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
<a href="https://disqus.com" class="dsq-brlink">comments powered by <span class="logo-disqus">Disqus</span></a>
</section>
</div>
</div>
<footer id="site-footer" class="site-footer" role="contentinfo">
<h1>
<a href=""> MC部落 </a>
</h1>
<p class="site-description">Whats the Worst That Could Happen?</p>
<div id="menu-footer" class="menu-container menu-footer" role="navigation">
<div class="menu">
<ul id="menu-footer-items" class="menu-footer-items">
</ul>
</div> </div>
<ul class="social-media-icons">
<li>
<a class="facebook" target="_blank"
href="full%20Social%20profile%20url%20in%20facebook" >
<i class="fab fa-facebook-f" title="facebook"></i>
<span class="screen-reader-text">facebook</span>
</a>
</li>
<li>
<a class="googleplus" target="_blank"
href="full%20profile%20url%20in%20googleplus" >
<i class="fab fa-google-plus-g" title="googleplus"></i>
<span class="screen-reader-text">googleplus</span>
</a>
</li>
<li>
<a href="chang0206" class="twitter" target="_blank">
<i class="fab fa-twitter-square" title="twitter"></i>
<span class="screen-reader-text">twitter</span>
</a>
</li>
<li>
<a href="chang0206" class="instagram" target="_blank">
<i class="fab fa-instagram" title="instagram"></i>
<span class="screen-reader-text">instagram</span>
</a>
</li>
<li>
<a href="mailto:mc@hotshraingmy.info" class="email">
<i class="fas fa-envelope" title="email"></i>
<span class="screen-reader-text">email</span>
</a>
</li>
<li>
<a href="full%20profile%20url%20in%20linkedin" class="linkedin" target="_blank">
<i class="fab fa-linkedin-in" title="linkedin"></i>
<span class="screen-reader-text">linkedin</span>
</a>
</li>
<li>
<a href="full%20profile%20url%20in%20stackoverflow" class="stackoverflow" target="_blank">
<i class="fab fa-stack-overflow" title="stackoverflow"></i>
<span class="screen-reader-text">stackoverflow</span>
</a>
</li>
<li>
<a href="changchichung" class="github" target="_blank">
<i class="fab fa-github" title="github"></i>
<span class="screen-reader-text">github</span>
</a>
</li>
<li>
<a href="full%20profile%20url%20in%20pinterest" class="pinterest" target="_blank">
<i class="fab fa-pinterest" title="pinterest"></i>
<span class="screen-reader-text">pinterest</span>
</a>
</li>
<li>
<a href="https://h.cowbay.org/index.xml" data-animate-hover="pulse" class="rss" target="_blank">
<i class="fas fa-rss" title="rss"></i>
<span class="screen-reader-text">rss</span>
</a>
</li>
</ul> <div class="design-credit">
<p>&copy; 2018 Göran Svensson</p>
<p>Nederburg Hugo Theme by <a href="https://appernetic.io">Appernetic</a>.</p>
<p>A port of Tracks by Compete Themes.</p>
</div>
</footer>
</div>
<script src="https://h.cowbay.org/js/jquery.min.js"></script>
<script src="https://h.cowbay.org/js/jquerymigrate.js"></script>
<script src="https://h.cowbay.org/js/production.min.js?v=1581582274"></script>
</body>
</html>

@ -45,9 +45,9 @@
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.3.1/css/all.css" integrity="sha384-mzrmE5qonljUremFsqc01SB46JvROS7bZs3IO2EmfFsd15uHvIt+Y8vEf7N7fWAU" crossorigin="anonymous">
<link href="https://h.cowbay.org/css/style.css?v=1577410044" rel="stylesheet" id="theme-stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/style.css?v=1581582274" rel="stylesheet" id="theme-stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/custom.css?v=1577410044" rel="stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/custom.css?v=1581582274" rel="stylesheet" type='text/css' media='all'>
<link rel="shortcut icon" href="https://h.cowbay.org/img/favicon.ico" type="image/x-icon">
<link rel="icon" href="https://h.cowbay.org/img/favicon.ico" type="image/x-icon">
@ -113,6 +113,10 @@ if (!doNotTrack) {
<a href="/categories/%E7%BE%A4%E6%9A%89">群暉</a>
</li>
<li class="menu-item menu-item-type-taxonomy menu-item-object-category">
<a href="/categories/%E9%9B%9C%E5%BF%B5">雜念</a>
</li>
</ul>
@ -680,7 +684,7 @@ title="pinterest icon"></i>
</div>
<script src="https://h.cowbay.org/js/jquery.min.js"></script>
<script src="https://h.cowbay.org/js/jquerymigrate.js"></script>
<script src="https://h.cowbay.org/js/production.min.js?v=1577410044"></script>
<script src="https://h.cowbay.org/js/production.min.js?v=1581582274"></script>
</body>
</html>

@ -45,9 +45,9 @@
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.3.1/css/all.css" integrity="sha384-mzrmE5qonljUremFsqc01SB46JvROS7bZs3IO2EmfFsd15uHvIt+Y8vEf7N7fWAU" crossorigin="anonymous">
<link href="https://h.cowbay.org/css/style.css?v=1577410044" rel="stylesheet" id="theme-stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/style.css?v=1581582274" rel="stylesheet" id="theme-stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/custom.css?v=1577410044" rel="stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/custom.css?v=1581582274" rel="stylesheet" type='text/css' media='all'>
<link rel="shortcut icon" href="https://h.cowbay.org/img/favicon.ico" type="image/x-icon">
<link rel="icon" href="https://h.cowbay.org/img/favicon.ico" type="image/x-icon">
@ -113,6 +113,10 @@ if (!doNotTrack) {
<a href="/categories/%E7%BE%A4%E6%9A%89">群暉</a>
</li>
<li class="menu-item menu-item-type-taxonomy menu-item-object-category">
<a href="/categories/%E9%9B%9C%E5%BF%B5">雜念</a>
</li>
</ul>
@ -809,7 +813,7 @@ title="pinterest icon"></i>
</div>
<script src="https://h.cowbay.org/js/jquery.min.js"></script>
<script src="https://h.cowbay.org/js/jquerymigrate.js"></script>
<script src="https://h.cowbay.org/js/production.min.js?v=1577410044"></script>
<script src="https://h.cowbay.org/js/production.min.js?v=1581582274"></script>
</body>
</html>

@ -45,9 +45,9 @@
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.3.1/css/all.css" integrity="sha384-mzrmE5qonljUremFsqc01SB46JvROS7bZs3IO2EmfFsd15uHvIt+Y8vEf7N7fWAU" crossorigin="anonymous">
<link href="https://h.cowbay.org/css/style.css?v=1577410044" rel="stylesheet" id="theme-stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/style.css?v=1581582274" rel="stylesheet" id="theme-stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/custom.css?v=1577410044" rel="stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/custom.css?v=1581582274" rel="stylesheet" type='text/css' media='all'>
<link rel="shortcut icon" href="https://h.cowbay.org/img/favicon.ico" type="image/x-icon">
<link rel="icon" href="https://h.cowbay.org/img/favicon.ico" type="image/x-icon">
@ -113,6 +113,10 @@ if (!doNotTrack) {
<a href="/categories/%E7%BE%A4%E6%9A%89">群暉</a>
</li>
<li class="menu-item menu-item-type-taxonomy menu-item-object-category">
<a href="/categories/%E9%9B%9C%E5%BF%B5">雜念</a>
</li>
</ul>
@ -613,7 +617,7 @@ title="pinterest icon"></i>
</div>
<script src="https://h.cowbay.org/js/jquery.min.js"></script>
<script src="https://h.cowbay.org/js/jquerymigrate.js"></script>
<script src="https://h.cowbay.org/js/production.min.js?v=1577410044"></script>
<script src="https://h.cowbay.org/js/production.min.js?v=1581582274"></script>
</body>
</html>

@ -45,9 +45,9 @@
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.3.1/css/all.css" integrity="sha384-mzrmE5qonljUremFsqc01SB46JvROS7bZs3IO2EmfFsd15uHvIt+Y8vEf7N7fWAU" crossorigin="anonymous">
<link href="https://h.cowbay.org/css/style.css?v=1577410044" rel="stylesheet" id="theme-stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/style.css?v=1581582274" rel="stylesheet" id="theme-stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/custom.css?v=1577410044" rel="stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/custom.css?v=1581582274" rel="stylesheet" type='text/css' media='all'>
<link rel="shortcut icon" href="https://h.cowbay.org/img/favicon.ico" type="image/x-icon">
<link rel="icon" href="https://h.cowbay.org/img/favicon.ico" type="image/x-icon">
@ -113,6 +113,10 @@ if (!doNotTrack) {
<a href="/categories/%E7%BE%A4%E6%9A%89">群暉</a>
</li>
<li class="menu-item menu-item-type-taxonomy menu-item-object-category">
<a href="/categories/%E9%9B%9C%E5%BF%B5">雜念</a>
</li>
</ul>
@ -663,7 +667,7 @@ title="pinterest icon"></i>
</div>
<script src="https://h.cowbay.org/js/jquery.min.js"></script>
<script src="https://h.cowbay.org/js/jquerymigrate.js"></script>
<script src="https://h.cowbay.org/js/production.min.js?v=1577410044"></script>
<script src="https://h.cowbay.org/js/production.min.js?v=1581582274"></script>
</body>
</html>

@ -45,9 +45,9 @@
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.3.1/css/all.css" integrity="sha384-mzrmE5qonljUremFsqc01SB46JvROS7bZs3IO2EmfFsd15uHvIt+Y8vEf7N7fWAU" crossorigin="anonymous">
<link href="https://h.cowbay.org/css/style.css?v=1577410044" rel="stylesheet" id="theme-stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/style.css?v=1581582274" rel="stylesheet" id="theme-stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/custom.css?v=1577410044" rel="stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/custom.css?v=1581582274" rel="stylesheet" type='text/css' media='all'>
<link rel="shortcut icon" href="https://h.cowbay.org/img/favicon.ico" type="image/x-icon">
<link rel="icon" href="https://h.cowbay.org/img/favicon.ico" type="image/x-icon">
@ -113,6 +113,10 @@ if (!doNotTrack) {
<a href="/categories/%E7%BE%A4%E6%9A%89">群暉</a>
</li>
<li class="menu-item menu-item-type-taxonomy menu-item-object-category">
<a href="/categories/%E9%9B%9C%E5%BF%B5">雜念</a>
</li>
</ul>
@ -979,7 +983,7 @@ title="pinterest icon"></i>
</div>
<script src="https://h.cowbay.org/js/jquery.min.js"></script>
<script src="https://h.cowbay.org/js/jquerymigrate.js"></script>
<script src="https://h.cowbay.org/js/production.min.js?v=1577410044"></script>
<script src="https://h.cowbay.org/js/production.min.js?v=1581582274"></script>
</body>
</html>

@ -45,9 +45,9 @@
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.3.1/css/all.css" integrity="sha384-mzrmE5qonljUremFsqc01SB46JvROS7bZs3IO2EmfFsd15uHvIt+Y8vEf7N7fWAU" crossorigin="anonymous">
<link href="https://h.cowbay.org/css/style.css?v=1577410044" rel="stylesheet" id="theme-stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/style.css?v=1581582274" rel="stylesheet" id="theme-stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/custom.css?v=1577410044" rel="stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/custom.css?v=1581582274" rel="stylesheet" type='text/css' media='all'>
<link rel="shortcut icon" href="https://h.cowbay.org/img/favicon.ico" type="image/x-icon">
<link rel="icon" href="https://h.cowbay.org/img/favicon.ico" type="image/x-icon">
@ -113,6 +113,10 @@ if (!doNotTrack) {
<a href="/categories/%E7%BE%A4%E6%9A%89">群暉</a>
</li>
<li class="menu-item menu-item-type-taxonomy menu-item-object-category">
<a href="/categories/%E9%9B%9C%E5%BF%B5">雜念</a>
</li>
</ul>
@ -974,7 +978,7 @@ title="pinterest icon"></i>
</div>
<script src="https://h.cowbay.org/js/jquery.min.js"></script>
<script src="https://h.cowbay.org/js/jquerymigrate.js"></script>
<script src="https://h.cowbay.org/js/production.min.js?v=1577410044"></script>
<script src="https://h.cowbay.org/js/production.min.js?v=1581582274"></script>
</body>
</html>

@ -45,9 +45,9 @@
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.3.1/css/all.css" integrity="sha384-mzrmE5qonljUremFsqc01SB46JvROS7bZs3IO2EmfFsd15uHvIt+Y8vEf7N7fWAU" crossorigin="anonymous">
<link href="https://h.cowbay.org/css/style.css?v=1577410044" rel="stylesheet" id="theme-stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/style.css?v=1581582274" rel="stylesheet" id="theme-stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/custom.css?v=1577410044" rel="stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/custom.css?v=1581582274" rel="stylesheet" type='text/css' media='all'>
<link rel="shortcut icon" href="https://h.cowbay.org/img/favicon.ico" type="image/x-icon">
<link rel="icon" href="https://h.cowbay.org/img/favicon.ico" type="image/x-icon">
@ -113,6 +113,10 @@ if (!doNotTrack) {
<a href="/categories/%E7%BE%A4%E6%9A%89">群暉</a>
</li>
<li class="menu-item menu-item-type-taxonomy menu-item-object-category">
<a href="/categories/%E9%9B%9C%E5%BF%B5">雜念</a>
</li>
</ul>
@ -662,7 +666,7 @@ title="pinterest icon"></i>
</div>
<script src="https://h.cowbay.org/js/jquery.min.js"></script>
<script src="https://h.cowbay.org/js/jquerymigrate.js"></script>
<script src="https://h.cowbay.org/js/production.min.js?v=1577410044"></script>
<script src="https://h.cowbay.org/js/production.min.js?v=1581582274"></script>
</body>
</html>

@ -45,9 +45,9 @@
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.3.1/css/all.css" integrity="sha384-mzrmE5qonljUremFsqc01SB46JvROS7bZs3IO2EmfFsd15uHvIt+Y8vEf7N7fWAU" crossorigin="anonymous">
<link href="https://h.cowbay.org/css/style.css?v=1577410044" rel="stylesheet" id="theme-stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/style.css?v=1581582274" rel="stylesheet" id="theme-stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/custom.css?v=1577410044" rel="stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/custom.css?v=1581582274" rel="stylesheet" type='text/css' media='all'>
<link rel="shortcut icon" href="https://h.cowbay.org/img/favicon.ico" type="image/x-icon">
<link rel="icon" href="https://h.cowbay.org/img/favicon.ico" type="image/x-icon">
@ -113,6 +113,10 @@ if (!doNotTrack) {
<a href="/categories/%E7%BE%A4%E6%9A%89">群暉</a>
</li>
<li class="menu-item menu-item-type-taxonomy menu-item-object-category">
<a href="/categories/%E9%9B%9C%E5%BF%B5">雜念</a>
</li>
</ul>
@ -725,7 +729,7 @@ title="pinterest icon"></i>
</div>
<script src="https://h.cowbay.org/js/jquery.min.js"></script>
<script src="https://h.cowbay.org/js/jquerymigrate.js"></script>
<script src="https://h.cowbay.org/js/production.min.js?v=1577410044"></script>
<script src="https://h.cowbay.org/js/production.min.js?v=1581582274"></script>
</body>
</html>

@ -45,9 +45,9 @@
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.3.1/css/all.css" integrity="sha384-mzrmE5qonljUremFsqc01SB46JvROS7bZs3IO2EmfFsd15uHvIt+Y8vEf7N7fWAU" crossorigin="anonymous">
<link href="https://h.cowbay.org/css/style.css?v=1577410044" rel="stylesheet" id="theme-stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/style.css?v=1581582274" rel="stylesheet" id="theme-stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/custom.css?v=1577410044" rel="stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/custom.css?v=1581582274" rel="stylesheet" type='text/css' media='all'>
<link rel="shortcut icon" href="https://h.cowbay.org/img/favicon.ico" type="image/x-icon">
<link rel="icon" href="https://h.cowbay.org/img/favicon.ico" type="image/x-icon">
@ -113,6 +113,10 @@ if (!doNotTrack) {
<a href="/categories/%E7%BE%A4%E6%9A%89">群暉</a>
</li>
<li class="menu-item menu-item-type-taxonomy menu-item-object-category">
<a href="/categories/%E9%9B%9C%E5%BF%B5">雜念</a>
</li>
</ul>
@ -653,7 +657,7 @@ title="pinterest icon"></i>
</div>
<script src="https://h.cowbay.org/js/jquery.min.js"></script>
<script src="https://h.cowbay.org/js/jquerymigrate.js"></script>
<script src="https://h.cowbay.org/js/production.min.js?v=1577410044"></script>
<script src="https://h.cowbay.org/js/production.min.js?v=1581582274"></script>
</body>
</html>

@ -45,9 +45,9 @@
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.3.1/css/all.css" integrity="sha384-mzrmE5qonljUremFsqc01SB46JvROS7bZs3IO2EmfFsd15uHvIt+Y8vEf7N7fWAU" crossorigin="anonymous">
<link href="https://h.cowbay.org/css/style.css?v=1577410044" rel="stylesheet" id="theme-stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/style.css?v=1581582274" rel="stylesheet" id="theme-stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/custom.css?v=1577410044" rel="stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/custom.css?v=1581582274" rel="stylesheet" type='text/css' media='all'>
<link rel="shortcut icon" href="https://h.cowbay.org/img/favicon.ico" type="image/x-icon">
<link rel="icon" href="https://h.cowbay.org/img/favicon.ico" type="image/x-icon">
@ -113,6 +113,10 @@ if (!doNotTrack) {
<a href="/categories/%E7%BE%A4%E6%9A%89">群暉</a>
</li>
<li class="menu-item menu-item-type-taxonomy menu-item-object-category">
<a href="/categories/%E9%9B%9C%E5%BF%B5">雜念</a>
</li>
</ul>
@ -694,7 +698,7 @@ title="pinterest icon"></i>
</div>
<script src="https://h.cowbay.org/js/jquery.min.js"></script>
<script src="https://h.cowbay.org/js/jquerymigrate.js"></script>
<script src="https://h.cowbay.org/js/production.min.js?v=1577410044"></script>
<script src="https://h.cowbay.org/js/production.min.js?v=1581582274"></script>
</body>
</html>

@ -0,0 +1,690 @@
<!DOCTYPE html>
<html lang="en-us">
<head><meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<script type="application/ld+json">
{
"@context" : "http://schema.org",
"@type" : "BlogPosting",
"mainEntityOfPage": {
"@type": "WebPage",
"@id": "https:\/\/h.cowbay.org"
},
"articleSection" : "post",
"name" : "[碎念] Synology 群暉的文件不知道在工三小 \/ what a piss in synology document",
"headline" : "[碎念] Synology 群暉的文件不知道在工三小 \/ what a piss in synology document",
"description" : "\x3cp\x3e2020\/01\/02 2020 上工的第一天,公司碩果僅存的唯一一台 Synology DS415\x2b 也終於掛了\x3c\/p\x3e\n\n\x3cp\x3e開機沒多久就連不上反覆幾次之後出現了開機時所有燈號都狂閃的狀況\x3c\/p\x3e\n\n\x3cp\x3e終於宣告不治\x3c\/p\x3e\n\n\x3cp\x3e問題很明顯的就是Intel C2000 系列 CPU 的瑕疵\x3c\/p\x3e",
"inLanguage" : "en",
"author" : "Eric Chang",
"creator" : "Eric Chang",
"publisher": "Eric Chang",
"accountablePerson" : "Eric Chang",
"copyrightHolder" : "Eric Chang",
"copyrightYear" : "2020",
"datePublished": "2020-01-03 11:45:56 \x2b0800 CST",
"dateModified" : "2020-01-03 11:45:56 \x2b0800 CST",
"url" : "https:\/\/h.cowbay.org\/post\/what-a-piss-in-synology-document\/",
"wordCount" : "192",
"image" : "https://h.cowbay.orghttps://h.cowbay.org/images/post-default-16.jpg"",
"keywords" : [ ""synology"","Blog" ]
}
</script>
<title>[碎念] Synology 群暉的文件不知道在工三小 / what a piss in synology document </title>
<meta name="description" content="some articles about job,food,passion sisters" />
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="robots" content="all,follow">
<meta name="googlebot" content="index,follow,snippet,archive">
<link rel="stylesheet" id="ct-tracks-google-fonts-css" href="https://fonts.googleapis.com/css?family=Raleway%3A400%2C700&amp;subset=latin%2Clatin-ext&amp;ver=4.7.2" type="text/css" media="all">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.3.1/css/all.css" integrity="sha384-mzrmE5qonljUremFsqc01SB46JvROS7bZs3IO2EmfFsd15uHvIt+Y8vEf7N7fWAU" crossorigin="anonymous">
<link href="https://h.cowbay.org/css/style.css?v=1581582274" rel="stylesheet" id="theme-stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/custom.css?v=1581582274" rel="stylesheet" type='text/css' media='all'>
<link rel="shortcut icon" href="https://h.cowbay.org/img/favicon.ico" type="image/x-icon">
<link rel="icon" href="https://h.cowbay.org/img/favicon.ico" type="image/x-icon">
<script type="application/javascript">
var doNotTrack = false;
if (!doNotTrack) {
window.ga=window.ga||function(){(ga.q=ga.q||[]).push(arguments)};ga.l=+new Date;
ga('create', 'UA-138954876-1', 'auto');
ga('send', 'pageview');
}
</script>
<script async src='https://www.google-analytics.com/analytics.js'></script>
</head>
<body class="post-template-default single single-post single-format-standard ct-body singular singular-post not-front standard">
<div id="overflow-container" class="overflow-container">
<a class="skip-content" href="#main">Skip to content</a>
<header id="site-header" class="site-header" role="banner">
<div class='top-navigation'>
<div class='container'>
<div id="menu-secondary" class="menu-container menu-secondary" role="navigation">
<button id="toggle-secondary-navigation" class="toggle-secondary-navigation"><i class="fas fa-plus"></i></button>
<div class="menu">
<ul id="menu-secondary-items" class="menu-secondary-items">
<li class="menu-item menu-item-type-taxonomy menu-item-object-category">
<a href="/categories/"></a>
</li>
<li class="menu-item menu-item-type-taxonomy menu-item-object-category">
<a href="/categories/ansible">ansible</a>
</li>
<li class="menu-item menu-item-type-taxonomy menu-item-object-category">
<a href="/categories/linux">linux</a>
</li>
<li class="menu-item menu-item-type-taxonomy menu-item-object-category">
<a href="/categories/proxmox">proxmox</a>
</li>
<li class="menu-item menu-item-type-taxonomy menu-item-object-category">
<a href="/categories/ps">ps</a>
</li>
<li class="menu-item menu-item-type-taxonomy menu-item-object-category">
<a href="/categories/%E7%A2%8E%E5%BF%B5">碎念</a>
</li>
<li class="menu-item menu-item-type-taxonomy menu-item-object-category">
<a href="/categories/%E7%AD%86%E8%A8%98">筆記</a>
</li>
<li class="menu-item menu-item-type-taxonomy menu-item-object-category">
<a href="/categories/%E7%BE%A4%E6%9A%89">群暉</a>
</li>
<li class="menu-item menu-item-type-taxonomy menu-item-object-category">
<a href="/categories/%E9%9B%9C%E5%BF%B5">雜念</a>
</li>
</ul>
</div>
</div>
<ul class="social-media-icons">
<li>
<a href="full%20Social%20profile%20url%20in%20facebook" data-animate-hover="pulse" class="facebook" target="_blank">
<i class="fab fa-facebook-square" title="facebook"></i>
<span class="screen-reader-text">facebook</span>
</a>
</li>
<li>
<a href="full%20profile%20url%20in%20googleplus" data-animate-hover="pulse" class="gplus" target="_blank">
<i class="fab fa-google-plus-g" title="googleplus"></i>
<span class="screen-reader-text">googleplus</span>
</a>
</li>
<li>
<a href="chang0206" data-animate-hover="pulse" class="twitter" target="_blank">
<i class="fab fa-twitter-square" title="twitter"></i>
<span class="screen-reader-text">twitter</span>
</a>
</li>
<li>
<a href="chang0206" data-animate-hover="pulse" class="instagram" target="_blank">
<i class="fab fa-instagram" title="instagram"></i>
<span class="screen-reader-text">instagram</span>
</a>
</li>
<li>
<a href="mailto:mc@hotshraingmy.info" data-animate-hover="pulse" class="email">
<i class="fas fa-envelope" title="email"></i>
<span class="screen-reader-text">email</span>
</a>
</li>
<li>
<a href="full%20profile%20url%20in%20linkedin" data-animate-hover="pulse" class="linkedin" target="_blank">
<i class="fab fa-linkedin-in" title="linkedin"></i>
<span class="screen-reader-text">linkedin</span>
</a>
</li>
<li>
<a href="full%20profile%20url%20in%20stackoverflow" data-animate-hover="pulse" class="stackoverflow" target="_blank">
<i class="fab fa-stack-overflow" title="stackoverflow"></i>
<span class="screen-reader-text">stackoverflow</span>
</a>
</li>
<li>
<a href="changchichung" data-animate-hover="pulse" class="github" target="_blank">
<i class="fab fa-github" title="github"></i>
<span class="screen-reader-text">github</span>
</a>
</li>
<li>
<a href="full%20profile%20url%20in%20pinterest" data-animate-hover="pulse" class="pinterest" target="_blank">
<i class="fab fa-pinterest" title="pinterest"></i>
<span class="screen-reader-text">pinterest</span>
</a>
</li>
<li>
<a href="https://h.cowbay.org/index.xml" data-animate-hover="pulse" class="rss" target="_blank">
<i class="fas fa-rss" title="rss"></i>
<span class="screen-reader-text">rss</span>
</a>
</li>
</ul></div>
</div>
<div class="container">
<div id="title-info" class="title-info">
<div id='site-title' class='site-title'>
<a href="/"> MC部落 </a>
</div>
</div>
<button id="toggle-navigation" class="toggle-navigation">
<i class="fas fa-bars"></i>
</button>
<div id="menu-primary-tracks" class="menu-primary-tracks"></div>
<div id="menu-primary" class="menu-container menu-primary" role="navigation">
<p class="site-description">Whats the Worst That Could Happen?</p>
<div class="menu">
<ul id="menu-primary-items" class="menu-primary-items">
<li class='menu-item menu-item-type-custom menu-item-object-custom '>
<a href="https://h.cowbay.org/">Home</a>
</li>
<li class='menu-item menu-item-type-post_type menu-item-object-page '>
<a href="https://h.cowbay.org/about/">About</a>
</li>
<li class='menu-item menu-item-type-post_type menu-item-object-page '>
<a href="https://h.cowbay.org/contact/">Get in touch</a>
</li>
</ul>
</div>
</div>
</div>
</header>
<div id="main" class="main" role="main">
<div id="loop-container" class="loop-container">
<div class="post type-post status-publish format-standard has-post-thumbnail hentry category-design tag-design tag-standard-2 tag-tagalicious tag-travel entry full-without-featured odd excerpt-1">
<div class='featured-image lazy lazy-bg-image' data-background="https://h.cowbay.org/images/post-default-16.jpg">
</div>
<div class="entry-meta">
<span class="date">03 January</span> <span> / </span>
<span class="author">
<a href="https://github.com/changchichung" title="Posts by Eric Chang" rel="author">Eric Chang</a>
</span>
<span class="category">
<span> / </span>
<a href="/categories/%E9%9B%9C%E5%BF%B5">雜念</a>
</span>
</div>
<div class='entry-header'>
<h1 class='entry-title'> [碎念] Synology 群暉的文件不知道在工三小 / what a piss in synology document</h1>
</div>
<div class="entry-container">
<div class="entry-content">
<article>
<p>2020/01/02 2020 上工的第一天,公司碩果僅存的唯一一台 Synology DS415+ 也終於掛了</p>
<p>開機沒多久就連不上,反覆幾次之後,出現了開機時所有燈號都狂閃的狀況</p>
<p>終於宣告不治</p>
<p>問題很明顯的就是Intel C2000 系列 CPU 的瑕疵</p>
<p>總之,機器老早就過保了,上面放的是 proxmox 的 vm 檔案</p>
<p>在NAS掛點之後就從備份檔把這些VM還原回來了</p>
<p>想說網路上很多文章說只要焊一個電阻上去就可以修復</p>
<p>就把機器和硬碟先放著,等有空再去買電阻回來玩玩看</p>
<p>結果user今天早上就在靠腰說上面有一台開發用的VM上面的歷史紀錄很重要</p>
<p>幹,很重要是不會自己備份逆?</p>
<p>又不跟我說很重要,要備份,然後自己也不做備份</p>
<p>然後現在VM 不見了,再來靠腰??</p>
<p>真的不要以為資訊公司的員工就比較有sense ,屁!</p>
<p>不過呢,人微言輕,還是只好鼻子摸摸,想辦法救出來</p>
<p>然後就找到了群暉的這篇文章</p>
<p><a href="https://www.synology.com/zh-tw/knowledgebase/DSM/tutorial/Storage/How_can_I_recover_data_from_my_DiskStation_using_a_PC">https://www.synology.com/zh-tw/knowledgebase/DSM/tutorial/Storage/How_can_I_recover_data_from_my_DiskStation_using_a_PC</a></p>
<pre><code>如何使用電腦復原存放在 Synology NAS 上的資料?
若您的 Synology NAS 故障,可以輕鬆透過電腦與 Ubuntu Live CD 復原資料。請確認 Synology NAS 硬碟上運行的檔案系統是 EXT4 或 Btrfs並依照下列步驟來復原資料。此處將以 Ubuntu 18.04 版本作為範例:
1.準備一台電腦,該電腦必須具備足夠的硬碟插槽以安裝從 Synology NAS 取出的硬碟。
2.將硬碟從 Synology NAS 取出,並安裝到電腦。若使用 RAID 或 SHR 配置,您必須將所有硬碟 (Hot Spare 硬碟除外) 同時安裝到電腦。
3.按照此教學 Create a bootable USB stick on Windows 來建立 Ubuntu 環境。
4.前往左下角的顯示應用程式選單。
5.在搜尋欄位輸入 Terminal 並選擇終端機。
6.若 Synology NAS 上的磁碟配置為 RAID 或 SHR請依照步驟 7 到 10 操作;若您想復原的檔案位於僅使用一顆硬碟的基本儲存類型機種,請跳至步驟 10。
7.輸入以下指令 (sudo 會將執行權限轉換為 root )。
Ubuntu@ubuntu:~$ sudo -i
8.輸入以下指令來安裝 mdadm 和 lvm2 (皆為 RAID 管理工具)。若沒有安裝 lvm2vgchange 將無法運作。
root@ubuntu:~$ apt-get update
root@ubuntu:~$ apt-get install -y mdadm lvm2
9.輸入以下指令來掛載所有從 Synology NAS 取出的硬碟,結果可能會因 Synology NAS 上的儲存集區配置而有所不同。
root@ubuntu:~$ mdadm -Asf &amp;&amp; vgchange -ay
10.輸入以下指令來將所有硬碟掛載為唯讀以存取資料。在 ${device_path} 輸入裝置路徑,${mount_point} 輸入掛載點,您的資料將會被置於掛載點的路徑。
$ mount ${device_path} ${mount_point} -o ro
</code></pre>
<p>好, 1-9 都沒什麼問題,但是有人可以幫忙翻譯翻譯 10 是在工三小?</p>
<p>當然我能理解因為每一臺NAS的環境不同所以會有一些不同的變數</p>
<p>但是假如你是一個單純的user ,只是想要救資料,好不容易找了臺電腦</p>
<p>把硬碟都接上去用ubuntu liveCD 開機乖乖做了1-9的步驟</p>
<p>接著一定會傻眼, 什麼是 ${device_path} ?? 什麼是 ${mount_point} ???</p>
<p>寫文件的人你就不能配合個圖片,去說明應該要怎麼辨別 device_path ? mount_point 又是什麼?</p>
<p>這很簡單呀!</p>
<p>做完 9 的指令,其實就會回復你 NAS 分割區的名稱</p>
<p>好像叫什麼 vg1 的 &lt;&mdash;這個就是變數,可能每一臺都不同,但是你起碼做個範例給人家看啊!</p>
<p>然後會在 /dev/vg1 底下看到當初建立的磁區 (我的叫 volume_1)</p>
<p>至於 mount_point 就是看你要掛載到系統的哪個目錄底下</p>
<p>所以我就要執行</p>
<pre><code>mount /dev/vg1/volume_1 /mnt
</code></pre>
<p>這樣就可以把NAS上的分割給掛進liveCD ,就可以進行資料複製了!</p>
<p>連一份文件都做不好,真的是服了這些據說很高薪的「工程師」..</p>
</article>
</div>
<div class='entry-meta-bottom'>
<div class="entry-categories"><p><span>Categories</span>
<a href="/categories/%E9%9B%9C%E5%BF%B5" title="View all posts in 雜念">雜念</a>
</p>
</div>
<div class="entry-tags"><p><span>Tags</span>
<a href="/tags/synology" title="View all posts tagged synology">synology</a>
</p></div> </div>
<div class="author-meta">
<div class="author">
<img alt='Eric Chang' src="https://www.gravatar.com/avatar/23f8ed94e007297499ac8df1641b3ff5?s=100&d=identicon" class='avatar avatar-72 photo' height='72' width='72'>
<span>
Written by:<a href="https://github.com/changchichung" title="Posts by Eric Chang" rel="author">Eric Chang</a> </span>
</div>
<div class="bio">
<p>塵世裡一個迷途小書僮</p>
<a class="facebook" target="_blank"
href="full%20Social%20profile%20url%20in%20facebook">
<i class="fab fa-facebook-f"
title="facebook icon"></i>
</a>
<a class="googleplus" target="_blank"
href="full%20profile%20url%20in%20googleplus">
<i class="fab fa-google-plus-g"
title="googleplus icon"></i>
</a>
<a class="twitter" target="_blank"
href="chang0206">
<i class="fab fa-twitter-square"
title="twitter icon"></i>
</a>
<a class="linkedin" target="_blank"
href="full%20profile%20url%20in%20linkedin">
<i class="fab fa-linkedin"
title="linkedin icon"></i>
</a>
<a class="email" target="_blank"
href="mailto:mc@hotshraingmy.info">
<i class="fas fa-envelope"
title="email icon"></i>
</a>
<a class="instagram" target="_blank"
href="chang0206">
<i class="fab fa-instagram"
title="instagram icon"></i>
</a>
<a class="stackoverflow" target="_blank"
href="full%20profile%20url%20in%20stackoverflow">
<i class="fab fa-stack-overflow"
title="stackoverflow icon"></i>
</a>
<a class="github" target="_blank"
href="changchichung">
<i class="fab fa-github"
title="github icon"></i>
</a>
<a class="pinterest" target="_blank"
href="full%20profile%20url%20in%20pinterest">
<i class="fab fa-pinterest"
title="pinterest icon"></i>
</a>
</div>
</div>
</div>
</div>
<section id="comments" class="comments">
<div id="disqus_thread"></div>
<script type="application/javascript">
var disqus_config = function () {
};
(function() {
if (["localhost", "127.0.0.1"].indexOf(window.location.hostname) != -1) {
document.getElementById('disqus_thread').innerHTML = 'Disqus comments not available by default when the website is previewed locally.';
return;
}
var d = document, s = d.createElement('script'); s.async = true;
s.src = '//' + "h-cowbay-org-1" + '.disqus.com/embed.js';
s.setAttribute('data-timestamp', +new Date());
(d.head || d.body).appendChild(s);
})();
</script>
<noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
<a href="https://disqus.com" class="dsq-brlink">comments powered by <span class="logo-disqus">Disqus</span></a>
</section>
</div>
</div>
<footer id="site-footer" class="site-footer" role="contentinfo">
<h1>
<a href=""> MC部落 </a>
</h1>
<p class="site-description">Whats the Worst That Could Happen?</p>
<div id="menu-footer" class="menu-container menu-footer" role="navigation">
<div class="menu">
<ul id="menu-footer-items" class="menu-footer-items">
</ul>
</div> </div>
<ul class="social-media-icons">
<li>
<a class="facebook" target="_blank"
href="full%20Social%20profile%20url%20in%20facebook" >
<i class="fab fa-facebook-f" title="facebook"></i>
<span class="screen-reader-text">facebook</span>
</a>
</li>
<li>
<a class="googleplus" target="_blank"
href="full%20profile%20url%20in%20googleplus" >
<i class="fab fa-google-plus-g" title="googleplus"></i>
<span class="screen-reader-text">googleplus</span>
</a>
</li>
<li>
<a href="chang0206" class="twitter" target="_blank">
<i class="fab fa-twitter-square" title="twitter"></i>
<span class="screen-reader-text">twitter</span>
</a>
</li>
<li>
<a href="chang0206" class="instagram" target="_blank">
<i class="fab fa-instagram" title="instagram"></i>
<span class="screen-reader-text">instagram</span>
</a>
</li>
<li>
<a href="mailto:mc@hotshraingmy.info" class="email">
<i class="fas fa-envelope" title="email"></i>
<span class="screen-reader-text">email</span>
</a>
</li>
<li>
<a href="full%20profile%20url%20in%20linkedin" class="linkedin" target="_blank">
<i class="fab fa-linkedin-in" title="linkedin"></i>
<span class="screen-reader-text">linkedin</span>
</a>
</li>
<li>
<a href="full%20profile%20url%20in%20stackoverflow" class="stackoverflow" target="_blank">
<i class="fab fa-stack-overflow" title="stackoverflow"></i>
<span class="screen-reader-text">stackoverflow</span>
</a>
</li>
<li>
<a href="changchichung" class="github" target="_blank">
<i class="fab fa-github" title="github"></i>
<span class="screen-reader-text">github</span>
</a>
</li>
<li>
<a href="full%20profile%20url%20in%20pinterest" class="pinterest" target="_blank">
<i class="fab fa-pinterest" title="pinterest"></i>
<span class="screen-reader-text">pinterest</span>
</a>
</li>
<li>
<a href="https://h.cowbay.org/index.xml" data-animate-hover="pulse" class="rss" target="_blank">
<i class="fas fa-rss" title="rss"></i>
<span class="screen-reader-text">rss</span>
</a>
</li>
</ul> <div class="design-credit">
<p>&copy; 2018 Göran Svensson</p>
<p>Nederburg Hugo Theme by <a href="https://appernetic.io">Appernetic</a>.</p>
<p>A port of Tracks by Compete Themes.</p>
</div>
</footer>
</div>
<script src="https://h.cowbay.org/js/jquery.min.js"></script>
<script src="https://h.cowbay.org/js/jquerymigrate.js"></script>
<script src="https://h.cowbay.org/js/production.min.js?v=1581582274"></script>
</body>
</html>

@ -3,37 +3,97 @@
xmlns:xhtml="http://www.w3.org/1999/xhtml">
<url>
<loc>https://h.cowbay.org/post/ansible-get-value-from-loop-register/</loc>
<lastmod>2019-12-27T09:09:05+08:00</lastmod>
<loc>https://h.cowbay.org/post/proxmox-with-synology-high-availability/</loc>
<lastmod>2020-01-17T12:20:33+08:00</lastmod>
</url>
<url>
<loc>https://h.cowbay.org/tags/ansible/</loc>
<lastmod>2019-12-27T09:09:05+08:00</lastmod>
<loc>https://h.cowbay.org/categories/</loc>
<lastmod>2020-01-17T12:20:33+08:00</lastmod>
</url>
<url>
<loc>https://h.cowbay.org/categories/</loc>
<lastmod>2019-12-27T09:09:05+08:00</lastmod>
<loc>https://h.cowbay.org/tags/high-availability/</loc>
<lastmod>2020-01-17T12:20:33+08:00</lastmod>
</url>
<url>
<loc>https://h.cowbay.org/</loc>
<lastmod>2019-12-27T09:09:05+08:00</lastmod>
<lastmod>2020-01-17T12:20:33+08:00</lastmod>
</url>
<url>
<loc>https://h.cowbay.org/post/</loc>
<lastmod>2019-12-27T09:09:05+08:00</lastmod>
<lastmod>2020-01-17T12:20:33+08:00</lastmod>
</url>
<url>
<loc>https://h.cowbay.org/tags/proxmox/</loc>
<lastmod>2020-01-17T12:20:33+08:00</lastmod>
</url>
<url>
<loc>https://h.cowbay.org/tags/synology/</loc>
<lastmod>2020-01-17T12:20:33+08:00</lastmod>
</url>
<url>
<loc>https://h.cowbay.org/tags/</loc>
<lastmod>2019-12-27T09:09:05+08:00</lastmod>
<lastmod>2020-01-17T12:20:33+08:00</lastmod>
</url>
<url>
<loc>https://h.cowbay.org/categories/%E7%AD%86%E8%A8%98/</loc>
<lastmod>2020-01-17T12:20:33+08:00</lastmod>
</url>
<url>
<loc>https://h.cowbay.org/post/first-try-synology-ha/</loc>
<lastmod>2020-01-10T09:48:18+08:00</lastmod>
</url>
<url>
<loc>https://h.cowbay.org/post/postgresql-pgbench-benchmark/</loc>
<lastmod>2020-01-07T11:18:59+08:00</lastmod>
</url>
<url>
<loc>https://h.cowbay.org/tags/pgbench/</loc>
<lastmod>2020-01-07T11:18:59+08:00</lastmod>
</url>
<url>
<loc>https://h.cowbay.org/tags/postgresql/</loc>
<lastmod>2020-01-07T11:18:59+08:00</lastmod>
</url>
<url>
<loc>https://h.cowbay.org/post/rescue-synology-nas-with-ubuntu-livecd/</loc>
<lastmod>2020-01-03T15:43:45+08:00</lastmod>
</url>
<url>
<loc>https://h.cowbay.org/tags/nas/</loc>
<lastmod>2020-01-03T15:43:45+08:00</lastmod>
</url>
<url>
<loc>https://h.cowbay.org/post/what-a-piss-in-synology-document/</loc>
<lastmod>2020-01-03T11:45:56+08:00</lastmod>
</url>
<url>
<loc>https://h.cowbay.org/categories/%E9%9B%9C%E5%BF%B5/</loc>
<lastmod>2020-01-03T11:45:56+08:00</lastmod>
</url>
<url>
<loc>https://h.cowbay.org/post/ansible-get-value-from-loop-register/</loc>
<lastmod>2019-12-27T09:09:05+08:00</lastmod>
</url>
<url>
<loc>https://h.cowbay.org/tags/ansible/</loc>
<lastmod>2019-12-27T09:09:05+08:00</lastmod>
</url>
@ -57,11 +117,6 @@
<lastmod>2019-12-20T14:31:42+08:00</lastmod>
</url>
<url>
<loc>https://h.cowbay.org/tags/postgresql/</loc>
<lastmod>2019-12-20T14:31:42+08:00</lastmod>
</url>
<url>
<loc>https://h.cowbay.org/post/accidentally-typed-an-extra-space-in-ansible-playbook/</loc>
<lastmod>2019-12-18T14:44:27+08:00</lastmod>
@ -267,11 +322,6 @@
<lastmod>2019-06-17T13:20:57+08:00</lastmod>
</url>
<url>
<loc>https://h.cowbay.org/tags/proxmox/</loc>
<lastmod>2019-06-17T13:20:57+08:00</lastmod>
</url>
<url>
<loc>https://h.cowbay.org/post/change-timezone-in-docker/</loc>
<lastmod>2019-05-21T17:25:15+08:00</lastmod>
@ -402,16 +452,6 @@
<lastmod>2018-12-04T10:25:19+08:00</lastmod>
</url>
<url>
<loc>https://h.cowbay.org/tags/nas/</loc>
<lastmod>2018-12-04T10:25:19+08:00</lastmod>
</url>
<url>
<loc>https://h.cowbay.org/tags/synology/</loc>
<lastmod>2018-12-04T10:25:19+08:00</lastmod>
</url>
<url>
<loc>https://h.cowbay.org/tags/%E7%BE%A4%E6%9A%89/</loc>
<lastmod>2018-12-04T10:25:19+08:00</lastmod>

@ -45,9 +45,9 @@
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.3.1/css/all.css" integrity="sha384-mzrmE5qonljUremFsqc01SB46JvROS7bZs3IO2EmfFsd15uHvIt+Y8vEf7N7fWAU" crossorigin="anonymous">
<link href="https://h.cowbay.org/css/style.css?v=1577410044" rel="stylesheet" id="theme-stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/style.css?v=1581582274" rel="stylesheet" id="theme-stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/custom.css?v=1577410044" rel="stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/custom.css?v=1581582274" rel="stylesheet" type='text/css' media='all'>
<link rel="shortcut icon" href="https://h.cowbay.org/img/favicon.ico" type="image/x-icon">
<link rel="icon" href="https://h.cowbay.org/img/favicon.ico" type="image/x-icon">
@ -114,6 +114,10 @@ if (!doNotTrack) {
<a href="/categories/%E7%BE%A4%E6%9A%89">群暉</a>
</li>
<li class="menu-item menu-item-type-taxonomy menu-item-object-category">
<a href="/categories/%E9%9B%9C%E5%BF%B5">雜念</a>
</li>
</ul>
@ -480,6 +484,6 @@ if (!doNotTrack) {
</div>
<script src="https://h.cowbay.org/js/jquery.min.js"></script>
<script src="https://h.cowbay.org/js/jquerymigrate.js"></script>
<script src="https://h.cowbay.org/js/production.min.js?v=1577410044"></script>
<script src="https://h.cowbay.org/js/production.min.js?v=1581582274"></script>
</body>

@ -45,9 +45,9 @@
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.3.1/css/all.css" integrity="sha384-mzrmE5qonljUremFsqc01SB46JvROS7bZs3IO2EmfFsd15uHvIt+Y8vEf7N7fWAU" crossorigin="anonymous">
<link href="https://h.cowbay.org/css/style.css?v=1577410044" rel="stylesheet" id="theme-stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/style.css?v=1581582274" rel="stylesheet" id="theme-stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/custom.css?v=1577410044" rel="stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/custom.css?v=1581582274" rel="stylesheet" type='text/css' media='all'>
<link rel="shortcut icon" href="https://h.cowbay.org/img/favicon.ico" type="image/x-icon">
<link rel="icon" href="https://h.cowbay.org/img/favicon.ico" type="image/x-icon">
@ -114,6 +114,10 @@ if (!doNotTrack) {
<a href="/categories/%E7%BE%A4%E6%9A%89">群暉</a>
</li>
<li class="menu-item menu-item-type-taxonomy menu-item-object-category">
<a href="/categories/%E9%9B%9C%E5%BF%B5">雜念</a>
</li>
</ul>
@ -872,6 +876,6 @@ if (!doNotTrack) {
</div>
<script src="https://h.cowbay.org/js/jquery.min.js"></script>
<script src="https://h.cowbay.org/js/jquerymigrate.js"></script>
<script src="https://h.cowbay.org/js/production.min.js?v=1577410044"></script>
<script src="https://h.cowbay.org/js/production.min.js?v=1581582274"></script>
</body>

@ -45,9 +45,9 @@
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.3.1/css/all.css" integrity="sha384-mzrmE5qonljUremFsqc01SB46JvROS7bZs3IO2EmfFsd15uHvIt+Y8vEf7N7fWAU" crossorigin="anonymous">
<link href="https://h.cowbay.org/css/style.css?v=1577410044" rel="stylesheet" id="theme-stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/style.css?v=1581582274" rel="stylesheet" id="theme-stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/custom.css?v=1577410044" rel="stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/custom.css?v=1581582274" rel="stylesheet" type='text/css' media='all'>
<link rel="shortcut icon" href="https://h.cowbay.org/img/favicon.ico" type="image/x-icon">
<link rel="icon" href="https://h.cowbay.org/img/favicon.ico" type="image/x-icon">
@ -114,6 +114,10 @@ if (!doNotTrack) {
<a href="/categories/%E7%BE%A4%E6%9A%89">群暉</a>
</li>
<li class="menu-item menu-item-type-taxonomy menu-item-object-category">
<a href="/categories/%E9%9B%9C%E5%BF%B5">雜念</a>
</li>
</ul>
@ -520,6 +524,6 @@ if (!doNotTrack) {
</div>
<script src="https://h.cowbay.org/js/jquery.min.js"></script>
<script src="https://h.cowbay.org/js/jquerymigrate.js"></script>
<script src="https://h.cowbay.org/js/production.min.js?v=1577410044"></script>
<script src="https://h.cowbay.org/js/production.min.js?v=1581582274"></script>
</body>

@ -45,9 +45,9 @@
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.3.1/css/all.css" integrity="sha384-mzrmE5qonljUremFsqc01SB46JvROS7bZs3IO2EmfFsd15uHvIt+Y8vEf7N7fWAU" crossorigin="anonymous">
<link href="https://h.cowbay.org/css/style.css?v=1577410044" rel="stylesheet" id="theme-stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/style.css?v=1581582274" rel="stylesheet" id="theme-stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/custom.css?v=1577410044" rel="stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/custom.css?v=1581582274" rel="stylesheet" type='text/css' media='all'>
<link rel="shortcut icon" href="https://h.cowbay.org/img/favicon.ico" type="image/x-icon">
<link rel="icon" href="https://h.cowbay.org/img/favicon.ico" type="image/x-icon">
@ -114,6 +114,10 @@ if (!doNotTrack) {
<a href="/categories/%E7%BE%A4%E6%9A%89">群暉</a>
</li>
<li class="menu-item menu-item-type-taxonomy menu-item-object-category">
<a href="/categories/%E9%9B%9C%E5%BF%B5">雜念</a>
</li>
</ul>
@ -466,6 +470,6 @@ if (!doNotTrack) {
</div>
<script src="https://h.cowbay.org/js/jquery.min.js"></script>
<script src="https://h.cowbay.org/js/jquerymigrate.js"></script>
<script src="https://h.cowbay.org/js/production.min.js?v=1577410044"></script>
<script src="https://h.cowbay.org/js/production.min.js?v=1581582274"></script>
</body>

@ -45,9 +45,9 @@
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.3.1/css/all.css" integrity="sha384-mzrmE5qonljUremFsqc01SB46JvROS7bZs3IO2EmfFsd15uHvIt+Y8vEf7N7fWAU" crossorigin="anonymous">
<link href="https://h.cowbay.org/css/style.css?v=1577410044" rel="stylesheet" id="theme-stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/style.css?v=1581582274" rel="stylesheet" id="theme-stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/custom.css?v=1577410044" rel="stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/custom.css?v=1581582274" rel="stylesheet" type='text/css' media='all'>
<link rel="shortcut icon" href="https://h.cowbay.org/img/favicon.ico" type="image/x-icon">
<link rel="icon" href="https://h.cowbay.org/img/favicon.ico" type="image/x-icon">
@ -114,6 +114,10 @@ if (!doNotTrack) {
<a href="/categories/%E7%BE%A4%E6%9A%89">群暉</a>
</li>
<li class="menu-item menu-item-type-taxonomy menu-item-object-category">
<a href="/categories/%E9%9B%9C%E5%BF%B5">雜念</a>
</li>
</ul>
@ -480,6 +484,6 @@ if (!doNotTrack) {
</div>
<script src="https://h.cowbay.org/js/jquery.min.js"></script>
<script src="https://h.cowbay.org/js/jquerymigrate.js"></script>
<script src="https://h.cowbay.org/js/production.min.js?v=1577410044"></script>
<script src="https://h.cowbay.org/js/production.min.js?v=1581582274"></script>
</body>

@ -45,9 +45,9 @@
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.3.1/css/all.css" integrity="sha384-mzrmE5qonljUremFsqc01SB46JvROS7bZs3IO2EmfFsd15uHvIt+Y8vEf7N7fWAU" crossorigin="anonymous">
<link href="https://h.cowbay.org/css/style.css?v=1577410044" rel="stylesheet" id="theme-stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/style.css?v=1581582274" rel="stylesheet" id="theme-stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/custom.css?v=1577410044" rel="stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/custom.css?v=1581582274" rel="stylesheet" type='text/css' media='all'>
<link rel="shortcut icon" href="https://h.cowbay.org/img/favicon.ico" type="image/x-icon">
<link rel="icon" href="https://h.cowbay.org/img/favicon.ico" type="image/x-icon">
@ -114,6 +114,10 @@ if (!doNotTrack) {
<a href="/categories/%E7%BE%A4%E6%9A%89">群暉</a>
</li>
<li class="menu-item menu-item-type-taxonomy menu-item-object-category">
<a href="/categories/%E9%9B%9C%E5%BF%B5">雜念</a>
</li>
</ul>
@ -472,6 +476,6 @@ if (!doNotTrack) {
</div>
<script src="https://h.cowbay.org/js/jquery.min.js"></script>
<script src="https://h.cowbay.org/js/jquerymigrate.js"></script>
<script src="https://h.cowbay.org/js/production.min.js?v=1577410044"></script>
<script src="https://h.cowbay.org/js/production.min.js?v=1581582274"></script>
</body>

@ -45,9 +45,9 @@
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.3.1/css/all.css" integrity="sha384-mzrmE5qonljUremFsqc01SB46JvROS7bZs3IO2EmfFsd15uHvIt+Y8vEf7N7fWAU" crossorigin="anonymous">
<link href="https://h.cowbay.org/css/style.css?v=1577410044" rel="stylesheet" id="theme-stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/style.css?v=1581582274" rel="stylesheet" id="theme-stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/custom.css?v=1577410044" rel="stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/custom.css?v=1581582274" rel="stylesheet" type='text/css' media='all'>
<link rel="shortcut icon" href="https://h.cowbay.org/img/favicon.ico" type="image/x-icon">
<link rel="icon" href="https://h.cowbay.org/img/favicon.ico" type="image/x-icon">
@ -114,6 +114,10 @@ if (!doNotTrack) {
<a href="/categories/%E7%BE%A4%E6%9A%89">群暉</a>
</li>
<li class="menu-item menu-item-type-taxonomy menu-item-object-category">
<a href="/categories/%E9%9B%9C%E5%BF%B5">雜念</a>
</li>
</ul>
@ -466,6 +470,6 @@ if (!doNotTrack) {
</div>
<script src="https://h.cowbay.org/js/jquery.min.js"></script>
<script src="https://h.cowbay.org/js/jquerymigrate.js"></script>
<script src="https://h.cowbay.org/js/production.min.js?v=1577410044"></script>
<script src="https://h.cowbay.org/js/production.min.js?v=1581582274"></script>
</body>

@ -45,9 +45,9 @@
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.3.1/css/all.css" integrity="sha384-mzrmE5qonljUremFsqc01SB46JvROS7bZs3IO2EmfFsd15uHvIt+Y8vEf7N7fWAU" crossorigin="anonymous">
<link href="https://h.cowbay.org/css/style.css?v=1577410044" rel="stylesheet" id="theme-stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/style.css?v=1581582274" rel="stylesheet" id="theme-stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/custom.css?v=1577410044" rel="stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/custom.css?v=1581582274" rel="stylesheet" type='text/css' media='all'>
<link rel="shortcut icon" href="https://h.cowbay.org/img/favicon.ico" type="image/x-icon">
<link rel="icon" href="https://h.cowbay.org/img/favicon.ico" type="image/x-icon">
@ -114,6 +114,10 @@ if (!doNotTrack) {
<a href="/categories/%E7%BE%A4%E6%9A%89">群暉</a>
</li>
<li class="menu-item menu-item-type-taxonomy menu-item-object-category">
<a href="/categories/%E9%9B%9C%E5%BF%B5">雜念</a>
</li>
</ul>
@ -530,6 +534,6 @@ if (!doNotTrack) {
</div>
<script src="https://h.cowbay.org/js/jquery.min.js"></script>
<script src="https://h.cowbay.org/js/jquerymigrate.js"></script>
<script src="https://h.cowbay.org/js/production.min.js?v=1577410044"></script>
<script src="https://h.cowbay.org/js/production.min.js?v=1581582274"></script>
</body>

@ -45,9 +45,9 @@
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.3.1/css/all.css" integrity="sha384-mzrmE5qonljUremFsqc01SB46JvROS7bZs3IO2EmfFsd15uHvIt+Y8vEf7N7fWAU" crossorigin="anonymous">
<link href="https://h.cowbay.org/css/style.css?v=1577410044" rel="stylesheet" id="theme-stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/style.css?v=1581582274" rel="stylesheet" id="theme-stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/custom.css?v=1577410044" rel="stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/custom.css?v=1581582274" rel="stylesheet" type='text/css' media='all'>
<link rel="shortcut icon" href="https://h.cowbay.org/img/favicon.ico" type="image/x-icon">
<link rel="icon" href="https://h.cowbay.org/img/favicon.ico" type="image/x-icon">
@ -114,6 +114,10 @@ if (!doNotTrack) {
<a href="/categories/%E7%BE%A4%E6%9A%89">群暉</a>
</li>
<li class="menu-item menu-item-type-taxonomy menu-item-object-category">
<a href="/categories/%E9%9B%9C%E5%BF%B5">雜念</a>
</li>
</ul>
@ -528,6 +532,6 @@ if (!doNotTrack) {
</div>
<script src="https://h.cowbay.org/js/jquery.min.js"></script>
<script src="https://h.cowbay.org/js/jquerymigrate.js"></script>
<script src="https://h.cowbay.org/js/production.min.js?v=1577410044"></script>
<script src="https://h.cowbay.org/js/production.min.js?v=1581582274"></script>
</body>

@ -45,9 +45,9 @@
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.3.1/css/all.css" integrity="sha384-mzrmE5qonljUremFsqc01SB46JvROS7bZs3IO2EmfFsd15uHvIt+Y8vEf7N7fWAU" crossorigin="anonymous">
<link href="https://h.cowbay.org/css/style.css?v=1577410044" rel="stylesheet" id="theme-stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/style.css?v=1581582274" rel="stylesheet" id="theme-stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/custom.css?v=1577410044" rel="stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/custom.css?v=1581582274" rel="stylesheet" type='text/css' media='all'>
<link rel="shortcut icon" href="https://h.cowbay.org/img/favicon.ico" type="image/x-icon">
<link rel="icon" href="https://h.cowbay.org/img/favicon.ico" type="image/x-icon">
@ -114,6 +114,10 @@ if (!doNotTrack) {
<a href="/categories/%E7%BE%A4%E6%9A%89">群暉</a>
</li>
<li class="menu-item menu-item-type-taxonomy menu-item-object-category">
<a href="/categories/%E9%9B%9C%E5%BF%B5">雜念</a>
</li>
</ul>
@ -469,6 +473,6 @@ if (!doNotTrack) {
</div>
<script src="https://h.cowbay.org/js/jquery.min.js"></script>
<script src="https://h.cowbay.org/js/jquerymigrate.js"></script>
<script src="https://h.cowbay.org/js/production.min.js?v=1577410044"></script>
<script src="https://h.cowbay.org/js/production.min.js?v=1581582274"></script>
</body>

@ -45,9 +45,9 @@
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.3.1/css/all.css" integrity="sha384-mzrmE5qonljUremFsqc01SB46JvROS7bZs3IO2EmfFsd15uHvIt+Y8vEf7N7fWAU" crossorigin="anonymous">
<link href="https://h.cowbay.org/css/style.css?v=1577410044" rel="stylesheet" id="theme-stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/style.css?v=1581582274" rel="stylesheet" id="theme-stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/custom.css?v=1577410044" rel="stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/custom.css?v=1581582274" rel="stylesheet" type='text/css' media='all'>
<link rel="shortcut icon" href="https://h.cowbay.org/img/favicon.ico" type="image/x-icon">
<link rel="icon" href="https://h.cowbay.org/img/favicon.ico" type="image/x-icon">
@ -114,6 +114,10 @@ if (!doNotTrack) {
<a href="/categories/%E7%BE%A4%E6%9A%89">群暉</a>
</li>
<li class="menu-item menu-item-type-taxonomy menu-item-object-category">
<a href="/categories/%E9%9B%9C%E5%BF%B5">雜念</a>
</li>
</ul>
@ -482,6 +486,6 @@ if (!doNotTrack) {
</div>
<script src="https://h.cowbay.org/js/jquery.min.js"></script>
<script src="https://h.cowbay.org/js/jquerymigrate.js"></script>
<script src="https://h.cowbay.org/js/production.min.js?v=1577410044"></script>
<script src="https://h.cowbay.org/js/production.min.js?v=1581582274"></script>
</body>

@ -45,9 +45,9 @@
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.3.1/css/all.css" integrity="sha384-mzrmE5qonljUremFsqc01SB46JvROS7bZs3IO2EmfFsd15uHvIt+Y8vEf7N7fWAU" crossorigin="anonymous">
<link href="https://h.cowbay.org/css/style.css?v=1577410044" rel="stylesheet" id="theme-stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/style.css?v=1581582274" rel="stylesheet" id="theme-stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/custom.css?v=1577410044" rel="stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/custom.css?v=1581582274" rel="stylesheet" type='text/css' media='all'>
<link rel="shortcut icon" href="https://h.cowbay.org/img/favicon.ico" type="image/x-icon">
<link rel="icon" href="https://h.cowbay.org/img/favicon.ico" type="image/x-icon">
@ -114,6 +114,10 @@ if (!doNotTrack) {
<a href="/categories/%E7%BE%A4%E6%9A%89">群暉</a>
</li>
<li class="menu-item menu-item-type-taxonomy menu-item-object-category">
<a href="/categories/%E9%9B%9C%E5%BF%B5">雜念</a>
</li>
</ul>
@ -474,6 +478,6 @@ if (!doNotTrack) {
</div>
<script src="https://h.cowbay.org/js/jquery.min.js"></script>
<script src="https://h.cowbay.org/js/jquerymigrate.js"></script>
<script src="https://h.cowbay.org/js/production.min.js?v=1577410044"></script>
<script src="https://h.cowbay.org/js/production.min.js?v=1581582274"></script>
</body>

@ -45,9 +45,9 @@
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.3.1/css/all.css" integrity="sha384-mzrmE5qonljUremFsqc01SB46JvROS7bZs3IO2EmfFsd15uHvIt+Y8vEf7N7fWAU" crossorigin="anonymous">
<link href="https://h.cowbay.org/css/style.css?v=1577410044" rel="stylesheet" id="theme-stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/style.css?v=1581582274" rel="stylesheet" id="theme-stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/custom.css?v=1577410044" rel="stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/custom.css?v=1581582274" rel="stylesheet" type='text/css' media='all'>
<link rel="shortcut icon" href="https://h.cowbay.org/img/favicon.ico" type="image/x-icon">
<link rel="icon" href="https://h.cowbay.org/img/favicon.ico" type="image/x-icon">
@ -114,6 +114,10 @@ if (!doNotTrack) {
<a href="/categories/%E7%BE%A4%E6%9A%89">群暉</a>
</li>
<li class="menu-item menu-item-type-taxonomy menu-item-object-category">
<a href="/categories/%E9%9B%9C%E5%BF%B5">雜念</a>
</li>
</ul>
@ -470,6 +474,6 @@ if (!doNotTrack) {
</div>
<script src="https://h.cowbay.org/js/jquery.min.js"></script>
<script src="https://h.cowbay.org/js/jquerymigrate.js"></script>
<script src="https://h.cowbay.org/js/production.min.js?v=1577410044"></script>
<script src="https://h.cowbay.org/js/production.min.js?v=1581582274"></script>
</body>

@ -45,9 +45,9 @@
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.3.1/css/all.css" integrity="sha384-mzrmE5qonljUremFsqc01SB46JvROS7bZs3IO2EmfFsd15uHvIt+Y8vEf7N7fWAU" crossorigin="anonymous">
<link href="https://h.cowbay.org/css/style.css?v=1577410044" rel="stylesheet" id="theme-stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/style.css?v=1581582274" rel="stylesheet" id="theme-stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/custom.css?v=1577410044" rel="stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/custom.css?v=1581582274" rel="stylesheet" type='text/css' media='all'>
<link rel="shortcut icon" href="https://h.cowbay.org/img/favicon.ico" type="image/x-icon">
<link rel="icon" href="https://h.cowbay.org/img/favicon.ico" type="image/x-icon">
@ -114,6 +114,10 @@ if (!doNotTrack) {
<a href="/categories/%E7%BE%A4%E6%9A%89">群暉</a>
</li>
<li class="menu-item menu-item-type-taxonomy menu-item-object-category">
<a href="/categories/%E9%9B%9C%E5%BF%B5">雜念</a>
</li>
</ul>
@ -472,6 +476,6 @@ if (!doNotTrack) {
</div>
<script src="https://h.cowbay.org/js/jquery.min.js"></script>
<script src="https://h.cowbay.org/js/jquerymigrate.js"></script>
<script src="https://h.cowbay.org/js/production.min.js?v=1577410044"></script>
<script src="https://h.cowbay.org/js/production.min.js?v=1581582274"></script>
</body>

@ -45,9 +45,9 @@
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.3.1/css/all.css" integrity="sha384-mzrmE5qonljUremFsqc01SB46JvROS7bZs3IO2EmfFsd15uHvIt+Y8vEf7N7fWAU" crossorigin="anonymous">
<link href="https://h.cowbay.org/css/style.css?v=1577410044" rel="stylesheet" id="theme-stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/style.css?v=1581582274" rel="stylesheet" id="theme-stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/custom.css?v=1577410044" rel="stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/custom.css?v=1581582274" rel="stylesheet" type='text/css' media='all'>
<link rel="shortcut icon" href="https://h.cowbay.org/img/favicon.ico" type="image/x-icon">
<link rel="icon" href="https://h.cowbay.org/img/favicon.ico" type="image/x-icon">
@ -114,6 +114,10 @@ if (!doNotTrack) {
<a href="/categories/%E7%BE%A4%E6%9A%89">群暉</a>
</li>
<li class="menu-item menu-item-type-taxonomy menu-item-object-category">
<a href="/categories/%E9%9B%9C%E5%BF%B5">雜念</a>
</li>
</ul>
@ -470,6 +474,6 @@ if (!doNotTrack) {
</div>
<script src="https://h.cowbay.org/js/jquery.min.js"></script>
<script src="https://h.cowbay.org/js/jquerymigrate.js"></script>
<script src="https://h.cowbay.org/js/production.min.js?v=1577410044"></script>
<script src="https://h.cowbay.org/js/production.min.js?v=1581582274"></script>
</body>

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save