hugo daily push 2019-04-23 22:00:01

master
Eric Chang 7 years ago
parent c3d8c76928
commit 75cb692ceb

@ -0,0 +1,143 @@
---
title: "[筆記] inxi 蒐集詳盡的硬體資訊 / inxi Collect Detail Hardware Info"
date: 2019-04-23T15:28:56+08:00
draft: false
noSummary: false
featuredImage: "https://h.cowbay.org/images/post-default-10.jpg"
categories: ['筆記']
tags: ['linux','bsd','inventory']
author: "Eric Chang"
---
最近因為一直碰到硬碟故障的問題算起來那一批同時購買的5X顆 seagate 2T硬碟已經有一半以上故障返修了....
然後又因為一直沒有添購新的硬碟,只能用這些快過保/已過保的撐著
所以最近不斷的在更換機器內的硬碟,而且還沒有熱插拔!
也導致原本負責處理盤點資產的同事困擾,因為跟手邊的紀錄已經對不起來了
然後就變成要對資產的時候,需要一台一台登入,然後去下不同的指令,取得想要的硬體資訊,超級麻煩的!
<!--more-->
幾次之後終於決定透過ansible來做這件事
一開始的想法很簡單,就用 lshw/dmidecode這些指令去做
可是因為手邊的機器有ubuntu 18.04/16.04/14.04 , Debian 9 , Proxmox (based on debian ) , CentOS , FreeNAS
而有些系統預設沒有 lshw / dmidecode (對FreeNAS 就是說你)
所以變成要依照系統不同去下不同的指令雖然都是ansible在跑但是看到playbook的內容就很煩啊
然後就不小心讓我翻到了 inxi 這個指令,根本就是救星啊!
直接來看輸出的範例
![sample of inxi output](http://i.imgur.com/OSx9cnz.png)
有沒有,是不是很優!
而且簡單易懂,還能抓到同事想看的資料,像是廠牌、型號、序號、記憶體類型(DDR2/3/4)
所以馬上捨棄 lshw/dmidecode ,改用 inxi 來跑
ansible role 的內容也很簡單
就偵測完之後,把結果送出給設定好的收件人
只是因為系統不同,大致上要分成 ubuntu/debian/centos 以及 freebsd 兩種
所以同樣的task 要跑兩次一個要帶sudo 一個不用帶
然後BSD系列的機器在inventory 裡面要帶入 ansible_ssh_user
就這樣,沒有什麼太困難的
```YAML
######### use inxi instead ##################
- name: copy inxi binary to remote Ubnutu/Debian
become: yes
become_method: sudo
copy:
src: inxi
dest: /usr/local/bin/inxi
mode: a+rx,u+rwx
when: ansible_distribution == "Ubuntu" or ansible_distribution == "Debian" or ansible_distribution == "CentOS"
- name: copy inxi binary to remote FreeBSD
copy:
src: inxi
dest: /usr/local/bin/inxi
mode: a+rx,u+rwx
when: ansible_distribution == "FreeBSD"
- name: run inxi to collect Ubuntu/Debian hardware info
become: yes
become_method: sudo
shell: "/usr/local/bin/inxi -c -Dxx -C -m -Z"
register: du_hw_info
when: ansible_distribution == "Ubuntu" or ansible_distribution == "Debian" or ansible_distribution == "CentOS"
- name: run inxi to collect FreeBSD hardware info
shell: "/usr/local/bin/inxi -c -Dxx -C -m -Z"
register: bsd_hw_info
when: ansible_distribution == "FreeBSD"
- name: set Ubuntu/Debian inventory file
template:
src: etc/inventory.txt.j2
dest: "/tmp/{{ ansible_hostname }}_inventory.txt"
mode: a+r,u+rw
when: ansible_distribution == "Ubuntu" or ansible_distribution == "Debian" or ansible_distribution == "CentOS"
- name: set FreeBSD inventory file
template:
src: etc/freenas_inventory.txt.j2
dest: "/tmp/{{ ansible_hostname }}_inventory.txt"
mode: a+r,u+rw
when: ansible_distribution == "FreeBSD"
- name: send inventory file via mail
tags: mail
mail:
host: 192.168.11.173
port: 25
secure: starttls
subject: "{{ ansible_hostname }} inventory file"
from: ansible
to: "{{ recipient }}"
#body: "{{ mail_body.stdout_lines }}"
attach: "/tmp/{{ ansible_hostname }}_inventory.txt"
```
inventory 內容
```
hqs01.abc.com ansible_ssh_host=192.168.11.1
hqs210.abc.com
hqs230.abc.com
hqs231.abc.com
hqs234.abc.com
hqs03.abc.com
hqs020.abc.com
hqs019.abc.com
hqs010.abc.com
hqs05.abc.com
hqs173.abc.com
###BSD Hosts ###
hqs099.abc.com ansible_ssh_host=192.168.11.99 ansible_ssh_port=22 ansible_ssh_user=root
hqs202.abc.com ansible_ssh_host=192.168.11.202 ansible_ssh_port=22 ansible_ssh_user=root
bbs089.abc.com ansible_ssh_host=192.168.0.89 ansible_ssh_user=root
```
ansible 又發揮了一次,另外,感覺這個指令可以用來寫資產管理系統耶...威力強大
而且又不用管作業系統是什麼,反正有執行檔,直接派過去 remote 端就好了!
真是讓我相見恨晚啊!

@ -0,0 +1,76 @@
---
title: "[筆記] 紀錄所有下過的指令、時間 / Log All commands with timestamp"
date: 2019-04-23T15:08:36+08:00
draft: false
noSummary: false
featuredImage: "https://h.cowbay.org/images/post-default-11.jpg"
categories: ['筆記']
tags: ['log']
author: "Eric Chang"
---
今天發生一件有點詭異的事情,本來應該要經過某個指令才會產生的檔案
居然不知為何自己產生了,在我記憶中沒有去執行過那個指令
翻了一下 bash_history ,裡面也只有下過哪些指令,沒有紀錄時間,完全沒有參考價值(攤手)
所以翻了一下網路至少把這兩台主要跑ansible的機器的log功能補上紀錄所有指令以及時間的部份
<!--more-->
參考這個網頁
![https://askubuntu.com/questions/93566/how-to-log-all-bash-commands-by-all-users-on-a-server](https://askubuntu.com/questions/93566/how-to-log-all-bash-commands-by-all-users-on-a-server)
我沒有打算要紀錄「所有」使用者的指令,只要看有權力執行重要指令的帳號就好
所以先用minion(管理用的帳戶)登入後
先編輯 ~/.bashrc
加入
```
export PROMPT_COMMAND='RETRN_VAL=$?;logger -p local6.debug "$(whoami) [$$]: $(history 1 | sed "s/^[ ]*[0-9]\+[ ]*//" ) [$RETRN_VAL]"'
```
因為這邊用到syslog 的 local6所以要跟著修改 syslog的設定
```
sudo vim /etc/rsyslog.d/bash.conf
加入這行
local6.* /var/log/commands.log
接著設定讓/var/log/commands.log 也能夠自動輪替
sudo vim /etc/logrotate.d/rsyslog
在適當的位置 加入 /var/log/commands.log
然後重起 rsyslog
sudo service rsyslog restart
```
用 minion 登出登入後,就可以看到所有指令都被完整的紀錄下來了
```
sudo cat /var/log/commands.log
2019-04-23 15:18:48 [minion@hqs010 ~]$ sudo cat /var/log/commands.log
Apr 23 15:06:51 hqs010 minion: minion [30832]: [0]
Apr 23 15:06:53 hqs010 minion: minion [30832]: ls -lart [0]
Apr 23 15:06:55 hqs010 minion: minion [30832]: ls -alrt /tmp/ [0]
Apr 23 15:06:58 hqs010 minion: minion [30832]: ls -lart /var/log/ [0]
Apr 23 15:07:07 hqs010 minion: minion [30832]: sudo cat /var/log/commands.log [0]
Apr 23 15:07:13 hqs010 minion: minion [30832]: ls -lart /tmp/ [0]
Apr 23 15:07:18 hqs010 minion: minion [30832]: cat /tmp/hqs010_inventory.txt [0]
Apr 23 15:07:22 hqs010 minion: minion [30832]: cd [0]
Apr 23 15:07:22 hqs010 minion: minion [30832]: ls [0]
Apr 23 15:07:24 hqs010 minion: minion [30832]: ls -lart [0]
Apr 23 15:07:28 hqs010 minion: minion [30832]: ls .inxi/ [0]
Apr 23 15:07:35 hqs010 minion: minion [30832]: clear [0]
Apr 23 15:18:48 hqs010 minion: minion [30832]: ip addr [0]
2019-04-23 15:18:55 [minion@hqs010 ~]$
```
裡面應該會看到滿滿的 cd / ls / cat 吧 XD

@ -116,31 +116,31 @@
<ul> <ul>
<li> <li>
<a href="/post/fix-zpool-device-busy-using-dmsetup/">[筆記] 解決無法建立zpool 的錯誤 / Fix Zpool Device Busy Using dmsetup</a> <a href="/post/inx-collect-detail-hardware-info/">[筆記] inxi 蒐集詳盡的硬體資訊 / inxi Collect Detail Hardware Info</a>
</li> </li>
<li> <li>
<a href="/post/transfer-cent62-using-rsync/">[筆記] 用rsync 移轉 centos 6.2的老機器 Transfer Cent6.2 using rsync</a> <a href="/post/log-all-bash-commands/">[筆記] 紀錄所有下過的指令、時間 / Log All commands with timestamp</a>
</li> </li>
<li> <li>
<a href="/post/command_to_test_main_ssl/">[筆記] 測試mail server 的SSL憑證的指令 Command to test mailserver SSL</a> <a href="/post/fix-zpool-device-busy-using-dmsetup/">[筆記] 解決無法建立zpool 的錯誤 / Fix Zpool Device Busy Using dmsetup</a>
</li> </li>
<li> <li>
<a href="/post/install-timeshift-on-ubuntu1804/">Install Timeshift on Ubuntu1804</a> <a href="/post/transfer-cent62-using-rsync/">[筆記] 用rsync 移轉 centos 6.2的老機器 Transfer Cent6.2 using rsync</a>
</li> </li>
<li> <li>
<a href="/post/install-ubuntu1804-on-dell-6ir-raid-controller/">用DELL 6 i/R 建立RAID並在上面安裝ubuntu 18.04 </a> <a href="/post/command_to_test_main_ssl/">[筆記] 測試mail server 的SSL憑證的指令 Command to test mailserver SSL</a>
</li> </li>
<li> <li>
<a href="/post/ubuntu-1804-install-root-on-raid/">Ubuntu 1804 Install Root on Raid</a> <a href="/post/install-timeshift-on-ubuntu1804/">Install Timeshift on Ubuntu1804</a>
</li> </li>
<li> <li>
<a href="/post/smartd-failed-to-start-in-freenas/">[筆記] Freenas Smartd 啟動失敗 Smartd Failed to Start in Freenas</a> <a href="/post/install-ubuntu1804-on-dell-6ir-raid-controller/">用DELL 6 i/R 建立RAID並在上面安裝ubuntu 18.04 </a>
</li> </li>
</ul> </ul>
@ -153,7 +153,7 @@
<ul> <ul>
<li> <li>
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (16)</a> <a href="/categories/%E7%AD%86%E8%A8%98">筆記 (18)</a>
</li> </li>
<li> <li>

@ -92,25 +92,25 @@
<div class="article-wrapper u-cf"> <div class="article-wrapper u-cf">
<a class="bubble" href="/post/fix-zpool-device-busy-using-dmsetup/"> <a class="bubble" href="/post/inx-collect-detail-hardware-info/">
<i class="fa fa-fw fa-pencil"></i> <i class="fa fa-fw fa-pencil"></i>
</a> </a>
<article class="default article"> <article class="default article">
<div class="featured-image"> <div class="featured-image">
<a href="/post/fix-zpool-device-busy-using-dmsetup/"> <a href="/post/inx-collect-detail-hardware-info/">
<img src="/images/post-default-11.jpg" alt=""> <img src="/images/post-default-10.jpg" alt="">
</a> </a>
</div> </div>
<div class="content"> <div class="content">
<h3><a href="/post/fix-zpool-device-busy-using-dmsetup/">[筆記] 解決無法建立zpool 的錯誤 / Fix Zpool Device Busy Using dmsetup</a></h3> <h3><a href="/post/inx-collect-detail-hardware-info/">[筆記] inxi 蒐集詳盡的硬體資訊 / inxi Collect Detail Hardware Info</a></h3>
<div class="meta"> <div class="meta">
<span class="date moment">2019-04-01</span> <span class="date moment">2019-04-23</span>
@ -130,16 +130,20 @@
</div> </div>
<p>今天把其中一台proxmox 加上10G 光纖網卡準備和另一台proxmox 組成10G 環境進行測試</p> <p>最近因為一直碰到硬碟故障的問題算起來那一批同時購買的5X顆 seagate 2T硬碟已經有一半以上故障返修了&hellip;.</p>
<p>想說把本機的zpool 拆掉重新建立一個raid0 的空間來做clone/migrate</p> <p>然後又因為一直沒有添購新的硬碟,只能用這些快過保/已過保的撐著</p>
<p>可是一直出現device busy的錯誤訊息</p> <p>所以最近不斷的在更換機器內的硬碟,而且還沒有熱插拔!</p>
<p>也導致原本負責處理盤點資產的同事困擾,因為跟手邊的紀錄已經對不起來了</p>
<p>然後就變成要對資產的時候,需要一台一台登入,然後去下不同的指令,取得想要的硬體資訊,超級麻煩的!</p>
<p></p> <p></p>
<a href="/post/fix-zpool-device-busy-using-dmsetup/" class="more"></a> <a href="/post/inx-collect-detail-hardware-info/" class="more"></a>
</div> </div>
@ -153,7 +157,11 @@
<i class="fa fa-tags"></i> <i class="fa fa-tags"></i>
<div class="links"> <div class="links">
<a href="/tags/zfs">zfs</a> <a href="/tags/linux">linux</a>
<a href="/tags/bsd">bsd</a>
<a href="/tags/inventory">inventory</a>
</div> </div>
</div> </div>
@ -169,25 +177,25 @@
<div class="article-wrapper u-cf"> <div class="article-wrapper u-cf">
<a class="bubble" href="/post/transfer-cent62-using-rsync/"> <a class="bubble" href="/post/log-all-bash-commands/">
<i class="fa fa-fw fa-pencil"></i> <i class="fa fa-fw fa-pencil"></i>
</a> </a>
<article class="default article"> <article class="default article">
<div class="featured-image"> <div class="featured-image">
<a href="/post/transfer-cent62-using-rsync/"> <a href="/post/log-all-bash-commands/">
<img src="/images/post-default-9.jpg" alt=""> <img src="/images/post-default-11.jpg" alt="">
</a> </a>
</div> </div>
<div class="content"> <div class="content">
<h3><a href="/post/transfer-cent62-using-rsync/">[筆記] 用rsync 移轉 centos 6.2的老機器 Transfer Cent6.2 using rsync</a></h3> <h3><a href="/post/log-all-bash-commands/">[筆記] 紀錄所有下過的指令、時間 / Log All commands with timestamp</a></h3>
<div class="meta"> <div class="meta">
<span class="date moment">2019-03-27</span> <span class="date moment">2019-04-23</span>
@ -207,13 +215,18 @@
</div> </div>
<p>公司的一台老伺服器空間不足了,要執行指令都會中斷,所以想要擴充空間。</p> <p>今天發生一件有點詭異的事情,本來應該要經過某個指令才會產生的檔案</p>
<p>看起來不難搞,事實上&hellip;.. <p>居然不知為何自己產生了,在我記憶中沒有去執行過那個指令</p>
</p>
<p>翻了一下 bash_history ,裡面也只有下過哪些指令,沒有紀錄時間,完全沒有參考價值(攤手)</p>
<p>所以翻了一下網路至少把這兩台主要跑ansible的機器的log功能補上紀錄所有指令以及時間的部份</p>
<p></p>
<a href="/post/transfer-cent62-using-rsync/" class="more"></a> <a href="/post/log-all-bash-commands/" class="more"></a>
</div> </div>
@ -227,9 +240,7 @@
<i class="fa fa-tags"></i> <i class="fa fa-tags"></i>
<div class="links"> <div class="links">
<a href="/tags/centos">centos</a> <a href="/tags/log">log</a>
<a href="/tags/linux">linux</a>
</div> </div>
</div> </div>
@ -245,31 +256,37 @@
<div class="article-wrapper u-cf"> <div class="article-wrapper u-cf">
<a class="bubble" href="/post/command_to_test_main_ssl/"> <a class="bubble" href="/post/fix-zpool-device-busy-using-dmsetup/">
<i class="fa fa-fw fa-pencil"></i> <i class="fa fa-fw fa-pencil"></i>
</a> </a>
<article class="default article"> <article class="default article">
<div class="featured-image"> <div class="featured-image">
<a href="/post/command_to_test_main_ssl/"> <a href="/post/fix-zpool-device-busy-using-dmsetup/">
<img src="/images/post-default-10.jpg" alt=""> <img src="/images/post-default-11.jpg" alt="">
</a> </a>
</div> </div>
<div class="content"> <div class="content">
<h3><a href="/post/command_to_test_main_ssl/">[筆記] 測試mail server 的SSL憑證的指令 Command to test mailserver SSL</a></h3> <h3><a href="/post/fix-zpool-device-busy-using-dmsetup/">[筆記] 解決無法建立zpool 的錯誤 / Fix Zpool Device Busy Using dmsetup</a></h3>
<div class="meta"> <div class="meta">
<span class="date moment">2019-03-20</span> <span class="date moment">2019-04-01</span>
<span class="categories">
<a href="/categories/%E7%AD%86%E8%A8%98">筆記</a>
</span>
<span class="author"><a href="/author/eric-chang">Eric Chang</a></span> <span class="author"><a href="/author/eric-chang">Eric Chang</a></span>
@ -277,23 +294,34 @@
</div> </div>
<p>今天老闆出國發slack說手機不能寄信看了一下似乎是因為用GMAIL的APP來收信</p> <p>今天把其中一台proxmox 加上10G 光纖網卡準備和另一台proxmox 組成10G 環境進行測試</p>
<p>然後google 不知道跟人家改了什麼,結果不接受原本的認證了&hellip; WTF &hellip;.</p> <p>想說把本機的zpool 拆掉重新建立一個raid0 的空間來做clone/migrate</p>
<p>然後,這問題應該很久了,結果現在才在講 &hellip;.</p> <p>可是一直出現device busy的錯誤訊息</p>
<p></p>
<a href="/post/command_to_test_main_ssl/" class="more"></a> <a href="/post/fix-zpool-device-busy-using-dmsetup/" class="more"></a>
</div> </div>
<div class="footer no-tags"> <div class="footer">
<div class="tags">
<i class="fa fa-tags"></i>
<div class="links">
<a href="/tags/zfs">zfs</a>
</div>
</div>
</div> </div>
@ -305,25 +333,25 @@
<div class="article-wrapper u-cf"> <div class="article-wrapper u-cf">
<a class="bubble" href="/post/install-timeshift-on-ubuntu1804/"> <a class="bubble" href="/post/transfer-cent62-using-rsync/">
<i class="fa fa-fw fa-pencil"></i> <i class="fa fa-fw fa-pencil"></i>
</a> </a>
<article class="default article"> <article class="default article">
<div class="featured-image"> <div class="featured-image">
<a href="/post/install-timeshift-on-ubuntu1804/"> <a href="/post/transfer-cent62-using-rsync/">
<img src="/images/post-default-11.jpg" alt=""> <img src="/images/post-default-9.jpg" alt="">
</a> </a>
</div> </div>
<div class="content"> <div class="content">
<h3><a href="/post/install-timeshift-on-ubuntu1804/">Install Timeshift on Ubuntu1804</a></h3> <h3><a href="/post/transfer-cent62-using-rsync/">[筆記] 用rsync 移轉 centos 6.2的老機器 Transfer Cent6.2 using rsync</a></h3>
<div class="meta"> <div class="meta">
<span class="date moment">2019-03-11</span> <span class="date moment">2019-03-27</span>
@ -343,18 +371,13 @@
</div> </div>
<p>最近要開始測試client安裝 ubuntu 18.04 的 ansible playbook</p> <p>公司的一台老伺服器空間不足了,要執行指令都會中斷,所以想要擴充空間。</p>
<p>因為要不斷的修正所以想到一直有在自己電腦上執行的timeshift這個軟體</p>
<p>可以很簡單快速的備份、恢復系統狀態</p>
<p>可是不知道為什麼在ubuntu 18.04 上安裝就是會發生錯誤&hellip;.</p>
<p></p> <p>看起來不難搞,事實上&hellip;..
</p>
<a href="/post/install-timeshift-on-ubuntu1804/" class="more"></a> <a href="/post/transfer-cent62-using-rsync/" class="more"></a>
</div> </div>
@ -368,9 +391,9 @@
<i class="fa fa-tags"></i> <i class="fa fa-tags"></i>
<div class="links"> <div class="links">
<a href="/tags/ubuntu">ubuntu</a> <a href="/tags/centos">centos</a>
<a href="/tags/backup">backup</a> <a href="/tags/linux">linux</a>
</div> </div>
</div> </div>
@ -386,37 +409,31 @@
<div class="article-wrapper u-cf"> <div class="article-wrapper u-cf">
<a class="bubble" href="/post/install-ubuntu1804-on-dell-6ir-raid-controller/"> <a class="bubble" href="/post/command_to_test_main_ssl/">
<i class="fa fa-fw fa-pencil"></i> <i class="fa fa-fw fa-pencil"></i>
</a> </a>
<article class="default article"> <article class="default article">
<div class="featured-image"> <div class="featured-image">
<a href="/post/install-ubuntu1804-on-dell-6ir-raid-controller/"> <a href="/post/command_to_test_main_ssl/">
<img src="/images/post-default-11.jpg" alt=""> <img src="/images/post-default-10.jpg" alt="">
</a> </a>
</div> </div>
<div class="content"> <div class="content">
<h3><a href="/post/install-ubuntu1804-on-dell-6ir-raid-controller/">用DELL 6 i/R 建立RAID並在上面安裝ubuntu 18.04 </a></h3> <h3><a href="/post/command_to_test_main_ssl/">[筆記] 測試mail server 的SSL憑證的指令 Command to test mailserver SSL</a></h3>
<div class="meta"> <div class="meta">
<span class="date moment">2019-01-16</span> <span class="date moment">2019-03-20</span>
<span class="categories">
<a href="/categories/%E7%AD%86%E8%A8%98">筆記</a>
</span>
<span class="author"><a href="/author/eric-chang">Eric Chang</a></span> <span class="author"><a href="/author/eric-chang">Eric Chang</a></span>
@ -424,31 +441,23 @@
</div> </div>
<p>買了一張 DELL 6/iR 低階的raid 卡</p> <p>今天老闆出國發slack說手機不能寄信看了一下似乎是因為用GMAIL的APP來收信</p>
<p>來測試把系統裝在硬體做的RAID上結果沒想到居然不能開機&hellip; <p>然後google 不知道跟人家改了什麼,結果不接受原本的認證了&hellip; WTF &hellip;.</p>
</p>
<p>然後,這問題應該很久了,結果現在才在講 &hellip;.</p>
<a href="/post/install-ubuntu1804-on-dell-6ir-raid-controller/" class="more"></a> <a href="/post/command_to_test_main_ssl/" class="more"></a>
</div> </div>
<div class="footer"> <div class="footer no-tags">
<div class="tags">
<i class="fa fa-tags"></i>
<div class="links">
<a href="/tags/ubuntu">ubuntu</a>
</div>
</div>
</div> </div>
@ -460,25 +469,25 @@
<div class="article-wrapper u-cf"> <div class="article-wrapper u-cf">
<a class="bubble" href="/post/ubuntu-1804-install-root-on-raid/"> <a class="bubble" href="/post/install-timeshift-on-ubuntu1804/">
<i class="fa fa-fw fa-pencil"></i> <i class="fa fa-fw fa-pencil"></i>
</a> </a>
<article class="default article"> <article class="default article">
<div class="featured-image"> <div class="featured-image">
<a href="/post/ubuntu-1804-install-root-on-raid/"> <a href="/post/install-timeshift-on-ubuntu1804/">
<img src="/images/post-default-11.jpg" alt=""> <img src="/images/post-default-11.jpg" alt="">
</a> </a>
</div> </div>
<div class="content"> <div class="content">
<h3><a href="/post/ubuntu-1804-install-root-on-raid/">Ubuntu 1804 Install Root on Raid</a></h3> <h3><a href="/post/install-timeshift-on-ubuntu1804/">Install Timeshift on Ubuntu1804</a></h3>
<div class="meta"> <div class="meta">
<span class="date moment">2019-01-16</span> <span class="date moment">2019-03-11</span>
@ -498,16 +507,18 @@
</div> </div>
<p>最近在弄一台機器想要把ubuntu 18.04 安裝在software raid上</p> <p>最近要開始測試client安裝 ubuntu 18.04 的 ansible playbook</p>
<p>因為新開的機器大部分都是在proxmox上所以很少碰實體機器了</p> <p>因為要不斷的修正所以想到一直有在自己電腦上執行的timeshift這個軟體</p>
<p>結果在安裝過程中做raid碰到一些問題來紀錄一下</p> <p>可以很簡單快速的備份、恢復系統狀態</p>
<p>可是不知道為什麼在ubuntu 18.04 上安裝就是會發生錯誤&hellip;.</p>
<p></p> <p></p>
<a href="/post/ubuntu-1804-install-root-on-raid/" class="more"></a> <a href="/post/install-timeshift-on-ubuntu1804/" class="more"></a>
</div> </div>
@ -523,7 +534,7 @@
<a href="/tags/ubuntu">ubuntu</a> <a href="/tags/ubuntu">ubuntu</a>
<a href="/tags/raid">raid</a> <a href="/tags/backup">backup</a>
</div> </div>
</div> </div>
@ -539,25 +550,25 @@
<div class="article-wrapper u-cf"> <div class="article-wrapper u-cf">
<a class="bubble" href="/post/smartd-failed-to-start-in-freenas/"> <a class="bubble" href="/post/install-ubuntu1804-on-dell-6ir-raid-controller/">
<i class="fa fa-fw fa-pencil"></i> <i class="fa fa-fw fa-pencil"></i>
</a> </a>
<article class="default article"> <article class="default article">
<div class="featured-image"> <div class="featured-image">
<a href="/post/smartd-failed-to-start-in-freenas/"> <a href="/post/install-ubuntu1804-on-dell-6ir-raid-controller/">
<img src="/images/post-default-2.jpg" alt=""> <img src="/images/post-default-11.jpg" alt="">
</a> </a>
</div> </div>
<div class="content"> <div class="content">
<h3><a href="/post/smartd-failed-to-start-in-freenas/">[筆記] Freenas Smartd 啟動失敗 Smartd Failed to Start in Freenas</a></h3> <h3><a href="/post/install-ubuntu1804-on-dell-6ir-raid-controller/">用DELL 6 i/R 建立RAID並在上面安裝ubuntu 18.04 </a></h3>
<div class="meta"> <div class="meta">
<span class="date moment">2018-12-13</span> <span class="date moment">2019-01-16</span>
@ -577,18 +588,13 @@
</div> </div>
<p>這兩天在弄兩台Freenas 準備當作Proxmox 的Storage &amp; Server Backup</p> <p>買了一張 DELL 6/iR 低階的raid 卡</p>
<p>因為伺服器的限制只能接六個SATA我接了六個2T的硬碟做raid10</p>
<p>然後把Freenas 安裝在隨身碟上</p>
<p>不過會一直出現Smartd failed to start 的錯誤訊息</p>
<p></p> <p>來測試把系統裝在硬體做的RAID上結果沒想到居然不能開機&hellip;
</p>
<a href="/post/smartd-failed-to-start-in-freenas/" class="more"></a> <a href="/post/install-ubuntu1804-on-dell-6ir-raid-controller/" class="more"></a>
</div> </div>
@ -602,7 +608,7 @@
<i class="fa fa-tags"></i> <i class="fa fa-tags"></i>
<div class="links"> <div class="links">
<a href="/tags/freenas">freenas</a> <a href="/tags/ubuntu">ubuntu</a>
</div> </div>
</div> </div>
@ -618,25 +624,25 @@
<div class="article-wrapper u-cf"> <div class="article-wrapper u-cf">
<a class="bubble" href="/post/incredibly-slow-mdadm-rebuild/"> <a class="bubble" href="/post/ubuntu-1804-install-root-on-raid/">
<i class="fa fa-fw fa-pencil"></i> <i class="fa fa-fw fa-pencil"></i>
</a> </a>
<article class="default article"> <article class="default article">
<div class="featured-image"> <div class="featured-image">
<a href="/post/incredibly-slow-mdadm-rebuild/"> <a href="/post/ubuntu-1804-install-root-on-raid/">
<img src="/images/post-default-1.jpg" alt=""> <img src="/images/post-default-11.jpg" alt="">
</a> </a>
</div> </div>
<div class="content"> <div class="content">
<h3><a href="/post/incredibly-slow-mdadm-rebuild/">[碎念] mdadm 超級慢的rebuild 速度 Incredibly Slow mdadm Rebuild</a></h3> <h3><a href="/post/ubuntu-1804-install-root-on-raid/">Ubuntu 1804 Install Root on Raid</a></h3>
<div class="meta"> <div class="meta">
<span class="date moment">2018-12-12</span> <span class="date moment">2019-01-16</span>
@ -645,7 +651,7 @@
<span class="categories"> <span class="categories">
<a href="/categories/%E7%A2%8E%E5%BF%B5">碎念</a> <a href="/categories/%E7%AD%86%E8%A8%98">筆記</a>
</span> </span>
@ -656,20 +662,16 @@
</div> </div>
<p>最近在做一台老機器的P2V</p> <p>最近在弄一台機器想要把ubuntu 18.04 安裝在software raid上</p>
<p>偏偏user說不能關機所以我用dd + ssh 做線上移轉</p>
<p>這部份有空再來寫</p>
<p>只是因為原來的設定有用mdadm 做raid1</p> <p>因為新開的機器大部分都是在proxmox上所以很少碰實體機器了</p>
<p>這部份導致移轉過去proxmox 後會出現raid degrade 導致無法正常開機</p> <p>結果在安裝過程中做raid碰到一些問題來紀錄一下</p>
<p></p> <p></p>
<a href="/post/incredibly-slow-mdadm-rebuild/" class="more"></a> <a href="/post/ubuntu-1804-install-root-on-raid/" class="more"></a>
</div> </div>
@ -683,7 +685,9 @@
<i class="fa fa-tags"></i> <i class="fa fa-tags"></i>
<div class="links"> <div class="links">
<a href="/tags/mdadm">mdadm</a> <a href="/tags/ubuntu">ubuntu</a>
<a href="/tags/raid">raid</a>
</div> </div>
</div> </div>
@ -699,25 +703,25 @@
<div class="article-wrapper u-cf"> <div class="article-wrapper u-cf">
<a class="bubble" href="/post/create-portable-vim-environment/"> <a class="bubble" href="/post/smartd-failed-to-start-in-freenas/">
<i class="fa fa-fw fa-pencil"></i> <i class="fa fa-fw fa-pencil"></i>
</a> </a>
<article class="default article"> <article class="default article">
<div class="featured-image"> <div class="featured-image">
<a href="/post/create-portable-vim-environment/"> <a href="/post/smartd-failed-to-start-in-freenas/">
<img src="/images/post-default-8.jpg" alt=""> <img src="/images/post-default-2.jpg" alt="">
</a> </a>
</div> </div>
<div class="content"> <div class="content">
<h3><a href="/post/create-portable-vim-environment/">[筆記] 建立一個帶著走的 VIM 環境 Creating portable Vim environment</a></h3> <h3><a href="/post/smartd-failed-to-start-in-freenas/">[筆記] Freenas Smartd 啟動失敗 Smartd Failed to Start in Freenas</a></h3>
<div class="meta"> <div class="meta">
<span class="date moment">2018-12-07</span> <span class="date moment">2018-12-13</span>
@ -737,18 +741,18 @@
</div> </div>
<p>因為工作的關係現在很多時間都花在VIM的操作上</p> <p>這兩天在弄兩台Freenas 準備當作Proxmox 的Storage &amp; Server Backup</p>
<p>所以之前花了滿多時間調整出一個適合自己的VIM環境</p> <p>因為伺服器的限制只能接六個SATA我接了六個2T的硬碟做raid10</p>
<p>原本的作法是把這個設定好的環境丟到自己建立的gitea 上面</p> <p>然後把Freenas 安裝在隨身碟上</p>
<p>然後每到一台新的機器就要去clone 下來</p> <p>不過會一直出現Smartd failed to start 的錯誤訊息</p>
<p></p> <p></p>
<a href="/post/create-portable-vim-environment/" class="more"></a> <a href="/post/smartd-failed-to-start-in-freenas/" class="more"></a>
</div> </div>
@ -762,7 +766,7 @@
<i class="fa fa-tags"></i> <i class="fa fa-tags"></i>
<div class="links"> <div class="links">
<a href="/tags/vim">vim</a> <a href="/tags/freenas">freenas</a>
</div> </div>
</div> </div>
@ -778,25 +782,25 @@
<div class="article-wrapper u-cf"> <div class="article-wrapper u-cf">
<a class="bubble" href="/post/synology-ds415-repair-cost/"> <a class="bubble" href="/post/incredibly-slow-mdadm-rebuild/">
<i class="fa fa-fw fa-pencil"></i> <i class="fa fa-fw fa-pencil"></i>
</a> </a>
<article class="default article"> <article class="default article">
<div class="featured-image"> <div class="featured-image">
<a href="/post/synology-ds415-repair-cost/"> <a href="/post/incredibly-slow-mdadm-rebuild/">
<img src="/images/post-default-11.jpg" alt=""> <img src="/images/post-default-1.jpg" alt="">
</a> </a>
</div> </div>
<div class="content"> <div class="content">
<h3><a href="/post/synology-ds415-repair-cost/">[雜念] 群暉 Synology NAS DS 415&#43; 誇張的維修費用</a></h3> <h3><a href="/post/incredibly-slow-mdadm-rebuild/">[碎念] mdadm 超級慢的rebuild 速度 Incredibly Slow mdadm Rebuild</a></h3>
<div class="meta"> <div class="meta">
<span class="date moment">2018-12-04</span> <span class="date moment">2018-12-12</span>
@ -805,7 +809,7 @@
<span class="categories"> <span class="categories">
<a href="/categories/%E7%BE%A4%E6%9A%89">群暉</a> <a href="/categories/%E7%A2%8E%E5%BF%B5">碎念</a>
</span> </span>
@ -816,26 +820,20 @@
</div> </div>
<p>前幾天公司的一台 Synology DS 415+ 發生異常</p> <p>最近在做一台老機器的P2V</p>
<p>注意到的時候,四顆硬碟燈號都不斷的在閃爍</p>
<p>但是已經無法登入系統</p>
<p>重開機之後更慘,四顆硬碟燈號全部橘燈恆亮</p>
<p>底下的電源藍燈不斷的在閃爍</p> <p>偏偏user說不能關機所以我用dd + ssh 做線上移轉</p>
<p>雖然我一再表示不希望送修了</p> <p>這部份有空再來寫</p>
<p>一來是已經過保二來是DS415+ 本身就有intel bug三來是因為對synology的NAS 實在沒有愛&hellip;</p> <p>只是因為原來的設定有用mdadm 做raid1</p>
<p>不過主管還是希望能夠先問群暉維修的費用多少</p> <p>這部份導致移轉過去proxmox 後會出現raid degrade 導致無法正常開機</p>
<p></p> <p></p>
<a href="/post/synology-ds415-repair-cost/" class="more"></a> <a href="/post/incredibly-slow-mdadm-rebuild/" class="more"></a>
</div> </div>
@ -849,11 +847,7 @@
<i class="fa fa-tags"></i> <i class="fa fa-tags"></i>
<div class="links"> <div class="links">
<a href="/tags/nas">NAS</a> <a href="/tags/mdadm">mdadm</a>
<a href="/tags/%E7%BE%A4%E6%9A%89">群暉</a>
<a href="/tags/synology">synology</a>
</div> </div>
</div> </div>
@ -891,31 +885,31 @@
<ul> <ul>
<li> <li>
<a href="/post/fix-zpool-device-busy-using-dmsetup/">[筆記] 解決無法建立zpool 的錯誤 / Fix Zpool Device Busy Using dmsetup</a> <a href="/post/inx-collect-detail-hardware-info/">[筆記] inxi 蒐集詳盡的硬體資訊 / inxi Collect Detail Hardware Info</a>
</li> </li>
<li> <li>
<a href="/post/transfer-cent62-using-rsync/">[筆記] 用rsync 移轉 centos 6.2的老機器 Transfer Cent6.2 using rsync</a> <a href="/post/log-all-bash-commands/">[筆記] 紀錄所有下過的指令、時間 / Log All commands with timestamp</a>
</li> </li>
<li> <li>
<a href="/post/command_to_test_main_ssl/">[筆記] 測試mail server 的SSL憑證的指令 Command to test mailserver SSL</a> <a href="/post/fix-zpool-device-busy-using-dmsetup/">[筆記] 解決無法建立zpool 的錯誤 / Fix Zpool Device Busy Using dmsetup</a>
</li> </li>
<li> <li>
<a href="/post/install-timeshift-on-ubuntu1804/">Install Timeshift on Ubuntu1804</a> <a href="/post/transfer-cent62-using-rsync/">[筆記] 用rsync 移轉 centos 6.2的老機器 Transfer Cent6.2 using rsync</a>
</li> </li>
<li> <li>
<a href="/post/install-ubuntu1804-on-dell-6ir-raid-controller/">用DELL 6 i/R 建立RAID並在上面安裝ubuntu 18.04 </a> <a href="/post/command_to_test_main_ssl/">[筆記] 測試mail server 的SSL憑證的指令 Command to test mailserver SSL</a>
</li> </li>
<li> <li>
<a href="/post/ubuntu-1804-install-root-on-raid/">Ubuntu 1804 Install Root on Raid</a> <a href="/post/install-timeshift-on-ubuntu1804/">Install Timeshift on Ubuntu1804</a>
</li> </li>
<li> <li>
<a href="/post/smartd-failed-to-start-in-freenas/">[筆記] Freenas Smartd 啟動失敗 Smartd Failed to Start in Freenas</a> <a href="/post/install-ubuntu1804-on-dell-6ir-raid-controller/">用DELL 6 i/R 建立RAID並在上面安裝ubuntu 18.04 </a>
</li> </li>
</ul> </ul>
@ -928,7 +922,7 @@
<ul> <ul>
<li> <li>
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (16)</a> <a href="/categories/%E7%AD%86%E8%A8%98">筆記 (18)</a>
</li> </li>
<li> <li>

@ -5,11 +5,47 @@
<link>https://h.cowbay.org/author/eric-chang/</link> <link>https://h.cowbay.org/author/eric-chang/</link>
<description>Recent content in Eric Chang on MCの飄狂山莊㊣</description> <description>Recent content in Eric Chang on MCの飄狂山莊㊣</description>
<generator>Hugo -- gohugo.io</generator> <generator>Hugo -- gohugo.io</generator>
<lastBuildDate>Mon, 01 Apr 2019 15:56:27 +0800</lastBuildDate> <lastBuildDate>Tue, 23 Apr 2019 15:28:56 +0800</lastBuildDate>
<atom:link href="https://h.cowbay.org/author/eric-chang/index.xml" rel="self" type="application/rss+xml" /> <atom:link href="https://h.cowbay.org/author/eric-chang/index.xml" rel="self" type="application/rss+xml" />
<item>
<title>[筆記] inxi 蒐集詳盡的硬體資訊 / inxi Collect Detail Hardware Info</title>
<link>https://h.cowbay.org/post/inx-collect-detail-hardware-info/</link>
<pubDate>Tue, 23 Apr 2019 15:28:56 +0800</pubDate>
<guid>https://h.cowbay.org/post/inx-collect-detail-hardware-info/</guid>
<description>&lt;p&gt;最近因為一直碰到硬碟故障的問題算起來那一批同時購買的5X顆 seagate 2T硬碟已經有一半以上故障返修了&amp;hellip;.&lt;/p&gt;
&lt;p&gt;然後又因為一直沒有添購新的硬碟,只能用這些快過保/已過保的撐著&lt;/p&gt;
&lt;p&gt;所以最近不斷的在更換機器內的硬碟,而且還沒有熱插拔!&lt;/p&gt;
&lt;p&gt;也導致原本負責處理盤點資產的同事困擾,因為跟手邊的紀錄已經對不起來了&lt;/p&gt;
&lt;p&gt;然後就變成要對資產的時候,需要一台一台登入,然後去下不同的指令,取得想要的硬體資訊,超級麻煩的!&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;</description>
</item>
<item>
<title>[筆記] 紀錄所有下過的指令、時間 / Log All commands with timestamp</title>
<link>https://h.cowbay.org/post/log-all-bash-commands/</link>
<pubDate>Tue, 23 Apr 2019 15:08:36 +0800</pubDate>
<guid>https://h.cowbay.org/post/log-all-bash-commands/</guid>
<description>&lt;p&gt;今天發生一件有點詭異的事情,本來應該要經過某個指令才會產生的檔案&lt;/p&gt;
&lt;p&gt;居然不知為何自己產生了,在我記憶中沒有去執行過那個指令&lt;/p&gt;
&lt;p&gt;翻了一下 bash_history ,裡面也只有下過哪些指令,沒有紀錄時間,完全沒有參考價值(攤手)&lt;/p&gt;
&lt;p&gt;所以翻了一下網路至少把這兩台主要跑ansible的機器的log功能補上紀錄所有指令以及時間的部份&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;</description>
</item>
<item> <item>
<title>[筆記] 解決無法建立zpool 的錯誤 / Fix Zpool Device Busy Using dmsetup</title> <title>[筆記] 解決無法建立zpool 的錯誤 / Fix Zpool Device Busy Using dmsetup</title>
<link>https://h.cowbay.org/post/fix-zpool-device-busy-using-dmsetup/</link> <link>https://h.cowbay.org/post/fix-zpool-device-busy-using-dmsetup/</link>

@ -90,6 +90,176 @@
<div class="article-wrapper u-cf">
<a class="bubble" href="/post/create-portable-vim-environment/">
<i class="fa fa-fw fa-pencil"></i>
</a>
<article class="default article">
<div class="featured-image">
<a href="/post/create-portable-vim-environment/">
<img src="/images/post-default-8.jpg" alt="">
</a>
</div>
<div class="content">
<h3><a href="/post/create-portable-vim-environment/">[筆記] 建立一個帶著走的 VIM 環境 Creating portable Vim environment</a></h3>
<div class="meta">
<span class="date moment">2018-12-07</span>
<span class="categories">
<a href="/categories/%E7%AD%86%E8%A8%98">筆記</a>
</span>
<span class="author"><a href="/author/eric-chang">Eric Chang</a></span>
</div>
<p>因為工作的關係現在很多時間都花在VIM的操作上</p>
<p>所以之前花了滿多時間調整出一個適合自己的VIM環境</p>
<p>原本的作法是把這個設定好的環境丟到自己建立的gitea 上面</p>
<p>然後每到一台新的機器就要去clone 下來</p>
<p></p>
<a href="/post/create-portable-vim-environment/" class="more"></a>
</div>
<div class="footer">
<div class="tags">
<i class="fa fa-tags"></i>
<div class="links">
<a href="/tags/vim">vim</a>
</div>
</div>
</div>
</article>
</div>
<div class="article-wrapper u-cf">
<a class="bubble" href="/post/synology-ds415-repair-cost/">
<i class="fa fa-fw fa-pencil"></i>
</a>
<article class="default article">
<div class="featured-image">
<a href="/post/synology-ds415-repair-cost/">
<img src="/images/post-default-11.jpg" alt="">
</a>
</div>
<div class="content">
<h3><a href="/post/synology-ds415-repair-cost/">[雜念] 群暉 Synology NAS DS 415&#43; 誇張的維修費用</a></h3>
<div class="meta">
<span class="date moment">2018-12-04</span>
<span class="categories">
<a href="/categories/%E7%BE%A4%E6%9A%89">群暉</a>
</span>
<span class="author"><a href="/author/eric-chang">Eric Chang</a></span>
</div>
<p>前幾天公司的一台 Synology DS 415+ 發生異常</p>
<p>注意到的時候,四顆硬碟燈號都不斷的在閃爍</p>
<p>但是已經無法登入系統</p>
<p>重開機之後更慘,四顆硬碟燈號全部橘燈恆亮</p>
<p>底下的電源藍燈不斷的在閃爍</p>
<p>雖然我一再表示不希望送修了</p>
<p>一來是已經過保二來是DS415+ 本身就有intel bug三來是因為對synology的NAS 實在沒有愛&hellip;</p>
<p>不過主管還是希望能夠先問群暉維修的費用多少</p>
<p></p>
<a href="/post/synology-ds415-repair-cost/" class="more"></a>
</div>
<div class="footer">
<div class="tags">
<i class="fa fa-tags"></i>
<div class="links">
<a href="/tags/nas">NAS</a>
<a href="/tags/%E7%BE%A4%E6%9A%89">群暉</a>
<a href="/tags/synology">synology</a>
</div>
</div>
</div>
</article>
</div>
<div class="article-wrapper u-cf"> <div class="article-wrapper u-cf">
<a class="bubble" href="/post/10g-lab-using-proxmox-and-mellanox/"> <a class="bubble" href="/post/10g-lab-using-proxmox-and-mellanox/">
@ -791,166 +961,6 @@
</div>
</article>
</div>
<div class="article-wrapper u-cf">
<a class="bubble" href="/post/enable-synology-public-ssh/">
<i class="fa fa-fw fa-pencil"></i>
</a>
<article class="default article">
<div class="featured-image">
<a href="/post/enable-synology-public-ssh/">
<img src="https://i.imgur.com/jcDQmI1.png" alt="">
</a>
</div>
<div class="content">
<h3><a href="/post/enable-synology-public-ssh/">筆記- 啟用群暉NAS (Synology NAS)的SSH Server 透過Publickey 認證免密碼登入</a></h3>
<div class="meta">
<span class="date moment">2018-11-05</span>
<span class="categories">
<a href="/categories/%E7%AD%86%E8%A8%98">筆記</a>
</span>
<span class="author"><a href="/author/eric-chang">Eric Chang</a></span>
</div>
<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>
<p></p>
<a href="/post/enable-synology-public-ssh/" class="more"></a>
</div>
<div class="footer">
<div class="tags">
<i class="fa fa-tags"></i>
<div class="links">
<a href="/tags/%E7%AD%86%E8%A8%98">筆記</a>
<a href="/tags/synology">synology</a>
<a href="/tags/nas">NAS</a>
<a href="/tags/ssh">SSH</a>
</div>
</div>
</div>
</article>
</div>
<div class="article-wrapper u-cf">
<a class="bubble" href="/gallery/sammy93/">
<i class="fa fa-fw fa-camera"></i>
</a>
<article class="gallery">
<div class="content">
<h3><a href="/gallery/sammy93/">Sammy93</a></h3>
<div class="meta">
<span class="date moment">2018-11-05</span>
<span class="categories">
<a href="/categories/ps">PS</a>
</span>
<span class="author"><a href="/author/eric-chang">Eric Chang</a></span>
</div>
</div>
<div class="footer">
<div class="tags">
<i class="fa fa-tags"></i>
<div class="links">
<a href="/tags/ps">ps</a>
<a href="/tags/%E7%9F%AD%E4%BB%8A">短今</a>
</div>
</div>
</div> </div>
</article> </article>
@ -962,6 +972,8 @@
<div class="paginator"> <div class="paginator">
<a href="/author/eric-chang/page/3/" class="older"><i class="fa fa-angle-double-left"></i> </a>
<a href="/author/eric-chang/" class="newer"> <i class="fa fa-angle-double-right"></i></a> <a href="/author/eric-chang/" class="newer"> <i class="fa fa-angle-double-right"></i></a>
@ -982,31 +994,31 @@
<ul> <ul>
<li> <li>
<a href="/post/fix-zpool-device-busy-using-dmsetup/">[筆記] 解決無法建立zpool 的錯誤 / Fix Zpool Device Busy Using dmsetup</a> <a href="/post/inx-collect-detail-hardware-info/">[筆記] inxi 蒐集詳盡的硬體資訊 / inxi Collect Detail Hardware Info</a>
</li> </li>
<li> <li>
<a href="/post/transfer-cent62-using-rsync/">[筆記] 用rsync 移轉 centos 6.2的老機器 Transfer Cent6.2 using rsync</a> <a href="/post/log-all-bash-commands/">[筆記] 紀錄所有下過的指令、時間 / Log All commands with timestamp</a>
</li> </li>
<li> <li>
<a href="/post/command_to_test_main_ssl/">[筆記] 測試mail server 的SSL憑證的指令 Command to test mailserver SSL</a> <a href="/post/fix-zpool-device-busy-using-dmsetup/">[筆記] 解決無法建立zpool 的錯誤 / Fix Zpool Device Busy Using dmsetup</a>
</li> </li>
<li> <li>
<a href="/post/install-timeshift-on-ubuntu1804/">Install Timeshift on Ubuntu1804</a> <a href="/post/transfer-cent62-using-rsync/">[筆記] 用rsync 移轉 centos 6.2的老機器 Transfer Cent6.2 using rsync</a>
</li> </li>
<li> <li>
<a href="/post/install-ubuntu1804-on-dell-6ir-raid-controller/">用DELL 6 i/R 建立RAID並在上面安裝ubuntu 18.04 </a> <a href="/post/command_to_test_main_ssl/">[筆記] 測試mail server 的SSL憑證的指令 Command to test mailserver SSL</a>
</li> </li>
<li> <li>
<a href="/post/ubuntu-1804-install-root-on-raid/">Ubuntu 1804 Install Root on Raid</a> <a href="/post/install-timeshift-on-ubuntu1804/">Install Timeshift on Ubuntu1804</a>
</li> </li>
<li> <li>
<a href="/post/smartd-failed-to-start-in-freenas/">[筆記] Freenas Smartd 啟動失敗 Smartd Failed to Start in Freenas</a> <a href="/post/install-ubuntu1804-on-dell-6ir-raid-controller/">用DELL 6 i/R 建立RAID並在上面安裝ubuntu 18.04 </a>
</li> </li>
</ul> </ul>
@ -1019,7 +1031,7 @@
<ul> <ul>
<li> <li>
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (16)</a> <a href="/categories/%E7%AD%86%E8%A8%98">筆記 (18)</a>
</li> </li>
<li> <li>

@ -0,0 +1,469 @@
<!doctype html>
<html class="no-js" lang="tw">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="author" content="Eric Chang">
<meta name="description" content="Whats the Worst That Could Happen?">
<meta name="keywords" content="linux,blog,responsive,search,font awesome,pages,posts,multilingual,highlight.js,syntax highlighting,premium,shortcuts">
<meta name="generator" content="Hugo 0.50" />
<title> Eric Chang | MCの飄狂山莊㊣</title>
<meta name="description" content="Eric Chang - Whats the Worst That Could Happen?">
<meta itemprop="name" content="Eric Chang">
<meta itemprop="description" content="Eric Chang - Whats the Worst That Could Happen?">
<meta property="og:title" content="Eric Chang">
<meta property="og:description" content="Eric Chang - Whats the Worst That Could Happen?">
<meta property="og:image" content="https://www.gravatar.com/avatar/e4eb1f8e016ffb73e9889f87d16e15f0?size=200">
<meta property="og:url" content="https://h.cowbay.org/author/eric-chang/">
<meta property="og:site_name" content="MCの飄狂山莊㊣"><meta property="og:type" content="website">
<link rel="icon" type="image/png" href="https://h.cowbay.org/favicon-32x32.png" sizes="32x32">
<link rel="icon" type="image/png" href="https://h.cowbay.org/favicon-16x16.png" sizes="16x16">
<link href="https://h.cowbay.org/author/eric-chang/index.xml" rel="alternate" type="application/rss+xml" title="MCの飄狂山莊㊣" />
<link href="https://h.cowbay.org/author/eric-chang/index.xml" rel="feed" type="application/rss+xml" title="MCの飄狂山莊㊣" />
<link rel="stylesheet" href="https://h.cowbay.org/sass/combined.min.717098cb5503581e75f12e486a847ca410bf8367d4d8713f4c37affc868c5a1d.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
</head>
<body class="bilberry-hugo-theme">
<nav class="permanentTopNav">
<div class="container">
<ul class="topnav">
</ul>
<div id="search-box" class="search">
<i class="fa fa-search"></i>
<input id="search" type="text" placeholder="">
</div>
</div>
</nav>
<header>
<div class="container">
<div class="logo">
<a href="/" class="logo">
<img src="https://www.gravatar.com/avatar/e4eb1f8e016ffb73e9889f87d16e15f0?d=mm&size=200" alt="">
<span class="overlay"><i class="fa fa-home"></i></span>
</a>
</div>
<div class="titles">
<h3 class="title"><a href="/">MCの飄狂山莊㊣</a></h3>
<span class="subtitle">Whats the Worst That Could Happen?</span>
</div>
<div class="toggler permanentTopNav">
<i class="fa fa-bars" aria-hidden="true"></i>
</div>
</div>
</header>
<div class="main container">
<div class="article-wrapper u-cf">
<a class="bubble" href="/post/enable-synology-public-ssh/">
<i class="fa fa-fw fa-pencil"></i>
</a>
<article class="default article">
<div class="featured-image">
<a href="/post/enable-synology-public-ssh/">
<img src="https://i.imgur.com/jcDQmI1.png" alt="">
</a>
</div>
<div class="content">
<h3><a href="/post/enable-synology-public-ssh/">筆記- 啟用群暉NAS (Synology NAS)的SSH Server 透過Publickey 認證免密碼登入</a></h3>
<div class="meta">
<span class="date moment">2018-11-05</span>
<span class="categories">
<a href="/categories/%E7%AD%86%E8%A8%98">筆記</a>
</span>
<span class="author"><a href="/author/eric-chang">Eric Chang</a></span>
</div>
<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>
<p></p>
<a href="/post/enable-synology-public-ssh/" class="more"></a>
</div>
<div class="footer">
<div class="tags">
<i class="fa fa-tags"></i>
<div class="links">
<a href="/tags/%E7%AD%86%E8%A8%98">筆記</a>
<a href="/tags/synology">synology</a>
<a href="/tags/nas">NAS</a>
<a href="/tags/ssh">SSH</a>
</div>
</div>
</div>
</article>
</div>
<div class="article-wrapper u-cf">
<a class="bubble" href="/gallery/sammy93/">
<i class="fa fa-fw fa-camera"></i>
</a>
<article class="gallery">
<div class="content">
<h3><a href="/gallery/sammy93/">Sammy93</a></h3>
<div class="meta">
<span class="date moment">2018-11-05</span>
<span class="categories">
<a href="/categories/ps">PS</a>
</span>
<span class="author"><a href="/author/eric-chang">Eric Chang</a></span>
</div>
</div>
<div class="footer">
<div class="tags">
<i class="fa fa-tags"></i>
<div class="links">
<a href="/tags/ps">ps</a>
<a href="/tags/%E7%9F%AD%E4%BB%8A">短今</a>
</div>
</div>
</div>
</article>
</div>
<div class="paginator">
<a href="/author/eric-chang/page/2/" class="newer"> <i class="fa fa-angle-double-right"></i></a>
</div>
</div>
<footer>
<div class="container">
<div class="recent-posts">
<strong></strong>
<ul>
<li>
<a href="/post/inx-collect-detail-hardware-info/">[筆記] inxi 蒐集詳盡的硬體資訊 / inxi Collect Detail Hardware Info</a>
</li>
<li>
<a href="/post/log-all-bash-commands/">[筆記] 紀錄所有下過的指令、時間 / Log All commands with timestamp</a>
</li>
<li>
<a href="/post/fix-zpool-device-busy-using-dmsetup/">[筆記] 解決無法建立zpool 的錯誤 / Fix Zpool Device Busy Using dmsetup</a>
</li>
<li>
<a href="/post/transfer-cent62-using-rsync/">[筆記] 用rsync 移轉 centos 6.2的老機器 Transfer Cent6.2 using rsync</a>
</li>
<li>
<a href="/post/command_to_test_main_ssl/">[筆記] 測試mail server 的SSL憑證的指令 Command to test mailserver SSL</a>
</li>
<li>
<a href="/post/install-timeshift-on-ubuntu1804/">Install Timeshift on Ubuntu1804</a>
</li>
<li>
<a href="/post/install-ubuntu1804-on-dell-6ir-raid-controller/">用DELL 6 i/R 建立RAID並在上面安裝ubuntu 18.04 </a>
</li>
</ul>
</div>
<div class="categories">
<a href="/categories/"><strong></strong></a>
<ul>
<li>
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (18)</a>
</li>
<li>
<a href="/categories/ps">Ps (1)</a>
</li>
<li>
<a href="/categories/%E7%A2%8E%E5%BF%B5">碎念 (1)</a>
</li>
<li>
<a href="/categories/%E7%BE%A4%E6%9A%89">群暉 (1)</a>
</li>
</ul>
</div>
<div class="right">
<div class="external-profiles">
<strong></strong>
<a href="https://www.facebook.com/mariahchang" target="_blank"><i class="fa fa-facebook-adblock-proof"></i></a>
<a href="https://twitter.com/changchichung" target="_blank"><i class="fa fa-twitter-adblock-proof"></i></a>
<a href="https://github.com/changchichung" target="_blank"><i class="fa fa-github"></i></a>
</div>
</div>
</div>
</footer>
<div class="credits">
<div class="container">
<div class="copyright">
<a href="https://github.com/Lednerb" target="_blank">
&copy;
2017
by Lednerb
</a>
-
<a href="https://h.cowbay.org/author/eric-chang/index.xml">RSS</a>
</div>
<div class="author">
<a href="https://github.com/Lednerb/bilberry-hugo-theme" target="_blank">Bilberry Hugo Theme</a>
</div>
</div>
</div>
<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-128770427-1', 'auto');
ga('send', 'pageview');
}
</script>
<script async src='https://www.google-analytics.com/analytics.js'></script>
<script type="text/javascript" src="https://h.cowbay.org/js/externalDependencies.39c47e10e241eae2947b3fe21809c572.js" integrity="md5-OcR&#43;EOJB6uKUez/iGAnFcg=="></script>
<script type="text/javascript" src="https://h.cowbay.org/js/theme.ff50ae6dc1bfc220b23bf69dbb41b54e.js" integrity="md5-/1CubcG/wiCyO/adu0G1Tg=="></script>
<script>
$(".moment").each(function() {
$(this).text(
moment( $(this).text() )
.locale( "tw" )
.format('LL')
);
});
$(".footnote-return sup").html("");
</script>
<script>
var client = algoliasearch("2XL0P8XDCY", "4ef65b37b627bb886b46c34a10e63aa6");
var index = client.initIndex("h_cowbay_org");
$('#search').autocomplete({ hint: false, autoselect: true, debug: false },
[
{
source: $.fn.autocomplete.sources.hits(index, { hitsPerPage: 10 }),
displayKey: function(suggestion) {
return suggestion.title || suggestion.author
},
templates: {
suggestion: function(suggestion) {
return "<span class='entry " + suggestion.type + "'>"
+ "<span class='title'>" + suggestion.title + "</span>"
+ "<span class='fa fa-fw " + suggestion.iconClass + "'></span>"
+ "</span>"
;
},
empty: function() {
return "<span class='empty'></span>"
},
footer: function() {
return '<div class="branding">Powered by <img src="https:\/\/h.cowbay.org\/dist\/algolia-logo-light.svg" /></div>'
}
},
}
])
.on('autocomplete:selected', function(event, suggestion, dataset) {
window.location = (suggestion.url);
})
.keypress(function (event, suggestion) {
if (event.which == 13) {
window.location = (suggestion.url);
}
});
</script>
</body>
</html>

@ -101,7 +101,7 @@
<hr> <hr>
<ul id="all-categories"> <ul id="all-categories">
<li><a href="/author/eric-chang">Eric chang (20)</a></li> <li><a href="/author/eric-chang">Eric chang (22)</a></li>
</ul> </ul>
</div> </div>
@ -121,31 +121,31 @@
<ul> <ul>
<li> <li>
<a href="/post/fix-zpool-device-busy-using-dmsetup/">[筆記] 解決無法建立zpool 的錯誤 / Fix Zpool Device Busy Using dmsetup</a> <a href="/post/inx-collect-detail-hardware-info/">[筆記] inxi 蒐集詳盡的硬體資訊 / inxi Collect Detail Hardware Info</a>
</li> </li>
<li> <li>
<a href="/post/transfer-cent62-using-rsync/">[筆記] 用rsync 移轉 centos 6.2的老機器 Transfer Cent6.2 using rsync</a> <a href="/post/log-all-bash-commands/">[筆記] 紀錄所有下過的指令、時間 / Log All commands with timestamp</a>
</li> </li>
<li> <li>
<a href="/post/command_to_test_main_ssl/">[筆記] 測試mail server 的SSL憑證的指令 Command to test mailserver SSL</a> <a href="/post/fix-zpool-device-busy-using-dmsetup/">[筆記] 解決無法建立zpool 的錯誤 / Fix Zpool Device Busy Using dmsetup</a>
</li> </li>
<li> <li>
<a href="/post/install-timeshift-on-ubuntu1804/">Install Timeshift on Ubuntu1804</a> <a href="/post/transfer-cent62-using-rsync/">[筆記] 用rsync 移轉 centos 6.2的老機器 Transfer Cent6.2 using rsync</a>
</li> </li>
<li> <li>
<a href="/post/install-ubuntu1804-on-dell-6ir-raid-controller/">用DELL 6 i/R 建立RAID並在上面安裝ubuntu 18.04 </a> <a href="/post/command_to_test_main_ssl/">[筆記] 測試mail server 的SSL憑證的指令 Command to test mailserver SSL</a>
</li> </li>
<li> <li>
<a href="/post/ubuntu-1804-install-root-on-raid/">Ubuntu 1804 Install Root on Raid</a> <a href="/post/install-timeshift-on-ubuntu1804/">Install Timeshift on Ubuntu1804</a>
</li> </li>
<li> <li>
<a href="/post/smartd-failed-to-start-in-freenas/">[筆記] Freenas Smartd 啟動失敗 Smartd Failed to Start in Freenas</a> <a href="/post/install-ubuntu1804-on-dell-6ir-raid-controller/">用DELL 6 i/R 建立RAID並在上面安裝ubuntu 18.04 </a>
</li> </li>
</ul> </ul>
@ -158,7 +158,7 @@
<ul> <ul>
<li> <li>
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (16)</a> <a href="/categories/%E7%AD%86%E8%A8%98">筆記 (18)</a>
</li> </li>
<li> <li>

@ -12,7 +12,7 @@
<item> <item>
<title>Eric Chang</title> <title>Eric Chang</title>
<link>https://h.cowbay.org/author/eric-chang/</link> <link>https://h.cowbay.org/author/eric-chang/</link>
<pubDate>Mon, 01 Apr 2019 15:56:27 +0800</pubDate> <pubDate>Tue, 23 Apr 2019 15:28:56 +0800</pubDate>
<guid>https://h.cowbay.org/author/eric-chang/</guid> <guid>https://h.cowbay.org/author/eric-chang/</guid>
<description></description> <description></description>

@ -105,7 +105,7 @@
<li><a href="/categories/%E7%A2%8E%E5%BF%B5">碎念 (1)</a></li> <li><a href="/categories/%E7%A2%8E%E5%BF%B5">碎念 (1)</a></li>
<li><a href="/categories/%E7%AD%86%E8%A8%98">筆記 (16)</a></li> <li><a href="/categories/%E7%AD%86%E8%A8%98">筆記 (18)</a></li>
<li><a href="/categories/%E7%BE%A4%E6%9A%89">群暉 (1)</a></li> <li><a href="/categories/%E7%BE%A4%E6%9A%89">群暉 (1)</a></li>
@ -127,31 +127,31 @@
<ul> <ul>
<li> <li>
<a href="/post/fix-zpool-device-busy-using-dmsetup/">[筆記] 解決無法建立zpool 的錯誤 / Fix Zpool Device Busy Using dmsetup</a> <a href="/post/inx-collect-detail-hardware-info/">[筆記] inxi 蒐集詳盡的硬體資訊 / inxi Collect Detail Hardware Info</a>
</li> </li>
<li> <li>
<a href="/post/transfer-cent62-using-rsync/">[筆記] 用rsync 移轉 centos 6.2的老機器 Transfer Cent6.2 using rsync</a> <a href="/post/log-all-bash-commands/">[筆記] 紀錄所有下過的指令、時間 / Log All commands with timestamp</a>
</li> </li>
<li> <li>
<a href="/post/command_to_test_main_ssl/">[筆記] 測試mail server 的SSL憑證的指令 Command to test mailserver SSL</a> <a href="/post/fix-zpool-device-busy-using-dmsetup/">[筆記] 解決無法建立zpool 的錯誤 / Fix Zpool Device Busy Using dmsetup</a>
</li> </li>
<li> <li>
<a href="/post/install-timeshift-on-ubuntu1804/">Install Timeshift on Ubuntu1804</a> <a href="/post/transfer-cent62-using-rsync/">[筆記] 用rsync 移轉 centos 6.2的老機器 Transfer Cent6.2 using rsync</a>
</li> </li>
<li> <li>
<a href="/post/install-ubuntu1804-on-dell-6ir-raid-controller/">用DELL 6 i/R 建立RAID並在上面安裝ubuntu 18.04 </a> <a href="/post/command_to_test_main_ssl/">[筆記] 測試mail server 的SSL憑證的指令 Command to test mailserver SSL</a>
</li> </li>
<li> <li>
<a href="/post/ubuntu-1804-install-root-on-raid/">Ubuntu 1804 Install Root on Raid</a> <a href="/post/install-timeshift-on-ubuntu1804/">Install Timeshift on Ubuntu1804</a>
</li> </li>
<li> <li>
<a href="/post/smartd-failed-to-start-in-freenas/">[筆記] Freenas Smartd 啟動失敗 Smartd Failed to Start in Freenas</a> <a href="/post/install-ubuntu1804-on-dell-6ir-raid-controller/">用DELL 6 i/R 建立RAID並在上面安裝ubuntu 18.04 </a>
</li> </li>
</ul> </ul>
@ -164,7 +164,7 @@
<ul> <ul>
<li> <li>
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (16)</a> <a href="/categories/%E7%AD%86%E8%A8%98">筆記 (18)</a>
</li> </li>
<li> <li>

@ -30,7 +30,7 @@
<item> <item>
<title>筆記</title> <title>筆記</title>
<link>https://h.cowbay.org/categories/%E7%AD%86%E8%A8%98/</link> <link>https://h.cowbay.org/categories/%E7%AD%86%E8%A8%98/</link>
<pubDate>Mon, 01 Apr 2019 15:56:27 +0800</pubDate> <pubDate>Tue, 23 Apr 2019 15:28:56 +0800</pubDate>
<guid>https://h.cowbay.org/categories/%E7%AD%86%E8%A8%98/</guid> <guid>https://h.cowbay.org/categories/%E7%AD%86%E8%A8%98/</guid>
<description></description> <description></description>

@ -180,31 +180,31 @@
<ul> <ul>
<li> <li>
<a href="/post/fix-zpool-device-busy-using-dmsetup/">[筆記] 解決無法建立zpool 的錯誤 / Fix Zpool Device Busy Using dmsetup</a> <a href="/post/inx-collect-detail-hardware-info/">[筆記] inxi 蒐集詳盡的硬體資訊 / inxi Collect Detail Hardware Info</a>
</li> </li>
<li> <li>
<a href="/post/transfer-cent62-using-rsync/">[筆記] 用rsync 移轉 centos 6.2的老機器 Transfer Cent6.2 using rsync</a> <a href="/post/log-all-bash-commands/">[筆記] 紀錄所有下過的指令、時間 / Log All commands with timestamp</a>
</li> </li>
<li> <li>
<a href="/post/command_to_test_main_ssl/">[筆記] 測試mail server 的SSL憑證的指令 Command to test mailserver SSL</a> <a href="/post/fix-zpool-device-busy-using-dmsetup/">[筆記] 解決無法建立zpool 的錯誤 / Fix Zpool Device Busy Using dmsetup</a>
</li> </li>
<li> <li>
<a href="/post/install-timeshift-on-ubuntu1804/">Install Timeshift on Ubuntu1804</a> <a href="/post/transfer-cent62-using-rsync/">[筆記] 用rsync 移轉 centos 6.2的老機器 Transfer Cent6.2 using rsync</a>
</li> </li>
<li> <li>
<a href="/post/install-ubuntu1804-on-dell-6ir-raid-controller/">用DELL 6 i/R 建立RAID並在上面安裝ubuntu 18.04 </a> <a href="/post/command_to_test_main_ssl/">[筆記] 測試mail server 的SSL憑證的指令 Command to test mailserver SSL</a>
</li> </li>
<li> <li>
<a href="/post/ubuntu-1804-install-root-on-raid/">Ubuntu 1804 Install Root on Raid</a> <a href="/post/install-timeshift-on-ubuntu1804/">Install Timeshift on Ubuntu1804</a>
</li> </li>
<li> <li>
<a href="/post/smartd-failed-to-start-in-freenas/">[筆記] Freenas Smartd 啟動失敗 Smartd Failed to Start in Freenas</a> <a href="/post/install-ubuntu1804-on-dell-6ir-raid-controller/">用DELL 6 i/R 建立RAID並在上面安裝ubuntu 18.04 </a>
</li> </li>
</ul> </ul>
@ -217,7 +217,7 @@
<ul> <ul>
<li> <li>
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (16)</a> <a href="/categories/%E7%AD%86%E8%A8%98">筆記 (18)</a>
</li> </li>
<li> <li>

@ -193,31 +193,31 @@
<ul> <ul>
<li> <li>
<a href="/post/fix-zpool-device-busy-using-dmsetup/">[筆記] 解決無法建立zpool 的錯誤 / Fix Zpool Device Busy Using dmsetup</a> <a href="/post/inx-collect-detail-hardware-info/">[筆記] inxi 蒐集詳盡的硬體資訊 / inxi Collect Detail Hardware Info</a>
</li> </li>
<li> <li>
<a href="/post/transfer-cent62-using-rsync/">[筆記] 用rsync 移轉 centos 6.2的老機器 Transfer Cent6.2 using rsync</a> <a href="/post/log-all-bash-commands/">[筆記] 紀錄所有下過的指令、時間 / Log All commands with timestamp</a>
</li> </li>
<li> <li>
<a href="/post/command_to_test_main_ssl/">[筆記] 測試mail server 的SSL憑證的指令 Command to test mailserver SSL</a> <a href="/post/fix-zpool-device-busy-using-dmsetup/">[筆記] 解決無法建立zpool 的錯誤 / Fix Zpool Device Busy Using dmsetup</a>
</li> </li>
<li> <li>
<a href="/post/install-timeshift-on-ubuntu1804/">Install Timeshift on Ubuntu1804</a> <a href="/post/transfer-cent62-using-rsync/">[筆記] 用rsync 移轉 centos 6.2的老機器 Transfer Cent6.2 using rsync</a>
</li> </li>
<li> <li>
<a href="/post/install-ubuntu1804-on-dell-6ir-raid-controller/">用DELL 6 i/R 建立RAID並在上面安裝ubuntu 18.04 </a> <a href="/post/command_to_test_main_ssl/">[筆記] 測試mail server 的SSL憑證的指令 Command to test mailserver SSL</a>
</li> </li>
<li> <li>
<a href="/post/ubuntu-1804-install-root-on-raid/">Ubuntu 1804 Install Root on Raid</a> <a href="/post/install-timeshift-on-ubuntu1804/">Install Timeshift on Ubuntu1804</a>
</li> </li>
<li> <li>
<a href="/post/smartd-failed-to-start-in-freenas/">[筆記] Freenas Smartd 啟動失敗 Smartd Failed to Start in Freenas</a> <a href="/post/install-ubuntu1804-on-dell-6ir-raid-controller/">用DELL 6 i/R 建立RAID並在上面安裝ubuntu 18.04 </a>
</li> </li>
</ul> </ul>
@ -230,7 +230,7 @@
<ul> <ul>
<li> <li>
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (16)</a> <a href="/categories/%E7%AD%86%E8%A8%98">筆記 (18)</a>
</li> </li>
<li> <li>

@ -92,25 +92,25 @@
<div class="article-wrapper u-cf"> <div class="article-wrapper u-cf">
<a class="bubble" href="/post/fix-zpool-device-busy-using-dmsetup/"> <a class="bubble" href="/post/inx-collect-detail-hardware-info/">
<i class="fa fa-fw fa-pencil"></i> <i class="fa fa-fw fa-pencil"></i>
</a> </a>
<article class="default article"> <article class="default article">
<div class="featured-image"> <div class="featured-image">
<a href="/post/fix-zpool-device-busy-using-dmsetup/"> <a href="/post/inx-collect-detail-hardware-info/">
<img src="/images/post-default-11.jpg" alt=""> <img src="/images/post-default-10.jpg" alt="">
</a> </a>
</div> </div>
<div class="content"> <div class="content">
<h3><a href="/post/fix-zpool-device-busy-using-dmsetup/">[筆記] 解決無法建立zpool 的錯誤 / Fix Zpool Device Busy Using dmsetup</a></h3> <h3><a href="/post/inx-collect-detail-hardware-info/">[筆記] inxi 蒐集詳盡的硬體資訊 / inxi Collect Detail Hardware Info</a></h3>
<div class="meta"> <div class="meta">
<span class="date moment">2019-04-01</span> <span class="date moment">2019-04-23</span>
@ -130,16 +130,20 @@
</div> </div>
<p>今天把其中一台proxmox 加上10G 光纖網卡準備和另一台proxmox 組成10G 環境進行測試</p> <p>最近因為一直碰到硬碟故障的問題算起來那一批同時購買的5X顆 seagate 2T硬碟已經有一半以上故障返修了&hellip;.</p>
<p>想說把本機的zpool 拆掉重新建立一個raid0 的空間來做clone/migrate</p> <p>然後又因為一直沒有添購新的硬碟,只能用這些快過保/已過保的撐著</p>
<p>可是一直出現device busy的錯誤訊息</p> <p>所以最近不斷的在更換機器內的硬碟,而且還沒有熱插拔!</p>
<p>也導致原本負責處理盤點資產的同事困擾,因為跟手邊的紀錄已經對不起來了</p>
<p>然後就變成要對資產的時候,需要一台一台登入,然後去下不同的指令,取得想要的硬體資訊,超級麻煩的!</p>
<p></p> <p></p>
<a href="/post/fix-zpool-device-busy-using-dmsetup/" class="more"></a> <a href="/post/inx-collect-detail-hardware-info/" class="more"></a>
</div> </div>
@ -153,7 +157,11 @@
<i class="fa fa-tags"></i> <i class="fa fa-tags"></i>
<div class="links"> <div class="links">
<a href="/tags/zfs">zfs</a> <a href="/tags/linux">linux</a>
<a href="/tags/bsd">bsd</a>
<a href="/tags/inventory">inventory</a>
</div> </div>
</div> </div>
@ -169,25 +177,25 @@
<div class="article-wrapper u-cf"> <div class="article-wrapper u-cf">
<a class="bubble" href="/post/transfer-cent62-using-rsync/"> <a class="bubble" href="/post/log-all-bash-commands/">
<i class="fa fa-fw fa-pencil"></i> <i class="fa fa-fw fa-pencil"></i>
</a> </a>
<article class="default article"> <article class="default article">
<div class="featured-image"> <div class="featured-image">
<a href="/post/transfer-cent62-using-rsync/"> <a href="/post/log-all-bash-commands/">
<img src="/images/post-default-9.jpg" alt=""> <img src="/images/post-default-11.jpg" alt="">
</a> </a>
</div> </div>
<div class="content"> <div class="content">
<h3><a href="/post/transfer-cent62-using-rsync/">[筆記] 用rsync 移轉 centos 6.2的老機器 Transfer Cent6.2 using rsync</a></h3> <h3><a href="/post/log-all-bash-commands/">[筆記] 紀錄所有下過的指令、時間 / Log All commands with timestamp</a></h3>
<div class="meta"> <div class="meta">
<span class="date moment">2019-03-27</span> <span class="date moment">2019-04-23</span>
@ -207,13 +215,18 @@
</div> </div>
<p>公司的一台老伺服器空間不足了,要執行指令都會中斷,所以想要擴充空間。</p> <p>今天發生一件有點詭異的事情,本來應該要經過某個指令才會產生的檔案</p>
<p>看起來不難搞,事實上&hellip;.. <p>居然不知為何自己產生了,在我記憶中沒有去執行過那個指令</p>
</p>
<p>翻了一下 bash_history ,裡面也只有下過哪些指令,沒有紀錄時間,完全沒有參考價值(攤手)</p>
<p>所以翻了一下網路至少把這兩台主要跑ansible的機器的log功能補上紀錄所有指令以及時間的部份</p>
<p></p>
<a href="/post/transfer-cent62-using-rsync/" class="more"></a> <a href="/post/log-all-bash-commands/" class="more"></a>
</div> </div>
@ -227,9 +240,7 @@
<i class="fa fa-tags"></i> <i class="fa fa-tags"></i>
<div class="links"> <div class="links">
<a href="/tags/centos">centos</a> <a href="/tags/log">log</a>
<a href="/tags/linux">linux</a>
</div> </div>
</div> </div>
@ -245,25 +256,25 @@
<div class="article-wrapper u-cf"> <div class="article-wrapper u-cf">
<a class="bubble" href="/post/install-timeshift-on-ubuntu1804/"> <a class="bubble" href="/post/fix-zpool-device-busy-using-dmsetup/">
<i class="fa fa-fw fa-pencil"></i> <i class="fa fa-fw fa-pencil"></i>
</a> </a>
<article class="default article"> <article class="default article">
<div class="featured-image"> <div class="featured-image">
<a href="/post/install-timeshift-on-ubuntu1804/"> <a href="/post/fix-zpool-device-busy-using-dmsetup/">
<img src="/images/post-default-11.jpg" alt=""> <img src="/images/post-default-11.jpg" alt="">
</a> </a>
</div> </div>
<div class="content"> <div class="content">
<h3><a href="/post/install-timeshift-on-ubuntu1804/">Install Timeshift on Ubuntu1804</a></h3> <h3><a href="/post/fix-zpool-device-busy-using-dmsetup/">[筆記] 解決無法建立zpool 的錯誤 / Fix Zpool Device Busy Using dmsetup</a></h3>
<div class="meta"> <div class="meta">
<span class="date moment">2019-03-11</span> <span class="date moment">2019-04-01</span>
@ -283,18 +294,16 @@
</div> </div>
<p>最近要開始測試client安裝 ubuntu 18.04 的 ansible playbook</p> <p>今天把其中一台proxmox 加上10G 光纖網卡準備和另一台proxmox 組成10G 環境進行測試</p>
<p>因為要不斷的修正所以想到一直有在自己電腦上執行的timeshift這個軟體</p>
<p>可以很簡單快速的備份、恢復系統狀態</p> <p>想說把本機的zpool 拆掉重新建立一個raid0 的空間來做clone/migrate</p>
<p>可是不知道為什麼在ubuntu 18.04 上安裝就是會發生錯誤&hellip;.</p> <p>可是一直出現device busy的錯誤訊息</p>
<p></p> <p></p>
<a href="/post/install-timeshift-on-ubuntu1804/" class="more"></a> <a href="/post/fix-zpool-device-busy-using-dmsetup/" class="more"></a>
</div> </div>
@ -308,9 +317,7 @@
<i class="fa fa-tags"></i> <i class="fa fa-tags"></i>
<div class="links"> <div class="links">
<a href="/tags/ubuntu">ubuntu</a> <a href="/tags/zfs">zfs</a>
<a href="/tags/backup">backup</a>
</div> </div>
</div> </div>
@ -326,25 +333,25 @@
<div class="article-wrapper u-cf"> <div class="article-wrapper u-cf">
<a class="bubble" href="/post/install-ubuntu1804-on-dell-6ir-raid-controller/"> <a class="bubble" href="/post/transfer-cent62-using-rsync/">
<i class="fa fa-fw fa-pencil"></i> <i class="fa fa-fw fa-pencil"></i>
</a> </a>
<article class="default article"> <article class="default article">
<div class="featured-image"> <div class="featured-image">
<a href="/post/install-ubuntu1804-on-dell-6ir-raid-controller/"> <a href="/post/transfer-cent62-using-rsync/">
<img src="/images/post-default-11.jpg" alt=""> <img src="/images/post-default-9.jpg" alt="">
</a> </a>
</div> </div>
<div class="content"> <div class="content">
<h3><a href="/post/install-ubuntu1804-on-dell-6ir-raid-controller/">用DELL 6 i/R 建立RAID並在上面安裝ubuntu 18.04 </a></h3> <h3><a href="/post/transfer-cent62-using-rsync/">[筆記] 用rsync 移轉 centos 6.2的老機器 Transfer Cent6.2 using rsync</a></h3>
<div class="meta"> <div class="meta">
<span class="date moment">2019-01-16</span> <span class="date moment">2019-03-27</span>
@ -364,13 +371,13 @@
</div> </div>
<p>買了一張 DELL 6/iR 低階的raid 卡</p> <p>公司的一台老伺服器空間不足了,要執行指令都會中斷,所以想要擴充空間。</p>
<p>來測試把系統裝在硬體做的RAID上結果沒想到居然不能開機&hellip; <p>看起來不難搞,事實上&hellip;..
</p> </p>
<a href="/post/install-ubuntu1804-on-dell-6ir-raid-controller/" class="more"></a> <a href="/post/transfer-cent62-using-rsync/" class="more"></a>
</div> </div>
@ -384,7 +391,9 @@
<i class="fa fa-tags"></i> <i class="fa fa-tags"></i>
<div class="links"> <div class="links">
<a href="/tags/ubuntu">ubuntu</a> <a href="/tags/centos">centos</a>
<a href="/tags/linux">linux</a>
</div> </div>
</div> </div>
@ -400,25 +409,25 @@
<div class="article-wrapper u-cf"> <div class="article-wrapper u-cf">
<a class="bubble" href="/post/ubuntu-1804-install-root-on-raid/"> <a class="bubble" href="/post/install-timeshift-on-ubuntu1804/">
<i class="fa fa-fw fa-pencil"></i> <i class="fa fa-fw fa-pencil"></i>
</a> </a>
<article class="default article"> <article class="default article">
<div class="featured-image"> <div class="featured-image">
<a href="/post/ubuntu-1804-install-root-on-raid/"> <a href="/post/install-timeshift-on-ubuntu1804/">
<img src="/images/post-default-11.jpg" alt=""> <img src="/images/post-default-11.jpg" alt="">
</a> </a>
</div> </div>
<div class="content"> <div class="content">
<h3><a href="/post/ubuntu-1804-install-root-on-raid/">Ubuntu 1804 Install Root on Raid</a></h3> <h3><a href="/post/install-timeshift-on-ubuntu1804/">Install Timeshift on Ubuntu1804</a></h3>
<div class="meta"> <div class="meta">
<span class="date moment">2019-01-16</span> <span class="date moment">2019-03-11</span>
@ -438,16 +447,18 @@
</div> </div>
<p>最近在弄一台機器想要把ubuntu 18.04 安裝在software raid上</p> <p>最近要開始測試client安裝 ubuntu 18.04 的 ansible playbook</p>
<p>因為新開的機器大部分都是在proxmox上所以很少碰實體機器了</p> <p>因為要不斷的修正所以想到一直有在自己電腦上執行的timeshift這個軟體</p>
<p>結果在安裝過程中做raid碰到一些問題來紀錄一下</p> <p>可以很簡單快速的備份、恢復系統狀態</p>
<p>可是不知道為什麼在ubuntu 18.04 上安裝就是會發生錯誤&hellip;.</p>
<p></p> <p></p>
<a href="/post/ubuntu-1804-install-root-on-raid/" class="more"></a> <a href="/post/install-timeshift-on-ubuntu1804/" class="more"></a>
</div> </div>
@ -463,7 +474,7 @@
<a href="/tags/ubuntu">ubuntu</a> <a href="/tags/ubuntu">ubuntu</a>
<a href="/tags/raid">raid</a> <a href="/tags/backup">backup</a>
</div> </div>
</div> </div>
@ -479,25 +490,25 @@
<div class="article-wrapper u-cf"> <div class="article-wrapper u-cf">
<a class="bubble" href="/post/smartd-failed-to-start-in-freenas/"> <a class="bubble" href="/post/install-ubuntu1804-on-dell-6ir-raid-controller/">
<i class="fa fa-fw fa-pencil"></i> <i class="fa fa-fw fa-pencil"></i>
</a> </a>
<article class="default article"> <article class="default article">
<div class="featured-image"> <div class="featured-image">
<a href="/post/smartd-failed-to-start-in-freenas/"> <a href="/post/install-ubuntu1804-on-dell-6ir-raid-controller/">
<img src="/images/post-default-2.jpg" alt=""> <img src="/images/post-default-11.jpg" alt="">
</a> </a>
</div> </div>
<div class="content"> <div class="content">
<h3><a href="/post/smartd-failed-to-start-in-freenas/">[筆記] Freenas Smartd 啟動失敗 Smartd Failed to Start in Freenas</a></h3> <h3><a href="/post/install-ubuntu1804-on-dell-6ir-raid-controller/">用DELL 6 i/R 建立RAID並在上面安裝ubuntu 18.04 </a></h3>
<div class="meta"> <div class="meta">
<span class="date moment">2018-12-13</span> <span class="date moment">2019-01-16</span>
@ -517,18 +528,13 @@
</div> </div>
<p>這兩天在弄兩台Freenas 準備當作Proxmox 的Storage &amp; Server Backup</p> <p>買了一張 DELL 6/iR 低階的raid 卡</p>
<p>因為伺服器的限制只能接六個SATA我接了六個2T的硬碟做raid10</p>
<p>然後把Freenas 安裝在隨身碟上</p>
<p>不過會一直出現Smartd failed to start 的錯誤訊息</p>
<p></p> <p>來測試把系統裝在硬體做的RAID上結果沒想到居然不能開機&hellip;
</p>
<a href="/post/smartd-failed-to-start-in-freenas/" class="more"></a> <a href="/post/install-ubuntu1804-on-dell-6ir-raid-controller/" class="more"></a>
</div> </div>
@ -542,7 +548,7 @@
<i class="fa fa-tags"></i> <i class="fa fa-tags"></i>
<div class="links"> <div class="links">
<a href="/tags/freenas">freenas</a> <a href="/tags/ubuntu">ubuntu</a>
</div> </div>
</div> </div>
@ -558,25 +564,25 @@
<div class="article-wrapper u-cf"> <div class="article-wrapper u-cf">
<a class="bubble" href="/post/create-portable-vim-environment/"> <a class="bubble" href="/post/ubuntu-1804-install-root-on-raid/">
<i class="fa fa-fw fa-pencil"></i> <i class="fa fa-fw fa-pencil"></i>
</a> </a>
<article class="default article"> <article class="default article">
<div class="featured-image"> <div class="featured-image">
<a href="/post/create-portable-vim-environment/"> <a href="/post/ubuntu-1804-install-root-on-raid/">
<img src="/images/post-default-8.jpg" alt=""> <img src="/images/post-default-11.jpg" alt="">
</a> </a>
</div> </div>
<div class="content"> <div class="content">
<h3><a href="/post/create-portable-vim-environment/">[筆記] 建立一個帶著走的 VIM 環境 Creating portable Vim environment</a></h3> <h3><a href="/post/ubuntu-1804-install-root-on-raid/">Ubuntu 1804 Install Root on Raid</a></h3>
<div class="meta"> <div class="meta">
<span class="date moment">2018-12-07</span> <span class="date moment">2019-01-16</span>
@ -596,18 +602,16 @@
</div> </div>
<p>因為工作的關係現在很多時間都花在VIM的操作上</p> <p>最近在弄一台機器想要把ubuntu 18.04 安裝在software raid上</p>
<p>所以之前花了滿多時間調整出一個適合自己的VIM環境</p>
<p>原本的作法是把這個設定好的環境丟到自己建立的gitea 上面</p> <p>因為新開的機器大部分都是在proxmox上所以很少碰實體機器了</p>
<p>然後每到一台新的機器就要去clone 下來</p> <p>結果在安裝過程中做raid碰到一些問題來紀錄一下</p>
<p></p> <p></p>
<a href="/post/create-portable-vim-environment/" class="more"></a> <a href="/post/ubuntu-1804-install-root-on-raid/" class="more"></a>
</div> </div>
@ -621,7 +625,9 @@
<i class="fa fa-tags"></i> <i class="fa fa-tags"></i>
<div class="links"> <div class="links">
<a href="/tags/vim">vim</a> <a href="/tags/ubuntu">ubuntu</a>
<a href="/tags/raid">raid</a>
</div> </div>
</div> </div>
@ -637,25 +643,25 @@
<div class="article-wrapper u-cf"> <div class="article-wrapper u-cf">
<a class="bubble" href="/post/10g-lab-using-proxmox-and-mellanox/"> <a class="bubble" href="/post/smartd-failed-to-start-in-freenas/">
<i class="fa fa-fw fa-pencil"></i> <i class="fa fa-fw fa-pencil"></i>
</a> </a>
<article class="default article"> <article class="default article">
<div class="featured-image"> <div class="featured-image">
<a href="/post/10g-lab-using-proxmox-and-mellanox/"> <a href="/post/smartd-failed-to-start-in-freenas/">
<img src="/images/post-default-03.jpg" alt=""> <img src="/images/post-default-2.jpg" alt="">
</a> </a>
</div> </div>
<div class="content"> <div class="content">
<h3><a href="/post/10g-lab-using-proxmox-and-mellanox/">[筆記] 用 proxmox &amp; Mellanox SFP 網卡土炮 10G LAB </a></h3> <h3><a href="/post/smartd-failed-to-start-in-freenas/">[筆記] Freenas Smartd 啟動失敗 Smartd Failed to Start in Freenas</a></h3>
<div class="meta"> <div class="meta">
<span class="date moment">2018-11-30</span> <span class="date moment">2018-12-13</span>
@ -675,28 +681,18 @@
</div> </div>
<p>想做一個 10G 的 LAB 環境出來已經很久了。</p> <p>這兩天在弄兩台Freenas 準備當作Proxmox 的Storage &amp; Server Backup</p>
<p>只是礙於10G RJ45的卡太貴了然後光纖的種類又太複雜</p>
<p>如果直接在淘寶購買,很怕會買錯(什麼LC/FC LC/LC 多模單模 單芯雙芯 SFP/SFP+ 又是什麼光模塊的一大堆規格)</p>
<p>所以一直沒有付諸行動。</p>
<p>硬體的工作很久沒碰了,剛好在蝦皮看到有個賣家在賣 mellanox 的X2網卡以在台灣的價格來說算很便宜的 (550)</p>
<p>聊了一下,跟他請教了關於線材、光纖模塊的問題,回答也都很快很到位</p>
<p>就直接下訂了兩張網卡、兩個光纖模塊、一條LC/LC 光纖線</p> <p>因為伺服器的限制只能接六個SATA我接了六個2T的硬碟做raid10</p>
<p>就是到貨有點久,等了兩個禮拜左右,一直到昨天東西才寄到</p> <p>然後把Freenas 安裝在隨身碟上</p>
<p>今天就花了點時間測試一下</p> <p>不過會一直出現Smartd failed to start 的錯誤訊息</p>
<p></p> <p></p>
<a href="/post/10g-lab-using-proxmox-and-mellanox/" class="more"></a> <a href="/post/smartd-failed-to-start-in-freenas/" class="more"></a>
</div> </div>
@ -710,11 +706,7 @@
<i class="fa fa-tags"></i> <i class="fa fa-tags"></i>
<div class="links"> <div class="links">
<a href="/tags/10g">10G</a> <a href="/tags/freenas">freenas</a>
<a href="/tags/%E7%AD%86%E8%A8%98">筆記</a>
<a href="/tags/mellanox">mellanox</a>
</div> </div>
</div> </div>
@ -730,25 +722,25 @@
<div class="article-wrapper u-cf"> <div class="article-wrapper u-cf">
<a class="bubble" href="/post/ansible-selectattr-filter/"> <a class="bubble" href="/post/create-portable-vim-environment/">
<i class="fa fa-fw fa-pencil"></i> <i class="fa fa-fw fa-pencil"></i>
</a> </a>
<article class="default article"> <article class="default article">
<div class="featured-image"> <div class="featured-image">
<a href="/post/ansible-selectattr-filter/"> <a href="/post/create-portable-vim-environment/">
<img src="/images/post-default-11.jpg" alt=""> <img src="/images/post-default-8.jpg" alt="">
</a> </a>
</div> </div>
<div class="content"> <div class="content">
<h3><a href="/post/ansible-selectattr-filter/">[筆記] 還是 Ansible Selectattr </a></h3> <h3><a href="/post/create-portable-vim-environment/">[筆記] 建立一個帶著走的 VIM 環境 Creating portable Vim environment</a></h3>
<div class="meta"> <div class="meta">
<span class="date moment">2018-11-29</span> <span class="date moment">2018-12-07</span>
@ -768,16 +760,18 @@
</div> </div>
<p>在上一篇 <a href="https://h.cowbay.org/post/ansible-selectattr/">Ansible how to use &lsquo;list&rsquo; in yaml file </a></p> <p>因為工作的關係,現很多時間都花在VIM的操作</p>
<p>有提到怎麼用 with_items / set_fact 來取得在yaml 檔案中的清單</p> <p>所以之前花了滿多時間調整出一個適合自己的VIM環境</p>
<p>不過就是有點醜</p> <p>原本的作法是把這個設定好的環境丟到自己建立的gitea 上面</p>
<p>然後每到一台新的機器就要去clone 下來</p>
<p></p> <p></p>
<a href="/post/ansible-selectattr-filter/" class="more"></a> <a href="/post/create-portable-vim-environment/" class="more"></a>
</div> </div>
@ -791,7 +785,7 @@
<i class="fa fa-tags"></i> <i class="fa fa-tags"></i>
<div class="links"> <div class="links">
<a href="/tags/ansible">ansible</a> <a href="/tags/vim">vim</a>
</div> </div>
</div> </div>
@ -807,25 +801,25 @@
<div class="article-wrapper u-cf"> <div class="article-wrapper u-cf">
<a class="bubble" href="/post/ansible-selectattr/"> <a class="bubble" href="/post/10g-lab-using-proxmox-and-mellanox/">
<i class="fa fa-fw fa-pencil"></i> <i class="fa fa-fw fa-pencil"></i>
</a> </a>
<article class="default article"> <article class="default article">
<div class="featured-image"> <div class="featured-image">
<a href="/post/ansible-selectattr/"> <a href="/post/10g-lab-using-proxmox-and-mellanox/">
<img src="/images/post-default-1.jpg" alt=""> <img src="/images/post-default-03.jpg" alt="">
</a> </a>
</div> </div>
<div class="content"> <div class="content">
<h3><a href="/post/ansible-selectattr/">[筆記] Ansible how to use &#39;list&#39; in yaml file </a></h3> <h3><a href="/post/10g-lab-using-proxmox-and-mellanox/">[筆記] 用 proxmox &amp; Mellanox SFP 網卡土炮 10G LAB </a></h3>
<div class="meta"> <div class="meta">
<span class="date moment">2018-11-27</span> <span class="date moment">2018-11-30</span>
@ -845,55 +839,28 @@
</div> </div>
<p>這幾天在玩ansible 時,碰到一個問題</p> <p>想做一個 10G 的 LAB 環境出來已經很久了。</p>
<p>假如我有個yaml檔作為資料來源檔名是 abc.yml</p> <p>只是礙於10G RJ45的卡太貴了然後光纖的種類又太複雜</p>
<p>大概長這樣</p> <p>如果直接在淘寶購買,很怕會買錯(什麼LC/FC LC/LC 多模單模 單芯雙芯 SFP/SFP+ 又是什麼光模塊的一大堆規格)</p>
<pre><code> &quot;teams&quot;: [ <p>所以一直沒有付諸行動。</p>
{
&quot;chinese_name&quot;: &quot;TEAM1&quot;, <p>硬體的工作很久沒碰了,剛好在蝦皮看到有個賣家在賣 mellanox 的X2網卡以在台灣的價格來說算很便宜的 (550)</p>
&quot;description&quot;: &quot;TEAM1&quot;,
&quot;gid&quot;: 10125, <p>聊了一下,跟他請教了關於線材、光纖模塊的問題,回答也都很快很到位</p>
&quot;location&quot;: [
&quot;hq&quot; <p>就直接下訂了兩張網卡、兩個光纖模塊、一條LC/LC 光纖線</p>
],
&quot;name&quot;: &quot;aa&quot;, <p>就是到貨有點久,等了兩個禮拜左右,一直到昨天東西才寄到</p>
&quot;users&quot;: [
&quot;chen&quot;, <p>今天就花了點時間測試一下</p>
&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>
<p></p> <p></p>
<a href="/post/ansible-selectattr/" class="more"></a> <a href="/post/10g-lab-using-proxmox-and-mellanox/" class="more"></a>
</div> </div>
@ -907,9 +874,11 @@
<i class="fa fa-tags"></i> <i class="fa fa-tags"></i>
<div class="links"> <div class="links">
<a href="/tags/ansible">ansible</a> <a href="/tags/10g">10G</a>
<a href="/tags/%E7%AD%86%E8%A8%98">筆記</a>
<a href="/tags/linux">linux</a> <a href="/tags/mellanox">mellanox</a>
</div> </div>
</div> </div>
@ -947,31 +916,31 @@
<ul> <ul>
<li> <li>
<a href="/post/fix-zpool-device-busy-using-dmsetup/">[筆記] 解決無法建立zpool 的錯誤 / Fix Zpool Device Busy Using dmsetup</a> <a href="/post/inx-collect-detail-hardware-info/">[筆記] inxi 蒐集詳盡的硬體資訊 / inxi Collect Detail Hardware Info</a>
</li> </li>
<li> <li>
<a href="/post/transfer-cent62-using-rsync/">[筆記] 用rsync 移轉 centos 6.2的老機器 Transfer Cent6.2 using rsync</a> <a href="/post/log-all-bash-commands/">[筆記] 紀錄所有下過的指令、時間 / Log All commands with timestamp</a>
</li> </li>
<li> <li>
<a href="/post/command_to_test_main_ssl/">[筆記] 測試mail server 的SSL憑證的指令 Command to test mailserver SSL</a> <a href="/post/fix-zpool-device-busy-using-dmsetup/">[筆記] 解決無法建立zpool 的錯誤 / Fix Zpool Device Busy Using dmsetup</a>
</li> </li>
<li> <li>
<a href="/post/install-timeshift-on-ubuntu1804/">Install Timeshift on Ubuntu1804</a> <a href="/post/transfer-cent62-using-rsync/">[筆記] 用rsync 移轉 centos 6.2的老機器 Transfer Cent6.2 using rsync</a>
</li> </li>
<li> <li>
<a href="/post/install-ubuntu1804-on-dell-6ir-raid-controller/">用DELL 6 i/R 建立RAID並在上面安裝ubuntu 18.04 </a> <a href="/post/command_to_test_main_ssl/">[筆記] 測試mail server 的SSL憑證的指令 Command to test mailserver SSL</a>
</li> </li>
<li> <li>
<a href="/post/ubuntu-1804-install-root-on-raid/">Ubuntu 1804 Install Root on Raid</a> <a href="/post/install-timeshift-on-ubuntu1804/">Install Timeshift on Ubuntu1804</a>
</li> </li>
<li> <li>
<a href="/post/smartd-failed-to-start-in-freenas/">[筆記] Freenas Smartd 啟動失敗 Smartd Failed to Start in Freenas</a> <a href="/post/install-ubuntu1804-on-dell-6ir-raid-controller/">用DELL 6 i/R 建立RAID並在上面安裝ubuntu 18.04 </a>
</li> </li>
</ul> </ul>
@ -984,7 +953,7 @@
<ul> <ul>
<li> <li>
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (16)</a> <a href="/categories/%E7%AD%86%E8%A8%98">筆記 (18)</a>
</li> </li>
<li> <li>

@ -5,11 +5,47 @@
<link>https://h.cowbay.org/categories/%E7%AD%86%E8%A8%98/</link> <link>https://h.cowbay.org/categories/%E7%AD%86%E8%A8%98/</link>
<description>Recent content in 筆記 on MCの飄狂山莊㊣</description> <description>Recent content in 筆記 on MCの飄狂山莊㊣</description>
<generator>Hugo -- gohugo.io</generator> <generator>Hugo -- gohugo.io</generator>
<lastBuildDate>Mon, 01 Apr 2019 15:56:27 +0800</lastBuildDate> <lastBuildDate>Tue, 23 Apr 2019 15:28:56 +0800</lastBuildDate>
<atom:link href="https://h.cowbay.org/categories/%E7%AD%86%E8%A8%98/index.xml" rel="self" type="application/rss+xml" /> <atom:link href="https://h.cowbay.org/categories/%E7%AD%86%E8%A8%98/index.xml" rel="self" type="application/rss+xml" />
<item>
<title>[筆記] inxi 蒐集詳盡的硬體資訊 / inxi Collect Detail Hardware Info</title>
<link>https://h.cowbay.org/post/inx-collect-detail-hardware-info/</link>
<pubDate>Tue, 23 Apr 2019 15:28:56 +0800</pubDate>
<guid>https://h.cowbay.org/post/inx-collect-detail-hardware-info/</guid>
<description>&lt;p&gt;最近因為一直碰到硬碟故障的問題算起來那一批同時購買的5X顆 seagate 2T硬碟已經有一半以上故障返修了&amp;hellip;.&lt;/p&gt;
&lt;p&gt;然後又因為一直沒有添購新的硬碟,只能用這些快過保/已過保的撐著&lt;/p&gt;
&lt;p&gt;所以最近不斷的在更換機器內的硬碟,而且還沒有熱插拔!&lt;/p&gt;
&lt;p&gt;也導致原本負責處理盤點資產的同事困擾,因為跟手邊的紀錄已經對不起來了&lt;/p&gt;
&lt;p&gt;然後就變成要對資產的時候,需要一台一台登入,然後去下不同的指令,取得想要的硬體資訊,超級麻煩的!&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;</description>
</item>
<item>
<title>[筆記] 紀錄所有下過的指令、時間 / Log All commands with timestamp</title>
<link>https://h.cowbay.org/post/log-all-bash-commands/</link>
<pubDate>Tue, 23 Apr 2019 15:08:36 +0800</pubDate>
<guid>https://h.cowbay.org/post/log-all-bash-commands/</guid>
<description>&lt;p&gt;今天發生一件有點詭異的事情,本來應該要經過某個指令才會產生的檔案&lt;/p&gt;
&lt;p&gt;居然不知為何自己產生了,在我記憶中沒有去執行過那個指令&lt;/p&gt;
&lt;p&gt;翻了一下 bash_history ,裡面也只有下過哪些指令,沒有紀錄時間,完全沒有參考價值(攤手)&lt;/p&gt;
&lt;p&gt;所以翻了一下網路至少把這兩台主要跑ansible的機器的log功能補上紀錄所有指令以及時間的部份&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;</description>
</item>
<item> <item>
<title>[筆記] 解決無法建立zpool 的錯誤 / Fix Zpool Device Busy Using dmsetup</title> <title>[筆記] 解決無法建立zpool 的錯誤 / Fix Zpool Device Busy Using dmsetup</title>
<link>https://h.cowbay.org/post/fix-zpool-device-busy-using-dmsetup/</link> <link>https://h.cowbay.org/post/fix-zpool-device-busy-using-dmsetup/</link>

@ -90,6 +90,201 @@
<div class="article-wrapper u-cf">
<a class="bubble" href="/post/ansible-selectattr-filter/">
<i class="fa fa-fw fa-pencil"></i>
</a>
<article class="default article">
<div class="featured-image">
<a href="/post/ansible-selectattr-filter/">
<img src="/images/post-default-11.jpg" alt="">
</a>
</div>
<div class="content">
<h3><a href="/post/ansible-selectattr-filter/">[筆記] 還是 Ansible Selectattr </a></h3>
<div class="meta">
<span class="date moment">2018-11-29</span>
<span class="categories">
<a href="/categories/%E7%AD%86%E8%A8%98">筆記</a>
</span>
<span class="author"><a href="/author/eric-chang">Eric Chang</a></span>
</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>
<p></p>
<a href="/post/ansible-selectattr-filter/" class="more"></a>
</div>
<div class="footer">
<div class="tags">
<i class="fa fa-tags"></i>
<div class="links">
<a href="/tags/ansible">ansible</a>
</div>
</div>
</div>
</article>
</div>
<div class="article-wrapper u-cf">
<a class="bubble" href="/post/ansible-selectattr/">
<i class="fa fa-fw fa-pencil"></i>
</a>
<article class="default article">
<div class="featured-image">
<a href="/post/ansible-selectattr/">
<img src="/images/post-default-1.jpg" alt="">
</a>
</div>
<div class="content">
<h3><a href="/post/ansible-selectattr/">[筆記] Ansible how to use &#39;list&#39; in yaml file </a></h3>
<div class="meta">
<span class="date moment">2018-11-27</span>
<span class="categories">
<a href="/categories/%E7%AD%86%E8%A8%98">筆記</a>
</span>
<span class="author"><a href="/author/eric-chang">Eric Chang</a></span>
</div>
<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>
<p></p>
<a href="/post/ansible-selectattr/" class="more"></a>
</div>
<div class="footer">
<div class="tags">
<i class="fa fa-tags"></i>
<div class="links">
<a href="/tags/ansible">ansible</a>
<a href="/tags/linux">linux</a>
</div>
</div>
</div>
</article>
</div>
<div class="article-wrapper u-cf"> <div class="article-wrapper u-cf">
<a class="bubble" href="/post/change-preferred-language-in-firefox/"> <a class="bubble" href="/post/change-preferred-language-in-firefox/">
@ -626,31 +821,31 @@
<ul> <ul>
<li> <li>
<a href="/post/fix-zpool-device-busy-using-dmsetup/">[筆記] 解決無法建立zpool 的錯誤 / Fix Zpool Device Busy Using dmsetup</a> <a href="/post/inx-collect-detail-hardware-info/">[筆記] inxi 蒐集詳盡的硬體資訊 / inxi Collect Detail Hardware Info</a>
</li> </li>
<li> <li>
<a href="/post/transfer-cent62-using-rsync/">[筆記] 用rsync 移轉 centos 6.2的老機器 Transfer Cent6.2 using rsync</a> <a href="/post/log-all-bash-commands/">[筆記] 紀錄所有下過的指令、時間 / Log All commands with timestamp</a>
</li> </li>
<li> <li>
<a href="/post/command_to_test_main_ssl/">[筆記] 測試mail server 的SSL憑證的指令 Command to test mailserver SSL</a> <a href="/post/fix-zpool-device-busy-using-dmsetup/">[筆記] 解決無法建立zpool 的錯誤 / Fix Zpool Device Busy Using dmsetup</a>
</li> </li>
<li> <li>
<a href="/post/install-timeshift-on-ubuntu1804/">Install Timeshift on Ubuntu1804</a> <a href="/post/transfer-cent62-using-rsync/">[筆記] 用rsync 移轉 centos 6.2的老機器 Transfer Cent6.2 using rsync</a>
</li> </li>
<li> <li>
<a href="/post/install-ubuntu1804-on-dell-6ir-raid-controller/">用DELL 6 i/R 建立RAID並在上面安裝ubuntu 18.04 </a> <a href="/post/command_to_test_main_ssl/">[筆記] 測試mail server 的SSL憑證的指令 Command to test mailserver SSL</a>
</li> </li>
<li> <li>
<a href="/post/ubuntu-1804-install-root-on-raid/">Ubuntu 1804 Install Root on Raid</a> <a href="/post/install-timeshift-on-ubuntu1804/">Install Timeshift on Ubuntu1804</a>
</li> </li>
<li> <li>
<a href="/post/smartd-failed-to-start-in-freenas/">[筆記] Freenas Smartd 啟動失敗 Smartd Failed to Start in Freenas</a> <a href="/post/install-ubuntu1804-on-dell-6ir-raid-controller/">用DELL 6 i/R 建立RAID並在上面安裝ubuntu 18.04 </a>
</li> </li>
</ul> </ul>
@ -663,7 +858,7 @@
<ul> <ul>
<li> <li>
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (16)</a> <a href="/categories/%E7%AD%86%E8%A8%98">筆記 (18)</a>
</li> </li>
<li> <li>

@ -203,31 +203,31 @@
<ul> <ul>
<li> <li>
<a href="/post/fix-zpool-device-busy-using-dmsetup/">[筆記] 解決無法建立zpool 的錯誤 / Fix Zpool Device Busy Using dmsetup</a> <a href="/post/inx-collect-detail-hardware-info/">[筆記] inxi 蒐集詳盡的硬體資訊 / inxi Collect Detail Hardware Info</a>
</li> </li>
<li> <li>
<a href="/post/transfer-cent62-using-rsync/">[筆記] 用rsync 移轉 centos 6.2的老機器 Transfer Cent6.2 using rsync</a> <a href="/post/log-all-bash-commands/">[筆記] 紀錄所有下過的指令、時間 / Log All commands with timestamp</a>
</li> </li>
<li> <li>
<a href="/post/command_to_test_main_ssl/">[筆記] 測試mail server 的SSL憑證的指令 Command to test mailserver SSL</a> <a href="/post/fix-zpool-device-busy-using-dmsetup/">[筆記] 解決無法建立zpool 的錯誤 / Fix Zpool Device Busy Using dmsetup</a>
</li> </li>
<li> <li>
<a href="/post/install-timeshift-on-ubuntu1804/">Install Timeshift on Ubuntu1804</a> <a href="/post/transfer-cent62-using-rsync/">[筆記] 用rsync 移轉 centos 6.2的老機器 Transfer Cent6.2 using rsync</a>
</li> </li>
<li> <li>
<a href="/post/install-ubuntu1804-on-dell-6ir-raid-controller/">用DELL 6 i/R 建立RAID並在上面安裝ubuntu 18.04 </a> <a href="/post/command_to_test_main_ssl/">[筆記] 測試mail server 的SSL憑證的指令 Command to test mailserver SSL</a>
</li> </li>
<li> <li>
<a href="/post/ubuntu-1804-install-root-on-raid/">Ubuntu 1804 Install Root on Raid</a> <a href="/post/install-timeshift-on-ubuntu1804/">Install Timeshift on Ubuntu1804</a>
</li> </li>
<li> <li>
<a href="/post/smartd-failed-to-start-in-freenas/">[筆記] Freenas Smartd 啟動失敗 Smartd Failed to Start in Freenas</a> <a href="/post/install-ubuntu1804-on-dell-6ir-raid-controller/">用DELL 6 i/R 建立RAID並在上面安裝ubuntu 18.04 </a>
</li> </li>
</ul> </ul>
@ -240,7 +240,7 @@
<ul> <ul>
<li> <li>
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (16)</a> <a href="/categories/%E7%AD%86%E8%A8%98">筆記 (18)</a>
</li> </li>
<li> <li>

@ -180,31 +180,31 @@
<ul> <ul>
<li> <li>
<a href="/post/fix-zpool-device-busy-using-dmsetup/">[筆記] 解決無法建立zpool 的錯誤 / Fix Zpool Device Busy Using dmsetup</a> <a href="/post/inx-collect-detail-hardware-info/">[筆記] inxi 蒐集詳盡的硬體資訊 / inxi Collect Detail Hardware Info</a>
</li> </li>
<li> <li>
<a href="/post/transfer-cent62-using-rsync/">[筆記] 用rsync 移轉 centos 6.2的老機器 Transfer Cent6.2 using rsync</a> <a href="/post/log-all-bash-commands/">[筆記] 紀錄所有下過的指令、時間 / Log All commands with timestamp</a>
</li> </li>
<li> <li>
<a href="/post/command_to_test_main_ssl/">[筆記] 測試mail server 的SSL憑證的指令 Command to test mailserver SSL</a> <a href="/post/fix-zpool-device-busy-using-dmsetup/">[筆記] 解決無法建立zpool 的錯誤 / Fix Zpool Device Busy Using dmsetup</a>
</li> </li>
<li> <li>
<a href="/post/install-timeshift-on-ubuntu1804/">Install Timeshift on Ubuntu1804</a> <a href="/post/transfer-cent62-using-rsync/">[筆記] 用rsync 移轉 centos 6.2的老機器 Transfer Cent6.2 using rsync</a>
</li> </li>
<li> <li>
<a href="/post/install-ubuntu1804-on-dell-6ir-raid-controller/">用DELL 6 i/R 建立RAID並在上面安裝ubuntu 18.04 </a> <a href="/post/command_to_test_main_ssl/">[筆記] 測試mail server 的SSL憑證的指令 Command to test mailserver SSL</a>
</li> </li>
<li> <li>
<a href="/post/ubuntu-1804-install-root-on-raid/">Ubuntu 1804 Install Root on Raid</a> <a href="/post/install-timeshift-on-ubuntu1804/">Install Timeshift on Ubuntu1804</a>
</li> </li>
<li> <li>
<a href="/post/smartd-failed-to-start-in-freenas/">[筆記] Freenas Smartd 啟動失敗 Smartd Failed to Start in Freenas</a> <a href="/post/install-ubuntu1804-on-dell-6ir-raid-controller/">用DELL 6 i/R 建立RAID並在上面安裝ubuntu 18.04 </a>
</li> </li>
</ul> </ul>
@ -217,7 +217,7 @@
<ul> <ul>
<li> <li>
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (16)</a> <a href="/categories/%E7%AD%86%E8%A8%98">筆記 (18)</a>
</li> </li>
<li> <li>

@ -192,31 +192,31 @@
<ul> <ul>
<li> <li>
<a href="/post/fix-zpool-device-busy-using-dmsetup/">[筆記] 解決無法建立zpool 的錯誤 / Fix Zpool Device Busy Using dmsetup</a> <a href="/post/inx-collect-detail-hardware-info/">[筆記] inxi 蒐集詳盡的硬體資訊 / inxi Collect Detail Hardware Info</a>
</li> </li>
<li> <li>
<a href="/post/transfer-cent62-using-rsync/">[筆記] 用rsync 移轉 centos 6.2的老機器 Transfer Cent6.2 using rsync</a> <a href="/post/log-all-bash-commands/">[筆記] 紀錄所有下過的指令、時間 / Log All commands with timestamp</a>
</li> </li>
<li> <li>
<a href="/post/command_to_test_main_ssl/">[筆記] 測試mail server 的SSL憑證的指令 Command to test mailserver SSL</a> <a href="/post/fix-zpool-device-busy-using-dmsetup/">[筆記] 解決無法建立zpool 的錯誤 / Fix Zpool Device Busy Using dmsetup</a>
</li> </li>
<li> <li>
<a href="/post/install-timeshift-on-ubuntu1804/">Install Timeshift on Ubuntu1804</a> <a href="/post/transfer-cent62-using-rsync/">[筆記] 用rsync 移轉 centos 6.2的老機器 Transfer Cent6.2 using rsync</a>
</li> </li>
<li> <li>
<a href="/post/install-ubuntu1804-on-dell-6ir-raid-controller/">用DELL 6 i/R 建立RAID並在上面安裝ubuntu 18.04 </a> <a href="/post/command_to_test_main_ssl/">[筆記] 測試mail server 的SSL憑證的指令 Command to test mailserver SSL</a>
</li> </li>
<li> <li>
<a href="/post/ubuntu-1804-install-root-on-raid/">Ubuntu 1804 Install Root on Raid</a> <a href="/post/install-timeshift-on-ubuntu1804/">Install Timeshift on Ubuntu1804</a>
</li> </li>
<li> <li>
<a href="/post/smartd-failed-to-start-in-freenas/">[筆記] Freenas Smartd 啟動失敗 Smartd Failed to Start in Freenas</a> <a href="/post/install-ubuntu1804-on-dell-6ir-raid-controller/">用DELL 6 i/R 建立RAID並在上面安裝ubuntu 18.04 </a>
</li> </li>
</ul> </ul>
@ -229,7 +229,7 @@
<ul> <ul>
<li> <li>
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (16)</a> <a href="/categories/%E7%AD%86%E8%A8%98">筆記 (18)</a>
</li> </li>
<li> <li>

@ -97,25 +97,25 @@
<div class="article-wrapper u-cf"> <div class="article-wrapper u-cf">
<a class="bubble" href="/post/fix-zpool-device-busy-using-dmsetup/"> <a class="bubble" href="/post/inx-collect-detail-hardware-info/">
<i class="fa fa-fw fa-pencil"></i> <i class="fa fa-fw fa-pencil"></i>
</a> </a>
<article class="default article"> <article class="default article">
<div class="featured-image"> <div class="featured-image">
<a href="/post/fix-zpool-device-busy-using-dmsetup/"> <a href="/post/inx-collect-detail-hardware-info/">
<img src="/images/post-default-11.jpg" alt=""> <img src="/images/post-default-10.jpg" alt="">
</a> </a>
</div> </div>
<div class="content"> <div class="content">
<h3><a href="/post/fix-zpool-device-busy-using-dmsetup/">[筆記] 解決無法建立zpool 的錯誤 / Fix Zpool Device Busy Using dmsetup</a></h3> <h3><a href="/post/inx-collect-detail-hardware-info/">[筆記] inxi 蒐集詳盡的硬體資訊 / inxi Collect Detail Hardware Info</a></h3>
<div class="meta"> <div class="meta">
<span class="date moment">2019-04-01</span> <span class="date moment">2019-04-23</span>
@ -135,16 +135,20 @@
</div> </div>
<p>今天把其中一台proxmox 加上10G 光纖網卡準備和另一台proxmox 組成10G 環境進行測試</p> <p>最近因為一直碰到硬碟故障的問題算起來那一批同時購買的5X顆 seagate 2T硬碟已經有一半以上故障返修了&hellip;.</p>
<p>想說把本機的zpool 拆掉重新建立一個raid0 的空間來做clone/migrate</p> <p>然後又因為一直沒有添購新的硬碟,只能用這些快過保/已過保的撐著</p>
<p>可是一直出現device busy的錯誤訊息</p> <p>所以最近不斷的在更換機器內的硬碟,而且還沒有熱插拔!</p>
<p>也導致原本負責處理盤點資產的同事困擾,因為跟手邊的紀錄已經對不起來了</p>
<p>然後就變成要對資產的時候,需要一台一台登入,然後去下不同的指令,取得想要的硬體資訊,超級麻煩的!</p>
<p></p> <p></p>
<a href="/post/fix-zpool-device-busy-using-dmsetup/" class="more"></a> <a href="/post/inx-collect-detail-hardware-info/" class="more"></a>
</div> </div>
@ -158,7 +162,11 @@
<i class="fa fa-tags"></i> <i class="fa fa-tags"></i>
<div class="links"> <div class="links">
<a href="/tags/zfs">zfs</a> <a href="/tags/linux">linux</a>
<a href="/tags/bsd">bsd</a>
<a href="/tags/inventory">inventory</a>
</div> </div>
</div> </div>
@ -176,25 +184,25 @@
<div class="article-wrapper u-cf"> <div class="article-wrapper u-cf">
<a class="bubble" href="/post/transfer-cent62-using-rsync/"> <a class="bubble" href="/post/log-all-bash-commands/">
<i class="fa fa-fw fa-pencil"></i> <i class="fa fa-fw fa-pencil"></i>
</a> </a>
<article class="default article"> <article class="default article">
<div class="featured-image"> <div class="featured-image">
<a href="/post/transfer-cent62-using-rsync/"> <a href="/post/log-all-bash-commands/">
<img src="/images/post-default-9.jpg" alt=""> <img src="/images/post-default-11.jpg" alt="">
</a> </a>
</div> </div>
<div class="content"> <div class="content">
<h3><a href="/post/transfer-cent62-using-rsync/">[筆記] 用rsync 移轉 centos 6.2的老機器 Transfer Cent6.2 using rsync</a></h3> <h3><a href="/post/log-all-bash-commands/">[筆記] 紀錄所有下過的指令、時間 / Log All commands with timestamp</a></h3>
<div class="meta"> <div class="meta">
<span class="date moment">2019-03-27</span> <span class="date moment">2019-04-23</span>
@ -214,13 +222,18 @@
</div> </div>
<p>公司的一台老伺服器空間不足了,要執行指令都會中斷,所以想要擴充空間。</p> <p>今天發生一件有點詭異的事情,本來應該要經過某個指令才會產生的檔案</p>
<p>看起來不難搞,事實上&hellip;.. <p>居然不知為何自己產生了,在我記憶中沒有去執行過那個指令</p>
</p>
<p>翻了一下 bash_history ,裡面也只有下過哪些指令,沒有紀錄時間,完全沒有參考價值(攤手)</p>
<p>所以翻了一下網路至少把這兩台主要跑ansible的機器的log功能補上紀錄所有指令以及時間的部份</p>
<p></p>
<a href="/post/transfer-cent62-using-rsync/" class="more"></a> <a href="/post/log-all-bash-commands/" class="more"></a>
</div> </div>
@ -234,9 +247,7 @@
<i class="fa fa-tags"></i> <i class="fa fa-tags"></i>
<div class="links"> <div class="links">
<a href="/tags/centos">centos</a> <a href="/tags/log">log</a>
<a href="/tags/linux">linux</a>
</div> </div>
</div> </div>
@ -254,31 +265,37 @@
<div class="article-wrapper u-cf"> <div class="article-wrapper u-cf">
<a class="bubble" href="/post/command_to_test_main_ssl/"> <a class="bubble" href="/post/fix-zpool-device-busy-using-dmsetup/">
<i class="fa fa-fw fa-pencil"></i> <i class="fa fa-fw fa-pencil"></i>
</a> </a>
<article class="default article"> <article class="default article">
<div class="featured-image"> <div class="featured-image">
<a href="/post/command_to_test_main_ssl/"> <a href="/post/fix-zpool-device-busy-using-dmsetup/">
<img src="/images/post-default-10.jpg" alt=""> <img src="/images/post-default-11.jpg" alt="">
</a> </a>
</div> </div>
<div class="content"> <div class="content">
<h3><a href="/post/command_to_test_main_ssl/">[筆記] 測試mail server 的SSL憑證的指令 Command to test mailserver SSL</a></h3> <h3><a href="/post/fix-zpool-device-busy-using-dmsetup/">[筆記] 解決無法建立zpool 的錯誤 / Fix Zpool Device Busy Using dmsetup</a></h3>
<div class="meta"> <div class="meta">
<span class="date moment">2019-03-20</span> <span class="date moment">2019-04-01</span>
<span class="categories">
<a href="/categories/%E7%AD%86%E8%A8%98">筆記</a>
</span>
<span class="author"><a href="/author/eric-chang">Eric Chang</a></span> <span class="author"><a href="/author/eric-chang">Eric Chang</a></span>
@ -286,23 +303,34 @@
</div> </div>
<p>今天老闆出國發slack說手機不能寄信看了一下似乎是因為用GMAIL的APP來收信</p> <p>今天把其中一台proxmox 加上10G 光纖網卡準備和另一台proxmox 組成10G 環境進行測試</p>
<p>然後google 不知道跟人家改了什麼,結果不接受原本的認證了&hellip; WTF &hellip;.</p> <p>想說把本機的zpool 拆掉重新建立一個raid0 的空間來做clone/migrate</p>
<p>然後,這問題應該很久了,結果現在才在講 &hellip;.</p> <p>可是一直出現device busy的錯誤訊息</p>
<p></p>
<a href="/post/command_to_test_main_ssl/" class="more"></a> <a href="/post/fix-zpool-device-busy-using-dmsetup/" class="more"></a>
</div> </div>
<div class="footer no-tags"> <div class="footer">
<div class="tags">
<i class="fa fa-tags"></i>
<div class="links">
<a href="/tags/zfs">zfs</a>
</div>
</div>
</div> </div>
@ -316,25 +344,25 @@
<div class="article-wrapper u-cf"> <div class="article-wrapper u-cf">
<a class="bubble" href="/post/install-timeshift-on-ubuntu1804/"> <a class="bubble" href="/post/transfer-cent62-using-rsync/">
<i class="fa fa-fw fa-pencil"></i> <i class="fa fa-fw fa-pencil"></i>
</a> </a>
<article class="default article"> <article class="default article">
<div class="featured-image"> <div class="featured-image">
<a href="/post/install-timeshift-on-ubuntu1804/"> <a href="/post/transfer-cent62-using-rsync/">
<img src="/images/post-default-11.jpg" alt=""> <img src="/images/post-default-9.jpg" alt="">
</a> </a>
</div> </div>
<div class="content"> <div class="content">
<h3><a href="/post/install-timeshift-on-ubuntu1804/">Install Timeshift on Ubuntu1804</a></h3> <h3><a href="/post/transfer-cent62-using-rsync/">[筆記] 用rsync 移轉 centos 6.2的老機器 Transfer Cent6.2 using rsync</a></h3>
<div class="meta"> <div class="meta">
<span class="date moment">2019-03-11</span> <span class="date moment">2019-03-27</span>
@ -354,18 +382,13 @@
</div> </div>
<p>最近要開始測試client安裝 ubuntu 18.04 的 ansible playbook</p> <p>公司的一台老伺服器空間不足了,要執行指令都會中斷,所以想要擴充空間。</p>
<p>因為要不斷的修正所以想到一直有在自己電腦上執行的timeshift這個軟體</p>
<p>可以很簡單快速的備份、恢復系統狀態</p>
<p>可是不知道為什麼在ubuntu 18.04 上安裝就是會發生錯誤&hellip;.</p>
<p></p> <p>看起來不難搞,事實上&hellip;..
</p>
<a href="/post/install-timeshift-on-ubuntu1804/" class="more"></a> <a href="/post/transfer-cent62-using-rsync/" class="more"></a>
</div> </div>
@ -379,9 +402,9 @@
<i class="fa fa-tags"></i> <i class="fa fa-tags"></i>
<div class="links"> <div class="links">
<a href="/tags/ubuntu">ubuntu</a> <a href="/tags/centos">centos</a>
<a href="/tags/backup">backup</a> <a href="/tags/linux">linux</a>
</div> </div>
</div> </div>
@ -399,37 +422,31 @@
<div class="article-wrapper u-cf"> <div class="article-wrapper u-cf">
<a class="bubble" href="/post/install-ubuntu1804-on-dell-6ir-raid-controller/"> <a class="bubble" href="/post/command_to_test_main_ssl/">
<i class="fa fa-fw fa-pencil"></i> <i class="fa fa-fw fa-pencil"></i>
</a> </a>
<article class="default article"> <article class="default article">
<div class="featured-image"> <div class="featured-image">
<a href="/post/install-ubuntu1804-on-dell-6ir-raid-controller/"> <a href="/post/command_to_test_main_ssl/">
<img src="/images/post-default-11.jpg" alt=""> <img src="/images/post-default-10.jpg" alt="">
</a> </a>
</div> </div>
<div class="content"> <div class="content">
<h3><a href="/post/install-ubuntu1804-on-dell-6ir-raid-controller/">用DELL 6 i/R 建立RAID並在上面安裝ubuntu 18.04 </a></h3> <h3><a href="/post/command_to_test_main_ssl/">[筆記] 測試mail server 的SSL憑證的指令 Command to test mailserver SSL</a></h3>
<div class="meta"> <div class="meta">
<span class="date moment">2019-01-16</span> <span class="date moment">2019-03-20</span>
<span class="categories">
<a href="/categories/%E7%AD%86%E8%A8%98">筆記</a>
</span>
<span class="author"><a href="/author/eric-chang">Eric Chang</a></span> <span class="author"><a href="/author/eric-chang">Eric Chang</a></span>
@ -437,31 +454,23 @@
</div> </div>
<p>買了一張 DELL 6/iR 低階的raid 卡</p> <p>今天老闆出國發slack說手機不能寄信看了一下似乎是因為用GMAIL的APP來收信</p>
<p>來測試把系統裝在硬體做的RAID上結果沒想到居然不能開機&hellip; <p>然後google 不知道跟人家改了什麼,結果不接受原本的認證了&hellip; WTF &hellip;.</p>
</p>
<p>然後,這問題應該很久了,結果現在才在講 &hellip;.</p>
<a href="/post/install-ubuntu1804-on-dell-6ir-raid-controller/" class="more"></a> <a href="/post/command_to_test_main_ssl/" class="more"></a>
</div> </div>
<div class="footer"> <div class="footer no-tags">
<div class="tags">
<i class="fa fa-tags"></i>
<div class="links">
<a href="/tags/ubuntu">ubuntu</a>
</div>
</div>
</div> </div>
@ -475,25 +484,25 @@
<div class="article-wrapper u-cf"> <div class="article-wrapper u-cf">
<a class="bubble" href="/post/ubuntu-1804-install-root-on-raid/"> <a class="bubble" href="/post/install-timeshift-on-ubuntu1804/">
<i class="fa fa-fw fa-pencil"></i> <i class="fa fa-fw fa-pencil"></i>
</a> </a>
<article class="default article"> <article class="default article">
<div class="featured-image"> <div class="featured-image">
<a href="/post/ubuntu-1804-install-root-on-raid/"> <a href="/post/install-timeshift-on-ubuntu1804/">
<img src="/images/post-default-11.jpg" alt=""> <img src="/images/post-default-11.jpg" alt="">
</a> </a>
</div> </div>
<div class="content"> <div class="content">
<h3><a href="/post/ubuntu-1804-install-root-on-raid/">Ubuntu 1804 Install Root on Raid</a></h3> <h3><a href="/post/install-timeshift-on-ubuntu1804/">Install Timeshift on Ubuntu1804</a></h3>
<div class="meta"> <div class="meta">
<span class="date moment">2019-01-16</span> <span class="date moment">2019-03-11</span>
@ -513,16 +522,18 @@
</div> </div>
<p>最近在弄一台機器想要把ubuntu 18.04 安裝在software raid上</p> <p>最近要開始測試client安裝 ubuntu 18.04 的 ansible playbook</p>
<p>因為新開的機器大部分都是在proxmox上所以很少碰實體機器了</p> <p>因為要不斷的修正所以想到一直有在自己電腦上執行的timeshift這個軟體</p>
<p>結果在安裝過程中做raid碰到一些問題來紀錄一下</p> <p>可以很簡單快速的備份、恢復系統狀態</p>
<p>可是不知道為什麼在ubuntu 18.04 上安裝就是會發生錯誤&hellip;.</p>
<p></p> <p></p>
<a href="/post/ubuntu-1804-install-root-on-raid/" class="more"></a> <a href="/post/install-timeshift-on-ubuntu1804/" class="more"></a>
</div> </div>
@ -538,7 +549,7 @@
<a href="/tags/ubuntu">ubuntu</a> <a href="/tags/ubuntu">ubuntu</a>
<a href="/tags/raid">raid</a> <a href="/tags/backup">backup</a>
</div> </div>
</div> </div>
@ -556,25 +567,25 @@
<div class="article-wrapper u-cf"> <div class="article-wrapper u-cf">
<a class="bubble" href="/post/smartd-failed-to-start-in-freenas/"> <a class="bubble" href="/post/install-ubuntu1804-on-dell-6ir-raid-controller/">
<i class="fa fa-fw fa-pencil"></i> <i class="fa fa-fw fa-pencil"></i>
</a> </a>
<article class="default article"> <article class="default article">
<div class="featured-image"> <div class="featured-image">
<a href="/post/smartd-failed-to-start-in-freenas/"> <a href="/post/install-ubuntu1804-on-dell-6ir-raid-controller/">
<img src="/images/post-default-2.jpg" alt=""> <img src="/images/post-default-11.jpg" alt="">
</a> </a>
</div> </div>
<div class="content"> <div class="content">
<h3><a href="/post/smartd-failed-to-start-in-freenas/">[筆記] Freenas Smartd 啟動失敗 Smartd Failed to Start in Freenas</a></h3> <h3><a href="/post/install-ubuntu1804-on-dell-6ir-raid-controller/">用DELL 6 i/R 建立RAID並在上面安裝ubuntu 18.04 </a></h3>
<div class="meta"> <div class="meta">
<span class="date moment">2018-12-13</span> <span class="date moment">2019-01-16</span>
@ -594,18 +605,13 @@
</div> </div>
<p>這兩天在弄兩台Freenas 準備當作Proxmox 的Storage &amp; Server Backup</p> <p>買了一張 DELL 6/iR 低階的raid 卡</p>
<p>因為伺服器的限制只能接六個SATA我接了六個2T的硬碟做raid10</p>
<p>然後把Freenas 安裝在隨身碟上</p>
<p>不過會一直出現Smartd failed to start 的錯誤訊息</p>
<p></p> <p>來測試把系統裝在硬體做的RAID上結果沒想到居然不能開機&hellip;
</p>
<a href="/post/smartd-failed-to-start-in-freenas/" class="more"></a> <a href="/post/install-ubuntu1804-on-dell-6ir-raid-controller/" class="more"></a>
</div> </div>
@ -619,7 +625,7 @@
<i class="fa fa-tags"></i> <i class="fa fa-tags"></i>
<div class="links"> <div class="links">
<a href="/tags/freenas">freenas</a> <a href="/tags/ubuntu">ubuntu</a>
</div> </div>
</div> </div>
@ -637,25 +643,25 @@
<div class="article-wrapper u-cf"> <div class="article-wrapper u-cf">
<a class="bubble" href="/post/incredibly-slow-mdadm-rebuild/"> <a class="bubble" href="/post/ubuntu-1804-install-root-on-raid/">
<i class="fa fa-fw fa-pencil"></i> <i class="fa fa-fw fa-pencil"></i>
</a> </a>
<article class="default article"> <article class="default article">
<div class="featured-image"> <div class="featured-image">
<a href="/post/incredibly-slow-mdadm-rebuild/"> <a href="/post/ubuntu-1804-install-root-on-raid/">
<img src="/images/post-default-1.jpg" alt=""> <img src="/images/post-default-11.jpg" alt="">
</a> </a>
</div> </div>
<div class="content"> <div class="content">
<h3><a href="/post/incredibly-slow-mdadm-rebuild/">[碎念] mdadm 超級慢的rebuild 速度 Incredibly Slow mdadm Rebuild</a></h3> <h3><a href="/post/ubuntu-1804-install-root-on-raid/">Ubuntu 1804 Install Root on Raid</a></h3>
<div class="meta"> <div class="meta">
<span class="date moment">2018-12-12</span> <span class="date moment">2019-01-16</span>
@ -664,7 +670,7 @@
<span class="categories"> <span class="categories">
<a href="/categories/%E7%A2%8E%E5%BF%B5">碎念</a> <a href="/categories/%E7%AD%86%E8%A8%98">筆記</a>
</span> </span>
@ -675,20 +681,16 @@
</div> </div>
<p>最近在做一台老機器的P2V</p> <p>最近在弄一台機器想要把ubuntu 18.04 安裝在software raid上</p>
<p>偏偏user說不能關機所以我用dd + ssh 做線上移轉</p>
<p>這部份有空再來寫</p>
<p>只是因為原來的設定有用mdadm 做raid1</p> <p>因為新開的機器大部分都是在proxmox上所以很少碰實體機器了</p>
<p>這部份導致移轉過去proxmox 後會出現raid degrade 導致無法正常開機</p> <p>結果在安裝過程中做raid碰到一些問題來紀錄一下</p>
<p></p> <p></p>
<a href="/post/incredibly-slow-mdadm-rebuild/" class="more"></a> <a href="/post/ubuntu-1804-install-root-on-raid/" class="more"></a>
</div> </div>
@ -702,7 +704,9 @@
<i class="fa fa-tags"></i> <i class="fa fa-tags"></i>
<div class="links"> <div class="links">
<a href="/tags/mdadm">mdadm</a> <a href="/tags/ubuntu">ubuntu</a>
<a href="/tags/raid">raid</a>
</div> </div>
</div> </div>
@ -720,25 +724,25 @@
<div class="article-wrapper u-cf"> <div class="article-wrapper u-cf">
<a class="bubble" href="/post/create-portable-vim-environment/"> <a class="bubble" href="/post/smartd-failed-to-start-in-freenas/">
<i class="fa fa-fw fa-pencil"></i> <i class="fa fa-fw fa-pencil"></i>
</a> </a>
<article class="default article"> <article class="default article">
<div class="featured-image"> <div class="featured-image">
<a href="/post/create-portable-vim-environment/"> <a href="/post/smartd-failed-to-start-in-freenas/">
<img src="/images/post-default-8.jpg" alt=""> <img src="/images/post-default-2.jpg" alt="">
</a> </a>
</div> </div>
<div class="content"> <div class="content">
<h3><a href="/post/create-portable-vim-environment/">[筆記] 建立一個帶著走的 VIM 環境 Creating portable Vim environment</a></h3> <h3><a href="/post/smartd-failed-to-start-in-freenas/">[筆記] Freenas Smartd 啟動失敗 Smartd Failed to Start in Freenas</a></h3>
<div class="meta"> <div class="meta">
<span class="date moment">2018-12-07</span> <span class="date moment">2018-12-13</span>
@ -758,18 +762,18 @@
</div> </div>
<p>因為工作的關係現在很多時間都花在VIM的操作上</p> <p>這兩天在弄兩台Freenas 準備當作Proxmox 的Storage &amp; Server Backup</p>
<p>所以之前花了滿多時間調整出一個適合自己的VIM環境</p> <p>因為伺服器的限制只能接六個SATA我接了六個2T的硬碟做raid10</p>
<p>原本的作法是把這個設定好的環境丟到自己建立的gitea 上面</p> <p>然後把Freenas 安裝在隨身碟上</p>
<p>然後每到一台新的機器就要去clone 下來</p> <p>不過會一直出現Smartd failed to start 的錯誤訊息</p>
<p></p> <p></p>
<a href="/post/create-portable-vim-environment/" class="more"></a> <a href="/post/smartd-failed-to-start-in-freenas/" class="more"></a>
</div> </div>
@ -783,7 +787,7 @@
<i class="fa fa-tags"></i> <i class="fa fa-tags"></i>
<div class="links"> <div class="links">
<a href="/tags/vim">vim</a> <a href="/tags/freenas">freenas</a>
</div> </div>
</div> </div>
@ -801,25 +805,25 @@
<div class="article-wrapper u-cf"> <div class="article-wrapper u-cf">
<a class="bubble" href="/post/synology-ds415-repair-cost/"> <a class="bubble" href="/post/incredibly-slow-mdadm-rebuild/">
<i class="fa fa-fw fa-pencil"></i> <i class="fa fa-fw fa-pencil"></i>
</a> </a>
<article class="default article"> <article class="default article">
<div class="featured-image"> <div class="featured-image">
<a href="/post/synology-ds415-repair-cost/"> <a href="/post/incredibly-slow-mdadm-rebuild/">
<img src="/images/post-default-11.jpg" alt=""> <img src="/images/post-default-1.jpg" alt="">
</a> </a>
</div> </div>
<div class="content"> <div class="content">
<h3><a href="/post/synology-ds415-repair-cost/">[雜念] 群暉 Synology NAS DS 415&#43; 誇張的維修費用</a></h3> <h3><a href="/post/incredibly-slow-mdadm-rebuild/">[碎念] mdadm 超級慢的rebuild 速度 Incredibly Slow mdadm Rebuild</a></h3>
<div class="meta"> <div class="meta">
<span class="date moment">2018-12-04</span> <span class="date moment">2018-12-12</span>
@ -828,7 +832,7 @@
<span class="categories"> <span class="categories">
<a href="/categories/%E7%BE%A4%E6%9A%89">群暉</a> <a href="/categories/%E7%A2%8E%E5%BF%B5">碎念</a>
</span> </span>
@ -839,26 +843,20 @@
</div> </div>
<p>前幾天公司的一台 Synology DS 415+ 發生異常</p> <p>最近在做一台老機器的P2V</p>
<p>注意到的時候,四顆硬碟燈號都不斷的在閃爍</p>
<p>但是已經無法登入系統</p>
<p>重開機之後更慘,四顆硬碟燈號全部橘燈恆亮</p>
<p>底下的電源藍燈不斷的在閃爍</p> <p>偏偏user說不能關機所以我用dd + ssh 做線上移轉</p>
<p>雖然我一再表示不希望送修了</p> <p>這部份有空再來寫</p>
<p>一來是已經過保二來是DS415+ 本身就有intel bug三來是因為對synology的NAS 實在沒有愛&hellip;</p> <p>只是因為原來的設定有用mdadm 做raid1</p>
<p>不過主管還是希望能夠先問群暉維修的費用多少</p> <p>這部份導致移轉過去proxmox 後會出現raid degrade 導致無法正常開機</p>
<p></p> <p></p>
<a href="/post/synology-ds415-repair-cost/" class="more"></a> <a href="/post/incredibly-slow-mdadm-rebuild/" class="more"></a>
</div> </div>
@ -872,11 +870,7 @@
<i class="fa fa-tags"></i> <i class="fa fa-tags"></i>
<div class="links"> <div class="links">
<a href="/tags/nas">NAS</a> <a href="/tags/mdadm">mdadm</a>
<a href="/tags/%E7%BE%A4%E6%9A%89">群暉</a>
<a href="/tags/synology">synology</a>
</div> </div>
</div> </div>
@ -915,31 +909,31 @@
<ul> <ul>
<li> <li>
<a href="/post/fix-zpool-device-busy-using-dmsetup/">[筆記] 解決無法建立zpool 的錯誤 / Fix Zpool Device Busy Using dmsetup</a> <a href="/post/inx-collect-detail-hardware-info/">[筆記] inxi 蒐集詳盡的硬體資訊 / inxi Collect Detail Hardware Info</a>
</li> </li>
<li> <li>
<a href="/post/transfer-cent62-using-rsync/">[筆記] 用rsync 移轉 centos 6.2的老機器 Transfer Cent6.2 using rsync</a> <a href="/post/log-all-bash-commands/">[筆記] 紀錄所有下過的指令、時間 / Log All commands with timestamp</a>
</li> </li>
<li> <li>
<a href="/post/command_to_test_main_ssl/">[筆記] 測試mail server 的SSL憑證的指令 Command to test mailserver SSL</a> <a href="/post/fix-zpool-device-busy-using-dmsetup/">[筆記] 解決無法建立zpool 的錯誤 / Fix Zpool Device Busy Using dmsetup</a>
</li> </li>
<li> <li>
<a href="/post/install-timeshift-on-ubuntu1804/">Install Timeshift on Ubuntu1804</a> <a href="/post/transfer-cent62-using-rsync/">[筆記] 用rsync 移轉 centos 6.2的老機器 Transfer Cent6.2 using rsync</a>
</li> </li>
<li> <li>
<a href="/post/install-ubuntu1804-on-dell-6ir-raid-controller/">用DELL 6 i/R 建立RAID並在上面安裝ubuntu 18.04 </a> <a href="/post/command_to_test_main_ssl/">[筆記] 測試mail server 的SSL憑證的指令 Command to test mailserver SSL</a>
</li> </li>
<li> <li>
<a href="/post/ubuntu-1804-install-root-on-raid/">Ubuntu 1804 Install Root on Raid</a> <a href="/post/install-timeshift-on-ubuntu1804/">Install Timeshift on Ubuntu1804</a>
</li> </li>
<li> <li>
<a href="/post/smartd-failed-to-start-in-freenas/">[筆記] Freenas Smartd 啟動失敗 Smartd Failed to Start in Freenas</a> <a href="/post/install-ubuntu1804-on-dell-6ir-raid-controller/">用DELL 6 i/R 建立RAID並在上面安裝ubuntu 18.04 </a>
</li> </li>
</ul> </ul>
@ -952,7 +946,7 @@
<ul> <ul>
<li> <li>
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (16)</a> <a href="/categories/%E7%AD%86%E8%A8%98">筆記 (18)</a>
</li> </li>
<li> <li>

@ -62,6 +62,13 @@
"type": "tag", "type": "tag",
"url": "https://h.cowbay.org/tags/bookstack" "url": "https://h.cowbay.org/tags/bookstack"
}, },
{
"iconClass": "fa-tag",
"objectID": "https://h.cowbay.org/tags/bsd",
"title": "Bsd",
"type": "tag",
"url": "https://h.cowbay.org/tags/bsd"
},
{ {
"iconClass": "fa-tag", "iconClass": "fa-tag",
"objectID": "https://h.cowbay.org/tags/centos", "objectID": "https://h.cowbay.org/tags/centos",
@ -97,6 +104,13 @@
"type": "tag", "type": "tag",
"url": "https://h.cowbay.org/tags/freenas" "url": "https://h.cowbay.org/tags/freenas"
}, },
{
"iconClass": "fa-tag",
"objectID": "https://h.cowbay.org/tags/inventory",
"title": "Inventory",
"type": "tag",
"url": "https://h.cowbay.org/tags/inventory"
},
{ {
"iconClass": "fa-tag", "iconClass": "fa-tag",
"objectID": "https://h.cowbay.org/tags/linux", "objectID": "https://h.cowbay.org/tags/linux",
@ -104,6 +118,13 @@
"type": "tag", "type": "tag",
"url": "https://h.cowbay.org/tags/linux" "url": "https://h.cowbay.org/tags/linux"
}, },
{
"iconClass": "fa-tag",
"objectID": "https://h.cowbay.org/tags/log",
"title": "Log",
"type": "tag",
"url": "https://h.cowbay.org/tags/log"
},
{ {
"iconClass": "fa-tag", "iconClass": "fa-tag",
"objectID": "https://h.cowbay.org/tags/mdadm", "objectID": "https://h.cowbay.org/tags/mdadm",

@ -5,11 +5,47 @@
<link>https://h.cowbay.org/</link> <link>https://h.cowbay.org/</link>
<description>Recent content on MCの飄狂山莊㊣</description> <description>Recent content on MCの飄狂山莊㊣</description>
<generator>Hugo -- gohugo.io</generator> <generator>Hugo -- gohugo.io</generator>
<lastBuildDate>Mon, 01 Apr 2019 15:56:27 +0800</lastBuildDate> <lastBuildDate>Tue, 23 Apr 2019 15:28:56 +0800</lastBuildDate>
<atom:link href="https://h.cowbay.org/index.xml" rel="self" type="application/rss+xml" /> <atom:link href="https://h.cowbay.org/index.xml" rel="self" type="application/rss+xml" />
<item>
<title>[筆記] inxi 蒐集詳盡的硬體資訊 / inxi Collect Detail Hardware Info</title>
<link>https://h.cowbay.org/post/inx-collect-detail-hardware-info/</link>
<pubDate>Tue, 23 Apr 2019 15:28:56 +0800</pubDate>
<guid>https://h.cowbay.org/post/inx-collect-detail-hardware-info/</guid>
<description>&lt;p&gt;最近因為一直碰到硬碟故障的問題算起來那一批同時購買的5X顆 seagate 2T硬碟已經有一半以上故障返修了&amp;hellip;.&lt;/p&gt;
&lt;p&gt;然後又因為一直沒有添購新的硬碟,只能用這些快過保/已過保的撐著&lt;/p&gt;
&lt;p&gt;所以最近不斷的在更換機器內的硬碟,而且還沒有熱插拔!&lt;/p&gt;
&lt;p&gt;也導致原本負責處理盤點資產的同事困擾,因為跟手邊的紀錄已經對不起來了&lt;/p&gt;
&lt;p&gt;然後就變成要對資產的時候,需要一台一台登入,然後去下不同的指令,取得想要的硬體資訊,超級麻煩的!&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;</description>
</item>
<item>
<title>[筆記] 紀錄所有下過的指令、時間 / Log All commands with timestamp</title>
<link>https://h.cowbay.org/post/log-all-bash-commands/</link>
<pubDate>Tue, 23 Apr 2019 15:08:36 +0800</pubDate>
<guid>https://h.cowbay.org/post/log-all-bash-commands/</guid>
<description>&lt;p&gt;今天發生一件有點詭異的事情,本來應該要經過某個指令才會產生的檔案&lt;/p&gt;
&lt;p&gt;居然不知為何自己產生了,在我記憶中沒有去執行過那個指令&lt;/p&gt;
&lt;p&gt;翻了一下 bash_history ,裡面也只有下過哪些指令,沒有紀錄時間,完全沒有參考價值(攤手)&lt;/p&gt;
&lt;p&gt;所以翻了一下網路至少把這兩台主要跑ansible的機器的log功能補上紀錄所有指令以及時間的部份&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;</description>
</item>
<item> <item>
<title>[筆記] 解決無法建立zpool 的錯誤 / Fix Zpool Device Busy Using dmsetup</title> <title>[筆記] 解決無法建立zpool 的錯誤 / Fix Zpool Device Busy Using dmsetup</title>
<link>https://h.cowbay.org/post/fix-zpool-device-busy-using-dmsetup/</link> <link>https://h.cowbay.org/post/fix-zpool-device-busy-using-dmsetup/</link>

@ -95,6 +95,180 @@
<div class="article-wrapper u-cf">
<a class="bubble" href="/post/create-portable-vim-environment/">
<i class="fa fa-fw fa-pencil"></i>
</a>
<article class="default article">
<div class="featured-image">
<a href="/post/create-portable-vim-environment/">
<img src="/images/post-default-8.jpg" alt="">
</a>
</div>
<div class="content">
<h3><a href="/post/create-portable-vim-environment/">[筆記] 建立一個帶著走的 VIM 環境 Creating portable Vim environment</a></h3>
<div class="meta">
<span class="date moment">2018-12-07</span>
<span class="categories">
<a href="/categories/%E7%AD%86%E8%A8%98">筆記</a>
</span>
<span class="author"><a href="/author/eric-chang">Eric Chang</a></span>
</div>
<p>因為工作的關係現在很多時間都花在VIM的操作上</p>
<p>所以之前花了滿多時間調整出一個適合自己的VIM環境</p>
<p>原本的作法是把這個設定好的環境丟到自己建立的gitea 上面</p>
<p>然後每到一台新的機器就要去clone 下來</p>
<p></p>
<a href="/post/create-portable-vim-environment/" class="more"></a>
</div>
<div class="footer">
<div class="tags">
<i class="fa fa-tags"></i>
<div class="links">
<a href="/tags/vim">vim</a>
</div>
</div>
</div>
</article>
</div>
<div class="article-wrapper u-cf">
<a class="bubble" href="/post/synology-ds415-repair-cost/">
<i class="fa fa-fw fa-pencil"></i>
</a>
<article class="default article">
<div class="featured-image">
<a href="/post/synology-ds415-repair-cost/">
<img src="/images/post-default-11.jpg" alt="">
</a>
</div>
<div class="content">
<h3><a href="/post/synology-ds415-repair-cost/">[雜念] 群暉 Synology NAS DS 415&#43; 誇張的維修費用</a></h3>
<div class="meta">
<span class="date moment">2018-12-04</span>
<span class="categories">
<a href="/categories/%E7%BE%A4%E6%9A%89">群暉</a>
</span>
<span class="author"><a href="/author/eric-chang">Eric Chang</a></span>
</div>
<p>前幾天公司的一台 Synology DS 415+ 發生異常</p>
<p>注意到的時候,四顆硬碟燈號都不斷的在閃爍</p>
<p>但是已經無法登入系統</p>
<p>重開機之後更慘,四顆硬碟燈號全部橘燈恆亮</p>
<p>底下的電源藍燈不斷的在閃爍</p>
<p>雖然我一再表示不希望送修了</p>
<p>一來是已經過保二來是DS415+ 本身就有intel bug三來是因為對synology的NAS 實在沒有愛&hellip;</p>
<p>不過主管還是希望能夠先問群暉維修的費用多少</p>
<p></p>
<a href="/post/synology-ds415-repair-cost/" class="more"></a>
</div>
<div class="footer">
<div class="tags">
<i class="fa fa-tags"></i>
<div class="links">
<a href="/tags/nas">NAS</a>
<a href="/tags/%E7%BE%A4%E6%9A%89">群暉</a>
<a href="/tags/synology">synology</a>
</div>
</div>
</div>
</article>
</div>
<div class="article-wrapper u-cf"> <div class="article-wrapper u-cf">
<a class="bubble" href="/post/10g-lab-using-proxmox-and-mellanox/"> <a class="bubble" href="/post/10g-lab-using-proxmox-and-mellanox/">
@ -810,170 +984,6 @@
</div>
</article>
</div>
<div class="article-wrapper u-cf">
<a class="bubble" href="/post/enable-synology-public-ssh/">
<i class="fa fa-fw fa-pencil"></i>
</a>
<article class="default article">
<div class="featured-image">
<a href="/post/enable-synology-public-ssh/">
<img src="https://i.imgur.com/jcDQmI1.png" alt="">
</a>
</div>
<div class="content">
<h3><a href="/post/enable-synology-public-ssh/">筆記- 啟用群暉NAS (Synology NAS)的SSH Server 透過Publickey 認證免密碼登入</a></h3>
<div class="meta">
<span class="date moment">2018-11-05</span>
<span class="categories">
<a href="/categories/%E7%AD%86%E8%A8%98">筆記</a>
</span>
<span class="author"><a href="/author/eric-chang">Eric Chang</a></span>
</div>
<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>
<p></p>
<a href="/post/enable-synology-public-ssh/" class="more"></a>
</div>
<div class="footer">
<div class="tags">
<i class="fa fa-tags"></i>
<div class="links">
<a href="/tags/%E7%AD%86%E8%A8%98">筆記</a>
<a href="/tags/synology">synology</a>
<a href="/tags/nas">NAS</a>
<a href="/tags/ssh">SSH</a>
</div>
</div>
</div>
</article>
</div>
<div class="article-wrapper u-cf">
<a class="bubble" href="/gallery/sammy93/">
<i class="fa fa-fw fa-camera"></i>
</a>
<article class="gallery">
<div class="content">
<h3><a href="/gallery/sammy93/">Sammy93</a></h3>
<div class="meta">
<span class="date moment">2018-11-05</span>
<span class="categories">
<a href="/categories/ps">PS</a>
</span>
<span class="author"><a href="/author/eric-chang">Eric Chang</a></span>
</div>
</div>
<div class="footer">
<div class="tags">
<i class="fa fa-tags"></i>
<div class="links">
<a href="/tags/ps">ps</a>
<a href="/tags/%E7%9F%AD%E4%BB%8A">短今</a>
</div>
</div>
</div> </div>
</article> </article>
@ -986,6 +996,8 @@
<div class="paginator"> <div class="paginator">
<a href="/page/3/" class="older"><i class="fa fa-angle-double-left"></i> </a>
<a href="/" class="newer"> <i class="fa fa-angle-double-right"></i></a> <a href="/" class="newer"> <i class="fa fa-angle-double-right"></i></a>
@ -1006,31 +1018,31 @@
<ul> <ul>
<li> <li>
<a href="/post/fix-zpool-device-busy-using-dmsetup/">[筆記] 解決無法建立zpool 的錯誤 / Fix Zpool Device Busy Using dmsetup</a> <a href="/post/inx-collect-detail-hardware-info/">[筆記] inxi 蒐集詳盡的硬體資訊 / inxi Collect Detail Hardware Info</a>
</li> </li>
<li> <li>
<a href="/post/transfer-cent62-using-rsync/">[筆記] 用rsync 移轉 centos 6.2的老機器 Transfer Cent6.2 using rsync</a> <a href="/post/log-all-bash-commands/">[筆記] 紀錄所有下過的指令、時間 / Log All commands with timestamp</a>
</li> </li>
<li> <li>
<a href="/post/command_to_test_main_ssl/">[筆記] 測試mail server 的SSL憑證的指令 Command to test mailserver SSL</a> <a href="/post/fix-zpool-device-busy-using-dmsetup/">[筆記] 解決無法建立zpool 的錯誤 / Fix Zpool Device Busy Using dmsetup</a>
</li> </li>
<li> <li>
<a href="/post/install-timeshift-on-ubuntu1804/">Install Timeshift on Ubuntu1804</a> <a href="/post/transfer-cent62-using-rsync/">[筆記] 用rsync 移轉 centos 6.2的老機器 Transfer Cent6.2 using rsync</a>
</li> </li>
<li> <li>
<a href="/post/install-ubuntu1804-on-dell-6ir-raid-controller/">用DELL 6 i/R 建立RAID並在上面安裝ubuntu 18.04 </a> <a href="/post/command_to_test_main_ssl/">[筆記] 測試mail server 的SSL憑證的指令 Command to test mailserver SSL</a>
</li> </li>
<li> <li>
<a href="/post/ubuntu-1804-install-root-on-raid/">Ubuntu 1804 Install Root on Raid</a> <a href="/post/install-timeshift-on-ubuntu1804/">Install Timeshift on Ubuntu1804</a>
</li> </li>
<li> <li>
<a href="/post/smartd-failed-to-start-in-freenas/">[筆記] Freenas Smartd 啟動失敗 Smartd Failed to Start in Freenas</a> <a href="/post/install-ubuntu1804-on-dell-6ir-raid-controller/">用DELL 6 i/R 建立RAID並在上面安裝ubuntu 18.04 </a>
</li> </li>
</ul> </ul>
@ -1043,7 +1055,7 @@
<ul> <ul>
<li> <li>
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (16)</a> <a href="/categories/%E7%AD%86%E8%A8%98">筆記 (18)</a>
</li> </li>
<li> <li>

@ -0,0 +1,477 @@
<!doctype html>
<html class="no-js" lang="tw">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="author" content="Eric Chang">
<meta name="description" content="Whats the Worst That Could Happen?">
<meta name="keywords" content="linux,blog,responsive,search,font awesome,pages,posts,multilingual,highlight.js,syntax highlighting,premium,shortcuts">
<meta name="generator" content="Hugo 0.50" />
<title> Whats the Worst That Could Happen? | MCの飄狂山莊㊣</title>
<meta name="description" content="Whats the Worst That Could Happen?">
<meta itemprop="name" content="Whats the Worst That Could Happen?">
<meta itemprop="description" content="Whats the Worst That Could Happen?">
<meta property="og:title" content="Whats the Worst That Could Happen?">
<meta property="og:description" content="Whats the Worst That Could Happen?">
<meta property="og:image" content="https://www.gravatar.com/avatar/e4eb1f8e016ffb73e9889f87d16e15f0?size=200">
<meta property="og:url" content="https://h.cowbay.org/">
<meta property="og:site_name" content="MCの飄狂山莊㊣"><meta property="og:type" content="website">
<link rel="icon" type="image/png" href="https://h.cowbay.org/favicon-32x32.png" sizes="32x32">
<link rel="icon" type="image/png" href="https://h.cowbay.org/favicon-16x16.png" sizes="16x16">
<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の飄狂山莊㊣" />
<link rel="stylesheet" href="https://h.cowbay.org/sass/combined.min.717098cb5503581e75f12e486a847ca410bf8367d4d8713f4c37affc868c5a1d.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
</head>
<body class="bilberry-hugo-theme">
<nav class="permanentTopNav">
<div class="container">
<ul class="topnav">
</ul>
<div id="search-box" class="search">
<i class="fa fa-search"></i>
<input id="search" type="text" placeholder="">
</div>
</div>
</nav>
<header>
<div class="container">
<div class="logo">
<a href="/" class="logo">
<img src="https://www.gravatar.com/avatar/e4eb1f8e016ffb73e9889f87d16e15f0?d=mm&size=200" alt="">
<span class="overlay"><i class="fa fa-home"></i></span>
</a>
</div>
<div class="titles">
<h3 class="title"><a href="/">MCの飄狂山莊㊣</a></h3>
<span class="subtitle">Whats the Worst That Could Happen?</span>
</div>
<div class="toggler permanentTopNav">
<i class="fa fa-bars" aria-hidden="true"></i>
</div>
</div>
</header>
<div class="main container">
<div class="article-wrapper u-cf">
<a class="bubble" href="/post/enable-synology-public-ssh/">
<i class="fa fa-fw fa-pencil"></i>
</a>
<article class="default article">
<div class="featured-image">
<a href="/post/enable-synology-public-ssh/">
<img src="https://i.imgur.com/jcDQmI1.png" alt="">
</a>
</div>
<div class="content">
<h3><a href="/post/enable-synology-public-ssh/">筆記- 啟用群暉NAS (Synology NAS)的SSH Server 透過Publickey 認證免密碼登入</a></h3>
<div class="meta">
<span class="date moment">2018-11-05</span>
<span class="categories">
<a href="/categories/%E7%AD%86%E8%A8%98">筆記</a>
</span>
<span class="author"><a href="/author/eric-chang">Eric Chang</a></span>
</div>
<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>
<p></p>
<a href="/post/enable-synology-public-ssh/" class="more"></a>
</div>
<div class="footer">
<div class="tags">
<i class="fa fa-tags"></i>
<div class="links">
<a href="/tags/%E7%AD%86%E8%A8%98">筆記</a>
<a href="/tags/synology">synology</a>
<a href="/tags/nas">NAS</a>
<a href="/tags/ssh">SSH</a>
</div>
</div>
</div>
</article>
</div>
<div class="article-wrapper u-cf">
<a class="bubble" href="/gallery/sammy93/">
<i class="fa fa-fw fa-camera"></i>
</a>
<article class="gallery">
<div class="content">
<h3><a href="/gallery/sammy93/">Sammy93</a></h3>
<div class="meta">
<span class="date moment">2018-11-05</span>
<span class="categories">
<a href="/categories/ps">PS</a>
</span>
<span class="author"><a href="/author/eric-chang">Eric Chang</a></span>
</div>
</div>
<div class="footer">
<div class="tags">
<i class="fa fa-tags"></i>
<div class="links">
<a href="/tags/ps">ps</a>
<a href="/tags/%E7%9F%AD%E4%BB%8A">短今</a>
</div>
</div>
</div>
</article>
</div>
<div class="paginator">
<a href="/page/2/" class="newer"> <i class="fa fa-angle-double-right"></i></a>
</div>
</div>
<footer>
<div class="container">
<div class="recent-posts">
<strong></strong>
<ul>
<li>
<a href="/post/inx-collect-detail-hardware-info/">[筆記] inxi 蒐集詳盡的硬體資訊 / inxi Collect Detail Hardware Info</a>
</li>
<li>
<a href="/post/log-all-bash-commands/">[筆記] 紀錄所有下過的指令、時間 / Log All commands with timestamp</a>
</li>
<li>
<a href="/post/fix-zpool-device-busy-using-dmsetup/">[筆記] 解決無法建立zpool 的錯誤 / Fix Zpool Device Busy Using dmsetup</a>
</li>
<li>
<a href="/post/transfer-cent62-using-rsync/">[筆記] 用rsync 移轉 centos 6.2的老機器 Transfer Cent6.2 using rsync</a>
</li>
<li>
<a href="/post/command_to_test_main_ssl/">[筆記] 測試mail server 的SSL憑證的指令 Command to test mailserver SSL</a>
</li>
<li>
<a href="/post/install-timeshift-on-ubuntu1804/">Install Timeshift on Ubuntu1804</a>
</li>
<li>
<a href="/post/install-ubuntu1804-on-dell-6ir-raid-controller/">用DELL 6 i/R 建立RAID並在上面安裝ubuntu 18.04 </a>
</li>
</ul>
</div>
<div class="categories">
<a href="/categories/"><strong></strong></a>
<ul>
<li>
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (18)</a>
</li>
<li>
<a href="/categories/ps">Ps (1)</a>
</li>
<li>
<a href="/categories/%E7%A2%8E%E5%BF%B5">碎念 (1)</a>
</li>
<li>
<a href="/categories/%E7%BE%A4%E6%9A%89">群暉 (1)</a>
</li>
</ul>
</div>
<div class="right">
<div class="external-profiles">
<strong></strong>
<a href="https://www.facebook.com/mariahchang" target="_blank"><i class="fa fa-facebook-adblock-proof"></i></a>
<a href="https://twitter.com/changchichung" target="_blank"><i class="fa fa-twitter-adblock-proof"></i></a>
<a href="https://github.com/changchichung" target="_blank"><i class="fa fa-github"></i></a>
</div>
</div>
</div>
</footer>
<div class="credits">
<div class="container">
<div class="copyright">
<a href="https://github.com/Lednerb" target="_blank">
&copy;
2017
by Lednerb
</a>
-
<a href="https://h.cowbay.org/index.xml">RSS</a>
</div>
<div class="author">
<a href="https://github.com/Lednerb/bilberry-hugo-theme" target="_blank">Bilberry Hugo Theme</a>
</div>
</div>
</div>
<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-128770427-1', 'auto');
ga('send', 'pageview');
}
</script>
<script async src='https://www.google-analytics.com/analytics.js'></script>
<script type="text/javascript" src="https://h.cowbay.org/js/externalDependencies.39c47e10e241eae2947b3fe21809c572.js" integrity="md5-OcR&#43;EOJB6uKUez/iGAnFcg=="></script>
<script type="text/javascript" src="https://h.cowbay.org/js/theme.ff50ae6dc1bfc220b23bf69dbb41b54e.js" integrity="md5-/1CubcG/wiCyO/adu0G1Tg=="></script>
<script>
$(".moment").each(function() {
$(this).text(
moment( $(this).text() )
.locale( "tw" )
.format('LL')
);
});
$(".footnote-return sup").html("");
</script>
<script>
var client = algoliasearch("2XL0P8XDCY", "4ef65b37b627bb886b46c34a10e63aa6");
var index = client.initIndex("h_cowbay_org");
$('#search').autocomplete({ hint: false, autoselect: true, debug: false },
[
{
source: $.fn.autocomplete.sources.hits(index, { hitsPerPage: 10 }),
displayKey: function(suggestion) {
return suggestion.title || suggestion.author
},
templates: {
suggestion: function(suggestion) {
return "<span class='entry " + suggestion.type + "'>"
+ "<span class='title'>" + suggestion.title + "</span>"
+ "<span class='fa fa-fw " + suggestion.iconClass + "'></span>"
+ "</span>"
;
},
empty: function() {
return "<span class='empty'></span>"
},
footer: function() {
return '<div class="branding">Powered by <img src="https:\/\/h.cowbay.org\/dist\/algolia-logo-light.svg" /></div>'
}
},
}
])
.on('autocomplete:selected', function(event, suggestion, dataset) {
window.location = (suggestion.url);
})
.keypress(function (event, suggestion) {
if (event.which == 13) {
window.location = (suggestion.url);
}
});
</script>
</body>
</html>

@ -416,31 +416,31 @@ TCP window size: 85.0 KByte (default)
<ul> <ul>
<li> <li>
<a href="/post/fix-zpool-device-busy-using-dmsetup/">[筆記] 解決無法建立zpool 的錯誤 / Fix Zpool Device Busy Using dmsetup</a> <a href="/post/inx-collect-detail-hardware-info/">[筆記] inxi 蒐集詳盡的硬體資訊 / inxi Collect Detail Hardware Info</a>
</li> </li>
<li> <li>
<a href="/post/transfer-cent62-using-rsync/">[筆記] 用rsync 移轉 centos 6.2的老機器 Transfer Cent6.2 using rsync</a> <a href="/post/log-all-bash-commands/">[筆記] 紀錄所有下過的指令、時間 / Log All commands with timestamp</a>
</li> </li>
<li> <li>
<a href="/post/command_to_test_main_ssl/">[筆記] 測試mail server 的SSL憑證的指令 Command to test mailserver SSL</a> <a href="/post/fix-zpool-device-busy-using-dmsetup/">[筆記] 解決無法建立zpool 的錯誤 / Fix Zpool Device Busy Using dmsetup</a>
</li> </li>
<li> <li>
<a href="/post/install-timeshift-on-ubuntu1804/">Install Timeshift on Ubuntu1804</a> <a href="/post/transfer-cent62-using-rsync/">[筆記] 用rsync 移轉 centos 6.2的老機器 Transfer Cent6.2 using rsync</a>
</li> </li>
<li> <li>
<a href="/post/install-ubuntu1804-on-dell-6ir-raid-controller/">用DELL 6 i/R 建立RAID並在上面安裝ubuntu 18.04 </a> <a href="/post/command_to_test_main_ssl/">[筆記] 測試mail server 的SSL憑證的指令 Command to test mailserver SSL</a>
</li> </li>
<li> <li>
<a href="/post/ubuntu-1804-install-root-on-raid/">Ubuntu 1804 Install Root on Raid</a> <a href="/post/install-timeshift-on-ubuntu1804/">Install Timeshift on Ubuntu1804</a>
</li> </li>
<li> <li>
<a href="/post/smartd-failed-to-start-in-freenas/">[筆記] Freenas Smartd 啟動失敗 Smartd Failed to Start in Freenas</a> <a href="/post/install-ubuntu1804-on-dell-6ir-raid-controller/">用DELL 6 i/R 建立RAID並在上面安裝ubuntu 18.04 </a>
</li> </li>
</ul> </ul>
@ -453,7 +453,7 @@ TCP window size: 85.0 KByte (default)
<ul> <ul>
<li> <li>
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (16)</a> <a href="/categories/%E7%AD%86%E8%A8%98">筆記 (18)</a>
</li> </li>
<li> <li>

@ -219,31 +219,31 @@
<ul> <ul>
<li> <li>
<a href="/post/fix-zpool-device-busy-using-dmsetup/">[筆記] 解決無法建立zpool 的錯誤 / Fix Zpool Device Busy Using dmsetup</a> <a href="/post/inx-collect-detail-hardware-info/">[筆記] inxi 蒐集詳盡的硬體資訊 / inxi Collect Detail Hardware Info</a>
</li> </li>
<li> <li>
<a href="/post/transfer-cent62-using-rsync/">[筆記] 用rsync 移轉 centos 6.2的老機器 Transfer Cent6.2 using rsync</a> <a href="/post/log-all-bash-commands/">[筆記] 紀錄所有下過的指令、時間 / Log All commands with timestamp</a>
</li> </li>
<li> <li>
<a href="/post/command_to_test_main_ssl/">[筆記] 測試mail server 的SSL憑證的指令 Command to test mailserver SSL</a> <a href="/post/fix-zpool-device-busy-using-dmsetup/">[筆記] 解決無法建立zpool 的錯誤 / Fix Zpool Device Busy Using dmsetup</a>
</li> </li>
<li> <li>
<a href="/post/install-timeshift-on-ubuntu1804/">Install Timeshift on Ubuntu1804</a> <a href="/post/transfer-cent62-using-rsync/">[筆記] 用rsync 移轉 centos 6.2的老機器 Transfer Cent6.2 using rsync</a>
</li> </li>
<li> <li>
<a href="/post/install-ubuntu1804-on-dell-6ir-raid-controller/">用DELL 6 i/R 建立RAID並在上面安裝ubuntu 18.04 </a> <a href="/post/command_to_test_main_ssl/">[筆記] 測試mail server 的SSL憑證的指令 Command to test mailserver SSL</a>
</li> </li>
<li> <li>
<a href="/post/ubuntu-1804-install-root-on-raid/">Ubuntu 1804 Install Root on Raid</a> <a href="/post/install-timeshift-on-ubuntu1804/">Install Timeshift on Ubuntu1804</a>
</li> </li>
<li> <li>
<a href="/post/smartd-failed-to-start-in-freenas/">[筆記] Freenas Smartd 啟動失敗 Smartd Failed to Start in Freenas</a> <a href="/post/install-ubuntu1804-on-dell-6ir-raid-controller/">用DELL 6 i/R 建立RAID並在上面安裝ubuntu 18.04 </a>
</li> </li>
</ul> </ul>
@ -256,7 +256,7 @@
<ul> <ul>
<li> <li>
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (16)</a> <a href="/categories/%E7%AD%86%E8%A8%98">筆記 (18)</a>
</li> </li>
<li> <li>

@ -330,31 +330,31 @@
<ul> <ul>
<li> <li>
<a href="/post/fix-zpool-device-busy-using-dmsetup/">[筆記] 解決無法建立zpool 的錯誤 / Fix Zpool Device Busy Using dmsetup</a> <a href="/post/inx-collect-detail-hardware-info/">[筆記] inxi 蒐集詳盡的硬體資訊 / inxi Collect Detail Hardware Info</a>
</li> </li>
<li> <li>
<a href="/post/transfer-cent62-using-rsync/">[筆記] 用rsync 移轉 centos 6.2的老機器 Transfer Cent6.2 using rsync</a> <a href="/post/log-all-bash-commands/">[筆記] 紀錄所有下過的指令、時間 / Log All commands with timestamp</a>
</li> </li>
<li> <li>
<a href="/post/command_to_test_main_ssl/">[筆記] 測試mail server 的SSL憑證的指令 Command to test mailserver SSL</a> <a href="/post/fix-zpool-device-busy-using-dmsetup/">[筆記] 解決無法建立zpool 的錯誤 / Fix Zpool Device Busy Using dmsetup</a>
</li> </li>
<li> <li>
<a href="/post/install-timeshift-on-ubuntu1804/">Install Timeshift on Ubuntu1804</a> <a href="/post/transfer-cent62-using-rsync/">[筆記] 用rsync 移轉 centos 6.2的老機器 Transfer Cent6.2 using rsync</a>
</li> </li>
<li> <li>
<a href="/post/install-ubuntu1804-on-dell-6ir-raid-controller/">用DELL 6 i/R 建立RAID並在上面安裝ubuntu 18.04 </a> <a href="/post/command_to_test_main_ssl/">[筆記] 測試mail server 的SSL憑證的指令 Command to test mailserver SSL</a>
</li> </li>
<li> <li>
<a href="/post/ubuntu-1804-install-root-on-raid/">Ubuntu 1804 Install Root on Raid</a> <a href="/post/install-timeshift-on-ubuntu1804/">Install Timeshift on Ubuntu1804</a>
</li> </li>
<li> <li>
<a href="/post/smartd-failed-to-start-in-freenas/">[筆記] Freenas Smartd 啟動失敗 Smartd Failed to Start in Freenas</a> <a href="/post/install-ubuntu1804-on-dell-6ir-raid-controller/">用DELL 6 i/R 建立RAID並在上面安裝ubuntu 18.04 </a>
</li> </li>
</ul> </ul>
@ -367,7 +367,7 @@
<ul> <ul>
<li> <li>
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (16)</a> <a href="/categories/%E7%AD%86%E8%A8%98">筆記 (18)</a>
</li> </li>
<li> <li>

@ -285,31 +285,31 @@ b8d74048eba1 mysql:5.7.21 &quot;docker-entrypoint.s…&qu
<ul> <ul>
<li> <li>
<a href="/post/fix-zpool-device-busy-using-dmsetup/">[筆記] 解決無法建立zpool 的錯誤 / Fix Zpool Device Busy Using dmsetup</a> <a href="/post/inx-collect-detail-hardware-info/">[筆記] inxi 蒐集詳盡的硬體資訊 / inxi Collect Detail Hardware Info</a>
</li> </li>
<li> <li>
<a href="/post/transfer-cent62-using-rsync/">[筆記] 用rsync 移轉 centos 6.2的老機器 Transfer Cent6.2 using rsync</a> <a href="/post/log-all-bash-commands/">[筆記] 紀錄所有下過的指令、時間 / Log All commands with timestamp</a>
</li> </li>
<li> <li>
<a href="/post/command_to_test_main_ssl/">[筆記] 測試mail server 的SSL憑證的指令 Command to test mailserver SSL</a> <a href="/post/fix-zpool-device-busy-using-dmsetup/">[筆記] 解決無法建立zpool 的錯誤 / Fix Zpool Device Busy Using dmsetup</a>
</li> </li>
<li> <li>
<a href="/post/install-timeshift-on-ubuntu1804/">Install Timeshift on Ubuntu1804</a> <a href="/post/transfer-cent62-using-rsync/">[筆記] 用rsync 移轉 centos 6.2的老機器 Transfer Cent6.2 using rsync</a>
</li> </li>
<li> <li>
<a href="/post/install-ubuntu1804-on-dell-6ir-raid-controller/">用DELL 6 i/R 建立RAID並在上面安裝ubuntu 18.04 </a> <a href="/post/command_to_test_main_ssl/">[筆記] 測試mail server 的SSL憑證的指令 Command to test mailserver SSL</a>
</li> </li>
<li> <li>
<a href="/post/ubuntu-1804-install-root-on-raid/">Ubuntu 1804 Install Root on Raid</a> <a href="/post/install-timeshift-on-ubuntu1804/">Install Timeshift on Ubuntu1804</a>
</li> </li>
<li> <li>
<a href="/post/smartd-failed-to-start-in-freenas/">[筆記] Freenas Smartd 啟動失敗 Smartd Failed to Start in Freenas</a> <a href="/post/install-ubuntu1804-on-dell-6ir-raid-controller/">用DELL 6 i/R 建立RAID並在上面安裝ubuntu 18.04 </a>
</li> </li>
</ul> </ul>
@ -322,7 +322,7 @@ b8d74048eba1 mysql:5.7.21 &quot;docker-entrypoint.s…&qu
<ul> <ul>
<li> <li>
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (16)</a> <a href="/categories/%E7%AD%86%E8%A8%98">筆記 (18)</a>
</li> </li>
<li> <li>

@ -259,31 +259,31 @@
<ul> <ul>
<li> <li>
<a href="/post/fix-zpool-device-busy-using-dmsetup/">[筆記] 解決無法建立zpool 的錯誤 / Fix Zpool Device Busy Using dmsetup</a> <a href="/post/inx-collect-detail-hardware-info/">[筆記] inxi 蒐集詳盡的硬體資訊 / inxi Collect Detail Hardware Info</a>
</li> </li>
<li> <li>
<a href="/post/transfer-cent62-using-rsync/">[筆記] 用rsync 移轉 centos 6.2的老機器 Transfer Cent6.2 using rsync</a> <a href="/post/log-all-bash-commands/">[筆記] 紀錄所有下過的指令、時間 / Log All commands with timestamp</a>
</li> </li>
<li> <li>
<a href="/post/command_to_test_main_ssl/">[筆記] 測試mail server 的SSL憑證的指令 Command to test mailserver SSL</a> <a href="/post/fix-zpool-device-busy-using-dmsetup/">[筆記] 解決無法建立zpool 的錯誤 / Fix Zpool Device Busy Using dmsetup</a>
</li> </li>
<li> <li>
<a href="/post/install-timeshift-on-ubuntu1804/">Install Timeshift on Ubuntu1804</a> <a href="/post/transfer-cent62-using-rsync/">[筆記] 用rsync 移轉 centos 6.2的老機器 Transfer Cent6.2 using rsync</a>
</li> </li>
<li> <li>
<a href="/post/install-ubuntu1804-on-dell-6ir-raid-controller/">用DELL 6 i/R 建立RAID並在上面安裝ubuntu 18.04 </a> <a href="/post/command_to_test_main_ssl/">[筆記] 測試mail server 的SSL憑證的指令 Command to test mailserver SSL</a>
</li> </li>
<li> <li>
<a href="/post/ubuntu-1804-install-root-on-raid/">Ubuntu 1804 Install Root on Raid</a> <a href="/post/install-timeshift-on-ubuntu1804/">Install Timeshift on Ubuntu1804</a>
</li> </li>
<li> <li>
<a href="/post/smartd-failed-to-start-in-freenas/">[筆記] Freenas Smartd 啟動失敗 Smartd Failed to Start in Freenas</a> <a href="/post/install-ubuntu1804-on-dell-6ir-raid-controller/">用DELL 6 i/R 建立RAID並在上面安裝ubuntu 18.04 </a>
</li> </li>
</ul> </ul>
@ -296,7 +296,7 @@
<ul> <ul>
<li> <li>
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (16)</a> <a href="/categories/%E7%AD%86%E8%A8%98">筆記 (18)</a>
</li> </li>
<li> <li>

@ -393,31 +393,31 @@ openssl s_client -showcerts -connect mail.example.com:465
<ul> <ul>
<li> <li>
<a href="/post/fix-zpool-device-busy-using-dmsetup/">[筆記] 解決無法建立zpool 的錯誤 / Fix Zpool Device Busy Using dmsetup</a> <a href="/post/inx-collect-detail-hardware-info/">[筆記] inxi 蒐集詳盡的硬體資訊 / inxi Collect Detail Hardware Info</a>
</li> </li>
<li> <li>
<a href="/post/transfer-cent62-using-rsync/">[筆記] 用rsync 移轉 centos 6.2的老機器 Transfer Cent6.2 using rsync</a> <a href="/post/log-all-bash-commands/">[筆記] 紀錄所有下過的指令、時間 / Log All commands with timestamp</a>
</li> </li>
<li> <li>
<a href="/post/command_to_test_main_ssl/">[筆記] 測試mail server 的SSL憑證的指令 Command to test mailserver SSL</a> <a href="/post/fix-zpool-device-busy-using-dmsetup/">[筆記] 解決無法建立zpool 的錯誤 / Fix Zpool Device Busy Using dmsetup</a>
</li> </li>
<li> <li>
<a href="/post/install-timeshift-on-ubuntu1804/">Install Timeshift on Ubuntu1804</a> <a href="/post/transfer-cent62-using-rsync/">[筆記] 用rsync 移轉 centos 6.2的老機器 Transfer Cent6.2 using rsync</a>
</li> </li>
<li> <li>
<a href="/post/install-ubuntu1804-on-dell-6ir-raid-controller/">用DELL 6 i/R 建立RAID並在上面安裝ubuntu 18.04 </a> <a href="/post/command_to_test_main_ssl/">[筆記] 測試mail server 的SSL憑證的指令 Command to test mailserver SSL</a>
</li> </li>
<li> <li>
<a href="/post/ubuntu-1804-install-root-on-raid/">Ubuntu 1804 Install Root on Raid</a> <a href="/post/install-timeshift-on-ubuntu1804/">Install Timeshift on Ubuntu1804</a>
</li> </li>
<li> <li>
<a href="/post/smartd-failed-to-start-in-freenas/">[筆記] Freenas Smartd 啟動失敗 Smartd Failed to Start in Freenas</a> <a href="/post/install-ubuntu1804-on-dell-6ir-raid-controller/">用DELL 6 i/R 建立RAID並在上面安裝ubuntu 18.04 </a>
</li> </li>
</ul> </ul>
@ -430,7 +430,7 @@ openssl s_client -showcerts -connect mail.example.com:465
<ul> <ul>
<li> <li>
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (16)</a> <a href="/categories/%E7%AD%86%E8%A8%98">筆記 (18)</a>
</li> </li>
<li> <li>

@ -217,31 +217,31 @@ GRANT a TO b;
<ul> <ul>
<li> <li>
<a href="/post/fix-zpool-device-busy-using-dmsetup/">[筆記] 解決無法建立zpool 的錯誤 / Fix Zpool Device Busy Using dmsetup</a> <a href="/post/inx-collect-detail-hardware-info/">[筆記] inxi 蒐集詳盡的硬體資訊 / inxi Collect Detail Hardware Info</a>
</li> </li>
<li> <li>
<a href="/post/transfer-cent62-using-rsync/">[筆記] 用rsync 移轉 centos 6.2的老機器 Transfer Cent6.2 using rsync</a> <a href="/post/log-all-bash-commands/">[筆記] 紀錄所有下過的指令、時間 / Log All commands with timestamp</a>
</li> </li>
<li> <li>
<a href="/post/command_to_test_main_ssl/">[筆記] 測試mail server 的SSL憑證的指令 Command to test mailserver SSL</a> <a href="/post/fix-zpool-device-busy-using-dmsetup/">[筆記] 解決無法建立zpool 的錯誤 / Fix Zpool Device Busy Using dmsetup</a>
</li> </li>
<li> <li>
<a href="/post/install-timeshift-on-ubuntu1804/">Install Timeshift on Ubuntu1804</a> <a href="/post/transfer-cent62-using-rsync/">[筆記] 用rsync 移轉 centos 6.2的老機器 Transfer Cent6.2 using rsync</a>
</li> </li>
<li> <li>
<a href="/post/install-ubuntu1804-on-dell-6ir-raid-controller/">用DELL 6 i/R 建立RAID並在上面安裝ubuntu 18.04 </a> <a href="/post/command_to_test_main_ssl/">[筆記] 測試mail server 的SSL憑證的指令 Command to test mailserver SSL</a>
</li> </li>
<li> <li>
<a href="/post/ubuntu-1804-install-root-on-raid/">Ubuntu 1804 Install Root on Raid</a> <a href="/post/install-timeshift-on-ubuntu1804/">Install Timeshift on Ubuntu1804</a>
</li> </li>
<li> <li>
<a href="/post/smartd-failed-to-start-in-freenas/">[筆記] Freenas Smartd 啟動失敗 Smartd Failed to Start in Freenas</a> <a href="/post/install-ubuntu1804-on-dell-6ir-raid-controller/">用DELL 6 i/R 建立RAID並在上面安裝ubuntu 18.04 </a>
</li> </li>
</ul> </ul>
@ -254,7 +254,7 @@ GRANT a TO b;
<ul> <ul>
<li> <li>
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (16)</a> <a href="/categories/%E7%AD%86%E8%A8%98">筆記 (18)</a>
</li> </li>
<li> <li>

@ -230,31 +230,31 @@
<ul> <ul>
<li> <li>
<a href="/post/fix-zpool-device-busy-using-dmsetup/">[筆記] 解決無法建立zpool 的錯誤 / Fix Zpool Device Busy Using dmsetup</a> <a href="/post/inx-collect-detail-hardware-info/">[筆記] inxi 蒐集詳盡的硬體資訊 / inxi Collect Detail Hardware Info</a>
</li> </li>
<li> <li>
<a href="/post/transfer-cent62-using-rsync/">[筆記] 用rsync 移轉 centos 6.2的老機器 Transfer Cent6.2 using rsync</a> <a href="/post/log-all-bash-commands/">[筆記] 紀錄所有下過的指令、時間 / Log All commands with timestamp</a>
</li> </li>
<li> <li>
<a href="/post/command_to_test_main_ssl/">[筆記] 測試mail server 的SSL憑證的指令 Command to test mailserver SSL</a> <a href="/post/fix-zpool-device-busy-using-dmsetup/">[筆記] 解決無法建立zpool 的錯誤 / Fix Zpool Device Busy Using dmsetup</a>
</li> </li>
<li> <li>
<a href="/post/install-timeshift-on-ubuntu1804/">Install Timeshift on Ubuntu1804</a> <a href="/post/transfer-cent62-using-rsync/">[筆記] 用rsync 移轉 centos 6.2的老機器 Transfer Cent6.2 using rsync</a>
</li> </li>
<li> <li>
<a href="/post/install-ubuntu1804-on-dell-6ir-raid-controller/">用DELL 6 i/R 建立RAID並在上面安裝ubuntu 18.04 </a> <a href="/post/command_to_test_main_ssl/">[筆記] 測試mail server 的SSL憑證的指令 Command to test mailserver SSL</a>
</li> </li>
<li> <li>
<a href="/post/ubuntu-1804-install-root-on-raid/">Ubuntu 1804 Install Root on Raid</a> <a href="/post/install-timeshift-on-ubuntu1804/">Install Timeshift on Ubuntu1804</a>
</li> </li>
<li> <li>
<a href="/post/smartd-failed-to-start-in-freenas/">[筆記] Freenas Smartd 啟動失敗 Smartd Failed to Start in Freenas</a> <a href="/post/install-ubuntu1804-on-dell-6ir-raid-controller/">用DELL 6 i/R 建立RAID並在上面安裝ubuntu 18.04 </a>
</li> </li>
</ul> </ul>
@ -267,7 +267,7 @@
<ul> <ul>
<li> <li>
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (16)</a> <a href="/categories/%E7%AD%86%E8%A8%98">筆記 (18)</a>
</li> </li>
<li> <li>

@ -303,31 +303,31 @@ admin@storage:~$
<ul> <ul>
<li> <li>
<a href="/post/fix-zpool-device-busy-using-dmsetup/">[筆記] 解決無法建立zpool 的錯誤 / Fix Zpool Device Busy Using dmsetup</a> <a href="/post/inx-collect-detail-hardware-info/">[筆記] inxi 蒐集詳盡的硬體資訊 / inxi Collect Detail Hardware Info</a>
</li> </li>
<li> <li>
<a href="/post/transfer-cent62-using-rsync/">[筆記] 用rsync 移轉 centos 6.2的老機器 Transfer Cent6.2 using rsync</a> <a href="/post/log-all-bash-commands/">[筆記] 紀錄所有下過的指令、時間 / Log All commands with timestamp</a>
</li> </li>
<li> <li>
<a href="/post/command_to_test_main_ssl/">[筆記] 測試mail server 的SSL憑證的指令 Command to test mailserver SSL</a> <a href="/post/fix-zpool-device-busy-using-dmsetup/">[筆記] 解決無法建立zpool 的錯誤 / Fix Zpool Device Busy Using dmsetup</a>
</li> </li>
<li> <li>
<a href="/post/install-timeshift-on-ubuntu1804/">Install Timeshift on Ubuntu1804</a> <a href="/post/transfer-cent62-using-rsync/">[筆記] 用rsync 移轉 centos 6.2的老機器 Transfer Cent6.2 using rsync</a>
</li> </li>
<li> <li>
<a href="/post/install-ubuntu1804-on-dell-6ir-raid-controller/">用DELL 6 i/R 建立RAID並在上面安裝ubuntu 18.04 </a> <a href="/post/command_to_test_main_ssl/">[筆記] 測試mail server 的SSL憑證的指令 Command to test mailserver SSL</a>
</li> </li>
<li> <li>
<a href="/post/ubuntu-1804-install-root-on-raid/">Ubuntu 1804 Install Root on Raid</a> <a href="/post/install-timeshift-on-ubuntu1804/">Install Timeshift on Ubuntu1804</a>
</li> </li>
<li> <li>
<a href="/post/smartd-failed-to-start-in-freenas/">[筆記] Freenas Smartd 啟動失敗 Smartd Failed to Start in Freenas</a> <a href="/post/install-ubuntu1804-on-dell-6ir-raid-controller/">用DELL 6 i/R 建立RAID並在上面安裝ubuntu 18.04 </a>
</li> </li>
</ul> </ul>
@ -340,7 +340,7 @@ admin@storage:~$
<ul> <ul>
<li> <li>
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (16)</a> <a href="/categories/%E7%AD%86%E8%A8%98">筆記 (18)</a>
</li> </li>
<li> <li>

File diff suppressed because one or more lines are too long

@ -273,31 +273,31 @@ unused devices: &lt;none&gt;
<ul> <ul>
<li> <li>
<a href="/post/fix-zpool-device-busy-using-dmsetup/">[筆記] 解決無法建立zpool 的錯誤 / Fix Zpool Device Busy Using dmsetup</a> <a href="/post/inx-collect-detail-hardware-info/">[筆記] inxi 蒐集詳盡的硬體資訊 / inxi Collect Detail Hardware Info</a>
</li> </li>
<li> <li>
<a href="/post/transfer-cent62-using-rsync/">[筆記] 用rsync 移轉 centos 6.2的老機器 Transfer Cent6.2 using rsync</a> <a href="/post/log-all-bash-commands/">[筆記] 紀錄所有下過的指令、時間 / Log All commands with timestamp</a>
</li> </li>
<li> <li>
<a href="/post/command_to_test_main_ssl/">[筆記] 測試mail server 的SSL憑證的指令 Command to test mailserver SSL</a> <a href="/post/fix-zpool-device-busy-using-dmsetup/">[筆記] 解決無法建立zpool 的錯誤 / Fix Zpool Device Busy Using dmsetup</a>
</li> </li>
<li> <li>
<a href="/post/install-timeshift-on-ubuntu1804/">Install Timeshift on Ubuntu1804</a> <a href="/post/transfer-cent62-using-rsync/">[筆記] 用rsync 移轉 centos 6.2的老機器 Transfer Cent6.2 using rsync</a>
</li> </li>
<li> <li>
<a href="/post/install-ubuntu1804-on-dell-6ir-raid-controller/">用DELL 6 i/R 建立RAID並在上面安裝ubuntu 18.04 </a> <a href="/post/command_to_test_main_ssl/">[筆記] 測試mail server 的SSL憑證的指令 Command to test mailserver SSL</a>
</li> </li>
<li> <li>
<a href="/post/ubuntu-1804-install-root-on-raid/">Ubuntu 1804 Install Root on Raid</a> <a href="/post/install-timeshift-on-ubuntu1804/">Install Timeshift on Ubuntu1804</a>
</li> </li>
<li> <li>
<a href="/post/smartd-failed-to-start-in-freenas/">[筆記] Freenas Smartd 啟動失敗 Smartd Failed to Start in Freenas</a> <a href="/post/install-ubuntu1804-on-dell-6ir-raid-controller/">用DELL 6 i/R 建立RAID並在上面安裝ubuntu 18.04 </a>
</li> </li>
</ul> </ul>
@ -310,7 +310,7 @@ unused devices: &lt;none&gt;
<ul> <ul>
<li> <li>
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (16)</a> <a href="/categories/%E7%AD%86%E8%A8%98">筆記 (18)</a>
</li> </li>
<li> <li>

@ -92,25 +92,25 @@
<div class="article-wrapper u-cf"> <div class="article-wrapper u-cf">
<a class="bubble" href="/post/fix-zpool-device-busy-using-dmsetup/"> <a class="bubble" href="/post/inx-collect-detail-hardware-info/">
<i class="fa fa-fw fa-pencil"></i> <i class="fa fa-fw fa-pencil"></i>
</a> </a>
<article class="default article"> <article class="default article">
<div class="featured-image"> <div class="featured-image">
<a href="/post/fix-zpool-device-busy-using-dmsetup/"> <a href="/post/inx-collect-detail-hardware-info/">
<img src="/images/post-default-11.jpg" alt=""> <img src="/images/post-default-10.jpg" alt="">
</a> </a>
</div> </div>
<div class="content"> <div class="content">
<h3><a href="/post/fix-zpool-device-busy-using-dmsetup/">[筆記] 解決無法建立zpool 的錯誤 / Fix Zpool Device Busy Using dmsetup</a></h3> <h3><a href="/post/inx-collect-detail-hardware-info/">[筆記] inxi 蒐集詳盡的硬體資訊 / inxi Collect Detail Hardware Info</a></h3>
<div class="meta"> <div class="meta">
<span class="date moment">2019-04-01</span> <span class="date moment">2019-04-23</span>
@ -130,16 +130,20 @@
</div> </div>
<p>今天把其中一台proxmox 加上10G 光纖網卡準備和另一台proxmox 組成10G 環境進行測試</p> <p>最近因為一直碰到硬碟故障的問題算起來那一批同時購買的5X顆 seagate 2T硬碟已經有一半以上故障返修了&hellip;.</p>
<p>想說把本機的zpool 拆掉重新建立一個raid0 的空間來做clone/migrate</p> <p>然後又因為一直沒有添購新的硬碟,只能用這些快過保/已過保的撐著</p>
<p>可是一直出現device busy的錯誤訊息</p> <p>所以最近不斷的在更換機器內的硬碟,而且還沒有熱插拔!</p>
<p>也導致原本負責處理盤點資產的同事困擾,因為跟手邊的紀錄已經對不起來了</p>
<p>然後就變成要對資產的時候,需要一台一台登入,然後去下不同的指令,取得想要的硬體資訊,超級麻煩的!</p>
<p></p> <p></p>
<a href="/post/fix-zpool-device-busy-using-dmsetup/" class="more"></a> <a href="/post/inx-collect-detail-hardware-info/" class="more"></a>
</div> </div>
@ -153,7 +157,11 @@
<i class="fa fa-tags"></i> <i class="fa fa-tags"></i>
<div class="links"> <div class="links">
<a href="/tags/zfs">zfs</a> <a href="/tags/linux">linux</a>
<a href="/tags/bsd">bsd</a>
<a href="/tags/inventory">inventory</a>
</div> </div>
</div> </div>
@ -169,25 +177,25 @@
<div class="article-wrapper u-cf"> <div class="article-wrapper u-cf">
<a class="bubble" href="/post/transfer-cent62-using-rsync/"> <a class="bubble" href="/post/log-all-bash-commands/">
<i class="fa fa-fw fa-pencil"></i> <i class="fa fa-fw fa-pencil"></i>
</a> </a>
<article class="default article"> <article class="default article">
<div class="featured-image"> <div class="featured-image">
<a href="/post/transfer-cent62-using-rsync/"> <a href="/post/log-all-bash-commands/">
<img src="/images/post-default-9.jpg" alt=""> <img src="/images/post-default-11.jpg" alt="">
</a> </a>
</div> </div>
<div class="content"> <div class="content">
<h3><a href="/post/transfer-cent62-using-rsync/">[筆記] 用rsync 移轉 centos 6.2的老機器 Transfer Cent6.2 using rsync</a></h3> <h3><a href="/post/log-all-bash-commands/">[筆記] 紀錄所有下過的指令、時間 / Log All commands with timestamp</a></h3>
<div class="meta"> <div class="meta">
<span class="date moment">2019-03-27</span> <span class="date moment">2019-04-23</span>
@ -207,13 +215,18 @@
</div> </div>
<p>公司的一台老伺服器空間不足了,要執行指令都會中斷,所以想要擴充空間。</p> <p>今天發生一件有點詭異的事情,本來應該要經過某個指令才會產生的檔案</p>
<p>看起來不難搞,事實上&hellip;.. <p>居然不知為何自己產生了,在我記憶中沒有去執行過那個指令</p>
</p>
<p>翻了一下 bash_history ,裡面也只有下過哪些指令,沒有紀錄時間,完全沒有參考價值(攤手)</p>
<p>所以翻了一下網路至少把這兩台主要跑ansible的機器的log功能補上紀錄所有指令以及時間的部份</p>
<p></p>
<a href="/post/transfer-cent62-using-rsync/" class="more"></a> <a href="/post/log-all-bash-commands/" class="more"></a>
</div> </div>
@ -227,9 +240,7 @@
<i class="fa fa-tags"></i> <i class="fa fa-tags"></i>
<div class="links"> <div class="links">
<a href="/tags/centos">centos</a> <a href="/tags/log">log</a>
<a href="/tags/linux">linux</a>
</div> </div>
</div> </div>
@ -245,31 +256,37 @@
<div class="article-wrapper u-cf"> <div class="article-wrapper u-cf">
<a class="bubble" href="/post/command_to_test_main_ssl/"> <a class="bubble" href="/post/fix-zpool-device-busy-using-dmsetup/">
<i class="fa fa-fw fa-pencil"></i> <i class="fa fa-fw fa-pencil"></i>
</a> </a>
<article class="default article"> <article class="default article">
<div class="featured-image"> <div class="featured-image">
<a href="/post/command_to_test_main_ssl/"> <a href="/post/fix-zpool-device-busy-using-dmsetup/">
<img src="/images/post-default-10.jpg" alt=""> <img src="/images/post-default-11.jpg" alt="">
</a> </a>
</div> </div>
<div class="content"> <div class="content">
<h3><a href="/post/command_to_test_main_ssl/">[筆記] 測試mail server 的SSL憑證的指令 Command to test mailserver SSL</a></h3> <h3><a href="/post/fix-zpool-device-busy-using-dmsetup/">[筆記] 解決無法建立zpool 的錯誤 / Fix Zpool Device Busy Using dmsetup</a></h3>
<div class="meta"> <div class="meta">
<span class="date moment">2019-03-20</span> <span class="date moment">2019-04-01</span>
<span class="categories">
<a href="/categories/%E7%AD%86%E8%A8%98">筆記</a>
</span>
<span class="author"><a href="/author/eric-chang">Eric Chang</a></span> <span class="author"><a href="/author/eric-chang">Eric Chang</a></span>
@ -277,23 +294,34 @@
</div> </div>
<p>今天老闆出國發slack說手機不能寄信看了一下似乎是因為用GMAIL的APP來收信</p> <p>今天把其中一台proxmox 加上10G 光纖網卡準備和另一台proxmox 組成10G 環境進行測試</p>
<p>然後google 不知道跟人家改了什麼,結果不接受原本的認證了&hellip; WTF &hellip;.</p> <p>想說把本機的zpool 拆掉重新建立一個raid0 的空間來做clone/migrate</p>
<p>然後,這問題應該很久了,結果現在才在講 &hellip;.</p> <p>可是一直出現device busy的錯誤訊息</p>
<p></p>
<a href="/post/command_to_test_main_ssl/" class="more"></a> <a href="/post/fix-zpool-device-busy-using-dmsetup/" class="more"></a>
</div> </div>
<div class="footer no-tags"> <div class="footer">
<div class="tags">
<i class="fa fa-tags"></i>
<div class="links">
<a href="/tags/zfs">zfs</a>
</div>
</div>
</div> </div>
@ -305,25 +333,25 @@
<div class="article-wrapper u-cf"> <div class="article-wrapper u-cf">
<a class="bubble" href="/post/install-timeshift-on-ubuntu1804/"> <a class="bubble" href="/post/transfer-cent62-using-rsync/">
<i class="fa fa-fw fa-pencil"></i> <i class="fa fa-fw fa-pencil"></i>
</a> </a>
<article class="default article"> <article class="default article">
<div class="featured-image"> <div class="featured-image">
<a href="/post/install-timeshift-on-ubuntu1804/"> <a href="/post/transfer-cent62-using-rsync/">
<img src="/images/post-default-11.jpg" alt=""> <img src="/images/post-default-9.jpg" alt="">
</a> </a>
</div> </div>
<div class="content"> <div class="content">
<h3><a href="/post/install-timeshift-on-ubuntu1804/">Install Timeshift on Ubuntu1804</a></h3> <h3><a href="/post/transfer-cent62-using-rsync/">[筆記] 用rsync 移轉 centos 6.2的老機器 Transfer Cent6.2 using rsync</a></h3>
<div class="meta"> <div class="meta">
<span class="date moment">2019-03-11</span> <span class="date moment">2019-03-27</span>
@ -343,18 +371,13 @@
</div> </div>
<p>最近要開始測試client安裝 ubuntu 18.04 的 ansible playbook</p> <p>公司的一台老伺服器空間不足了,要執行指令都會中斷,所以想要擴充空間。</p>
<p>因為要不斷的修正所以想到一直有在自己電腦上執行的timeshift這個軟體</p>
<p>可以很簡單快速的備份、恢復系統狀態</p>
<p>可是不知道為什麼在ubuntu 18.04 上安裝就是會發生錯誤&hellip;.</p>
<p></p> <p>看起來不難搞,事實上&hellip;..
</p>
<a href="/post/install-timeshift-on-ubuntu1804/" class="more"></a> <a href="/post/transfer-cent62-using-rsync/" class="more"></a>
</div> </div>
@ -368,9 +391,9 @@
<i class="fa fa-tags"></i> <i class="fa fa-tags"></i>
<div class="links"> <div class="links">
<a href="/tags/ubuntu">ubuntu</a> <a href="/tags/centos">centos</a>
<a href="/tags/backup">backup</a> <a href="/tags/linux">linux</a>
</div> </div>
</div> </div>
@ -386,37 +409,31 @@
<div class="article-wrapper u-cf"> <div class="article-wrapper u-cf">
<a class="bubble" href="/post/install-ubuntu1804-on-dell-6ir-raid-controller/"> <a class="bubble" href="/post/command_to_test_main_ssl/">
<i class="fa fa-fw fa-pencil"></i> <i class="fa fa-fw fa-pencil"></i>
</a> </a>
<article class="default article"> <article class="default article">
<div class="featured-image"> <div class="featured-image">
<a href="/post/install-ubuntu1804-on-dell-6ir-raid-controller/"> <a href="/post/command_to_test_main_ssl/">
<img src="/images/post-default-11.jpg" alt=""> <img src="/images/post-default-10.jpg" alt="">
</a> </a>
</div> </div>
<div class="content"> <div class="content">
<h3><a href="/post/install-ubuntu1804-on-dell-6ir-raid-controller/">用DELL 6 i/R 建立RAID並在上面安裝ubuntu 18.04 </a></h3> <h3><a href="/post/command_to_test_main_ssl/">[筆記] 測試mail server 的SSL憑證的指令 Command to test mailserver SSL</a></h3>
<div class="meta"> <div class="meta">
<span class="date moment">2019-01-16</span> <span class="date moment">2019-03-20</span>
<span class="categories">
<a href="/categories/%E7%AD%86%E8%A8%98">筆記</a>
</span>
<span class="author"><a href="/author/eric-chang">Eric Chang</a></span> <span class="author"><a href="/author/eric-chang">Eric Chang</a></span>
@ -424,31 +441,23 @@
</div> </div>
<p>買了一張 DELL 6/iR 低階的raid 卡</p> <p>今天老闆出國發slack說手機不能寄信看了一下似乎是因為用GMAIL的APP來收信</p>
<p>來測試把系統裝在硬體做的RAID上結果沒想到居然不能開機&hellip; <p>然後google 不知道跟人家改了什麼,結果不接受原本的認證了&hellip; WTF &hellip;.</p>
</p>
<p>然後,這問題應該很久了,結果現在才在講 &hellip;.</p>
<a href="/post/install-ubuntu1804-on-dell-6ir-raid-controller/" class="more"></a> <a href="/post/command_to_test_main_ssl/" class="more"></a>
</div> </div>
<div class="footer"> <div class="footer no-tags">
<div class="tags">
<i class="fa fa-tags"></i>
<div class="links">
<a href="/tags/ubuntu">ubuntu</a>
</div>
</div>
</div> </div>
@ -460,25 +469,25 @@
<div class="article-wrapper u-cf"> <div class="article-wrapper u-cf">
<a class="bubble" href="/post/ubuntu-1804-install-root-on-raid/"> <a class="bubble" href="/post/install-timeshift-on-ubuntu1804/">
<i class="fa fa-fw fa-pencil"></i> <i class="fa fa-fw fa-pencil"></i>
</a> </a>
<article class="default article"> <article class="default article">
<div class="featured-image"> <div class="featured-image">
<a href="/post/ubuntu-1804-install-root-on-raid/"> <a href="/post/install-timeshift-on-ubuntu1804/">
<img src="/images/post-default-11.jpg" alt=""> <img src="/images/post-default-11.jpg" alt="">
</a> </a>
</div> </div>
<div class="content"> <div class="content">
<h3><a href="/post/ubuntu-1804-install-root-on-raid/">Ubuntu 1804 Install Root on Raid</a></h3> <h3><a href="/post/install-timeshift-on-ubuntu1804/">Install Timeshift on Ubuntu1804</a></h3>
<div class="meta"> <div class="meta">
<span class="date moment">2019-01-16</span> <span class="date moment">2019-03-11</span>
@ -498,16 +507,18 @@
</div> </div>
<p>最近在弄一台機器想要把ubuntu 18.04 安裝在software raid上</p> <p>最近要開始測試client安裝 ubuntu 18.04 的 ansible playbook</p>
<p>因為新開的機器大部分都是在proxmox上所以很少碰實體機器了</p> <p>因為要不斷的修正所以想到一直有在自己電腦上執行的timeshift這個軟體</p>
<p>結果在安裝過程中做raid碰到一些問題來紀錄一下</p> <p>可以很簡單快速的備份、恢復系統狀態</p>
<p>可是不知道為什麼在ubuntu 18.04 上安裝就是會發生錯誤&hellip;.</p>
<p></p> <p></p>
<a href="/post/ubuntu-1804-install-root-on-raid/" class="more"></a> <a href="/post/install-timeshift-on-ubuntu1804/" class="more"></a>
</div> </div>
@ -523,7 +534,7 @@
<a href="/tags/ubuntu">ubuntu</a> <a href="/tags/ubuntu">ubuntu</a>
<a href="/tags/raid">raid</a> <a href="/tags/backup">backup</a>
</div> </div>
</div> </div>
@ -539,25 +550,25 @@
<div class="article-wrapper u-cf"> <div class="article-wrapper u-cf">
<a class="bubble" href="/post/smartd-failed-to-start-in-freenas/"> <a class="bubble" href="/post/install-ubuntu1804-on-dell-6ir-raid-controller/">
<i class="fa fa-fw fa-pencil"></i> <i class="fa fa-fw fa-pencil"></i>
</a> </a>
<article class="default article"> <article class="default article">
<div class="featured-image"> <div class="featured-image">
<a href="/post/smartd-failed-to-start-in-freenas/"> <a href="/post/install-ubuntu1804-on-dell-6ir-raid-controller/">
<img src="/images/post-default-2.jpg" alt=""> <img src="/images/post-default-11.jpg" alt="">
</a> </a>
</div> </div>
<div class="content"> <div class="content">
<h3><a href="/post/smartd-failed-to-start-in-freenas/">[筆記] Freenas Smartd 啟動失敗 Smartd Failed to Start in Freenas</a></h3> <h3><a href="/post/install-ubuntu1804-on-dell-6ir-raid-controller/">用DELL 6 i/R 建立RAID並在上面安裝ubuntu 18.04 </a></h3>
<div class="meta"> <div class="meta">
<span class="date moment">2018-12-13</span> <span class="date moment">2019-01-16</span>
@ -577,18 +588,13 @@
</div> </div>
<p>這兩天在弄兩台Freenas 準備當作Proxmox 的Storage &amp; Server Backup</p> <p>買了一張 DELL 6/iR 低階的raid 卡</p>
<p>因為伺服器的限制只能接六個SATA我接了六個2T的硬碟做raid10</p>
<p>然後把Freenas 安裝在隨身碟上</p>
<p>不過會一直出現Smartd failed to start 的錯誤訊息</p>
<p></p> <p>來測試把系統裝在硬體做的RAID上結果沒想到居然不能開機&hellip;
</p>
<a href="/post/smartd-failed-to-start-in-freenas/" class="more"></a> <a href="/post/install-ubuntu1804-on-dell-6ir-raid-controller/" class="more"></a>
</div> </div>
@ -602,7 +608,7 @@
<i class="fa fa-tags"></i> <i class="fa fa-tags"></i>
<div class="links"> <div class="links">
<a href="/tags/freenas">freenas</a> <a href="/tags/ubuntu">ubuntu</a>
</div> </div>
</div> </div>
@ -618,25 +624,25 @@
<div class="article-wrapper u-cf"> <div class="article-wrapper u-cf">
<a class="bubble" href="/post/incredibly-slow-mdadm-rebuild/"> <a class="bubble" href="/post/ubuntu-1804-install-root-on-raid/">
<i class="fa fa-fw fa-pencil"></i> <i class="fa fa-fw fa-pencil"></i>
</a> </a>
<article class="default article"> <article class="default article">
<div class="featured-image"> <div class="featured-image">
<a href="/post/incredibly-slow-mdadm-rebuild/"> <a href="/post/ubuntu-1804-install-root-on-raid/">
<img src="/images/post-default-1.jpg" alt=""> <img src="/images/post-default-11.jpg" alt="">
</a> </a>
</div> </div>
<div class="content"> <div class="content">
<h3><a href="/post/incredibly-slow-mdadm-rebuild/">[碎念] mdadm 超級慢的rebuild 速度 Incredibly Slow mdadm Rebuild</a></h3> <h3><a href="/post/ubuntu-1804-install-root-on-raid/">Ubuntu 1804 Install Root on Raid</a></h3>
<div class="meta"> <div class="meta">
<span class="date moment">2018-12-12</span> <span class="date moment">2019-01-16</span>
@ -645,7 +651,7 @@
<span class="categories"> <span class="categories">
<a href="/categories/%E7%A2%8E%E5%BF%B5">碎念</a> <a href="/categories/%E7%AD%86%E8%A8%98">筆記</a>
</span> </span>
@ -656,20 +662,16 @@
</div> </div>
<p>最近在做一台老機器的P2V</p> <p>最近在弄一台機器想要把ubuntu 18.04 安裝在software raid上</p>
<p>偏偏user說不能關機所以我用dd + ssh 做線上移轉</p>
<p>這部份有空再來寫</p>
<p>只是因為原來的設定有用mdadm 做raid1</p> <p>因為新開的機器大部分都是在proxmox上所以很少碰實體機器了</p>
<p>這部份導致移轉過去proxmox 後會出現raid degrade 導致無法正常開機</p> <p>結果在安裝過程中做raid碰到一些問題來紀錄一下</p>
<p></p> <p></p>
<a href="/post/incredibly-slow-mdadm-rebuild/" class="more"></a> <a href="/post/ubuntu-1804-install-root-on-raid/" class="more"></a>
</div> </div>
@ -683,7 +685,9 @@
<i class="fa fa-tags"></i> <i class="fa fa-tags"></i>
<div class="links"> <div class="links">
<a href="/tags/mdadm">mdadm</a> <a href="/tags/ubuntu">ubuntu</a>
<a href="/tags/raid">raid</a>
</div> </div>
</div> </div>
@ -699,25 +703,25 @@
<div class="article-wrapper u-cf"> <div class="article-wrapper u-cf">
<a class="bubble" href="/post/create-portable-vim-environment/"> <a class="bubble" href="/post/smartd-failed-to-start-in-freenas/">
<i class="fa fa-fw fa-pencil"></i> <i class="fa fa-fw fa-pencil"></i>
</a> </a>
<article class="default article"> <article class="default article">
<div class="featured-image"> <div class="featured-image">
<a href="/post/create-portable-vim-environment/"> <a href="/post/smartd-failed-to-start-in-freenas/">
<img src="/images/post-default-8.jpg" alt=""> <img src="/images/post-default-2.jpg" alt="">
</a> </a>
</div> </div>
<div class="content"> <div class="content">
<h3><a href="/post/create-portable-vim-environment/">[筆記] 建立一個帶著走的 VIM 環境 Creating portable Vim environment</a></h3> <h3><a href="/post/smartd-failed-to-start-in-freenas/">[筆記] Freenas Smartd 啟動失敗 Smartd Failed to Start in Freenas</a></h3>
<div class="meta"> <div class="meta">
<span class="date moment">2018-12-07</span> <span class="date moment">2018-12-13</span>
@ -737,18 +741,18 @@
</div> </div>
<p>因為工作的關係現在很多時間都花在VIM的操作上</p> <p>這兩天在弄兩台Freenas 準備當作Proxmox 的Storage &amp; Server Backup</p>
<p>所以之前花了滿多時間調整出一個適合自己的VIM環境</p> <p>因為伺服器的限制只能接六個SATA我接了六個2T的硬碟做raid10</p>
<p>原本的作法是把這個設定好的環境丟到自己建立的gitea 上面</p> <p>然後把Freenas 安裝在隨身碟上</p>
<p>然後每到一台新的機器就要去clone 下來</p> <p>不過會一直出現Smartd failed to start 的錯誤訊息</p>
<p></p> <p></p>
<a href="/post/create-portable-vim-environment/" class="more"></a> <a href="/post/smartd-failed-to-start-in-freenas/" class="more"></a>
</div> </div>
@ -762,7 +766,7 @@
<i class="fa fa-tags"></i> <i class="fa fa-tags"></i>
<div class="links"> <div class="links">
<a href="/tags/vim">vim</a> <a href="/tags/freenas">freenas</a>
</div> </div>
</div> </div>
@ -778,25 +782,25 @@
<div class="article-wrapper u-cf"> <div class="article-wrapper u-cf">
<a class="bubble" href="/post/synology-ds415-repair-cost/"> <a class="bubble" href="/post/incredibly-slow-mdadm-rebuild/">
<i class="fa fa-fw fa-pencil"></i> <i class="fa fa-fw fa-pencil"></i>
</a> </a>
<article class="default article"> <article class="default article">
<div class="featured-image"> <div class="featured-image">
<a href="/post/synology-ds415-repair-cost/"> <a href="/post/incredibly-slow-mdadm-rebuild/">
<img src="/images/post-default-11.jpg" alt=""> <img src="/images/post-default-1.jpg" alt="">
</a> </a>
</div> </div>
<div class="content"> <div class="content">
<h3><a href="/post/synology-ds415-repair-cost/">[雜念] 群暉 Synology NAS DS 415&#43; 誇張的維修費用</a></h3> <h3><a href="/post/incredibly-slow-mdadm-rebuild/">[碎念] mdadm 超級慢的rebuild 速度 Incredibly Slow mdadm Rebuild</a></h3>
<div class="meta"> <div class="meta">
<span class="date moment">2018-12-04</span> <span class="date moment">2018-12-12</span>
@ -805,7 +809,7 @@
<span class="categories"> <span class="categories">
<a href="/categories/%E7%BE%A4%E6%9A%89">群暉</a> <a href="/categories/%E7%A2%8E%E5%BF%B5">碎念</a>
</span> </span>
@ -816,26 +820,20 @@
</div> </div>
<p>前幾天公司的一台 Synology DS 415+ 發生異常</p> <p>最近在做一台老機器的P2V</p>
<p>注意到的時候,四顆硬碟燈號都不斷的在閃爍</p>
<p>但是已經無法登入系統</p>
<p>重開機之後更慘,四顆硬碟燈號全部橘燈恆亮</p>
<p>底下的電源藍燈不斷的在閃爍</p> <p>偏偏user說不能關機所以我用dd + ssh 做線上移轉</p>
<p>雖然我一再表示不希望送修了</p> <p>這部份有空再來寫</p>
<p>一來是已經過保二來是DS415+ 本身就有intel bug三來是因為對synology的NAS 實在沒有愛&hellip;</p> <p>只是因為原來的設定有用mdadm 做raid1</p>
<p>不過主管還是希望能夠先問群暉維修的費用多少</p> <p>這部份導致移轉過去proxmox 後會出現raid degrade 導致無法正常開機</p>
<p></p> <p></p>
<a href="/post/synology-ds415-repair-cost/" class="more"></a> <a href="/post/incredibly-slow-mdadm-rebuild/" class="more"></a>
</div> </div>
@ -849,11 +847,7 @@
<i class="fa fa-tags"></i> <i class="fa fa-tags"></i>
<div class="links"> <div class="links">
<a href="/tags/nas">NAS</a> <a href="/tags/mdadm">mdadm</a>
<a href="/tags/%E7%BE%A4%E6%9A%89">群暉</a>
<a href="/tags/synology">synology</a>
</div> </div>
</div> </div>
@ -891,31 +885,31 @@
<ul> <ul>
<li> <li>
<a href="/post/fix-zpool-device-busy-using-dmsetup/">[筆記] 解決無法建立zpool 的錯誤 / Fix Zpool Device Busy Using dmsetup</a> <a href="/post/inx-collect-detail-hardware-info/">[筆記] inxi 蒐集詳盡的硬體資訊 / inxi Collect Detail Hardware Info</a>
</li> </li>
<li> <li>
<a href="/post/transfer-cent62-using-rsync/">[筆記] 用rsync 移轉 centos 6.2的老機器 Transfer Cent6.2 using rsync</a> <a href="/post/log-all-bash-commands/">[筆記] 紀錄所有下過的指令、時間 / Log All commands with timestamp</a>
</li> </li>
<li> <li>
<a href="/post/command_to_test_main_ssl/">[筆記] 測試mail server 的SSL憑證的指令 Command to test mailserver SSL</a> <a href="/post/fix-zpool-device-busy-using-dmsetup/">[筆記] 解決無法建立zpool 的錯誤 / Fix Zpool Device Busy Using dmsetup</a>
</li> </li>
<li> <li>
<a href="/post/install-timeshift-on-ubuntu1804/">Install Timeshift on Ubuntu1804</a> <a href="/post/transfer-cent62-using-rsync/">[筆記] 用rsync 移轉 centos 6.2的老機器 Transfer Cent6.2 using rsync</a>
</li> </li>
<li> <li>
<a href="/post/install-ubuntu1804-on-dell-6ir-raid-controller/">用DELL 6 i/R 建立RAID並在上面安裝ubuntu 18.04 </a> <a href="/post/command_to_test_main_ssl/">[筆記] 測試mail server 的SSL憑證的指令 Command to test mailserver SSL</a>
</li> </li>
<li> <li>
<a href="/post/ubuntu-1804-install-root-on-raid/">Ubuntu 1804 Install Root on Raid</a> <a href="/post/install-timeshift-on-ubuntu1804/">Install Timeshift on Ubuntu1804</a>
</li> </li>
<li> <li>
<a href="/post/smartd-failed-to-start-in-freenas/">[筆記] Freenas Smartd 啟動失敗 Smartd Failed to Start in Freenas</a> <a href="/post/install-ubuntu1804-on-dell-6ir-raid-controller/">用DELL 6 i/R 建立RAID並在上面安裝ubuntu 18.04 </a>
</li> </li>
</ul> </ul>
@ -928,7 +922,7 @@
<ul> <ul>
<li> <li>
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (16)</a> <a href="/categories/%E7%AD%86%E8%A8%98">筆記 (18)</a>
</li> </li>
<li> <li>

@ -5,11 +5,47 @@
<link>https://h.cowbay.org/post/</link> <link>https://h.cowbay.org/post/</link>
<description>Recent content in Posts on MCの飄狂山莊㊣</description> <description>Recent content in Posts on MCの飄狂山莊㊣</description>
<generator>Hugo -- gohugo.io</generator> <generator>Hugo -- gohugo.io</generator>
<lastBuildDate>Mon, 01 Apr 2019 15:56:27 +0800</lastBuildDate> <lastBuildDate>Tue, 23 Apr 2019 15:28:56 +0800</lastBuildDate>
<atom:link href="https://h.cowbay.org/post/index.xml" rel="self" type="application/rss+xml" /> <atom:link href="https://h.cowbay.org/post/index.xml" rel="self" type="application/rss+xml" />
<item>
<title>[筆記] inxi 蒐集詳盡的硬體資訊 / inxi Collect Detail Hardware Info</title>
<link>https://h.cowbay.org/post/inx-collect-detail-hardware-info/</link>
<pubDate>Tue, 23 Apr 2019 15:28:56 +0800</pubDate>
<guid>https://h.cowbay.org/post/inx-collect-detail-hardware-info/</guid>
<description>&lt;p&gt;最近因為一直碰到硬碟故障的問題算起來那一批同時購買的5X顆 seagate 2T硬碟已經有一半以上故障返修了&amp;hellip;.&lt;/p&gt;
&lt;p&gt;然後又因為一直沒有添購新的硬碟,只能用這些快過保/已過保的撐著&lt;/p&gt;
&lt;p&gt;所以最近不斷的在更換機器內的硬碟,而且還沒有熱插拔!&lt;/p&gt;
&lt;p&gt;也導致原本負責處理盤點資產的同事困擾,因為跟手邊的紀錄已經對不起來了&lt;/p&gt;
&lt;p&gt;然後就變成要對資產的時候,需要一台一台登入,然後去下不同的指令,取得想要的硬體資訊,超級麻煩的!&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;</description>
</item>
<item>
<title>[筆記] 紀錄所有下過的指令、時間 / Log All commands with timestamp</title>
<link>https://h.cowbay.org/post/log-all-bash-commands/</link>
<pubDate>Tue, 23 Apr 2019 15:08:36 +0800</pubDate>
<guid>https://h.cowbay.org/post/log-all-bash-commands/</guid>
<description>&lt;p&gt;今天發生一件有點詭異的事情,本來應該要經過某個指令才會產生的檔案&lt;/p&gt;
&lt;p&gt;居然不知為何自己產生了,在我記憶中沒有去執行過那個指令&lt;/p&gt;
&lt;p&gt;翻了一下 bash_history ,裡面也只有下過哪些指令,沒有紀錄時間,完全沒有參考價值(攤手)&lt;/p&gt;
&lt;p&gt;所以翻了一下網路至少把這兩台主要跑ansible的機器的log功能補上紀錄所有指令以及時間的部份&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;</description>
</item>
<item> <item>
<title>[筆記] 解決無法建立zpool 的錯誤 / Fix Zpool Device Busy Using dmsetup</title> <title>[筆記] 解決無法建立zpool 的錯誤 / Fix Zpool Device Busy Using dmsetup</title>
<link>https://h.cowbay.org/post/fix-zpool-device-busy-using-dmsetup/</link> <link>https://h.cowbay.org/post/fix-zpool-device-busy-using-dmsetup/</link>

@ -775,31 +775,31 @@ sudo apt install joe-jupp
<ul> <ul>
<li> <li>
<a href="/post/fix-zpool-device-busy-using-dmsetup/">[筆記] 解決無法建立zpool 的錯誤 / Fix Zpool Device Busy Using dmsetup</a> <a href="/post/inx-collect-detail-hardware-info/">[筆記] inxi 蒐集詳盡的硬體資訊 / inxi Collect Detail Hardware Info</a>
</li> </li>
<li> <li>
<a href="/post/transfer-cent62-using-rsync/">[筆記] 用rsync 移轉 centos 6.2的老機器 Transfer Cent6.2 using rsync</a> <a href="/post/log-all-bash-commands/">[筆記] 紀錄所有下過的指令、時間 / Log All commands with timestamp</a>
</li> </li>
<li> <li>
<a href="/post/command_to_test_main_ssl/">[筆記] 測試mail server 的SSL憑證的指令 Command to test mailserver SSL</a> <a href="/post/fix-zpool-device-busy-using-dmsetup/">[筆記] 解決無法建立zpool 的錯誤 / Fix Zpool Device Busy Using dmsetup</a>
</li> </li>
<li> <li>
<a href="/post/install-timeshift-on-ubuntu1804/">Install Timeshift on Ubuntu1804</a> <a href="/post/transfer-cent62-using-rsync/">[筆記] 用rsync 移轉 centos 6.2的老機器 Transfer Cent6.2 using rsync</a>
</li> </li>
<li> <li>
<a href="/post/install-ubuntu1804-on-dell-6ir-raid-controller/">用DELL 6 i/R 建立RAID並在上面安裝ubuntu 18.04 </a> <a href="/post/command_to_test_main_ssl/">[筆記] 測試mail server 的SSL憑證的指令 Command to test mailserver SSL</a>
</li> </li>
<li> <li>
<a href="/post/ubuntu-1804-install-root-on-raid/">Ubuntu 1804 Install Root on Raid</a> <a href="/post/install-timeshift-on-ubuntu1804/">Install Timeshift on Ubuntu1804</a>
</li> </li>
<li> <li>
<a href="/post/smartd-failed-to-start-in-freenas/">[筆記] Freenas Smartd 啟動失敗 Smartd Failed to Start in Freenas</a> <a href="/post/install-ubuntu1804-on-dell-6ir-raid-controller/">用DELL 6 i/R 建立RAID並在上面安裝ubuntu 18.04 </a>
</li> </li>
</ul> </ul>
@ -812,7 +812,7 @@ sudo apt install joe-jupp
<ul> <ul>
<li> <li>
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (16)</a> <a href="/categories/%E7%AD%86%E8%A8%98">筆記 (18)</a>
</li> </li>
<li> <li>

@ -235,31 +235,31 @@ GRUB_CMDLINE_LINUX=&quot;rootdelay=90&quot;
<ul> <ul>
<li> <li>
<a href="/post/fix-zpool-device-busy-using-dmsetup/">[筆記] 解決無法建立zpool 的錯誤 / Fix Zpool Device Busy Using dmsetup</a> <a href="/post/inx-collect-detail-hardware-info/">[筆記] inxi 蒐集詳盡的硬體資訊 / inxi Collect Detail Hardware Info</a>
</li> </li>
<li> <li>
<a href="/post/transfer-cent62-using-rsync/">[筆記] 用rsync 移轉 centos 6.2的老機器 Transfer Cent6.2 using rsync</a> <a href="/post/log-all-bash-commands/">[筆記] 紀錄所有下過的指令、時間 / Log All commands with timestamp</a>
</li> </li>
<li> <li>
<a href="/post/command_to_test_main_ssl/">[筆記] 測試mail server 的SSL憑證的指令 Command to test mailserver SSL</a> <a href="/post/fix-zpool-device-busy-using-dmsetup/">[筆記] 解決無法建立zpool 的錯誤 / Fix Zpool Device Busy Using dmsetup</a>
</li> </li>
<li> <li>
<a href="/post/install-timeshift-on-ubuntu1804/">Install Timeshift on Ubuntu1804</a> <a href="/post/transfer-cent62-using-rsync/">[筆記] 用rsync 移轉 centos 6.2的老機器 Transfer Cent6.2 using rsync</a>
</li> </li>
<li> <li>
<a href="/post/install-ubuntu1804-on-dell-6ir-raid-controller/">用DELL 6 i/R 建立RAID並在上面安裝ubuntu 18.04 </a> <a href="/post/command_to_test_main_ssl/">[筆記] 測試mail server 的SSL憑證的指令 Command to test mailserver SSL</a>
</li> </li>
<li> <li>
<a href="/post/ubuntu-1804-install-root-on-raid/">Ubuntu 1804 Install Root on Raid</a> <a href="/post/install-timeshift-on-ubuntu1804/">Install Timeshift on Ubuntu1804</a>
</li> </li>
<li> <li>
<a href="/post/smartd-failed-to-start-in-freenas/">[筆記] Freenas Smartd 啟動失敗 Smartd Failed to Start in Freenas</a> <a href="/post/install-ubuntu1804-on-dell-6ir-raid-controller/">用DELL 6 i/R 建立RAID並在上面安裝ubuntu 18.04 </a>
</li> </li>
</ul> </ul>
@ -272,7 +272,7 @@ GRUB_CMDLINE_LINUX=&quot;rootdelay=90&quot;
<ul> <ul>
<li> <li>
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (16)</a> <a href="/categories/%E7%AD%86%E8%A8%98">筆記 (18)</a>
</li> </li>
<li> <li>

@ -0,0 +1,515 @@
<!doctype html>
<html class="no-js" lang="tw">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="author" content="Eric Chang">
<meta name="description" content="Whats the Worst That Could Happen?">
<meta name="keywords" content="linux,blog,responsive,search,font awesome,pages,posts,multilingual,highlight.js,syntax highlighting,premium,shortcuts">
<meta name="generator" content="Hugo 0.50" />
<title> [筆記] inxi 蒐集詳盡的硬體資訊 / inxi Collect Detail Hardware Info | MCの飄狂山莊㊣</title>
<meta name="description" content="[筆記] inxi 蒐集詳盡的硬體資訊 / inxi Collect Detail Hardware Info - Whats the Worst That Could Happen?">
<meta itemprop="name" content="[筆記] inxi 蒐集詳盡的硬體資訊 / inxi Collect Detail Hardware Info">
<meta itemprop="description" content="[筆記] inxi 蒐集詳盡的硬體資訊 / inxi Collect Detail Hardware Info - Whats the Worst That Could Happen?">
<meta property="og:title" content="[筆記] inxi 蒐集詳盡的硬體資訊 / inxi Collect Detail Hardware Info">
<meta property="og:description" content="[筆記] inxi 蒐集詳盡的硬體資訊 / inxi Collect Detail Hardware Info - Whats the Worst That Could Happen?">
<meta property="og:image" content="https://h.cowbay.org/images/post-default-10.jpg">
<meta property="og:url" content="https://h.cowbay.org/post/inx-collect-detail-hardware-info/">
<meta property="og:site_name" content="MCの飄狂山莊㊣">
<meta property="og:type" content="article">
<link rel="icon" type="image/png" href="https://h.cowbay.org/favicon-32x32.png" sizes="32x32">
<link rel="icon" type="image/png" href="https://h.cowbay.org/favicon-16x16.png" sizes="16x16">
<link rel="stylesheet" href="https://h.cowbay.org/sass/combined.min.717098cb5503581e75f12e486a847ca410bf8367d4d8713f4c37affc868c5a1d.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
</head>
<body class="bilberry-hugo-theme">
<nav class="permanentTopNav">
<div class="container">
<ul class="topnav">
</ul>
<div id="search-box" class="search">
<i class="fa fa-search"></i>
<input id="search" type="text" placeholder="">
</div>
</div>
</nav>
<header>
<div class="container">
<div class="logo">
<a href="/" class="logo">
<img src="https://www.gravatar.com/avatar/e4eb1f8e016ffb73e9889f87d16e15f0?d=mm&size=200" alt="">
<span class="overlay"><i class="fa fa-home"></i></span>
</a>
</div>
<div class="titles">
<h3 class="title"><a href="/">MCの飄狂山莊㊣</a></h3>
<span class="subtitle">Whats the Worst That Could Happen?</span>
</div>
<div class="toggler permanentTopNav">
<i class="fa fa-bars" aria-hidden="true"></i>
</div>
</div>
</header>
<div class="main container">
<div class="article-wrapper u-cf single">
<a class="bubble" href="/post/inx-collect-detail-hardware-info/">
<i class="fa fa-fw fa-pencil"></i>
</a>
<article class="default article">
<div class="featured-image">
<a href="/post/inx-collect-detail-hardware-info/">
<img src="/images/post-default-10.jpg" alt="">
</a>
</div>
<div class="content">
<h3><a href="/post/inx-collect-detail-hardware-info/">[筆記] inxi 蒐集詳盡的硬體資訊 / inxi Collect Detail Hardware Info</a></h3>
<div class="meta">
<span class="date moment">2019-04-23</span>
<span class="categories">
<a href="/categories/%E7%AD%86%E8%A8%98">筆記</a>
</span>
<span class="author"><a href="/author/eric-chang">Eric Chang</a></span>
</div>
<p>最近因為一直碰到硬碟故障的問題算起來那一批同時購買的5X顆 seagate 2T硬碟已經有一半以上故障返修了&hellip;.</p>
<p>然後又因為一直沒有添購新的硬碟,只能用這些快過保/已過保的撐著</p>
<p>所以最近不斷的在更換機器內的硬碟,而且還沒有熱插拔!</p>
<p>也導致原本負責處理盤點資產的同事困擾,因為跟手邊的紀錄已經對不起來了</p>
<p>然後就變成要對資產的時候,需要一台一台登入,然後去下不同的指令,取得想要的硬體資訊,超級麻煩的!</p>
<p></p>
<p>幾次之後終於決定透過ansible來做這件事</p>
<p>一開始的想法很簡單,就用 lshw/dmidecode這些指令去做</p>
<p>可是因為手邊的機器有ubuntu 18.04/16.04/14.04 , Debian 9 , Proxmox (based on debian ) , CentOS , FreeNAS</p>
<p>而有些系統預設沒有 lshw / dmidecode (對FreeNAS 就是說你)</p>
<p>所以變成要依照系統不同去下不同的指令雖然都是ansible在跑但是看到playbook的內容就很煩啊</p>
<p>然後就不小心讓我翻到了 inxi 這個指令,根本就是救星啊!</p>
<p>直接來看輸出的範例</p>
<p><img src="http://i.imgur.com/OSx9cnz.png" alt="sample of inxi output" /></p>
<p>有沒有,是不是很優!</p>
<p>而且簡單易懂,還能抓到同事想看的資料,像是廠牌、型號、序號、記憶體類型(DDR2/3/4)</p>
<p>所以馬上捨棄 lshw/dmidecode ,改用 inxi 來跑</p>
<p>ansible role 的內容也很簡單</p>
<p>就偵測完之後,把結果送出給設定好的收件人</p>
<p>只是因為系統不同,大致上要分成 ubuntu/debian/centos 以及 freebsd 兩種</p>
<p>所以同樣的task 要跑兩次一個要帶sudo 一個不用帶</p>
<p>然後BSD系列的機器在inventory 裡面要帶入 ansible_ssh_user</p>
<p>就這樣,沒有什麼太困難的</p>
<pre><code class="language-YAML">######### use inxi instead ##################
- name: copy inxi binary to remote Ubnutu/Debian
become: yes
become_method: sudo
copy:
src: inxi
dest: /usr/local/bin/inxi
mode: a+rx,u+rwx
when: ansible_distribution == &quot;Ubuntu&quot; or ansible_distribution == &quot;Debian&quot; or ansible_distribution == &quot;CentOS&quot;
- name: copy inxi binary to remote FreeBSD
copy:
src: inxi
dest: /usr/local/bin/inxi
mode: a+rx,u+rwx
when: ansible_distribution == &quot;FreeBSD&quot;
- name: run inxi to collect Ubuntu/Debian hardware info
become: yes
become_method: sudo
shell: &quot;/usr/local/bin/inxi -c -Dxx -C -m -Z&quot;
register: du_hw_info
when: ansible_distribution == &quot;Ubuntu&quot; or ansible_distribution == &quot;Debian&quot; or ansible_distribution == &quot;CentOS&quot;
- name: run inxi to collect FreeBSD hardware info
shell: &quot;/usr/local/bin/inxi -c -Dxx -C -m -Z&quot;
register: bsd_hw_info
when: ansible_distribution == &quot;FreeBSD&quot;
- name: set Ubuntu/Debian inventory file
template:
src: etc/inventory.txt.j2
dest: &quot;/tmp/{{ ansible_hostname }}_inventory.txt&quot;
mode: a+r,u+rw
when: ansible_distribution == &quot;Ubuntu&quot; or ansible_distribution == &quot;Debian&quot; or ansible_distribution == &quot;CentOS&quot;
- name: set FreeBSD inventory file
template:
src: etc/freenas_inventory.txt.j2
dest: &quot;/tmp/{{ ansible_hostname }}_inventory.txt&quot;
mode: a+r,u+rw
when: ansible_distribution == &quot;FreeBSD&quot;
- name: send inventory file via mail
tags: mail
mail:
host: 192.168.11.173
port: 25
secure: starttls
subject: &quot;{{ ansible_hostname }} inventory file&quot;
from: ansible
to: &quot;{{ recipient }}&quot;
#body: &quot;{{ mail_body.stdout_lines }}&quot;
attach: &quot;/tmp/{{ ansible_hostname }}_inventory.txt&quot;
</code></pre>
<p>inventory 內容</p>
<pre><code>hqs01.abc.com ansible_ssh_host=192.168.11.1
hqs210.abc.com
hqs230.abc.com
hqs231.abc.com
hqs234.abc.com
hqs03.abc.com
hqs020.abc.com
hqs019.abc.com
hqs010.abc.com
hqs05.abc.com
hqs173.abc.com
###BSD Hosts ###
hqs099.abc.com ansible_ssh_host=192.168.11.99 ansible_ssh_port=22 ansible_ssh_user=root
hqs202.abc.com ansible_ssh_host=192.168.11.202 ansible_ssh_port=22 ansible_ssh_user=root
bbs089.abc.com ansible_ssh_host=192.168.0.89 ansible_ssh_user=root
</code></pre>
<p>ansible 又發揮了一次,另外,感覺這個指令可以用來寫資產管理系統耶&hellip;威力強大</p>
<p>而且又不用管作業系統是什麼,反正有執行檔,直接派過去 remote 端就好了!</p>
<p>真是讓我相見恨晚啊!</p>
</div>
<div class="footer">
<div class="tags">
<i class="fa fa-tags"></i>
<div class="links">
<a href="/tags/linux">linux</a>
<a href="/tags/bsd">bsd</a>
<a href="/tags/inventory">inventory</a>
</div>
</div>
</div>
</article>
</div>
<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>
</div>
<footer>
<div class="container">
<div class="recent-posts">
<strong></strong>
<ul>
<li>
<a href="/post/inx-collect-detail-hardware-info/">[筆記] inxi 蒐集詳盡的硬體資訊 / inxi Collect Detail Hardware Info</a>
</li>
<li>
<a href="/post/log-all-bash-commands/">[筆記] 紀錄所有下過的指令、時間 / Log All commands with timestamp</a>
</li>
<li>
<a href="/post/fix-zpool-device-busy-using-dmsetup/">[筆記] 解決無法建立zpool 的錯誤 / Fix Zpool Device Busy Using dmsetup</a>
</li>
<li>
<a href="/post/transfer-cent62-using-rsync/">[筆記] 用rsync 移轉 centos 6.2的老機器 Transfer Cent6.2 using rsync</a>
</li>
<li>
<a href="/post/command_to_test_main_ssl/">[筆記] 測試mail server 的SSL憑證的指令 Command to test mailserver SSL</a>
</li>
<li>
<a href="/post/install-timeshift-on-ubuntu1804/">Install Timeshift on Ubuntu1804</a>
</li>
<li>
<a href="/post/install-ubuntu1804-on-dell-6ir-raid-controller/">用DELL 6 i/R 建立RAID並在上面安裝ubuntu 18.04 </a>
</li>
</ul>
</div>
<div class="categories">
<a href="/categories/"><strong></strong></a>
<ul>
<li>
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (18)</a>
</li>
<li>
<a href="/categories/ps">Ps (1)</a>
</li>
<li>
<a href="/categories/%E7%A2%8E%E5%BF%B5">碎念 (1)</a>
</li>
<li>
<a href="/categories/%E7%BE%A4%E6%9A%89">群暉 (1)</a>
</li>
</ul>
</div>
<div class="right">
<div class="external-profiles">
<strong></strong>
<a href="https://www.facebook.com/mariahchang" target="_blank"><i class="fa fa-facebook-adblock-proof"></i></a>
<a href="https://twitter.com/changchichung" target="_blank"><i class="fa fa-twitter-adblock-proof"></i></a>
<a href="https://github.com/changchichung" target="_blank"><i class="fa fa-github"></i></a>
</div>
</div>
</div>
</footer>
<div class="credits">
<div class="container">
<div class="copyright">
<a href="https://github.com/Lednerb" target="_blank">
&copy;
2017
by Lednerb
</a>
</div>
<div class="author">
<a href="https://github.com/Lednerb/bilberry-hugo-theme" target="_blank">Bilberry Hugo Theme</a>
</div>
</div>
</div>
<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-128770427-1', 'auto');
ga('send', 'pageview');
}
</script>
<script async src='https://www.google-analytics.com/analytics.js'></script>
<script type="text/javascript" src="https://h.cowbay.org/js/externalDependencies.39c47e10e241eae2947b3fe21809c572.js" integrity="md5-OcR&#43;EOJB6uKUez/iGAnFcg=="></script>
<script type="text/javascript" src="https://h.cowbay.org/js/theme.ff50ae6dc1bfc220b23bf69dbb41b54e.js" integrity="md5-/1CubcG/wiCyO/adu0G1Tg=="></script>
<script>
$(".moment").each(function() {
$(this).text(
moment( $(this).text() )
.locale( "tw" )
.format('LL')
);
});
$(".footnote-return sup").html("");
</script>
<script>
var client = algoliasearch("2XL0P8XDCY", "4ef65b37b627bb886b46c34a10e63aa6");
var index = client.initIndex("h_cowbay_org");
$('#search').autocomplete({ hint: false, autoselect: true, debug: false },
[
{
source: $.fn.autocomplete.sources.hits(index, { hitsPerPage: 10 }),
displayKey: function(suggestion) {
return suggestion.title || suggestion.author
},
templates: {
suggestion: function(suggestion) {
return "<span class='entry " + suggestion.type + "'>"
+ "<span class='title'>" + suggestion.title + "</span>"
+ "<span class='fa fa-fw " + suggestion.iconClass + "'></span>"
+ "</span>"
;
},
empty: function() {
return "<span class='empty'></span>"
},
footer: function() {
return '<div class="branding">Powered by <img src="https:\/\/h.cowbay.org\/dist\/algolia-logo-light.svg" /></div>'
}
},
}
])
.on('autocomplete:selected', function(event, suggestion, dataset) {
window.location = (suggestion.url);
})
.keypress(function (event, suggestion) {
if (event.which == 13) {
window.location = (suggestion.url);
}
});
</script>
</body>
</html>

@ -0,0 +1,448 @@
<!doctype html>
<html class="no-js" lang="tw">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="author" content="Eric Chang">
<meta name="description" content="Whats the Worst That Could Happen?">
<meta name="keywords" content="linux,blog,responsive,search,font awesome,pages,posts,multilingual,highlight.js,syntax highlighting,premium,shortcuts">
<meta name="generator" content="Hugo 0.50" />
<title> [筆記] 紀錄所有下過的指令、時間 / Log All commands with timestamp | MCの飄狂山莊㊣</title>
<meta name="description" content="[筆記] 紀錄所有下過的指令、時間 / Log All commands with timestamp - Whats the Worst That Could Happen?">
<meta itemprop="name" content="[筆記] 紀錄所有下過的指令、時間 / Log All commands with timestamp">
<meta itemprop="description" content="[筆記] 紀錄所有下過的指令、時間 / Log All commands with timestamp - Whats the Worst That Could Happen?">
<meta property="og:title" content="[筆記] 紀錄所有下過的指令、時間 / Log All commands with timestamp">
<meta property="og:description" content="[筆記] 紀錄所有下過的指令、時間 / Log All commands with timestamp - Whats the Worst That Could Happen?">
<meta property="og:image" content="https://h.cowbay.org/images/post-default-11.jpg">
<meta property="og:url" content="https://h.cowbay.org/post/log-all-bash-commands/">
<meta property="og:site_name" content="MCの飄狂山莊㊣">
<meta property="og:type" content="article">
<link rel="icon" type="image/png" href="https://h.cowbay.org/favicon-32x32.png" sizes="32x32">
<link rel="icon" type="image/png" href="https://h.cowbay.org/favicon-16x16.png" sizes="16x16">
<link rel="stylesheet" href="https://h.cowbay.org/sass/combined.min.717098cb5503581e75f12e486a847ca410bf8367d4d8713f4c37affc868c5a1d.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
</head>
<body class="bilberry-hugo-theme">
<nav class="permanentTopNav">
<div class="container">
<ul class="topnav">
</ul>
<div id="search-box" class="search">
<i class="fa fa-search"></i>
<input id="search" type="text" placeholder="">
</div>
</div>
</nav>
<header>
<div class="container">
<div class="logo">
<a href="/" class="logo">
<img src="https://www.gravatar.com/avatar/e4eb1f8e016ffb73e9889f87d16e15f0?d=mm&size=200" alt="">
<span class="overlay"><i class="fa fa-home"></i></span>
</a>
</div>
<div class="titles">
<h3 class="title"><a href="/">MCの飄狂山莊㊣</a></h3>
<span class="subtitle">Whats the Worst That Could Happen?</span>
</div>
<div class="toggler permanentTopNav">
<i class="fa fa-bars" aria-hidden="true"></i>
</div>
</div>
</header>
<div class="main container">
<div class="article-wrapper u-cf single">
<a class="bubble" href="/post/log-all-bash-commands/">
<i class="fa fa-fw fa-pencil"></i>
</a>
<article class="default article">
<div class="featured-image">
<a href="/post/log-all-bash-commands/">
<img src="/images/post-default-11.jpg" alt="">
</a>
</div>
<div class="content">
<h3><a href="/post/log-all-bash-commands/">[筆記] 紀錄所有下過的指令、時間 / Log All commands with timestamp</a></h3>
<div class="meta">
<span class="date moment">2019-04-23</span>
<span class="categories">
<a href="/categories/%E7%AD%86%E8%A8%98">筆記</a>
</span>
<span class="author"><a href="/author/eric-chang">Eric Chang</a></span>
</div>
<p>今天發生一件有點詭異的事情,本來應該要經過某個指令才會產生的檔案</p>
<p>居然不知為何自己產生了,在我記憶中沒有去執行過那個指令</p>
<p>翻了一下 bash_history ,裡面也只有下過哪些指令,沒有紀錄時間,完全沒有參考價值(攤手)</p>
<p>所以翻了一下網路至少把這兩台主要跑ansible的機器的log功能補上紀錄所有指令以及時間的部份</p>
<p></p>
<p>參考這個網頁
<img src="https://askubuntu.com/questions/93566/how-to-log-all-bash-commands-by-all-users-on-a-server" alt="https://askubuntu.com/questions/93566/how-to-log-all-bash-commands-by-all-users-on-a-server" /></p>
<p>我沒有打算要紀錄「所有」使用者的指令,只要看有權力執行重要指令的帳號就好</p>
<p>所以先用minion(管理用的帳戶)登入後</p>
<p>先編輯 ~/.bashrc
加入</p>
<pre><code>export PROMPT_COMMAND='RETRN_VAL=$?;logger -p local6.debug &quot;$(whoami) [$$]: $(history 1 | sed &quot;s/^[ ]*[0-9]\+[ ]*//&quot; ) [$RETRN_VAL]&quot;'
</code></pre>
<p>因為這邊用到syslog 的 local6所以要跟著修改 syslog的設定</p>
<pre><code>sudo vim /etc/rsyslog.d/bash.conf
加入這行
local6.* /var/log/commands.log
接著設定讓/var/log/commands.log 也能夠自動輪替
sudo vim /etc/logrotate.d/rsyslog
在適當的位置 加入 /var/log/commands.log
然後重起 rsyslog
sudo service rsyslog restart
</code></pre>
<p>用 minion 登出登入後,就可以看到所有指令都被完整的紀錄下來了</p>
<pre><code>sudo cat /var/log/commands.log
2019-04-23 15:18:48 [minion@hqs010 ~]$ sudo cat /var/log/commands.log
Apr 23 15:06:51 hqs010 minion: minion [30832]: [0]
Apr 23 15:06:53 hqs010 minion: minion [30832]: ls -lart [0]
Apr 23 15:06:55 hqs010 minion: minion [30832]: ls -alrt /tmp/ [0]
Apr 23 15:06:58 hqs010 minion: minion [30832]: ls -lart /var/log/ [0]
Apr 23 15:07:07 hqs010 minion: minion [30832]: sudo cat /var/log/commands.log [0]
Apr 23 15:07:13 hqs010 minion: minion [30832]: ls -lart /tmp/ [0]
Apr 23 15:07:18 hqs010 minion: minion [30832]: cat /tmp/hqs010_inventory.txt [0]
Apr 23 15:07:22 hqs010 minion: minion [30832]: cd [0]
Apr 23 15:07:22 hqs010 minion: minion [30832]: ls [0]
Apr 23 15:07:24 hqs010 minion: minion [30832]: ls -lart [0]
Apr 23 15:07:28 hqs010 minion: minion [30832]: ls .inxi/ [0]
Apr 23 15:07:35 hqs010 minion: minion [30832]: clear [0]
Apr 23 15:18:48 hqs010 minion: minion [30832]: ip addr [0]
2019-04-23 15:18:55 [minion@hqs010 ~]$
</code></pre>
<p>裡面應該會看到滿滿的 cd / ls / cat 吧 XD</p>
</div>
<div class="footer">
<div class="tags">
<i class="fa fa-tags"></i>
<div class="links">
<a href="/tags/log">log</a>
</div>
</div>
</div>
</article>
</div>
<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>
</div>
<footer>
<div class="container">
<div class="recent-posts">
<strong></strong>
<ul>
<li>
<a href="/post/inx-collect-detail-hardware-info/">[筆記] inxi 蒐集詳盡的硬體資訊 / inxi Collect Detail Hardware Info</a>
</li>
<li>
<a href="/post/log-all-bash-commands/">[筆記] 紀錄所有下過的指令、時間 / Log All commands with timestamp</a>
</li>
<li>
<a href="/post/fix-zpool-device-busy-using-dmsetup/">[筆記] 解決無法建立zpool 的錯誤 / Fix Zpool Device Busy Using dmsetup</a>
</li>
<li>
<a href="/post/transfer-cent62-using-rsync/">[筆記] 用rsync 移轉 centos 6.2的老機器 Transfer Cent6.2 using rsync</a>
</li>
<li>
<a href="/post/command_to_test_main_ssl/">[筆記] 測試mail server 的SSL憑證的指令 Command to test mailserver SSL</a>
</li>
<li>
<a href="/post/install-timeshift-on-ubuntu1804/">Install Timeshift on Ubuntu1804</a>
</li>
<li>
<a href="/post/install-ubuntu1804-on-dell-6ir-raid-controller/">用DELL 6 i/R 建立RAID並在上面安裝ubuntu 18.04 </a>
</li>
</ul>
</div>
<div class="categories">
<a href="/categories/"><strong></strong></a>
<ul>
<li>
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (18)</a>
</li>
<li>
<a href="/categories/ps">Ps (1)</a>
</li>
<li>
<a href="/categories/%E7%A2%8E%E5%BF%B5">碎念 (1)</a>
</li>
<li>
<a href="/categories/%E7%BE%A4%E6%9A%89">群暉 (1)</a>
</li>
</ul>
</div>
<div class="right">
<div class="external-profiles">
<strong></strong>
<a href="https://www.facebook.com/mariahchang" target="_blank"><i class="fa fa-facebook-adblock-proof"></i></a>
<a href="https://twitter.com/changchichung" target="_blank"><i class="fa fa-twitter-adblock-proof"></i></a>
<a href="https://github.com/changchichung" target="_blank"><i class="fa fa-github"></i></a>
</div>
</div>
</div>
</footer>
<div class="credits">
<div class="container">
<div class="copyright">
<a href="https://github.com/Lednerb" target="_blank">
&copy;
2017
by Lednerb
</a>
</div>
<div class="author">
<a href="https://github.com/Lednerb/bilberry-hugo-theme" target="_blank">Bilberry Hugo Theme</a>
</div>
</div>
</div>
<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-128770427-1', 'auto');
ga('send', 'pageview');
}
</script>
<script async src='https://www.google-analytics.com/analytics.js'></script>
<script type="text/javascript" src="https://h.cowbay.org/js/externalDependencies.39c47e10e241eae2947b3fe21809c572.js" integrity="md5-OcR&#43;EOJB6uKUez/iGAnFcg=="></script>
<script type="text/javascript" src="https://h.cowbay.org/js/theme.ff50ae6dc1bfc220b23bf69dbb41b54e.js" integrity="md5-/1CubcG/wiCyO/adu0G1Tg=="></script>
<script>
$(".moment").each(function() {
$(this).text(
moment( $(this).text() )
.locale( "tw" )
.format('LL')
);
});
$(".footnote-return sup").html("");
</script>
<script>
var client = algoliasearch("2XL0P8XDCY", "4ef65b37b627bb886b46c34a10e63aa6");
var index = client.initIndex("h_cowbay_org");
$('#search').autocomplete({ hint: false, autoselect: true, debug: false },
[
{
source: $.fn.autocomplete.sources.hits(index, { hitsPerPage: 10 }),
displayKey: function(suggestion) {
return suggestion.title || suggestion.author
},
templates: {
suggestion: function(suggestion) {
return "<span class='entry " + suggestion.type + "'>"
+ "<span class='title'>" + suggestion.title + "</span>"
+ "<span class='fa fa-fw " + suggestion.iconClass + "'></span>"
+ "</span>"
;
},
empty: function() {
return "<span class='empty'></span>"
},
footer: function() {
return '<div class="branding">Powered by <img src="https:\/\/h.cowbay.org\/dist\/algolia-logo-light.svg" /></div>'
}
},
}
])
.on('autocomplete:selected', function(event, suggestion, dataset) {
window.location = (suggestion.url);
})
.keypress(function (event, suggestion) {
if (event.which == 13) {
window.location = (suggestion.url);
}
});
</script>
</body>
</html>

@ -252,31 +252,31 @@
<ul> <ul>
<li> <li>
<a href="/post/fix-zpool-device-busy-using-dmsetup/">[筆記] 解決無法建立zpool 的錯誤 / Fix Zpool Device Busy Using dmsetup</a> <a href="/post/inx-collect-detail-hardware-info/">[筆記] inxi 蒐集詳盡的硬體資訊 / inxi Collect Detail Hardware Info</a>
</li> </li>
<li> <li>
<a href="/post/transfer-cent62-using-rsync/">[筆記] 用rsync 移轉 centos 6.2的老機器 Transfer Cent6.2 using rsync</a> <a href="/post/log-all-bash-commands/">[筆記] 紀錄所有下過的指令、時間 / Log All commands with timestamp</a>
</li> </li>
<li> <li>
<a href="/post/command_to_test_main_ssl/">[筆記] 測試mail server 的SSL憑證的指令 Command to test mailserver SSL</a> <a href="/post/fix-zpool-device-busy-using-dmsetup/">[筆記] 解決無法建立zpool 的錯誤 / Fix Zpool Device Busy Using dmsetup</a>
</li> </li>
<li> <li>
<a href="/post/install-timeshift-on-ubuntu1804/">Install Timeshift on Ubuntu1804</a> <a href="/post/transfer-cent62-using-rsync/">[筆記] 用rsync 移轉 centos 6.2的老機器 Transfer Cent6.2 using rsync</a>
</li> </li>
<li> <li>
<a href="/post/install-ubuntu1804-on-dell-6ir-raid-controller/">用DELL 6 i/R 建立RAID並在上面安裝ubuntu 18.04 </a> <a href="/post/command_to_test_main_ssl/">[筆記] 測試mail server 的SSL憑證的指令 Command to test mailserver SSL</a>
</li> </li>
<li> <li>
<a href="/post/ubuntu-1804-install-root-on-raid/">Ubuntu 1804 Install Root on Raid</a> <a href="/post/install-timeshift-on-ubuntu1804/">Install Timeshift on Ubuntu1804</a>
</li> </li>
<li> <li>
<a href="/post/smartd-failed-to-start-in-freenas/">[筆記] Freenas Smartd 啟動失敗 Smartd Failed to Start in Freenas</a> <a href="/post/install-ubuntu1804-on-dell-6ir-raid-controller/">用DELL 6 i/R 建立RAID並在上面安裝ubuntu 18.04 </a>
</li> </li>
</ul> </ul>
@ -289,7 +289,7 @@
<ul> <ul>
<li> <li>
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (16)</a> <a href="/categories/%E7%AD%86%E8%A8%98">筆記 (18)</a>
</li> </li>
<li> <li>

@ -90,6 +90,176 @@
<div class="article-wrapper u-cf">
<a class="bubble" href="/post/create-portable-vim-environment/">
<i class="fa fa-fw fa-pencil"></i>
</a>
<article class="default article">
<div class="featured-image">
<a href="/post/create-portable-vim-environment/">
<img src="/images/post-default-8.jpg" alt="">
</a>
</div>
<div class="content">
<h3><a href="/post/create-portable-vim-environment/">[筆記] 建立一個帶著走的 VIM 環境 Creating portable Vim environment</a></h3>
<div class="meta">
<span class="date moment">2018-12-07</span>
<span class="categories">
<a href="/categories/%E7%AD%86%E8%A8%98">筆記</a>
</span>
<span class="author"><a href="/author/eric-chang">Eric Chang</a></span>
</div>
<p>因為工作的關係現在很多時間都花在VIM的操作上</p>
<p>所以之前花了滿多時間調整出一個適合自己的VIM環境</p>
<p>原本的作法是把這個設定好的環境丟到自己建立的gitea 上面</p>
<p>然後每到一台新的機器就要去clone 下來</p>
<p></p>
<a href="/post/create-portable-vim-environment/" class="more"></a>
</div>
<div class="footer">
<div class="tags">
<i class="fa fa-tags"></i>
<div class="links">
<a href="/tags/vim">vim</a>
</div>
</div>
</div>
</article>
</div>
<div class="article-wrapper u-cf">
<a class="bubble" href="/post/synology-ds415-repair-cost/">
<i class="fa fa-fw fa-pencil"></i>
</a>
<article class="default article">
<div class="featured-image">
<a href="/post/synology-ds415-repair-cost/">
<img src="/images/post-default-11.jpg" alt="">
</a>
</div>
<div class="content">
<h3><a href="/post/synology-ds415-repair-cost/">[雜念] 群暉 Synology NAS DS 415&#43; 誇張的維修費用</a></h3>
<div class="meta">
<span class="date moment">2018-12-04</span>
<span class="categories">
<a href="/categories/%E7%BE%A4%E6%9A%89">群暉</a>
</span>
<span class="author"><a href="/author/eric-chang">Eric Chang</a></span>
</div>
<p>前幾天公司的一台 Synology DS 415+ 發生異常</p>
<p>注意到的時候,四顆硬碟燈號都不斷的在閃爍</p>
<p>但是已經無法登入系統</p>
<p>重開機之後更慘,四顆硬碟燈號全部橘燈恆亮</p>
<p>底下的電源藍燈不斷的在閃爍</p>
<p>雖然我一再表示不希望送修了</p>
<p>一來是已經過保二來是DS415+ 本身就有intel bug三來是因為對synology的NAS 實在沒有愛&hellip;</p>
<p>不過主管還是希望能夠先問群暉維修的費用多少</p>
<p></p>
<a href="/post/synology-ds415-repair-cost/" class="more"></a>
</div>
<div class="footer">
<div class="tags">
<i class="fa fa-tags"></i>
<div class="links">
<a href="/tags/nas">NAS</a>
<a href="/tags/%E7%BE%A4%E6%9A%89">群暉</a>
<a href="/tags/synology">synology</a>
</div>
</div>
</div>
</article>
</div>
<div class="article-wrapper u-cf"> <div class="article-wrapper u-cf">
<a class="bubble" href="/post/10g-lab-using-proxmox-and-mellanox/"> <a class="bubble" href="/post/10g-lab-using-proxmox-and-mellanox/">
@ -791,98 +961,6 @@
</div>
</article>
</div>
<div class="article-wrapper u-cf">
<a class="bubble" href="/post/enable-synology-public-ssh/">
<i class="fa fa-fw fa-pencil"></i>
</a>
<article class="default article">
<div class="featured-image">
<a href="/post/enable-synology-public-ssh/">
<img src="https://i.imgur.com/jcDQmI1.png" alt="">
</a>
</div>
<div class="content">
<h3><a href="/post/enable-synology-public-ssh/">筆記- 啟用群暉NAS (Synology NAS)的SSH Server 透過Publickey 認證免密碼登入</a></h3>
<div class="meta">
<span class="date moment">2018-11-05</span>
<span class="categories">
<a href="/categories/%E7%AD%86%E8%A8%98">筆記</a>
</span>
<span class="author"><a href="/author/eric-chang">Eric Chang</a></span>
</div>
<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>
<p></p>
<a href="/post/enable-synology-public-ssh/" class="more"></a>
</div>
<div class="footer">
<div class="tags">
<i class="fa fa-tags"></i>
<div class="links">
<a href="/tags/%E7%AD%86%E8%A8%98">筆記</a>
<a href="/tags/synology">synology</a>
<a href="/tags/nas">NAS</a>
<a href="/tags/ssh">SSH</a>
</div>
</div>
</div> </div>
</article> </article>
@ -894,6 +972,8 @@
<div class="paginator"> <div class="paginator">
<a href="/post/page/3/" class="older"><i class="fa fa-angle-double-left"></i> </a>
<a href="/post/" class="newer"> <i class="fa fa-angle-double-right"></i></a> <a href="/post/" class="newer"> <i class="fa fa-angle-double-right"></i></a>
@ -914,31 +994,31 @@
<ul> <ul>
<li> <li>
<a href="/post/fix-zpool-device-busy-using-dmsetup/">[筆記] 解決無法建立zpool 的錯誤 / Fix Zpool Device Busy Using dmsetup</a> <a href="/post/inx-collect-detail-hardware-info/">[筆記] inxi 蒐集詳盡的硬體資訊 / inxi Collect Detail Hardware Info</a>
</li> </li>
<li> <li>
<a href="/post/transfer-cent62-using-rsync/">[筆記] 用rsync 移轉 centos 6.2的老機器 Transfer Cent6.2 using rsync</a> <a href="/post/log-all-bash-commands/">[筆記] 紀錄所有下過的指令、時間 / Log All commands with timestamp</a>
</li> </li>
<li> <li>
<a href="/post/command_to_test_main_ssl/">[筆記] 測試mail server 的SSL憑證的指令 Command to test mailserver SSL</a> <a href="/post/fix-zpool-device-busy-using-dmsetup/">[筆記] 解決無法建立zpool 的錯誤 / Fix Zpool Device Busy Using dmsetup</a>
</li> </li>
<li> <li>
<a href="/post/install-timeshift-on-ubuntu1804/">Install Timeshift on Ubuntu1804</a> <a href="/post/transfer-cent62-using-rsync/">[筆記] 用rsync 移轉 centos 6.2的老機器 Transfer Cent6.2 using rsync</a>
</li> </li>
<li> <li>
<a href="/post/install-ubuntu1804-on-dell-6ir-raid-controller/">用DELL 6 i/R 建立RAID並在上面安裝ubuntu 18.04 </a> <a href="/post/command_to_test_main_ssl/">[筆記] 測試mail server 的SSL憑證的指令 Command to test mailserver SSL</a>
</li> </li>
<li> <li>
<a href="/post/ubuntu-1804-install-root-on-raid/">Ubuntu 1804 Install Root on Raid</a> <a href="/post/install-timeshift-on-ubuntu1804/">Install Timeshift on Ubuntu1804</a>
</li> </li>
<li> <li>
<a href="/post/smartd-failed-to-start-in-freenas/">[筆記] Freenas Smartd 啟動失敗 Smartd Failed to Start in Freenas</a> <a href="/post/install-ubuntu1804-on-dell-6ir-raid-controller/">用DELL 6 i/R 建立RAID並在上面安裝ubuntu 18.04 </a>
</li> </li>
</ul> </ul>
@ -951,7 +1031,7 @@
<ul> <ul>
<li> <li>
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (16)</a> <a href="/categories/%E7%AD%86%E8%A8%98">筆記 (18)</a>
</li> </li>
<li> <li>

@ -0,0 +1,401 @@
<!doctype html>
<html class="no-js" lang="tw">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="author" content="Eric Chang">
<meta name="description" content="Whats the Worst That Could Happen?">
<meta name="keywords" content="linux,blog,responsive,search,font awesome,pages,posts,multilingual,highlight.js,syntax highlighting,premium,shortcuts">
<meta name="generator" content="Hugo 0.50" />
<title> Posts | MCの飄狂山莊㊣</title>
<meta name="description" content="Posts - Whats the Worst That Could Happen?">
<meta itemprop="name" content="Posts">
<meta itemprop="description" content="Posts - Whats the Worst That Could Happen?">
<meta property="og:title" content="Posts">
<meta property="og:description" content="Posts - Whats the Worst That Could Happen?">
<meta property="og:image" content="https://www.gravatar.com/avatar/e4eb1f8e016ffb73e9889f87d16e15f0?size=200">
<meta property="og:url" content="https://h.cowbay.org/post/">
<meta property="og:site_name" content="MCの飄狂山莊㊣"><meta property="og:type" content="website">
<link rel="icon" type="image/png" href="https://h.cowbay.org/favicon-32x32.png" sizes="32x32">
<link rel="icon" type="image/png" href="https://h.cowbay.org/favicon-16x16.png" sizes="16x16">
<link href="https://h.cowbay.org/post/index.xml" rel="alternate" type="application/rss+xml" title="MCの飄狂山莊㊣" />
<link href="https://h.cowbay.org/post/index.xml" rel="feed" type="application/rss+xml" title="MCの飄狂山莊㊣" />
<link rel="stylesheet" href="https://h.cowbay.org/sass/combined.min.717098cb5503581e75f12e486a847ca410bf8367d4d8713f4c37affc868c5a1d.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
</head>
<body class="bilberry-hugo-theme">
<nav class="permanentTopNav">
<div class="container">
<ul class="topnav">
</ul>
<div id="search-box" class="search">
<i class="fa fa-search"></i>
<input id="search" type="text" placeholder="">
</div>
</div>
</nav>
<header>
<div class="container">
<div class="logo">
<a href="/" class="logo">
<img src="https://www.gravatar.com/avatar/e4eb1f8e016ffb73e9889f87d16e15f0?d=mm&size=200" alt="">
<span class="overlay"><i class="fa fa-home"></i></span>
</a>
</div>
<div class="titles">
<h3 class="title"><a href="/">MCの飄狂山莊㊣</a></h3>
<span class="subtitle">Whats the Worst That Could Happen?</span>
</div>
<div class="toggler permanentTopNav">
<i class="fa fa-bars" aria-hidden="true"></i>
</div>
</div>
</header>
<div class="main container">
<div class="article-wrapper u-cf">
<a class="bubble" href="/post/enable-synology-public-ssh/">
<i class="fa fa-fw fa-pencil"></i>
</a>
<article class="default article">
<div class="featured-image">
<a href="/post/enable-synology-public-ssh/">
<img src="https://i.imgur.com/jcDQmI1.png" alt="">
</a>
</div>
<div class="content">
<h3><a href="/post/enable-synology-public-ssh/">筆記- 啟用群暉NAS (Synology NAS)的SSH Server 透過Publickey 認證免密碼登入</a></h3>
<div class="meta">
<span class="date moment">2018-11-05</span>
<span class="categories">
<a href="/categories/%E7%AD%86%E8%A8%98">筆記</a>
</span>
<span class="author"><a href="/author/eric-chang">Eric Chang</a></span>
</div>
<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>
<p></p>
<a href="/post/enable-synology-public-ssh/" class="more"></a>
</div>
<div class="footer">
<div class="tags">
<i class="fa fa-tags"></i>
<div class="links">
<a href="/tags/%E7%AD%86%E8%A8%98">筆記</a>
<a href="/tags/synology">synology</a>
<a href="/tags/nas">NAS</a>
<a href="/tags/ssh">SSH</a>
</div>
</div>
</div>
</article>
</div>
<div class="paginator">
<a href="/post/page/2/" class="newer"> <i class="fa fa-angle-double-right"></i></a>
</div>
</div>
<footer>
<div class="container">
<div class="recent-posts">
<strong></strong>
<ul>
<li>
<a href="/post/inx-collect-detail-hardware-info/">[筆記] inxi 蒐集詳盡的硬體資訊 / inxi Collect Detail Hardware Info</a>
</li>
<li>
<a href="/post/log-all-bash-commands/">[筆記] 紀錄所有下過的指令、時間 / Log All commands with timestamp</a>
</li>
<li>
<a href="/post/fix-zpool-device-busy-using-dmsetup/">[筆記] 解決無法建立zpool 的錯誤 / Fix Zpool Device Busy Using dmsetup</a>
</li>
<li>
<a href="/post/transfer-cent62-using-rsync/">[筆記] 用rsync 移轉 centos 6.2的老機器 Transfer Cent6.2 using rsync</a>
</li>
<li>
<a href="/post/command_to_test_main_ssl/">[筆記] 測試mail server 的SSL憑證的指令 Command to test mailserver SSL</a>
</li>
<li>
<a href="/post/install-timeshift-on-ubuntu1804/">Install Timeshift on Ubuntu1804</a>
</li>
<li>
<a href="/post/install-ubuntu1804-on-dell-6ir-raid-controller/">用DELL 6 i/R 建立RAID並在上面安裝ubuntu 18.04 </a>
</li>
</ul>
</div>
<div class="categories">
<a href="/categories/"><strong></strong></a>
<ul>
<li>
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (18)</a>
</li>
<li>
<a href="/categories/ps">Ps (1)</a>
</li>
<li>
<a href="/categories/%E7%A2%8E%E5%BF%B5">碎念 (1)</a>
</li>
<li>
<a href="/categories/%E7%BE%A4%E6%9A%89">群暉 (1)</a>
</li>
</ul>
</div>
<div class="right">
<div class="external-profiles">
<strong></strong>
<a href="https://www.facebook.com/mariahchang" target="_blank"><i class="fa fa-facebook-adblock-proof"></i></a>
<a href="https://twitter.com/changchichung" target="_blank"><i class="fa fa-twitter-adblock-proof"></i></a>
<a href="https://github.com/changchichung" target="_blank"><i class="fa fa-github"></i></a>
</div>
</div>
</div>
</footer>
<div class="credits">
<div class="container">
<div class="copyright">
<a href="https://github.com/Lednerb" target="_blank">
&copy;
2017
by Lednerb
</a>
-
<a href="https://h.cowbay.org/post/index.xml">RSS</a>
</div>
<div class="author">
<a href="https://github.com/Lednerb/bilberry-hugo-theme" target="_blank">Bilberry Hugo Theme</a>
</div>
</div>
</div>
<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-128770427-1', 'auto');
ga('send', 'pageview');
}
</script>
<script async src='https://www.google-analytics.com/analytics.js'></script>
<script type="text/javascript" src="https://h.cowbay.org/js/externalDependencies.39c47e10e241eae2947b3fe21809c572.js" integrity="md5-OcR&#43;EOJB6uKUez/iGAnFcg=="></script>
<script type="text/javascript" src="https://h.cowbay.org/js/theme.ff50ae6dc1bfc220b23bf69dbb41b54e.js" integrity="md5-/1CubcG/wiCyO/adu0G1Tg=="></script>
<script>
$(".moment").each(function() {
$(this).text(
moment( $(this).text() )
.locale( "tw" )
.format('LL')
);
});
$(".footnote-return sup").html("");
</script>
<script>
var client = algoliasearch("2XL0P8XDCY", "4ef65b37b627bb886b46c34a10e63aa6");
var index = client.initIndex("h_cowbay_org");
$('#search').autocomplete({ hint: false, autoselect: true, debug: false },
[
{
source: $.fn.autocomplete.sources.hits(index, { hitsPerPage: 10 }),
displayKey: function(suggestion) {
return suggestion.title || suggestion.author
},
templates: {
suggestion: function(suggestion) {
return "<span class='entry " + suggestion.type + "'>"
+ "<span class='title'>" + suggestion.title + "</span>"
+ "<span class='fa fa-fw " + suggestion.iconClass + "'></span>"
+ "</span>"
;
},
empty: function() {
return "<span class='empty'></span>"
},
footer: function() {
return '<div class="branding">Powered by <img src="https:\/\/h.cowbay.org\/dist\/algolia-logo-light.svg" /></div>'
}
},
}
])
.on('autocomplete:selected', function(event, suggestion, dataset) {
window.location = (suggestion.url);
})
.keypress(function (event, suggestion) {
if (event.which == 13) {
window.location = (suggestion.url);
}
});
</script>
</body>
</html>

@ -215,31 +215,31 @@
<ul> <ul>
<li> <li>
<a href="/post/fix-zpool-device-busy-using-dmsetup/">[筆記] 解決無法建立zpool 的錯誤 / Fix Zpool Device Busy Using dmsetup</a> <a href="/post/inx-collect-detail-hardware-info/">[筆記] inxi 蒐集詳盡的硬體資訊 / inxi Collect Detail Hardware Info</a>
</li> </li>
<li> <li>
<a href="/post/transfer-cent62-using-rsync/">[筆記] 用rsync 移轉 centos 6.2的老機器 Transfer Cent6.2 using rsync</a> <a href="/post/log-all-bash-commands/">[筆記] 紀錄所有下過的指令、時間 / Log All commands with timestamp</a>
</li> </li>
<li> <li>
<a href="/post/command_to_test_main_ssl/">[筆記] 測試mail server 的SSL憑證的指令 Command to test mailserver SSL</a> <a href="/post/fix-zpool-device-busy-using-dmsetup/">[筆記] 解決無法建立zpool 的錯誤 / Fix Zpool Device Busy Using dmsetup</a>
</li> </li>
<li> <li>
<a href="/post/install-timeshift-on-ubuntu1804/">Install Timeshift on Ubuntu1804</a> <a href="/post/transfer-cent62-using-rsync/">[筆記] 用rsync 移轉 centos 6.2的老機器 Transfer Cent6.2 using rsync</a>
</li> </li>
<li> <li>
<a href="/post/install-ubuntu1804-on-dell-6ir-raid-controller/">用DELL 6 i/R 建立RAID並在上面安裝ubuntu 18.04 </a> <a href="/post/command_to_test_main_ssl/">[筆記] 測試mail server 的SSL憑證的指令 Command to test mailserver SSL</a>
</li> </li>
<li> <li>
<a href="/post/ubuntu-1804-install-root-on-raid/">Ubuntu 1804 Install Root on Raid</a> <a href="/post/install-timeshift-on-ubuntu1804/">Install Timeshift on Ubuntu1804</a>
</li> </li>
<li> <li>
<a href="/post/smartd-failed-to-start-in-freenas/">[筆記] Freenas Smartd 啟動失敗 Smartd Failed to Start in Freenas</a> <a href="/post/install-ubuntu1804-on-dell-6ir-raid-controller/">用DELL 6 i/R 建立RAID並在上面安裝ubuntu 18.04 </a>
</li> </li>
</ul> </ul>
@ -252,7 +252,7 @@
<ul> <ul>
<li> <li>
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (16)</a> <a href="/categories/%E7%AD%86%E8%A8%98">筆記 (18)</a>
</li> </li>
<li> <li>

@ -265,31 +265,31 @@
<ul> <ul>
<li> <li>
<a href="/post/fix-zpool-device-busy-using-dmsetup/">[筆記] 解決無法建立zpool 的錯誤 / Fix Zpool Device Busy Using dmsetup</a> <a href="/post/inx-collect-detail-hardware-info/">[筆記] inxi 蒐集詳盡的硬體資訊 / inxi Collect Detail Hardware Info</a>
</li> </li>
<li> <li>
<a href="/post/transfer-cent62-using-rsync/">[筆記] 用rsync 移轉 centos 6.2的老機器 Transfer Cent6.2 using rsync</a> <a href="/post/log-all-bash-commands/">[筆記] 紀錄所有下過的指令、時間 / Log All commands with timestamp</a>
</li> </li>
<li> <li>
<a href="/post/command_to_test_main_ssl/">[筆記] 測試mail server 的SSL憑證的指令 Command to test mailserver SSL</a> <a href="/post/fix-zpool-device-busy-using-dmsetup/">[筆記] 解決無法建立zpool 的錯誤 / Fix Zpool Device Busy Using dmsetup</a>
</li> </li>
<li> <li>
<a href="/post/install-timeshift-on-ubuntu1804/">Install Timeshift on Ubuntu1804</a> <a href="/post/transfer-cent62-using-rsync/">[筆記] 用rsync 移轉 centos 6.2的老機器 Transfer Cent6.2 using rsync</a>
</li> </li>
<li> <li>
<a href="/post/install-ubuntu1804-on-dell-6ir-raid-controller/">用DELL 6 i/R 建立RAID並在上面安裝ubuntu 18.04 </a> <a href="/post/command_to_test_main_ssl/">[筆記] 測試mail server 的SSL憑證的指令 Command to test mailserver SSL</a>
</li> </li>
<li> <li>
<a href="/post/ubuntu-1804-install-root-on-raid/">Ubuntu 1804 Install Root on Raid</a> <a href="/post/install-timeshift-on-ubuntu1804/">Install Timeshift on Ubuntu1804</a>
</li> </li>
<li> <li>
<a href="/post/smartd-failed-to-start-in-freenas/">[筆記] Freenas Smartd 啟動失敗 Smartd Failed to Start in Freenas</a> <a href="/post/install-ubuntu1804-on-dell-6ir-raid-controller/">用DELL 6 i/R 建立RAID並在上面安裝ubuntu 18.04 </a>
</li> </li>
</ul> </ul>
@ -302,7 +302,7 @@
<ul> <ul>
<li> <li>
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (16)</a> <a href="/categories/%E7%AD%86%E8%A8%98">筆記 (18)</a>
</li> </li>
<li> <li>

@ -580,31 +580,31 @@ df -h
<ul> <ul>
<li> <li>
<a href="/post/fix-zpool-device-busy-using-dmsetup/">[筆記] 解決無法建立zpool 的錯誤 / Fix Zpool Device Busy Using dmsetup</a> <a href="/post/inx-collect-detail-hardware-info/">[筆記] inxi 蒐集詳盡的硬體資訊 / inxi Collect Detail Hardware Info</a>
</li> </li>
<li> <li>
<a href="/post/transfer-cent62-using-rsync/">[筆記] 用rsync 移轉 centos 6.2的老機器 Transfer Cent6.2 using rsync</a> <a href="/post/log-all-bash-commands/">[筆記] 紀錄所有下過的指令、時間 / Log All commands with timestamp</a>
</li> </li>
<li> <li>
<a href="/post/command_to_test_main_ssl/">[筆記] 測試mail server 的SSL憑證的指令 Command to test mailserver SSL</a> <a href="/post/fix-zpool-device-busy-using-dmsetup/">[筆記] 解決無法建立zpool 的錯誤 / Fix Zpool Device Busy Using dmsetup</a>
</li> </li>
<li> <li>
<a href="/post/install-timeshift-on-ubuntu1804/">Install Timeshift on Ubuntu1804</a> <a href="/post/transfer-cent62-using-rsync/">[筆記] 用rsync 移轉 centos 6.2的老機器 Transfer Cent6.2 using rsync</a>
</li> </li>
<li> <li>
<a href="/post/install-ubuntu1804-on-dell-6ir-raid-controller/">用DELL 6 i/R 建立RAID並在上面安裝ubuntu 18.04 </a> <a href="/post/command_to_test_main_ssl/">[筆記] 測試mail server 的SSL憑證的指令 Command to test mailserver SSL</a>
</li> </li>
<li> <li>
<a href="/post/ubuntu-1804-install-root-on-raid/">Ubuntu 1804 Install Root on Raid</a> <a href="/post/install-timeshift-on-ubuntu1804/">Install Timeshift on Ubuntu1804</a>
</li> </li>
<li> <li>
<a href="/post/smartd-failed-to-start-in-freenas/">[筆記] Freenas Smartd 啟動失敗 Smartd Failed to Start in Freenas</a> <a href="/post/install-ubuntu1804-on-dell-6ir-raid-controller/">用DELL 6 i/R 建立RAID並在上面安裝ubuntu 18.04 </a>
</li> </li>
</ul> </ul>
@ -617,7 +617,7 @@ df -h
<ul> <ul>
<li> <li>
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (16)</a> <a href="/categories/%E7%AD%86%E8%A8%98">筆記 (18)</a>
</li> </li>
<li> <li>

@ -327,31 +327,31 @@
<ul> <ul>
<li> <li>
<a href="/post/fix-zpool-device-busy-using-dmsetup/">[筆記] 解決無法建立zpool 的錯誤 / Fix Zpool Device Busy Using dmsetup</a> <a href="/post/inx-collect-detail-hardware-info/">[筆記] inxi 蒐集詳盡的硬體資訊 / inxi Collect Detail Hardware Info</a>
</li> </li>
<li> <li>
<a href="/post/transfer-cent62-using-rsync/">[筆記] 用rsync 移轉 centos 6.2的老機器 Transfer Cent6.2 using rsync</a> <a href="/post/log-all-bash-commands/">[筆記] 紀錄所有下過的指令、時間 / Log All commands with timestamp</a>
</li> </li>
<li> <li>
<a href="/post/command_to_test_main_ssl/">[筆記] 測試mail server 的SSL憑證的指令 Command to test mailserver SSL</a> <a href="/post/fix-zpool-device-busy-using-dmsetup/">[筆記] 解決無法建立zpool 的錯誤 / Fix Zpool Device Busy Using dmsetup</a>
</li> </li>
<li> <li>
<a href="/post/install-timeshift-on-ubuntu1804/">Install Timeshift on Ubuntu1804</a> <a href="/post/transfer-cent62-using-rsync/">[筆記] 用rsync 移轉 centos 6.2的老機器 Transfer Cent6.2 using rsync</a>
</li> </li>
<li> <li>
<a href="/post/install-ubuntu1804-on-dell-6ir-raid-controller/">用DELL 6 i/R 建立RAID並在上面安裝ubuntu 18.04 </a> <a href="/post/command_to_test_main_ssl/">[筆記] 測試mail server 的SSL憑證的指令 Command to test mailserver SSL</a>
</li> </li>
<li> <li>
<a href="/post/ubuntu-1804-install-root-on-raid/">Ubuntu 1804 Install Root on Raid</a> <a href="/post/install-timeshift-on-ubuntu1804/">Install Timeshift on Ubuntu1804</a>
</li> </li>
<li> <li>
<a href="/post/smartd-failed-to-start-in-freenas/">[筆記] Freenas Smartd 啟動失敗 Smartd Failed to Start in Freenas</a> <a href="/post/install-ubuntu1804-on-dell-6ir-raid-controller/">用DELL 6 i/R 建立RAID並在上面安裝ubuntu 18.04 </a>
</li> </li>
</ul> </ul>
@ -364,7 +364,7 @@
<ul> <ul>
<li> <li>
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (16)</a> <a href="/categories/%E7%AD%86%E8%A8%98">筆記 (18)</a>
</li> </li>
<li> <li>

@ -296,31 +296,31 @@ acl CONNECT method CONNECT
<ul> <ul>
<li> <li>
<a href="/post/fix-zpool-device-busy-using-dmsetup/">[筆記] 解決無法建立zpool 的錯誤 / Fix Zpool Device Busy Using dmsetup</a> <a href="/post/inx-collect-detail-hardware-info/">[筆記] inxi 蒐集詳盡的硬體資訊 / inxi Collect Detail Hardware Info</a>
</li> </li>
<li> <li>
<a href="/post/transfer-cent62-using-rsync/">[筆記] 用rsync 移轉 centos 6.2的老機器 Transfer Cent6.2 using rsync</a> <a href="/post/log-all-bash-commands/">[筆記] 紀錄所有下過的指令、時間 / Log All commands with timestamp</a>
</li> </li>
<li> <li>
<a href="/post/command_to_test_main_ssl/">[筆記] 測試mail server 的SSL憑證的指令 Command to test mailserver SSL</a> <a href="/post/fix-zpool-device-busy-using-dmsetup/">[筆記] 解決無法建立zpool 的錯誤 / Fix Zpool Device Busy Using dmsetup</a>
</li> </li>
<li> <li>
<a href="/post/install-timeshift-on-ubuntu1804/">Install Timeshift on Ubuntu1804</a> <a href="/post/transfer-cent62-using-rsync/">[筆記] 用rsync 移轉 centos 6.2的老機器 Transfer Cent6.2 using rsync</a>
</li> </li>
<li> <li>
<a href="/post/install-ubuntu1804-on-dell-6ir-raid-controller/">用DELL 6 i/R 建立RAID並在上面安裝ubuntu 18.04 </a> <a href="/post/command_to_test_main_ssl/">[筆記] 測試mail server 的SSL憑證的指令 Command to test mailserver SSL</a>
</li> </li>
<li> <li>
<a href="/post/ubuntu-1804-install-root-on-raid/">Ubuntu 1804 Install Root on Raid</a> <a href="/post/install-timeshift-on-ubuntu1804/">Install Timeshift on Ubuntu1804</a>
</li> </li>
<li> <li>
<a href="/post/smartd-failed-to-start-in-freenas/">[筆記] Freenas Smartd 啟動失敗 Smartd Failed to Start in Freenas</a> <a href="/post/install-ubuntu1804-on-dell-6ir-raid-controller/">用DELL 6 i/R 建立RAID並在上面安裝ubuntu 18.04 </a>
</li> </li>
</ul> </ul>
@ -333,7 +333,7 @@ acl CONNECT method CONNECT
<ul> <ul>
<li> <li>
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (16)</a> <a href="/categories/%E7%AD%86%E8%A8%98">筆記 (18)</a>
</li> </li>
<li> <li>

@ -14,7 +14,7 @@
<sitemap> <sitemap>
<loc>https://h.cowbay.org/tw/sitemap.xml</loc> <loc>https://h.cowbay.org/tw/sitemap.xml</loc>
<lastmod>2019-04-01T15:56:27+08:00</lastmod> <lastmod>2019-04-23T15:28:56+08:00</lastmod>
</sitemap> </sitemap>

@ -205,31 +205,31 @@
<ul> <ul>
<li> <li>
<a href="/post/fix-zpool-device-busy-using-dmsetup/">[筆記] 解決無法建立zpool 的錯誤 / Fix Zpool Device Busy Using dmsetup</a> <a href="/post/inx-collect-detail-hardware-info/">[筆記] inxi 蒐集詳盡的硬體資訊 / inxi Collect Detail Hardware Info</a>
</li> </li>
<li> <li>
<a href="/post/transfer-cent62-using-rsync/">[筆記] 用rsync 移轉 centos 6.2的老機器 Transfer Cent6.2 using rsync</a> <a href="/post/log-all-bash-commands/">[筆記] 紀錄所有下過的指令、時間 / Log All commands with timestamp</a>
</li> </li>
<li> <li>
<a href="/post/command_to_test_main_ssl/">[筆記] 測試mail server 的SSL憑證的指令 Command to test mailserver SSL</a> <a href="/post/fix-zpool-device-busy-using-dmsetup/">[筆記] 解決無法建立zpool 的錯誤 / Fix Zpool Device Busy Using dmsetup</a>
</li> </li>
<li> <li>
<a href="/post/install-timeshift-on-ubuntu1804/">Install Timeshift on Ubuntu1804</a> <a href="/post/transfer-cent62-using-rsync/">[筆記] 用rsync 移轉 centos 6.2的老機器 Transfer Cent6.2 using rsync</a>
</li> </li>
<li> <li>
<a href="/post/install-ubuntu1804-on-dell-6ir-raid-controller/">用DELL 6 i/R 建立RAID並在上面安裝ubuntu 18.04 </a> <a href="/post/command_to_test_main_ssl/">[筆記] 測試mail server 的SSL憑證的指令 Command to test mailserver SSL</a>
</li> </li>
<li> <li>
<a href="/post/ubuntu-1804-install-root-on-raid/">Ubuntu 1804 Install Root on Raid</a> <a href="/post/install-timeshift-on-ubuntu1804/">Install Timeshift on Ubuntu1804</a>
</li> </li>
<li> <li>
<a href="/post/smartd-failed-to-start-in-freenas/">[筆記] Freenas Smartd 啟動失敗 Smartd Failed to Start in Freenas</a> <a href="/post/install-ubuntu1804-on-dell-6ir-raid-controller/">用DELL 6 i/R 建立RAID並在上面安裝ubuntu 18.04 </a>
</li> </li>
</ul> </ul>
@ -242,7 +242,7 @@
<ul> <ul>
<li> <li>
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (16)</a> <a href="/categories/%E7%AD%86%E8%A8%98">筆記 (18)</a>
</li> </li>
<li> <li>

@ -307,31 +307,31 @@
<ul> <ul>
<li> <li>
<a href="/post/fix-zpool-device-busy-using-dmsetup/">[筆記] 解決無法建立zpool 的錯誤 / Fix Zpool Device Busy Using dmsetup</a> <a href="/post/inx-collect-detail-hardware-info/">[筆記] inxi 蒐集詳盡的硬體資訊 / inxi Collect Detail Hardware Info</a>
</li> </li>
<li> <li>
<a href="/post/transfer-cent62-using-rsync/">[筆記] 用rsync 移轉 centos 6.2的老機器 Transfer Cent6.2 using rsync</a> <a href="/post/log-all-bash-commands/">[筆記] 紀錄所有下過的指令、時間 / Log All commands with timestamp</a>
</li> </li>
<li> <li>
<a href="/post/command_to_test_main_ssl/">[筆記] 測試mail server 的SSL憑證的指令 Command to test mailserver SSL</a> <a href="/post/fix-zpool-device-busy-using-dmsetup/">[筆記] 解決無法建立zpool 的錯誤 / Fix Zpool Device Busy Using dmsetup</a>
</li> </li>
<li> <li>
<a href="/post/install-timeshift-on-ubuntu1804/">Install Timeshift on Ubuntu1804</a> <a href="/post/transfer-cent62-using-rsync/">[筆記] 用rsync 移轉 centos 6.2的老機器 Transfer Cent6.2 using rsync</a>
</li> </li>
<li> <li>
<a href="/post/install-ubuntu1804-on-dell-6ir-raid-controller/">用DELL 6 i/R 建立RAID並在上面安裝ubuntu 18.04 </a> <a href="/post/command_to_test_main_ssl/">[筆記] 測試mail server 的SSL憑證的指令 Command to test mailserver SSL</a>
</li> </li>
<li> <li>
<a href="/post/ubuntu-1804-install-root-on-raid/">Ubuntu 1804 Install Root on Raid</a> <a href="/post/install-timeshift-on-ubuntu1804/">Install Timeshift on Ubuntu1804</a>
</li> </li>
<li> <li>
<a href="/post/smartd-failed-to-start-in-freenas/">[筆記] Freenas Smartd 啟動失敗 Smartd Failed to Start in Freenas</a> <a href="/post/install-ubuntu1804-on-dell-6ir-raid-controller/">用DELL 6 i/R 建立RAID並在上面安裝ubuntu 18.04 </a>
</li> </li>
</ul> </ul>
@ -344,7 +344,7 @@
<ul> <ul>
<li> <li>
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (16)</a> <a href="/categories/%E7%AD%86%E8%A8%98">筆記 (18)</a>
</li> </li>
<li> <li>

@ -193,31 +193,31 @@
<ul> <ul>
<li> <li>
<a href="/post/fix-zpool-device-busy-using-dmsetup/">[筆記] 解決無法建立zpool 的錯誤 / Fix Zpool Device Busy Using dmsetup</a> <a href="/post/inx-collect-detail-hardware-info/">[筆記] inxi 蒐集詳盡的硬體資訊 / inxi Collect Detail Hardware Info</a>
</li> </li>
<li> <li>
<a href="/post/transfer-cent62-using-rsync/">[筆記] 用rsync 移轉 centos 6.2的老機器 Transfer Cent6.2 using rsync</a> <a href="/post/log-all-bash-commands/">[筆記] 紀錄所有下過的指令、時間 / Log All commands with timestamp</a>
</li> </li>
<li> <li>
<a href="/post/command_to_test_main_ssl/">[筆記] 測試mail server 的SSL憑證的指令 Command to test mailserver SSL</a> <a href="/post/fix-zpool-device-busy-using-dmsetup/">[筆記] 解決無法建立zpool 的錯誤 / Fix Zpool Device Busy Using dmsetup</a>
</li> </li>
<li> <li>
<a href="/post/install-timeshift-on-ubuntu1804/">Install Timeshift on Ubuntu1804</a> <a href="/post/transfer-cent62-using-rsync/">[筆記] 用rsync 移轉 centos 6.2的老機器 Transfer Cent6.2 using rsync</a>
</li> </li>
<li> <li>
<a href="/post/install-ubuntu1804-on-dell-6ir-raid-controller/">用DELL 6 i/R 建立RAID並在上面安裝ubuntu 18.04 </a> <a href="/post/command_to_test_main_ssl/">[筆記] 測試mail server 的SSL憑證的指令 Command to test mailserver SSL</a>
</li> </li>
<li> <li>
<a href="/post/ubuntu-1804-install-root-on-raid/">Ubuntu 1804 Install Root on Raid</a> <a href="/post/install-timeshift-on-ubuntu1804/">Install Timeshift on Ubuntu1804</a>
</li> </li>
<li> <li>
<a href="/post/smartd-failed-to-start-in-freenas/">[筆記] Freenas Smartd 啟動失敗 Smartd Failed to Start in Freenas</a> <a href="/post/install-ubuntu1804-on-dell-6ir-raid-controller/">用DELL 6 i/R 建立RAID並在上面安裝ubuntu 18.04 </a>
</li> </li>
</ul> </ul>
@ -230,7 +230,7 @@
<ul> <ul>
<li> <li>
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (16)</a> <a href="/categories/%E7%AD%86%E8%A8%98">筆記 (18)</a>
</li> </li>
<li> <li>

@ -203,31 +203,31 @@
<ul> <ul>
<li> <li>
<a href="/post/fix-zpool-device-busy-using-dmsetup/">[筆記] 解決無法建立zpool 的錯誤 / Fix Zpool Device Busy Using dmsetup</a> <a href="/post/inx-collect-detail-hardware-info/">[筆記] inxi 蒐集詳盡的硬體資訊 / inxi Collect Detail Hardware Info</a>
</li> </li>
<li> <li>
<a href="/post/transfer-cent62-using-rsync/">[筆記] 用rsync 移轉 centos 6.2的老機器 Transfer Cent6.2 using rsync</a> <a href="/post/log-all-bash-commands/">[筆記] 紀錄所有下過的指令、時間 / Log All commands with timestamp</a>
</li> </li>
<li> <li>
<a href="/post/command_to_test_main_ssl/">[筆記] 測試mail server 的SSL憑證的指令 Command to test mailserver SSL</a> <a href="/post/fix-zpool-device-busy-using-dmsetup/">[筆記] 解決無法建立zpool 的錯誤 / Fix Zpool Device Busy Using dmsetup</a>
</li> </li>
<li> <li>
<a href="/post/install-timeshift-on-ubuntu1804/">Install Timeshift on Ubuntu1804</a> <a href="/post/transfer-cent62-using-rsync/">[筆記] 用rsync 移轉 centos 6.2的老機器 Transfer Cent6.2 using rsync</a>
</li> </li>
<li> <li>
<a href="/post/install-ubuntu1804-on-dell-6ir-raid-controller/">用DELL 6 i/R 建立RAID並在上面安裝ubuntu 18.04 </a> <a href="/post/command_to_test_main_ssl/">[筆記] 測試mail server 的SSL憑證的指令 Command to test mailserver SSL</a>
</li> </li>
<li> <li>
<a href="/post/ubuntu-1804-install-root-on-raid/">Ubuntu 1804 Install Root on Raid</a> <a href="/post/install-timeshift-on-ubuntu1804/">Install Timeshift on Ubuntu1804</a>
</li> </li>
<li> <li>
<a href="/post/smartd-failed-to-start-in-freenas/">[筆記] Freenas Smartd 啟動失敗 Smartd Failed to Start in Freenas</a> <a href="/post/install-ubuntu1804-on-dell-6ir-raid-controller/">用DELL 6 i/R 建立RAID並在上面安裝ubuntu 18.04 </a>
</li> </li>
</ul> </ul>
@ -240,7 +240,7 @@
<ul> <ul>
<li> <li>
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (16)</a> <a href="/categories/%E7%AD%86%E8%A8%98">筆記 (18)</a>
</li> </li>
<li> <li>

@ -0,0 +1,392 @@
<!doctype html>
<html class="no-js" lang="tw">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="author" content="Eric Chang">
<meta name="description" content="Whats the Worst That Could Happen?">
<meta name="keywords" content="linux,blog,responsive,search,font awesome,pages,posts,multilingual,highlight.js,syntax highlighting,premium,shortcuts">
<meta name="generator" content="Hugo 0.50" />
<title> Bsd | MCの飄狂山莊㊣</title>
<meta name="description" content="Bsd - Whats the Worst That Could Happen?">
<meta itemprop="name" content="Bsd">
<meta itemprop="description" content="Bsd - Whats the Worst That Could Happen?">
<meta property="og:title" content="Bsd">
<meta property="og:description" content="Bsd - Whats the Worst That Could Happen?">
<meta property="og:image" content="https://www.gravatar.com/avatar/e4eb1f8e016ffb73e9889f87d16e15f0?size=200">
<meta property="og:url" content="https://h.cowbay.org/tags/bsd/">
<meta property="og:site_name" content="MCの飄狂山莊㊣"><meta property="og:type" content="website">
<link rel="icon" type="image/png" href="https://h.cowbay.org/favicon-32x32.png" sizes="32x32">
<link rel="icon" type="image/png" href="https://h.cowbay.org/favicon-16x16.png" sizes="16x16">
<link href="https://h.cowbay.org/tags/bsd/index.xml" rel="alternate" type="application/rss+xml" title="MCの飄狂山莊㊣" />
<link href="https://h.cowbay.org/tags/bsd/index.xml" rel="feed" type="application/rss+xml" title="MCの飄狂山莊㊣" />
<link rel="stylesheet" href="https://h.cowbay.org/sass/combined.min.717098cb5503581e75f12e486a847ca410bf8367d4d8713f4c37affc868c5a1d.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
</head>
<body class="bilberry-hugo-theme">
<nav class="permanentTopNav">
<div class="container">
<ul class="topnav">
</ul>
<div id="search-box" class="search">
<i class="fa fa-search"></i>
<input id="search" type="text" placeholder="">
</div>
</div>
</nav>
<header>
<div class="container">
<div class="logo">
<a href="/" class="logo">
<img src="https://www.gravatar.com/avatar/e4eb1f8e016ffb73e9889f87d16e15f0?d=mm&size=200" alt="">
<span class="overlay"><i class="fa fa-home"></i></span>
</a>
</div>
<div class="titles">
<h3 class="title"><a href="/">MCの飄狂山莊㊣</a></h3>
<span class="subtitle">Whats the Worst That Could Happen?</span>
</div>
<div class="toggler permanentTopNav">
<i class="fa fa-bars" aria-hidden="true"></i>
</div>
</div>
</header>
<div class="main container">
<div class="article-wrapper u-cf">
<a class="bubble" href="/post/inx-collect-detail-hardware-info/">
<i class="fa fa-fw fa-pencil"></i>
</a>
<article class="default article">
<div class="featured-image">
<a href="/post/inx-collect-detail-hardware-info/">
<img src="/images/post-default-10.jpg" alt="">
</a>
</div>
<div class="content">
<h3><a href="/post/inx-collect-detail-hardware-info/">[筆記] inxi 蒐集詳盡的硬體資訊 / inxi Collect Detail Hardware Info</a></h3>
<div class="meta">
<span class="date moment">2019-04-23</span>
<span class="categories">
<a href="/categories/%E7%AD%86%E8%A8%98">筆記</a>
</span>
<span class="author"><a href="/author/eric-chang">Eric Chang</a></span>
</div>
<p>最近因為一直碰到硬碟故障的問題算起來那一批同時購買的5X顆 seagate 2T硬碟已經有一半以上故障返修了&hellip;.</p>
<p>然後又因為一直沒有添購新的硬碟,只能用這些快過保/已過保的撐著</p>
<p>所以最近不斷的在更換機器內的硬碟,而且還沒有熱插拔!</p>
<p>也導致原本負責處理盤點資產的同事困擾,因為跟手邊的紀錄已經對不起來了</p>
<p>然後就變成要對資產的時候,需要一台一台登入,然後去下不同的指令,取得想要的硬體資訊,超級麻煩的!</p>
<p></p>
<a href="/post/inx-collect-detail-hardware-info/" class="more"></a>
</div>
<div class="footer">
<div class="tags">
<i class="fa fa-tags"></i>
<div class="links">
<a href="/tags/linux">linux</a>
<a href="/tags/bsd">bsd</a>
<a href="/tags/inventory">inventory</a>
</div>
</div>
</div>
</article>
</div>
<div class="paginator">
</div>
</div>
<footer>
<div class="container">
<div class="recent-posts">
<strong></strong>
<ul>
<li>
<a href="/post/inx-collect-detail-hardware-info/">[筆記] inxi 蒐集詳盡的硬體資訊 / inxi Collect Detail Hardware Info</a>
</li>
<li>
<a href="/post/log-all-bash-commands/">[筆記] 紀錄所有下過的指令、時間 / Log All commands with timestamp</a>
</li>
<li>
<a href="/post/fix-zpool-device-busy-using-dmsetup/">[筆記] 解決無法建立zpool 的錯誤 / Fix Zpool Device Busy Using dmsetup</a>
</li>
<li>
<a href="/post/transfer-cent62-using-rsync/">[筆記] 用rsync 移轉 centos 6.2的老機器 Transfer Cent6.2 using rsync</a>
</li>
<li>
<a href="/post/command_to_test_main_ssl/">[筆記] 測試mail server 的SSL憑證的指令 Command to test mailserver SSL</a>
</li>
<li>
<a href="/post/install-timeshift-on-ubuntu1804/">Install Timeshift on Ubuntu1804</a>
</li>
<li>
<a href="/post/install-ubuntu1804-on-dell-6ir-raid-controller/">用DELL 6 i/R 建立RAID並在上面安裝ubuntu 18.04 </a>
</li>
</ul>
</div>
<div class="categories">
<a href="/categories/"><strong></strong></a>
<ul>
<li>
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (18)</a>
</li>
<li>
<a href="/categories/ps">Ps (1)</a>
</li>
<li>
<a href="/categories/%E7%A2%8E%E5%BF%B5">碎念 (1)</a>
</li>
<li>
<a href="/categories/%E7%BE%A4%E6%9A%89">群暉 (1)</a>
</li>
</ul>
</div>
<div class="right">
<div class="external-profiles">
<strong></strong>
<a href="https://www.facebook.com/mariahchang" target="_blank"><i class="fa fa-facebook-adblock-proof"></i></a>
<a href="https://twitter.com/changchichung" target="_blank"><i class="fa fa-twitter-adblock-proof"></i></a>
<a href="https://github.com/changchichung" target="_blank"><i class="fa fa-github"></i></a>
</div>
</div>
</div>
</footer>
<div class="credits">
<div class="container">
<div class="copyright">
<a href="https://github.com/Lednerb" target="_blank">
&copy;
2017
by Lednerb
</a>
-
<a href="https://h.cowbay.org/tags/bsd/index.xml">RSS</a>
</div>
<div class="author">
<a href="https://github.com/Lednerb/bilberry-hugo-theme" target="_blank">Bilberry Hugo Theme</a>
</div>
</div>
</div>
<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-128770427-1', 'auto');
ga('send', 'pageview');
}
</script>
<script async src='https://www.google-analytics.com/analytics.js'></script>
<script type="text/javascript" src="https://h.cowbay.org/js/externalDependencies.39c47e10e241eae2947b3fe21809c572.js" integrity="md5-OcR&#43;EOJB6uKUez/iGAnFcg=="></script>
<script type="text/javascript" src="https://h.cowbay.org/js/theme.ff50ae6dc1bfc220b23bf69dbb41b54e.js" integrity="md5-/1CubcG/wiCyO/adu0G1Tg=="></script>
<script>
$(".moment").each(function() {
$(this).text(
moment( $(this).text() )
.locale( "tw" )
.format('LL')
);
});
$(".footnote-return sup").html("");
</script>
<script>
var client = algoliasearch("2XL0P8XDCY", "4ef65b37b627bb886b46c34a10e63aa6");
var index = client.initIndex("h_cowbay_org");
$('#search').autocomplete({ hint: false, autoselect: true, debug: false },
[
{
source: $.fn.autocomplete.sources.hits(index, { hitsPerPage: 10 }),
displayKey: function(suggestion) {
return suggestion.title || suggestion.author
},
templates: {
suggestion: function(suggestion) {
return "<span class='entry " + suggestion.type + "'>"
+ "<span class='title'>" + suggestion.title + "</span>"
+ "<span class='fa fa-fw " + suggestion.iconClass + "'></span>"
+ "</span>"
;
},
empty: function() {
return "<span class='empty'></span>"
},
footer: function() {
return '<div class="branding">Powered by <img src="https:\/\/h.cowbay.org\/dist\/algolia-logo-light.svg" /></div>'
}
},
}
])
.on('autocomplete:selected', function(event, suggestion, dataset) {
window.location = (suggestion.url);
})
.keypress(function (event, suggestion) {
if (event.which == 13) {
window.location = (suggestion.url);
}
});
</script>
</body>
</html>

@ -0,0 +1,33 @@
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>Bsd on MCの飄狂山莊㊣</title>
<link>https://h.cowbay.org/tags/bsd/</link>
<description>Recent content in Bsd on MCの飄狂山莊㊣</description>
<generator>Hugo -- gohugo.io</generator>
<lastBuildDate>Tue, 23 Apr 2019 15:28:56 +0800</lastBuildDate>
<atom:link href="https://h.cowbay.org/tags/bsd/index.xml" rel="self" type="application/rss+xml" />
<item>
<title>[筆記] inxi 蒐集詳盡的硬體資訊 / inxi Collect Detail Hardware Info</title>
<link>https://h.cowbay.org/post/inx-collect-detail-hardware-info/</link>
<pubDate>Tue, 23 Apr 2019 15:28:56 +0800</pubDate>
<guid>https://h.cowbay.org/post/inx-collect-detail-hardware-info/</guid>
<description>&lt;p&gt;最近因為一直碰到硬碟故障的問題算起來那一批同時購買的5X顆 seagate 2T硬碟已經有一半以上故障返修了&amp;hellip;.&lt;/p&gt;
&lt;p&gt;然後又因為一直沒有添購新的硬碟,只能用這些快過保/已過保的撐著&lt;/p&gt;
&lt;p&gt;所以最近不斷的在更換機器內的硬碟,而且還沒有熱插拔!&lt;/p&gt;
&lt;p&gt;也導致原本負責處理盤點資產的同事困擾,因為跟手邊的紀錄已經對不起來了&lt;/p&gt;
&lt;p&gt;然後就變成要對資產的時候,需要一台一台登入,然後去下不同的指令,取得想要的硬體資訊,超級麻煩的!&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;</description>
</item>
</channel>
</rss>

@ -0,0 +1 @@
<!DOCTYPE html><html><head><title>https://h.cowbay.org/tags/bsd/</title><link rel="canonical" href="https://h.cowbay.org/tags/bsd/"/><meta name="robots" content="noindex"><meta charset="utf-8" /><meta http-equiv="refresh" content="0; url=https://h.cowbay.org/tags/bsd/" /></head></html>

@ -188,31 +188,31 @@
<ul> <ul>
<li> <li>
<a href="/post/fix-zpool-device-busy-using-dmsetup/">[筆記] 解決無法建立zpool 的錯誤 / Fix Zpool Device Busy Using dmsetup</a> <a href="/post/inx-collect-detail-hardware-info/">[筆記] inxi 蒐集詳盡的硬體資訊 / inxi Collect Detail Hardware Info</a>
</li> </li>
<li> <li>
<a href="/post/transfer-cent62-using-rsync/">[筆記] 用rsync 移轉 centos 6.2的老機器 Transfer Cent6.2 using rsync</a> <a href="/post/log-all-bash-commands/">[筆記] 紀錄所有下過的指令、時間 / Log All commands with timestamp</a>
</li> </li>
<li> <li>
<a href="/post/command_to_test_main_ssl/">[筆記] 測試mail server 的SSL憑證的指令 Command to test mailserver SSL</a> <a href="/post/fix-zpool-device-busy-using-dmsetup/">[筆記] 解決無法建立zpool 的錯誤 / Fix Zpool Device Busy Using dmsetup</a>
</li> </li>
<li> <li>
<a href="/post/install-timeshift-on-ubuntu1804/">Install Timeshift on Ubuntu1804</a> <a href="/post/transfer-cent62-using-rsync/">[筆記] 用rsync 移轉 centos 6.2的老機器 Transfer Cent6.2 using rsync</a>
</li> </li>
<li> <li>
<a href="/post/install-ubuntu1804-on-dell-6ir-raid-controller/">用DELL 6 i/R 建立RAID並在上面安裝ubuntu 18.04 </a> <a href="/post/command_to_test_main_ssl/">[筆記] 測試mail server 的SSL憑證的指令 Command to test mailserver SSL</a>
</li> </li>
<li> <li>
<a href="/post/ubuntu-1804-install-root-on-raid/">Ubuntu 1804 Install Root on Raid</a> <a href="/post/install-timeshift-on-ubuntu1804/">Install Timeshift on Ubuntu1804</a>
</li> </li>
<li> <li>
<a href="/post/smartd-failed-to-start-in-freenas/">[筆記] Freenas Smartd 啟動失敗 Smartd Failed to Start in Freenas</a> <a href="/post/install-ubuntu1804-on-dell-6ir-raid-controller/">用DELL 6 i/R 建立RAID並在上面安裝ubuntu 18.04 </a>
</li> </li>
</ul> </ul>
@ -225,7 +225,7 @@
<ul> <ul>
<li> <li>
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (16)</a> <a href="/categories/%E7%AD%86%E8%A8%98">筆記 (18)</a>
</li> </li>
<li> <li>

@ -203,31 +203,31 @@
<ul> <ul>
<li> <li>
<a href="/post/fix-zpool-device-busy-using-dmsetup/">[筆記] 解決無法建立zpool 的錯誤 / Fix Zpool Device Busy Using dmsetup</a> <a href="/post/inx-collect-detail-hardware-info/">[筆記] inxi 蒐集詳盡的硬體資訊 / inxi Collect Detail Hardware Info</a>
</li> </li>
<li> <li>
<a href="/post/transfer-cent62-using-rsync/">[筆記] 用rsync 移轉 centos 6.2的老機器 Transfer Cent6.2 using rsync</a> <a href="/post/log-all-bash-commands/">[筆記] 紀錄所有下過的指令、時間 / Log All commands with timestamp</a>
</li> </li>
<li> <li>
<a href="/post/command_to_test_main_ssl/">[筆記] 測試mail server 的SSL憑證的指令 Command to test mailserver SSL</a> <a href="/post/fix-zpool-device-busy-using-dmsetup/">[筆記] 解決無法建立zpool 的錯誤 / Fix Zpool Device Busy Using dmsetup</a>
</li> </li>
<li> <li>
<a href="/post/install-timeshift-on-ubuntu1804/">Install Timeshift on Ubuntu1804</a> <a href="/post/transfer-cent62-using-rsync/">[筆記] 用rsync 移轉 centos 6.2的老機器 Transfer Cent6.2 using rsync</a>
</li> </li>
<li> <li>
<a href="/post/install-ubuntu1804-on-dell-6ir-raid-controller/">用DELL 6 i/R 建立RAID並在上面安裝ubuntu 18.04 </a> <a href="/post/command_to_test_main_ssl/">[筆記] 測試mail server 的SSL憑證的指令 Command to test mailserver SSL</a>
</li> </li>
<li> <li>
<a href="/post/ubuntu-1804-install-root-on-raid/">Ubuntu 1804 Install Root on Raid</a> <a href="/post/install-timeshift-on-ubuntu1804/">Install Timeshift on Ubuntu1804</a>
</li> </li>
<li> <li>
<a href="/post/smartd-failed-to-start-in-freenas/">[筆記] Freenas Smartd 啟動失敗 Smartd Failed to Start in Freenas</a> <a href="/post/install-ubuntu1804-on-dell-6ir-raid-controller/">用DELL 6 i/R 建立RAID並在上面安裝ubuntu 18.04 </a>
</li> </li>
</ul> </ul>
@ -240,7 +240,7 @@
<ul> <ul>
<li> <li>
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (16)</a> <a href="/categories/%E7%AD%86%E8%A8%98">筆記 (18)</a>
</li> </li>
<li> <li>

@ -190,31 +190,31 @@
<ul> <ul>
<li> <li>
<a href="/post/fix-zpool-device-busy-using-dmsetup/">[筆記] 解決無法建立zpool 的錯誤 / Fix Zpool Device Busy Using dmsetup</a> <a href="/post/inx-collect-detail-hardware-info/">[筆記] inxi 蒐集詳盡的硬體資訊 / inxi Collect Detail Hardware Info</a>
</li> </li>
<li> <li>
<a href="/post/transfer-cent62-using-rsync/">[筆記] 用rsync 移轉 centos 6.2的老機器 Transfer Cent6.2 using rsync</a> <a href="/post/log-all-bash-commands/">[筆記] 紀錄所有下過的指令、時間 / Log All commands with timestamp</a>
</li> </li>
<li> <li>
<a href="/post/command_to_test_main_ssl/">[筆記] 測試mail server 的SSL憑證的指令 Command to test mailserver SSL</a> <a href="/post/fix-zpool-device-busy-using-dmsetup/">[筆記] 解決無法建立zpool 的錯誤 / Fix Zpool Device Busy Using dmsetup</a>
</li> </li>
<li> <li>
<a href="/post/install-timeshift-on-ubuntu1804/">Install Timeshift on Ubuntu1804</a> <a href="/post/transfer-cent62-using-rsync/">[筆記] 用rsync 移轉 centos 6.2的老機器 Transfer Cent6.2 using rsync</a>
</li> </li>
<li> <li>
<a href="/post/install-ubuntu1804-on-dell-6ir-raid-controller/">用DELL 6 i/R 建立RAID並在上面安裝ubuntu 18.04 </a> <a href="/post/command_to_test_main_ssl/">[筆記] 測試mail server 的SSL憑證的指令 Command to test mailserver SSL</a>
</li> </li>
<li> <li>
<a href="/post/ubuntu-1804-install-root-on-raid/">Ubuntu 1804 Install Root on Raid</a> <a href="/post/install-timeshift-on-ubuntu1804/">Install Timeshift on Ubuntu1804</a>
</li> </li>
<li> <li>
<a href="/post/smartd-failed-to-start-in-freenas/">[筆記] Freenas Smartd 啟動失敗 Smartd Failed to Start in Freenas</a> <a href="/post/install-ubuntu1804-on-dell-6ir-raid-controller/">用DELL 6 i/R 建立RAID並在上面安裝ubuntu 18.04 </a>
</li> </li>
</ul> </ul>
@ -227,7 +227,7 @@
<ul> <ul>
<li> <li>
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (16)</a> <a href="/categories/%E7%AD%86%E8%A8%98">筆記 (18)</a>
</li> </li>
<li> <li>

@ -195,31 +195,31 @@
<ul> <ul>
<li> <li>
<a href="/post/fix-zpool-device-busy-using-dmsetup/">[筆記] 解決無法建立zpool 的錯誤 / Fix Zpool Device Busy Using dmsetup</a> <a href="/post/inx-collect-detail-hardware-info/">[筆記] inxi 蒐集詳盡的硬體資訊 / inxi Collect Detail Hardware Info</a>
</li> </li>
<li> <li>
<a href="/post/transfer-cent62-using-rsync/">[筆記] 用rsync 移轉 centos 6.2的老機器 Transfer Cent6.2 using rsync</a> <a href="/post/log-all-bash-commands/">[筆記] 紀錄所有下過的指令、時間 / Log All commands with timestamp</a>
</li> </li>
<li> <li>
<a href="/post/command_to_test_main_ssl/">[筆記] 測試mail server 的SSL憑證的指令 Command to test mailserver SSL</a> <a href="/post/fix-zpool-device-busy-using-dmsetup/">[筆記] 解決無法建立zpool 的錯誤 / Fix Zpool Device Busy Using dmsetup</a>
</li> </li>
<li> <li>
<a href="/post/install-timeshift-on-ubuntu1804/">Install Timeshift on Ubuntu1804</a> <a href="/post/transfer-cent62-using-rsync/">[筆記] 用rsync 移轉 centos 6.2的老機器 Transfer Cent6.2 using rsync</a>
</li> </li>
<li> <li>
<a href="/post/install-ubuntu1804-on-dell-6ir-raid-controller/">用DELL 6 i/R 建立RAID並在上面安裝ubuntu 18.04 </a> <a href="/post/command_to_test_main_ssl/">[筆記] 測試mail server 的SSL憑證的指令 Command to test mailserver SSL</a>
</li> </li>
<li> <li>
<a href="/post/ubuntu-1804-install-root-on-raid/">Ubuntu 1804 Install Root on Raid</a> <a href="/post/install-timeshift-on-ubuntu1804/">Install Timeshift on Ubuntu1804</a>
</li> </li>
<li> <li>
<a href="/post/smartd-failed-to-start-in-freenas/">[筆記] Freenas Smartd 啟動失敗 Smartd Failed to Start in Freenas</a> <a href="/post/install-ubuntu1804-on-dell-6ir-raid-controller/">用DELL 6 i/R 建立RAID並在上面安裝ubuntu 18.04 </a>
</li> </li>
</ul> </ul>
@ -232,7 +232,7 @@
<ul> <ul>
<li> <li>
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (16)</a> <a href="/categories/%E7%AD%86%E8%A8%98">筆記 (18)</a>
</li> </li>
<li> <li>

@ -191,31 +191,31 @@
<ul> <ul>
<li> <li>
<a href="/post/fix-zpool-device-busy-using-dmsetup/">[筆記] 解決無法建立zpool 的錯誤 / Fix Zpool Device Busy Using dmsetup</a> <a href="/post/inx-collect-detail-hardware-info/">[筆記] inxi 蒐集詳盡的硬體資訊 / inxi Collect Detail Hardware Info</a>
</li> </li>
<li> <li>
<a href="/post/transfer-cent62-using-rsync/">[筆記] 用rsync 移轉 centos 6.2的老機器 Transfer Cent6.2 using rsync</a> <a href="/post/log-all-bash-commands/">[筆記] 紀錄所有下過的指令、時間 / Log All commands with timestamp</a>
</li> </li>
<li> <li>
<a href="/post/command_to_test_main_ssl/">[筆記] 測試mail server 的SSL憑證的指令 Command to test mailserver SSL</a> <a href="/post/fix-zpool-device-busy-using-dmsetup/">[筆記] 解決無法建立zpool 的錯誤 / Fix Zpool Device Busy Using dmsetup</a>
</li> </li>
<li> <li>
<a href="/post/install-timeshift-on-ubuntu1804/">Install Timeshift on Ubuntu1804</a> <a href="/post/transfer-cent62-using-rsync/">[筆記] 用rsync 移轉 centos 6.2的老機器 Transfer Cent6.2 using rsync</a>
</li> </li>
<li> <li>
<a href="/post/install-ubuntu1804-on-dell-6ir-raid-controller/">用DELL 6 i/R 建立RAID並在上面安裝ubuntu 18.04 </a> <a href="/post/command_to_test_main_ssl/">[筆記] 測試mail server 的SSL憑證的指令 Command to test mailserver SSL</a>
</li> </li>
<li> <li>
<a href="/post/ubuntu-1804-install-root-on-raid/">Ubuntu 1804 Install Root on Raid</a> <a href="/post/install-timeshift-on-ubuntu1804/">Install Timeshift on Ubuntu1804</a>
</li> </li>
<li> <li>
<a href="/post/smartd-failed-to-start-in-freenas/">[筆記] Freenas Smartd 啟動失敗 Smartd Failed to Start in Freenas</a> <a href="/post/install-ubuntu1804-on-dell-6ir-raid-controller/">用DELL 6 i/R 建立RAID並在上面安裝ubuntu 18.04 </a>
</li> </li>
</ul> </ul>
@ -228,7 +228,7 @@
<ul> <ul>
<li> <li>
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (16)</a> <a href="/categories/%E7%AD%86%E8%A8%98">筆記 (18)</a>
</li> </li>
<li> <li>

@ -109,6 +109,8 @@
<li><a href="/tags/bookstack">Bookstack (1)</a></li> <li><a href="/tags/bookstack">Bookstack (1)</a></li>
<li><a href="/tags/bsd">Bsd (1)</a></li>
<li><a href="/tags/centos">Centos (1)</a></li> <li><a href="/tags/centos">Centos (1)</a></li>
<li><a href="/tags/docker">Docker (1)</a></li> <li><a href="/tags/docker">Docker (1)</a></li>
@ -119,7 +121,11 @@
<li><a href="/tags/freenas">Freenas (1)</a></li> <li><a href="/tags/freenas">Freenas (1)</a></li>
<li><a href="/tags/linux">Linux (3)</a></li> <li><a href="/tags/inventory">Inventory (1)</a></li>
<li><a href="/tags/linux">Linux (4)</a></li>
<li><a href="/tags/log">Log (1)</a></li>
<li><a href="/tags/mdadm">Mdadm (1)</a></li> <li><a href="/tags/mdadm">Mdadm (1)</a></li>
@ -169,31 +175,31 @@
<ul> <ul>
<li> <li>
<a href="/post/fix-zpool-device-busy-using-dmsetup/">[筆記] 解決無法建立zpool 的錯誤 / Fix Zpool Device Busy Using dmsetup</a> <a href="/post/inx-collect-detail-hardware-info/">[筆記] inxi 蒐集詳盡的硬體資訊 / inxi Collect Detail Hardware Info</a>
</li> </li>
<li> <li>
<a href="/post/transfer-cent62-using-rsync/">[筆記] 用rsync 移轉 centos 6.2的老機器 Transfer Cent6.2 using rsync</a> <a href="/post/log-all-bash-commands/">[筆記] 紀錄所有下過的指令、時間 / Log All commands with timestamp</a>
</li> </li>
<li> <li>
<a href="/post/command_to_test_main_ssl/">[筆記] 測試mail server 的SSL憑證的指令 Command to test mailserver SSL</a> <a href="/post/fix-zpool-device-busy-using-dmsetup/">[筆記] 解決無法建立zpool 的錯誤 / Fix Zpool Device Busy Using dmsetup</a>
</li> </li>
<li> <li>
<a href="/post/install-timeshift-on-ubuntu1804/">Install Timeshift on Ubuntu1804</a> <a href="/post/transfer-cent62-using-rsync/">[筆記] 用rsync 移轉 centos 6.2的老機器 Transfer Cent6.2 using rsync</a>
</li> </li>
<li> <li>
<a href="/post/install-ubuntu1804-on-dell-6ir-raid-controller/">用DELL 6 i/R 建立RAID並在上面安裝ubuntu 18.04 </a> <a href="/post/command_to_test_main_ssl/">[筆記] 測試mail server 的SSL憑證的指令 Command to test mailserver SSL</a>
</li> </li>
<li> <li>
<a href="/post/ubuntu-1804-install-root-on-raid/">Ubuntu 1804 Install Root on Raid</a> <a href="/post/install-timeshift-on-ubuntu1804/">Install Timeshift on Ubuntu1804</a>
</li> </li>
<li> <li>
<a href="/post/smartd-failed-to-start-in-freenas/">[筆記] Freenas Smartd 啟動失敗 Smartd Failed to Start in Freenas</a> <a href="/post/install-ubuntu1804-on-dell-6ir-raid-controller/">用DELL 6 i/R 建立RAID並在上面安裝ubuntu 18.04 </a>
</li> </li>
</ul> </ul>
@ -206,7 +212,7 @@
<ul> <ul>
<li> <li>
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (16)</a> <a href="/categories/%E7%AD%86%E8%A8%98">筆記 (18)</a>
</li> </li>
<li> <li>

@ -46,6 +46,15 @@
<description></description> <description></description>
</item> </item>
<item>
<title>Bsd</title>
<link>https://h.cowbay.org/tags/bsd/</link>
<pubDate>Tue, 23 Apr 2019 15:28:56 +0800</pubDate>
<guid>https://h.cowbay.org/tags/bsd/</guid>
<description></description>
</item>
<item> <item>
<title>Centos</title> <title>Centos</title>
<link>https://h.cowbay.org/tags/centos/</link> <link>https://h.cowbay.org/tags/centos/</link>
@ -91,15 +100,33 @@
<description></description> <description></description>
</item> </item>
<item>
<title>Inventory</title>
<link>https://h.cowbay.org/tags/inventory/</link>
<pubDate>Tue, 23 Apr 2019 15:28:56 +0800</pubDate>
<guid>https://h.cowbay.org/tags/inventory/</guid>
<description></description>
</item>
<item> <item>
<title>Linux</title> <title>Linux</title>
<link>https://h.cowbay.org/tags/linux/</link> <link>https://h.cowbay.org/tags/linux/</link>
<pubDate>Wed, 27 Mar 2019 17:44:49 +0800</pubDate> <pubDate>Tue, 23 Apr 2019 15:28:56 +0800</pubDate>
<guid>https://h.cowbay.org/tags/linux/</guid> <guid>https://h.cowbay.org/tags/linux/</guid>
<description></description> <description></description>
</item> </item>
<item>
<title>Log</title>
<link>https://h.cowbay.org/tags/log/</link>
<pubDate>Tue, 23 Apr 2019 15:08:36 +0800</pubDate>
<guid>https://h.cowbay.org/tags/log/</guid>
<description></description>
</item>
<item> <item>
<title>Mdadm</title> <title>Mdadm</title>
<link>https://h.cowbay.org/tags/mdadm/</link> <link>https://h.cowbay.org/tags/mdadm/</link>

@ -0,0 +1,392 @@
<!doctype html>
<html class="no-js" lang="tw">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="author" content="Eric Chang">
<meta name="description" content="Whats the Worst That Could Happen?">
<meta name="keywords" content="linux,blog,responsive,search,font awesome,pages,posts,multilingual,highlight.js,syntax highlighting,premium,shortcuts">
<meta name="generator" content="Hugo 0.50" />
<title> Inventory | MCの飄狂山莊㊣</title>
<meta name="description" content="Inventory - Whats the Worst That Could Happen?">
<meta itemprop="name" content="Inventory">
<meta itemprop="description" content="Inventory - Whats the Worst That Could Happen?">
<meta property="og:title" content="Inventory">
<meta property="og:description" content="Inventory - Whats the Worst That Could Happen?">
<meta property="og:image" content="https://www.gravatar.com/avatar/e4eb1f8e016ffb73e9889f87d16e15f0?size=200">
<meta property="og:url" content="https://h.cowbay.org/tags/inventory/">
<meta property="og:site_name" content="MCの飄狂山莊㊣"><meta property="og:type" content="website">
<link rel="icon" type="image/png" href="https://h.cowbay.org/favicon-32x32.png" sizes="32x32">
<link rel="icon" type="image/png" href="https://h.cowbay.org/favicon-16x16.png" sizes="16x16">
<link href="https://h.cowbay.org/tags/inventory/index.xml" rel="alternate" type="application/rss+xml" title="MCの飄狂山莊㊣" />
<link href="https://h.cowbay.org/tags/inventory/index.xml" rel="feed" type="application/rss+xml" title="MCの飄狂山莊㊣" />
<link rel="stylesheet" href="https://h.cowbay.org/sass/combined.min.717098cb5503581e75f12e486a847ca410bf8367d4d8713f4c37affc868c5a1d.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
</head>
<body class="bilberry-hugo-theme">
<nav class="permanentTopNav">
<div class="container">
<ul class="topnav">
</ul>
<div id="search-box" class="search">
<i class="fa fa-search"></i>
<input id="search" type="text" placeholder="">
</div>
</div>
</nav>
<header>
<div class="container">
<div class="logo">
<a href="/" class="logo">
<img src="https://www.gravatar.com/avatar/e4eb1f8e016ffb73e9889f87d16e15f0?d=mm&size=200" alt="">
<span class="overlay"><i class="fa fa-home"></i></span>
</a>
</div>
<div class="titles">
<h3 class="title"><a href="/">MCの飄狂山莊㊣</a></h3>
<span class="subtitle">Whats the Worst That Could Happen?</span>
</div>
<div class="toggler permanentTopNav">
<i class="fa fa-bars" aria-hidden="true"></i>
</div>
</div>
</header>
<div class="main container">
<div class="article-wrapper u-cf">
<a class="bubble" href="/post/inx-collect-detail-hardware-info/">
<i class="fa fa-fw fa-pencil"></i>
</a>
<article class="default article">
<div class="featured-image">
<a href="/post/inx-collect-detail-hardware-info/">
<img src="/images/post-default-10.jpg" alt="">
</a>
</div>
<div class="content">
<h3><a href="/post/inx-collect-detail-hardware-info/">[筆記] inxi 蒐集詳盡的硬體資訊 / inxi Collect Detail Hardware Info</a></h3>
<div class="meta">
<span class="date moment">2019-04-23</span>
<span class="categories">
<a href="/categories/%E7%AD%86%E8%A8%98">筆記</a>
</span>
<span class="author"><a href="/author/eric-chang">Eric Chang</a></span>
</div>
<p>最近因為一直碰到硬碟故障的問題算起來那一批同時購買的5X顆 seagate 2T硬碟已經有一半以上故障返修了&hellip;.</p>
<p>然後又因為一直沒有添購新的硬碟,只能用這些快過保/已過保的撐著</p>
<p>所以最近不斷的在更換機器內的硬碟,而且還沒有熱插拔!</p>
<p>也導致原本負責處理盤點資產的同事困擾,因為跟手邊的紀錄已經對不起來了</p>
<p>然後就變成要對資產的時候,需要一台一台登入,然後去下不同的指令,取得想要的硬體資訊,超級麻煩的!</p>
<p></p>
<a href="/post/inx-collect-detail-hardware-info/" class="more"></a>
</div>
<div class="footer">
<div class="tags">
<i class="fa fa-tags"></i>
<div class="links">
<a href="/tags/linux">linux</a>
<a href="/tags/bsd">bsd</a>
<a href="/tags/inventory">inventory</a>
</div>
</div>
</div>
</article>
</div>
<div class="paginator">
</div>
</div>
<footer>
<div class="container">
<div class="recent-posts">
<strong></strong>
<ul>
<li>
<a href="/post/inx-collect-detail-hardware-info/">[筆記] inxi 蒐集詳盡的硬體資訊 / inxi Collect Detail Hardware Info</a>
</li>
<li>
<a href="/post/log-all-bash-commands/">[筆記] 紀錄所有下過的指令、時間 / Log All commands with timestamp</a>
</li>
<li>
<a href="/post/fix-zpool-device-busy-using-dmsetup/">[筆記] 解決無法建立zpool 的錯誤 / Fix Zpool Device Busy Using dmsetup</a>
</li>
<li>
<a href="/post/transfer-cent62-using-rsync/">[筆記] 用rsync 移轉 centos 6.2的老機器 Transfer Cent6.2 using rsync</a>
</li>
<li>
<a href="/post/command_to_test_main_ssl/">[筆記] 測試mail server 的SSL憑證的指令 Command to test mailserver SSL</a>
</li>
<li>
<a href="/post/install-timeshift-on-ubuntu1804/">Install Timeshift on Ubuntu1804</a>
</li>
<li>
<a href="/post/install-ubuntu1804-on-dell-6ir-raid-controller/">用DELL 6 i/R 建立RAID並在上面安裝ubuntu 18.04 </a>
</li>
</ul>
</div>
<div class="categories">
<a href="/categories/"><strong></strong></a>
<ul>
<li>
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (18)</a>
</li>
<li>
<a href="/categories/ps">Ps (1)</a>
</li>
<li>
<a href="/categories/%E7%A2%8E%E5%BF%B5">碎念 (1)</a>
</li>
<li>
<a href="/categories/%E7%BE%A4%E6%9A%89">群暉 (1)</a>
</li>
</ul>
</div>
<div class="right">
<div class="external-profiles">
<strong></strong>
<a href="https://www.facebook.com/mariahchang" target="_blank"><i class="fa fa-facebook-adblock-proof"></i></a>
<a href="https://twitter.com/changchichung" target="_blank"><i class="fa fa-twitter-adblock-proof"></i></a>
<a href="https://github.com/changchichung" target="_blank"><i class="fa fa-github"></i></a>
</div>
</div>
</div>
</footer>
<div class="credits">
<div class="container">
<div class="copyright">
<a href="https://github.com/Lednerb" target="_blank">
&copy;
2017
by Lednerb
</a>
-
<a href="https://h.cowbay.org/tags/inventory/index.xml">RSS</a>
</div>
<div class="author">
<a href="https://github.com/Lednerb/bilberry-hugo-theme" target="_blank">Bilberry Hugo Theme</a>
</div>
</div>
</div>
<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-128770427-1', 'auto');
ga('send', 'pageview');
}
</script>
<script async src='https://www.google-analytics.com/analytics.js'></script>
<script type="text/javascript" src="https://h.cowbay.org/js/externalDependencies.39c47e10e241eae2947b3fe21809c572.js" integrity="md5-OcR&#43;EOJB6uKUez/iGAnFcg=="></script>
<script type="text/javascript" src="https://h.cowbay.org/js/theme.ff50ae6dc1bfc220b23bf69dbb41b54e.js" integrity="md5-/1CubcG/wiCyO/adu0G1Tg=="></script>
<script>
$(".moment").each(function() {
$(this).text(
moment( $(this).text() )
.locale( "tw" )
.format('LL')
);
});
$(".footnote-return sup").html("");
</script>
<script>
var client = algoliasearch("2XL0P8XDCY", "4ef65b37b627bb886b46c34a10e63aa6");
var index = client.initIndex("h_cowbay_org");
$('#search').autocomplete({ hint: false, autoselect: true, debug: false },
[
{
source: $.fn.autocomplete.sources.hits(index, { hitsPerPage: 10 }),
displayKey: function(suggestion) {
return suggestion.title || suggestion.author
},
templates: {
suggestion: function(suggestion) {
return "<span class='entry " + suggestion.type + "'>"
+ "<span class='title'>" + suggestion.title + "</span>"
+ "<span class='fa fa-fw " + suggestion.iconClass + "'></span>"
+ "</span>"
;
},
empty: function() {
return "<span class='empty'></span>"
},
footer: function() {
return '<div class="branding">Powered by <img src="https:\/\/h.cowbay.org\/dist\/algolia-logo-light.svg" /></div>'
}
},
}
])
.on('autocomplete:selected', function(event, suggestion, dataset) {
window.location = (suggestion.url);
})
.keypress(function (event, suggestion) {
if (event.which == 13) {
window.location = (suggestion.url);
}
});
</script>
</body>
</html>

@ -0,0 +1,33 @@
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>Inventory on MCの飄狂山莊㊣</title>
<link>https://h.cowbay.org/tags/inventory/</link>
<description>Recent content in Inventory on MCの飄狂山莊㊣</description>
<generator>Hugo -- gohugo.io</generator>
<lastBuildDate>Tue, 23 Apr 2019 15:28:56 +0800</lastBuildDate>
<atom:link href="https://h.cowbay.org/tags/inventory/index.xml" rel="self" type="application/rss+xml" />
<item>
<title>[筆記] inxi 蒐集詳盡的硬體資訊 / inxi Collect Detail Hardware Info</title>
<link>https://h.cowbay.org/post/inx-collect-detail-hardware-info/</link>
<pubDate>Tue, 23 Apr 2019 15:28:56 +0800</pubDate>
<guid>https://h.cowbay.org/post/inx-collect-detail-hardware-info/</guid>
<description>&lt;p&gt;最近因為一直碰到硬碟故障的問題算起來那一批同時購買的5X顆 seagate 2T硬碟已經有一半以上故障返修了&amp;hellip;.&lt;/p&gt;
&lt;p&gt;然後又因為一直沒有添購新的硬碟,只能用這些快過保/已過保的撐著&lt;/p&gt;
&lt;p&gt;所以最近不斷的在更換機器內的硬碟,而且還沒有熱插拔!&lt;/p&gt;
&lt;p&gt;也導致原本負責處理盤點資產的同事困擾,因為跟手邊的紀錄已經對不起來了&lt;/p&gt;
&lt;p&gt;然後就變成要對資產的時候,需要一台一台登入,然後去下不同的指令,取得想要的硬體資訊,超級麻煩的!&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;</description>
</item>
</channel>
</rss>

@ -0,0 +1 @@
<!DOCTYPE html><html><head><title>https://h.cowbay.org/tags/inventory/</title><link rel="canonical" href="https://h.cowbay.org/tags/inventory/"/><meta name="robots" content="noindex"><meta charset="utf-8" /><meta http-equiv="refresh" content="0; url=https://h.cowbay.org/tags/inventory/" /></head></html>

@ -90,6 +90,91 @@
<div class="article-wrapper u-cf">
<a class="bubble" href="/post/inx-collect-detail-hardware-info/">
<i class="fa fa-fw fa-pencil"></i>
</a>
<article class="default article">
<div class="featured-image">
<a href="/post/inx-collect-detail-hardware-info/">
<img src="/images/post-default-10.jpg" alt="">
</a>
</div>
<div class="content">
<h3><a href="/post/inx-collect-detail-hardware-info/">[筆記] inxi 蒐集詳盡的硬體資訊 / inxi Collect Detail Hardware Info</a></h3>
<div class="meta">
<span class="date moment">2019-04-23</span>
<span class="categories">
<a href="/categories/%E7%AD%86%E8%A8%98">筆記</a>
</span>
<span class="author"><a href="/author/eric-chang">Eric Chang</a></span>
</div>
<p>最近因為一直碰到硬碟故障的問題算起來那一批同時購買的5X顆 seagate 2T硬碟已經有一半以上故障返修了&hellip;.</p>
<p>然後又因為一直沒有添購新的硬碟,只能用這些快過保/已過保的撐著</p>
<p>所以最近不斷的在更換機器內的硬碟,而且還沒有熱插拔!</p>
<p>也導致原本負責處理盤點資產的同事困擾,因為跟手邊的紀錄已經對不起來了</p>
<p>然後就變成要對資產的時候,需要一台一台登入,然後去下不同的指令,取得想要的硬體資訊,超級麻煩的!</p>
<p></p>
<a href="/post/inx-collect-detail-hardware-info/" class="more"></a>
</div>
<div class="footer">
<div class="tags">
<i class="fa fa-tags"></i>
<div class="links">
<a href="/tags/linux">linux</a>
<a href="/tags/bsd">bsd</a>
<a href="/tags/inventory">inventory</a>
</div>
</div>
</div>
</article>
</div>
<div class="article-wrapper u-cf"> <div class="article-wrapper u-cf">
<a class="bubble" href="/post/transfer-cent62-using-rsync/"> <a class="bubble" href="/post/transfer-cent62-using-rsync/">
@ -384,31 +469,31 @@
<ul> <ul>
<li> <li>
<a href="/post/fix-zpool-device-busy-using-dmsetup/">[筆記] 解決無法建立zpool 的錯誤 / Fix Zpool Device Busy Using dmsetup</a> <a href="/post/inx-collect-detail-hardware-info/">[筆記] inxi 蒐集詳盡的硬體資訊 / inxi Collect Detail Hardware Info</a>
</li> </li>
<li> <li>
<a href="/post/transfer-cent62-using-rsync/">[筆記] 用rsync 移轉 centos 6.2的老機器 Transfer Cent6.2 using rsync</a> <a href="/post/log-all-bash-commands/">[筆記] 紀錄所有下過的指令、時間 / Log All commands with timestamp</a>
</li> </li>
<li> <li>
<a href="/post/command_to_test_main_ssl/">[筆記] 測試mail server 的SSL憑證的指令 Command to test mailserver SSL</a> <a href="/post/fix-zpool-device-busy-using-dmsetup/">[筆記] 解決無法建立zpool 的錯誤 / Fix Zpool Device Busy Using dmsetup</a>
</li> </li>
<li> <li>
<a href="/post/install-timeshift-on-ubuntu1804/">Install Timeshift on Ubuntu1804</a> <a href="/post/transfer-cent62-using-rsync/">[筆記] 用rsync 移轉 centos 6.2的老機器 Transfer Cent6.2 using rsync</a>
</li> </li>
<li> <li>
<a href="/post/install-ubuntu1804-on-dell-6ir-raid-controller/">用DELL 6 i/R 建立RAID並在上面安裝ubuntu 18.04 </a> <a href="/post/command_to_test_main_ssl/">[筆記] 測試mail server 的SSL憑證的指令 Command to test mailserver SSL</a>
</li> </li>
<li> <li>
<a href="/post/ubuntu-1804-install-root-on-raid/">Ubuntu 1804 Install Root on Raid</a> <a href="/post/install-timeshift-on-ubuntu1804/">Install Timeshift on Ubuntu1804</a>
</li> </li>
<li> <li>
<a href="/post/smartd-failed-to-start-in-freenas/">[筆記] Freenas Smartd 啟動失敗 Smartd Failed to Start in Freenas</a> <a href="/post/install-ubuntu1804-on-dell-6ir-raid-controller/">用DELL 6 i/R 建立RAID並在上面安裝ubuntu 18.04 </a>
</li> </li>
</ul> </ul>
@ -421,7 +506,7 @@
<ul> <ul>
<li> <li>
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (16)</a> <a href="/categories/%E7%AD%86%E8%A8%98">筆記 (18)</a>
</li> </li>
<li> <li>

@ -5,11 +5,30 @@
<link>https://h.cowbay.org/tags/linux/</link> <link>https://h.cowbay.org/tags/linux/</link>
<description>Recent content in Linux on MCの飄狂山莊㊣</description> <description>Recent content in Linux on MCの飄狂山莊㊣</description>
<generator>Hugo -- gohugo.io</generator> <generator>Hugo -- gohugo.io</generator>
<lastBuildDate>Wed, 27 Mar 2019 17:44:49 +0800</lastBuildDate> <lastBuildDate>Tue, 23 Apr 2019 15:28:56 +0800</lastBuildDate>
<atom:link href="https://h.cowbay.org/tags/linux/index.xml" rel="self" type="application/rss+xml" /> <atom:link href="https://h.cowbay.org/tags/linux/index.xml" rel="self" type="application/rss+xml" />
<item>
<title>[筆記] inxi 蒐集詳盡的硬體資訊 / inxi Collect Detail Hardware Info</title>
<link>https://h.cowbay.org/post/inx-collect-detail-hardware-info/</link>
<pubDate>Tue, 23 Apr 2019 15:28:56 +0800</pubDate>
<guid>https://h.cowbay.org/post/inx-collect-detail-hardware-info/</guid>
<description>&lt;p&gt;最近因為一直碰到硬碟故障的問題算起來那一批同時購買的5X顆 seagate 2T硬碟已經有一半以上故障返修了&amp;hellip;.&lt;/p&gt;
&lt;p&gt;然後又因為一直沒有添購新的硬碟,只能用這些快過保/已過保的撐著&lt;/p&gt;
&lt;p&gt;所以最近不斷的在更換機器內的硬碟,而且還沒有熱插拔!&lt;/p&gt;
&lt;p&gt;也導致原本負責處理盤點資產的同事困擾,因為跟手邊的紀錄已經對不起來了&lt;/p&gt;
&lt;p&gt;然後就變成要對資產的時候,需要一台一台登入,然後去下不同的指令,取得想要的硬體資訊,超級麻煩的!&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;</description>
</item>
<item> <item>
<title>[筆記] 用rsync 移轉 centos 6.2的老機器 Transfer Cent6.2 using rsync</title> <title>[筆記] 用rsync 移轉 centos 6.2的老機器 Transfer Cent6.2 using rsync</title>
<link>https://h.cowbay.org/post/transfer-cent62-using-rsync/</link> <link>https://h.cowbay.org/post/transfer-cent62-using-rsync/</link>

@ -0,0 +1,386 @@
<!doctype html>
<html class="no-js" lang="tw">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="author" content="Eric Chang">
<meta name="description" content="Whats the Worst That Could Happen?">
<meta name="keywords" content="linux,blog,responsive,search,font awesome,pages,posts,multilingual,highlight.js,syntax highlighting,premium,shortcuts">
<meta name="generator" content="Hugo 0.50" />
<title> Log | MCの飄狂山莊㊣</title>
<meta name="description" content="Log - Whats the Worst That Could Happen?">
<meta itemprop="name" content="Log">
<meta itemprop="description" content="Log - Whats the Worst That Could Happen?">
<meta property="og:title" content="Log">
<meta property="og:description" content="Log - Whats the Worst That Could Happen?">
<meta property="og:image" content="https://www.gravatar.com/avatar/e4eb1f8e016ffb73e9889f87d16e15f0?size=200">
<meta property="og:url" content="https://h.cowbay.org/tags/log/">
<meta property="og:site_name" content="MCの飄狂山莊㊣"><meta property="og:type" content="website">
<link rel="icon" type="image/png" href="https://h.cowbay.org/favicon-32x32.png" sizes="32x32">
<link rel="icon" type="image/png" href="https://h.cowbay.org/favicon-16x16.png" sizes="16x16">
<link href="https://h.cowbay.org/tags/log/index.xml" rel="alternate" type="application/rss+xml" title="MCの飄狂山莊㊣" />
<link href="https://h.cowbay.org/tags/log/index.xml" rel="feed" type="application/rss+xml" title="MCの飄狂山莊㊣" />
<link rel="stylesheet" href="https://h.cowbay.org/sass/combined.min.717098cb5503581e75f12e486a847ca410bf8367d4d8713f4c37affc868c5a1d.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
</head>
<body class="bilberry-hugo-theme">
<nav class="permanentTopNav">
<div class="container">
<ul class="topnav">
</ul>
<div id="search-box" class="search">
<i class="fa fa-search"></i>
<input id="search" type="text" placeholder="">
</div>
</div>
</nav>
<header>
<div class="container">
<div class="logo">
<a href="/" class="logo">
<img src="https://www.gravatar.com/avatar/e4eb1f8e016ffb73e9889f87d16e15f0?d=mm&size=200" alt="">
<span class="overlay"><i class="fa fa-home"></i></span>
</a>
</div>
<div class="titles">
<h3 class="title"><a href="/">MCの飄狂山莊㊣</a></h3>
<span class="subtitle">Whats the Worst That Could Happen?</span>
</div>
<div class="toggler permanentTopNav">
<i class="fa fa-bars" aria-hidden="true"></i>
</div>
</div>
</header>
<div class="main container">
<div class="article-wrapper u-cf">
<a class="bubble" href="/post/log-all-bash-commands/">
<i class="fa fa-fw fa-pencil"></i>
</a>
<article class="default article">
<div class="featured-image">
<a href="/post/log-all-bash-commands/">
<img src="/images/post-default-11.jpg" alt="">
</a>
</div>
<div class="content">
<h3><a href="/post/log-all-bash-commands/">[筆記] 紀錄所有下過的指令、時間 / Log All commands with timestamp</a></h3>
<div class="meta">
<span class="date moment">2019-04-23</span>
<span class="categories">
<a href="/categories/%E7%AD%86%E8%A8%98">筆記</a>
</span>
<span class="author"><a href="/author/eric-chang">Eric Chang</a></span>
</div>
<p>今天發生一件有點詭異的事情,本來應該要經過某個指令才會產生的檔案</p>
<p>居然不知為何自己產生了,在我記憶中沒有去執行過那個指令</p>
<p>翻了一下 bash_history ,裡面也只有下過哪些指令,沒有紀錄時間,完全沒有參考價值(攤手)</p>
<p>所以翻了一下網路至少把這兩台主要跑ansible的機器的log功能補上紀錄所有指令以及時間的部份</p>
<p></p>
<a href="/post/log-all-bash-commands/" class="more"></a>
</div>
<div class="footer">
<div class="tags">
<i class="fa fa-tags"></i>
<div class="links">
<a href="/tags/log">log</a>
</div>
</div>
</div>
</article>
</div>
<div class="paginator">
</div>
</div>
<footer>
<div class="container">
<div class="recent-posts">
<strong></strong>
<ul>
<li>
<a href="/post/inx-collect-detail-hardware-info/">[筆記] inxi 蒐集詳盡的硬體資訊 / inxi Collect Detail Hardware Info</a>
</li>
<li>
<a href="/post/log-all-bash-commands/">[筆記] 紀錄所有下過的指令、時間 / Log All commands with timestamp</a>
</li>
<li>
<a href="/post/fix-zpool-device-busy-using-dmsetup/">[筆記] 解決無法建立zpool 的錯誤 / Fix Zpool Device Busy Using dmsetup</a>
</li>
<li>
<a href="/post/transfer-cent62-using-rsync/">[筆記] 用rsync 移轉 centos 6.2的老機器 Transfer Cent6.2 using rsync</a>
</li>
<li>
<a href="/post/command_to_test_main_ssl/">[筆記] 測試mail server 的SSL憑證的指令 Command to test mailserver SSL</a>
</li>
<li>
<a href="/post/install-timeshift-on-ubuntu1804/">Install Timeshift on Ubuntu1804</a>
</li>
<li>
<a href="/post/install-ubuntu1804-on-dell-6ir-raid-controller/">用DELL 6 i/R 建立RAID並在上面安裝ubuntu 18.04 </a>
</li>
</ul>
</div>
<div class="categories">
<a href="/categories/"><strong></strong></a>
<ul>
<li>
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (18)</a>
</li>
<li>
<a href="/categories/ps">Ps (1)</a>
</li>
<li>
<a href="/categories/%E7%A2%8E%E5%BF%B5">碎念 (1)</a>
</li>
<li>
<a href="/categories/%E7%BE%A4%E6%9A%89">群暉 (1)</a>
</li>
</ul>
</div>
<div class="right">
<div class="external-profiles">
<strong></strong>
<a href="https://www.facebook.com/mariahchang" target="_blank"><i class="fa fa-facebook-adblock-proof"></i></a>
<a href="https://twitter.com/changchichung" target="_blank"><i class="fa fa-twitter-adblock-proof"></i></a>
<a href="https://github.com/changchichung" target="_blank"><i class="fa fa-github"></i></a>
</div>
</div>
</div>
</footer>
<div class="credits">
<div class="container">
<div class="copyright">
<a href="https://github.com/Lednerb" target="_blank">
&copy;
2017
by Lednerb
</a>
-
<a href="https://h.cowbay.org/tags/log/index.xml">RSS</a>
</div>
<div class="author">
<a href="https://github.com/Lednerb/bilberry-hugo-theme" target="_blank">Bilberry Hugo Theme</a>
</div>
</div>
</div>
<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-128770427-1', 'auto');
ga('send', 'pageview');
}
</script>
<script async src='https://www.google-analytics.com/analytics.js'></script>
<script type="text/javascript" src="https://h.cowbay.org/js/externalDependencies.39c47e10e241eae2947b3fe21809c572.js" integrity="md5-OcR&#43;EOJB6uKUez/iGAnFcg=="></script>
<script type="text/javascript" src="https://h.cowbay.org/js/theme.ff50ae6dc1bfc220b23bf69dbb41b54e.js" integrity="md5-/1CubcG/wiCyO/adu0G1Tg=="></script>
<script>
$(".moment").each(function() {
$(this).text(
moment( $(this).text() )
.locale( "tw" )
.format('LL')
);
});
$(".footnote-return sup").html("");
</script>
<script>
var client = algoliasearch("2XL0P8XDCY", "4ef65b37b627bb886b46c34a10e63aa6");
var index = client.initIndex("h_cowbay_org");
$('#search').autocomplete({ hint: false, autoselect: true, debug: false },
[
{
source: $.fn.autocomplete.sources.hits(index, { hitsPerPage: 10 }),
displayKey: function(suggestion) {
return suggestion.title || suggestion.author
},
templates: {
suggestion: function(suggestion) {
return "<span class='entry " + suggestion.type + "'>"
+ "<span class='title'>" + suggestion.title + "</span>"
+ "<span class='fa fa-fw " + suggestion.iconClass + "'></span>"
+ "</span>"
;
},
empty: function() {
return "<span class='empty'></span>"
},
footer: function() {
return '<div class="branding">Powered by <img src="https:\/\/h.cowbay.org\/dist\/algolia-logo-light.svg" /></div>'
}
},
}
])
.on('autocomplete:selected', function(event, suggestion, dataset) {
window.location = (suggestion.url);
})
.keypress(function (event, suggestion) {
if (event.which == 13) {
window.location = (suggestion.url);
}
});
</script>
</body>
</html>

@ -0,0 +1,31 @@
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>Log on MCの飄狂山莊㊣</title>
<link>https://h.cowbay.org/tags/log/</link>
<description>Recent content in Log on MCの飄狂山莊㊣</description>
<generator>Hugo -- gohugo.io</generator>
<lastBuildDate>Tue, 23 Apr 2019 15:08:36 +0800</lastBuildDate>
<atom:link href="https://h.cowbay.org/tags/log/index.xml" rel="self" type="application/rss+xml" />
<item>
<title>[筆記] 紀錄所有下過的指令、時間 / Log All commands with timestamp</title>
<link>https://h.cowbay.org/post/log-all-bash-commands/</link>
<pubDate>Tue, 23 Apr 2019 15:08:36 +0800</pubDate>
<guid>https://h.cowbay.org/post/log-all-bash-commands/</guid>
<description>&lt;p&gt;今天發生一件有點詭異的事情,本來應該要經過某個指令才會產生的檔案&lt;/p&gt;
&lt;p&gt;居然不知為何自己產生了,在我記憶中沒有去執行過那個指令&lt;/p&gt;
&lt;p&gt;翻了一下 bash_history ,裡面也只有下過哪些指令,沒有紀錄時間,完全沒有參考價值(攤手)&lt;/p&gt;
&lt;p&gt;所以翻了一下網路至少把這兩台主要跑ansible的機器的log功能補上紀錄所有指令以及時間的部份&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;</description>
</item>
</channel>
</rss>

@ -0,0 +1 @@
<!DOCTYPE html><html><head><title>https://h.cowbay.org/tags/log/</title><link rel="canonical" href="https://h.cowbay.org/tags/log/"/><meta name="robots" content="noindex"><meta charset="utf-8" /><meta http-equiv="refresh" content="0; url=https://h.cowbay.org/tags/log/" /></head></html>

@ -193,31 +193,31 @@
<ul> <ul>
<li> <li>
<a href="/post/fix-zpool-device-busy-using-dmsetup/">[筆記] 解決無法建立zpool 的錯誤 / Fix Zpool Device Busy Using dmsetup</a> <a href="/post/inx-collect-detail-hardware-info/">[筆記] inxi 蒐集詳盡的硬體資訊 / inxi Collect Detail Hardware Info</a>
</li> </li>
<li> <li>
<a href="/post/transfer-cent62-using-rsync/">[筆記] 用rsync 移轉 centos 6.2的老機器 Transfer Cent6.2 using rsync</a> <a href="/post/log-all-bash-commands/">[筆記] 紀錄所有下過的指令、時間 / Log All commands with timestamp</a>
</li> </li>
<li> <li>
<a href="/post/command_to_test_main_ssl/">[筆記] 測試mail server 的SSL憑證的指令 Command to test mailserver SSL</a> <a href="/post/fix-zpool-device-busy-using-dmsetup/">[筆記] 解決無法建立zpool 的錯誤 / Fix Zpool Device Busy Using dmsetup</a>
</li> </li>
<li> <li>
<a href="/post/install-timeshift-on-ubuntu1804/">Install Timeshift on Ubuntu1804</a> <a href="/post/transfer-cent62-using-rsync/">[筆記] 用rsync 移轉 centos 6.2的老機器 Transfer Cent6.2 using rsync</a>
</li> </li>
<li> <li>
<a href="/post/install-ubuntu1804-on-dell-6ir-raid-controller/">用DELL 6 i/R 建立RAID並在上面安裝ubuntu 18.04 </a> <a href="/post/command_to_test_main_ssl/">[筆記] 測試mail server 的SSL憑證的指令 Command to test mailserver SSL</a>
</li> </li>
<li> <li>
<a href="/post/ubuntu-1804-install-root-on-raid/">Ubuntu 1804 Install Root on Raid</a> <a href="/post/install-timeshift-on-ubuntu1804/">Install Timeshift on Ubuntu1804</a>
</li> </li>
<li> <li>
<a href="/post/smartd-failed-to-start-in-freenas/">[筆記] Freenas Smartd 啟動失敗 Smartd Failed to Start in Freenas</a> <a href="/post/install-ubuntu1804-on-dell-6ir-raid-controller/">用DELL 6 i/R 建立RAID並在上面安裝ubuntu 18.04 </a>
</li> </li>
</ul> </ul>
@ -230,7 +230,7 @@
<ul> <ul>
<li> <li>
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (16)</a> <a href="/categories/%E7%AD%86%E8%A8%98">筆記 (18)</a>
</li> </li>
<li> <li>

@ -205,31 +205,31 @@
<ul> <ul>
<li> <li>
<a href="/post/fix-zpool-device-busy-using-dmsetup/">[筆記] 解決無法建立zpool 的錯誤 / Fix Zpool Device Busy Using dmsetup</a> <a href="/post/inx-collect-detail-hardware-info/">[筆記] inxi 蒐集詳盡的硬體資訊 / inxi Collect Detail Hardware Info</a>
</li> </li>
<li> <li>
<a href="/post/transfer-cent62-using-rsync/">[筆記] 用rsync 移轉 centos 6.2的老機器 Transfer Cent6.2 using rsync</a> <a href="/post/log-all-bash-commands/">[筆記] 紀錄所有下過的指令、時間 / Log All commands with timestamp</a>
</li> </li>
<li> <li>
<a href="/post/command_to_test_main_ssl/">[筆記] 測試mail server 的SSL憑證的指令 Command to test mailserver SSL</a> <a href="/post/fix-zpool-device-busy-using-dmsetup/">[筆記] 解決無法建立zpool 的錯誤 / Fix Zpool Device Busy Using dmsetup</a>
</li> </li>
<li> <li>
<a href="/post/install-timeshift-on-ubuntu1804/">Install Timeshift on Ubuntu1804</a> <a href="/post/transfer-cent62-using-rsync/">[筆記] 用rsync 移轉 centos 6.2的老機器 Transfer Cent6.2 using rsync</a>
</li> </li>
<li> <li>
<a href="/post/install-ubuntu1804-on-dell-6ir-raid-controller/">用DELL 6 i/R 建立RAID並在上面安裝ubuntu 18.04 </a> <a href="/post/command_to_test_main_ssl/">[筆記] 測試mail server 的SSL憑證的指令 Command to test mailserver SSL</a>
</li> </li>
<li> <li>
<a href="/post/ubuntu-1804-install-root-on-raid/">Ubuntu 1804 Install Root on Raid</a> <a href="/post/install-timeshift-on-ubuntu1804/">Install Timeshift on Ubuntu1804</a>
</li> </li>
<li> <li>
<a href="/post/smartd-failed-to-start-in-freenas/">[筆記] Freenas Smartd 啟動失敗 Smartd Failed to Start in Freenas</a> <a href="/post/install-ubuntu1804-on-dell-6ir-raid-controller/">用DELL 6 i/R 建立RAID並在上面安裝ubuntu 18.04 </a>
</li> </li>
</ul> </ul>
@ -242,7 +242,7 @@
<ul> <ul>
<li> <li>
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (16)</a> <a href="/categories/%E7%AD%86%E8%A8%98">筆記 (18)</a>
</li> </li>
<li> <li>

@ -195,31 +195,31 @@
<ul> <ul>
<li> <li>
<a href="/post/fix-zpool-device-busy-using-dmsetup/">[筆記] 解決無法建立zpool 的錯誤 / Fix Zpool Device Busy Using dmsetup</a> <a href="/post/inx-collect-detail-hardware-info/">[筆記] inxi 蒐集詳盡的硬體資訊 / inxi Collect Detail Hardware Info</a>
</li> </li>
<li> <li>
<a href="/post/transfer-cent62-using-rsync/">[筆記] 用rsync 移轉 centos 6.2的老機器 Transfer Cent6.2 using rsync</a> <a href="/post/log-all-bash-commands/">[筆記] 紀錄所有下過的指令、時間 / Log All commands with timestamp</a>
</li> </li>
<li> <li>
<a href="/post/command_to_test_main_ssl/">[筆記] 測試mail server 的SSL憑證的指令 Command to test mailserver SSL</a> <a href="/post/fix-zpool-device-busy-using-dmsetup/">[筆記] 解決無法建立zpool 的錯誤 / Fix Zpool Device Busy Using dmsetup</a>
</li> </li>
<li> <li>
<a href="/post/install-timeshift-on-ubuntu1804/">Install Timeshift on Ubuntu1804</a> <a href="/post/transfer-cent62-using-rsync/">[筆記] 用rsync 移轉 centos 6.2的老機器 Transfer Cent6.2 using rsync</a>
</li> </li>
<li> <li>
<a href="/post/install-ubuntu1804-on-dell-6ir-raid-controller/">用DELL 6 i/R 建立RAID並在上面安裝ubuntu 18.04 </a> <a href="/post/command_to_test_main_ssl/">[筆記] 測試mail server 的SSL憑證的指令 Command to test mailserver SSL</a>
</li> </li>
<li> <li>
<a href="/post/ubuntu-1804-install-root-on-raid/">Ubuntu 1804 Install Root on Raid</a> <a href="/post/install-timeshift-on-ubuntu1804/">Install Timeshift on Ubuntu1804</a>
</li> </li>
<li> <li>
<a href="/post/smartd-failed-to-start-in-freenas/">[筆記] Freenas Smartd 啟動失敗 Smartd Failed to Start in Freenas</a> <a href="/post/install-ubuntu1804-on-dell-6ir-raid-controller/">用DELL 6 i/R 建立RAID並在上面安裝ubuntu 18.04 </a>
</li> </li>
</ul> </ul>
@ -232,7 +232,7 @@
<ul> <ul>
<li> <li>
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (16)</a> <a href="/categories/%E7%AD%86%E8%A8%98">筆記 (18)</a>
</li> </li>
<li> <li>

@ -295,31 +295,31 @@
<ul> <ul>
<li> <li>
<a href="/post/fix-zpool-device-busy-using-dmsetup/">[筆記] 解決無法建立zpool 的錯誤 / Fix Zpool Device Busy Using dmsetup</a> <a href="/post/inx-collect-detail-hardware-info/">[筆記] inxi 蒐集詳盡的硬體資訊 / inxi Collect Detail Hardware Info</a>
</li> </li>
<li> <li>
<a href="/post/transfer-cent62-using-rsync/">[筆記] 用rsync 移轉 centos 6.2的老機器 Transfer Cent6.2 using rsync</a> <a href="/post/log-all-bash-commands/">[筆記] 紀錄所有下過的指令、時間 / Log All commands with timestamp</a>
</li> </li>
<li> <li>
<a href="/post/command_to_test_main_ssl/">[筆記] 測試mail server 的SSL憑證的指令 Command to test mailserver SSL</a> <a href="/post/fix-zpool-device-busy-using-dmsetup/">[筆記] 解決無法建立zpool 的錯誤 / Fix Zpool Device Busy Using dmsetup</a>
</li> </li>
<li> <li>
<a href="/post/install-timeshift-on-ubuntu1804/">Install Timeshift on Ubuntu1804</a> <a href="/post/transfer-cent62-using-rsync/">[筆記] 用rsync 移轉 centos 6.2的老機器 Transfer Cent6.2 using rsync</a>
</li> </li>
<li> <li>
<a href="/post/install-ubuntu1804-on-dell-6ir-raid-controller/">用DELL 6 i/R 建立RAID並在上面安裝ubuntu 18.04 </a> <a href="/post/command_to_test_main_ssl/">[筆記] 測試mail server 的SSL憑證的指令 Command to test mailserver SSL</a>
</li> </li>
<li> <li>
<a href="/post/ubuntu-1804-install-root-on-raid/">Ubuntu 1804 Install Root on Raid</a> <a href="/post/install-timeshift-on-ubuntu1804/">Install Timeshift on Ubuntu1804</a>
</li> </li>
<li> <li>
<a href="/post/smartd-failed-to-start-in-freenas/">[筆記] Freenas Smartd 啟動失敗 Smartd Failed to Start in Freenas</a> <a href="/post/install-ubuntu1804-on-dell-6ir-raid-controller/">用DELL 6 i/R 建立RAID並在上面安裝ubuntu 18.04 </a>
</li> </li>
</ul> </ul>
@ -332,7 +332,7 @@
<ul> <ul>
<li> <li>
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (16)</a> <a href="/categories/%E7%AD%86%E8%A8%98">筆記 (18)</a>
</li> </li>
<li> <li>

@ -180,31 +180,31 @@
<ul> <ul>
<li> <li>
<a href="/post/fix-zpool-device-busy-using-dmsetup/">[筆記] 解決無法建立zpool 的錯誤 / Fix Zpool Device Busy Using dmsetup</a> <a href="/post/inx-collect-detail-hardware-info/">[筆記] inxi 蒐集詳盡的硬體資訊 / inxi Collect Detail Hardware Info</a>
</li> </li>
<li> <li>
<a href="/post/transfer-cent62-using-rsync/">[筆記] 用rsync 移轉 centos 6.2的老機器 Transfer Cent6.2 using rsync</a> <a href="/post/log-all-bash-commands/">[筆記] 紀錄所有下過的指令、時間 / Log All commands with timestamp</a>
</li> </li>
<li> <li>
<a href="/post/command_to_test_main_ssl/">[筆記] 測試mail server 的SSL憑證的指令 Command to test mailserver SSL</a> <a href="/post/fix-zpool-device-busy-using-dmsetup/">[筆記] 解決無法建立zpool 的錯誤 / Fix Zpool Device Busy Using dmsetup</a>
</li> </li>
<li> <li>
<a href="/post/install-timeshift-on-ubuntu1804/">Install Timeshift on Ubuntu1804</a> <a href="/post/transfer-cent62-using-rsync/">[筆記] 用rsync 移轉 centos 6.2的老機器 Transfer Cent6.2 using rsync</a>
</li> </li>
<li> <li>
<a href="/post/install-ubuntu1804-on-dell-6ir-raid-controller/">用DELL 6 i/R 建立RAID並在上面安裝ubuntu 18.04 </a> <a href="/post/command_to_test_main_ssl/">[筆記] 測試mail server 的SSL憑證的指令 Command to test mailserver SSL</a>
</li> </li>
<li> <li>
<a href="/post/ubuntu-1804-install-root-on-raid/">Ubuntu 1804 Install Root on Raid</a> <a href="/post/install-timeshift-on-ubuntu1804/">Install Timeshift on Ubuntu1804</a>
</li> </li>
<li> <li>
<a href="/post/smartd-failed-to-start-in-freenas/">[筆記] Freenas Smartd 啟動失敗 Smartd Failed to Start in Freenas</a> <a href="/post/install-ubuntu1804-on-dell-6ir-raid-controller/">用DELL 6 i/R 建立RAID並在上面安裝ubuntu 18.04 </a>
</li> </li>
</ul> </ul>
@ -217,7 +217,7 @@
<ul> <ul>
<li> <li>
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (16)</a> <a href="/categories/%E7%AD%86%E8%A8%98">筆記 (18)</a>
</li> </li>
<li> <li>

@ -193,31 +193,31 @@
<ul> <ul>
<li> <li>
<a href="/post/fix-zpool-device-busy-using-dmsetup/">[筆記] 解決無法建立zpool 的錯誤 / Fix Zpool Device Busy Using dmsetup</a> <a href="/post/inx-collect-detail-hardware-info/">[筆記] inxi 蒐集詳盡的硬體資訊 / inxi Collect Detail Hardware Info</a>
</li> </li>
<li> <li>
<a href="/post/transfer-cent62-using-rsync/">[筆記] 用rsync 移轉 centos 6.2的老機器 Transfer Cent6.2 using rsync</a> <a href="/post/log-all-bash-commands/">[筆記] 紀錄所有下過的指令、時間 / Log All commands with timestamp</a>
</li> </li>
<li> <li>
<a href="/post/command_to_test_main_ssl/">[筆記] 測試mail server 的SSL憑證的指令 Command to test mailserver SSL</a> <a href="/post/fix-zpool-device-busy-using-dmsetup/">[筆記] 解決無法建立zpool 的錯誤 / Fix Zpool Device Busy Using dmsetup</a>
</li> </li>
<li> <li>
<a href="/post/install-timeshift-on-ubuntu1804/">Install Timeshift on Ubuntu1804</a> <a href="/post/transfer-cent62-using-rsync/">[筆記] 用rsync 移轉 centos 6.2的老機器 Transfer Cent6.2 using rsync</a>
</li> </li>
<li> <li>
<a href="/post/install-ubuntu1804-on-dell-6ir-raid-controller/">用DELL 6 i/R 建立RAID並在上面安裝ubuntu 18.04 </a> <a href="/post/command_to_test_main_ssl/">[筆記] 測試mail server 的SSL憑證的指令 Command to test mailserver SSL</a>
</li> </li>
<li> <li>
<a href="/post/ubuntu-1804-install-root-on-raid/">Ubuntu 1804 Install Root on Raid</a> <a href="/post/install-timeshift-on-ubuntu1804/">Install Timeshift on Ubuntu1804</a>
</li> </li>
<li> <li>
<a href="/post/smartd-failed-to-start-in-freenas/">[筆記] Freenas Smartd 啟動失敗 Smartd Failed to Start in Freenas</a> <a href="/post/install-ubuntu1804-on-dell-6ir-raid-controller/">用DELL 6 i/R 建立RAID並在上面安裝ubuntu 18.04 </a>
</li> </li>
</ul> </ul>
@ -230,7 +230,7 @@
<ul> <ul>
<li> <li>
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (16)</a> <a href="/categories/%E7%AD%86%E8%A8%98">筆記 (18)</a>
</li> </li>
<li> <li>

@ -191,31 +191,31 @@
<ul> <ul>
<li> <li>
<a href="/post/fix-zpool-device-busy-using-dmsetup/">[筆記] 解決無法建立zpool 的錯誤 / Fix Zpool Device Busy Using dmsetup</a> <a href="/post/inx-collect-detail-hardware-info/">[筆記] inxi 蒐集詳盡的硬體資訊 / inxi Collect Detail Hardware Info</a>
</li> </li>
<li> <li>
<a href="/post/transfer-cent62-using-rsync/">[筆記] 用rsync 移轉 centos 6.2的老機器 Transfer Cent6.2 using rsync</a> <a href="/post/log-all-bash-commands/">[筆記] 紀錄所有下過的指令、時間 / Log All commands with timestamp</a>
</li> </li>
<li> <li>
<a href="/post/command_to_test_main_ssl/">[筆記] 測試mail server 的SSL憑證的指令 Command to test mailserver SSL</a> <a href="/post/fix-zpool-device-busy-using-dmsetup/">[筆記] 解決無法建立zpool 的錯誤 / Fix Zpool Device Busy Using dmsetup</a>
</li> </li>
<li> <li>
<a href="/post/install-timeshift-on-ubuntu1804/">Install Timeshift on Ubuntu1804</a> <a href="/post/transfer-cent62-using-rsync/">[筆記] 用rsync 移轉 centos 6.2的老機器 Transfer Cent6.2 using rsync</a>
</li> </li>
<li> <li>
<a href="/post/install-ubuntu1804-on-dell-6ir-raid-controller/">用DELL 6 i/R 建立RAID並在上面安裝ubuntu 18.04 </a> <a href="/post/command_to_test_main_ssl/">[筆記] 測試mail server 的SSL憑證的指令 Command to test mailserver SSL</a>
</li> </li>
<li> <li>
<a href="/post/ubuntu-1804-install-root-on-raid/">Ubuntu 1804 Install Root on Raid</a> <a href="/post/install-timeshift-on-ubuntu1804/">Install Timeshift on Ubuntu1804</a>
</li> </li>
<li> <li>
<a href="/post/smartd-failed-to-start-in-freenas/">[筆記] Freenas Smartd 啟動失敗 Smartd Failed to Start in Freenas</a> <a href="/post/install-ubuntu1804-on-dell-6ir-raid-controller/">用DELL 6 i/R 建立RAID並在上面安裝ubuntu 18.04 </a>
</li> </li>
</ul> </ul>
@ -228,7 +228,7 @@
<ul> <ul>
<li> <li>
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (16)</a> <a href="/categories/%E7%AD%86%E8%A8%98">筆記 (18)</a>
</li> </li>
<li> <li>

@ -204,31 +204,31 @@
<ul> <ul>
<li> <li>
<a href="/post/fix-zpool-device-busy-using-dmsetup/">[筆記] 解決無法建立zpool 的錯誤 / Fix Zpool Device Busy Using dmsetup</a> <a href="/post/inx-collect-detail-hardware-info/">[筆記] inxi 蒐集詳盡的硬體資訊 / inxi Collect Detail Hardware Info</a>
</li> </li>
<li> <li>
<a href="/post/transfer-cent62-using-rsync/">[筆記] 用rsync 移轉 centos 6.2的老機器 Transfer Cent6.2 using rsync</a> <a href="/post/log-all-bash-commands/">[筆記] 紀錄所有下過的指令、時間 / Log All commands with timestamp</a>
</li> </li>
<li> <li>
<a href="/post/command_to_test_main_ssl/">[筆記] 測試mail server 的SSL憑證的指令 Command to test mailserver SSL</a> <a href="/post/fix-zpool-device-busy-using-dmsetup/">[筆記] 解決無法建立zpool 的錯誤 / Fix Zpool Device Busy Using dmsetup</a>
</li> </li>
<li> <li>
<a href="/post/install-timeshift-on-ubuntu1804/">Install Timeshift on Ubuntu1804</a> <a href="/post/transfer-cent62-using-rsync/">[筆記] 用rsync 移轉 centos 6.2的老機器 Transfer Cent6.2 using rsync</a>
</li> </li>
<li> <li>
<a href="/post/install-ubuntu1804-on-dell-6ir-raid-controller/">用DELL 6 i/R 建立RAID並在上面安裝ubuntu 18.04 </a> <a href="/post/command_to_test_main_ssl/">[筆記] 測試mail server 的SSL憑證的指令 Command to test mailserver SSL</a>
</li> </li>
<li> <li>
<a href="/post/ubuntu-1804-install-root-on-raid/">Ubuntu 1804 Install Root on Raid</a> <a href="/post/install-timeshift-on-ubuntu1804/">Install Timeshift on Ubuntu1804</a>
</li> </li>
<li> <li>
<a href="/post/smartd-failed-to-start-in-freenas/">[筆記] Freenas Smartd 啟動失敗 Smartd Failed to Start in Freenas</a> <a href="/post/install-ubuntu1804-on-dell-6ir-raid-controller/">用DELL 6 i/R 建立RAID並在上面安裝ubuntu 18.04 </a>
</li> </li>
</ul> </ul>
@ -241,7 +241,7 @@
<ul> <ul>
<li> <li>
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (16)</a> <a href="/categories/%E7%AD%86%E8%A8%98">筆記 (18)</a>
</li> </li>
<li> <li>

@ -295,31 +295,31 @@
<ul> <ul>
<li> <li>
<a href="/post/fix-zpool-device-busy-using-dmsetup/">[筆記] 解決無法建立zpool 的錯誤 / Fix Zpool Device Busy Using dmsetup</a> <a href="/post/inx-collect-detail-hardware-info/">[筆記] inxi 蒐集詳盡的硬體資訊 / inxi Collect Detail Hardware Info</a>
</li> </li>
<li> <li>
<a href="/post/transfer-cent62-using-rsync/">[筆記] 用rsync 移轉 centos 6.2的老機器 Transfer Cent6.2 using rsync</a> <a href="/post/log-all-bash-commands/">[筆記] 紀錄所有下過的指令、時間 / Log All commands with timestamp</a>
</li> </li>
<li> <li>
<a href="/post/command_to_test_main_ssl/">[筆記] 測試mail server 的SSL憑證的指令 Command to test mailserver SSL</a> <a href="/post/fix-zpool-device-busy-using-dmsetup/">[筆記] 解決無法建立zpool 的錯誤 / Fix Zpool Device Busy Using dmsetup</a>
</li> </li>
<li> <li>
<a href="/post/install-timeshift-on-ubuntu1804/">Install Timeshift on Ubuntu1804</a> <a href="/post/transfer-cent62-using-rsync/">[筆記] 用rsync 移轉 centos 6.2的老機器 Transfer Cent6.2 using rsync</a>
</li> </li>
<li> <li>
<a href="/post/install-ubuntu1804-on-dell-6ir-raid-controller/">用DELL 6 i/R 建立RAID並在上面安裝ubuntu 18.04 </a> <a href="/post/command_to_test_main_ssl/">[筆記] 測試mail server 的SSL憑證的指令 Command to test mailserver SSL</a>
</li> </li>
<li> <li>
<a href="/post/ubuntu-1804-install-root-on-raid/">Ubuntu 1804 Install Root on Raid</a> <a href="/post/install-timeshift-on-ubuntu1804/">Install Timeshift on Ubuntu1804</a>
</li> </li>
<li> <li>
<a href="/post/smartd-failed-to-start-in-freenas/">[筆記] Freenas Smartd 啟動失敗 Smartd Failed to Start in Freenas</a> <a href="/post/install-ubuntu1804-on-dell-6ir-raid-controller/">用DELL 6 i/R 建立RAID並在上面安裝ubuntu 18.04 </a>
</li> </li>
</ul> </ul>
@ -332,7 +332,7 @@
<ul> <ul>
<li> <li>
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (16)</a> <a href="/categories/%E7%AD%86%E8%A8%98">筆記 (18)</a>
</li> </li>
<li> <li>

@ -433,31 +433,31 @@
<ul> <ul>
<li> <li>
<a href="/post/fix-zpool-device-busy-using-dmsetup/">[筆記] 解決無法建立zpool 的錯誤 / Fix Zpool Device Busy Using dmsetup</a> <a href="/post/inx-collect-detail-hardware-info/">[筆記] inxi 蒐集詳盡的硬體資訊 / inxi Collect Detail Hardware Info</a>
</li> </li>
<li> <li>
<a href="/post/transfer-cent62-using-rsync/">[筆記] 用rsync 移轉 centos 6.2的老機器 Transfer Cent6.2 using rsync</a> <a href="/post/log-all-bash-commands/">[筆記] 紀錄所有下過的指令、時間 / Log All commands with timestamp</a>
</li> </li>
<li> <li>
<a href="/post/command_to_test_main_ssl/">[筆記] 測試mail server 的SSL憑證的指令 Command to test mailserver SSL</a> <a href="/post/fix-zpool-device-busy-using-dmsetup/">[筆記] 解決無法建立zpool 的錯誤 / Fix Zpool Device Busy Using dmsetup</a>
</li> </li>
<li> <li>
<a href="/post/install-timeshift-on-ubuntu1804/">Install Timeshift on Ubuntu1804</a> <a href="/post/transfer-cent62-using-rsync/">[筆記] 用rsync 移轉 centos 6.2的老機器 Transfer Cent6.2 using rsync</a>
</li> </li>
<li> <li>
<a href="/post/install-ubuntu1804-on-dell-6ir-raid-controller/">用DELL 6 i/R 建立RAID並在上面安裝ubuntu 18.04 </a> <a href="/post/command_to_test_main_ssl/">[筆記] 測試mail server 的SSL憑證的指令 Command to test mailserver SSL</a>
</li> </li>
<li> <li>
<a href="/post/ubuntu-1804-install-root-on-raid/">Ubuntu 1804 Install Root on Raid</a> <a href="/post/install-timeshift-on-ubuntu1804/">Install Timeshift on Ubuntu1804</a>
</li> </li>
<li> <li>
<a href="/post/smartd-failed-to-start-in-freenas/">[筆記] Freenas Smartd 啟動失敗 Smartd Failed to Start in Freenas</a> <a href="/post/install-ubuntu1804-on-dell-6ir-raid-controller/">用DELL 6 i/R 建立RAID並在上面安裝ubuntu 18.04 </a>
</li> </li>
</ul> </ul>
@ -470,7 +470,7 @@
<ul> <ul>
<li> <li>
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (16)</a> <a href="/categories/%E7%AD%86%E8%A8%98">筆記 (18)</a>
</li> </li>
<li> <li>

@ -191,31 +191,31 @@
<ul> <ul>
<li> <li>
<a href="/post/fix-zpool-device-busy-using-dmsetup/">[筆記] 解決無法建立zpool 的錯誤 / Fix Zpool Device Busy Using dmsetup</a> <a href="/post/inx-collect-detail-hardware-info/">[筆記] inxi 蒐集詳盡的硬體資訊 / inxi Collect Detail Hardware Info</a>
</li> </li>
<li> <li>
<a href="/post/transfer-cent62-using-rsync/">[筆記] 用rsync 移轉 centos 6.2的老機器 Transfer Cent6.2 using rsync</a> <a href="/post/log-all-bash-commands/">[筆記] 紀錄所有下過的指令、時間 / Log All commands with timestamp</a>
</li> </li>
<li> <li>
<a href="/post/command_to_test_main_ssl/">[筆記] 測試mail server 的SSL憑證的指令 Command to test mailserver SSL</a> <a href="/post/fix-zpool-device-busy-using-dmsetup/">[筆記] 解決無法建立zpool 的錯誤 / Fix Zpool Device Busy Using dmsetup</a>
</li> </li>
<li> <li>
<a href="/post/install-timeshift-on-ubuntu1804/">Install Timeshift on Ubuntu1804</a> <a href="/post/transfer-cent62-using-rsync/">[筆記] 用rsync 移轉 centos 6.2的老機器 Transfer Cent6.2 using rsync</a>
</li> </li>
<li> <li>
<a href="/post/install-ubuntu1804-on-dell-6ir-raid-controller/">用DELL 6 i/R 建立RAID並在上面安裝ubuntu 18.04 </a> <a href="/post/command_to_test_main_ssl/">[筆記] 測試mail server 的SSL憑證的指令 Command to test mailserver SSL</a>
</li> </li>
<li> <li>
<a href="/post/ubuntu-1804-install-root-on-raid/">Ubuntu 1804 Install Root on Raid</a> <a href="/post/install-timeshift-on-ubuntu1804/">Install Timeshift on Ubuntu1804</a>
</li> </li>
<li> <li>
<a href="/post/smartd-failed-to-start-in-freenas/">[筆記] Freenas Smartd 啟動失敗 Smartd Failed to Start in Freenas</a> <a href="/post/install-ubuntu1804-on-dell-6ir-raid-controller/">用DELL 6 i/R 建立RAID並在上面安裝ubuntu 18.04 </a>
</li> </li>
</ul> </ul>
@ -228,7 +228,7 @@
<ul> <ul>
<li> <li>
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (16)</a> <a href="/categories/%E7%AD%86%E8%A8%98">筆記 (18)</a>
</li> </li>
<li> <li>

@ -189,31 +189,31 @@
<ul> <ul>
<li> <li>
<a href="/post/fix-zpool-device-busy-using-dmsetup/">[筆記] 解決無法建立zpool 的錯誤 / Fix Zpool Device Busy Using dmsetup</a> <a href="/post/inx-collect-detail-hardware-info/">[筆記] inxi 蒐集詳盡的硬體資訊 / inxi Collect Detail Hardware Info</a>
</li> </li>
<li> <li>
<a href="/post/transfer-cent62-using-rsync/">[筆記] 用rsync 移轉 centos 6.2的老機器 Transfer Cent6.2 using rsync</a> <a href="/post/log-all-bash-commands/">[筆記] 紀錄所有下過的指令、時間 / Log All commands with timestamp</a>
</li> </li>
<li> <li>
<a href="/post/command_to_test_main_ssl/">[筆記] 測試mail server 的SSL憑證的指令 Command to test mailserver SSL</a> <a href="/post/fix-zpool-device-busy-using-dmsetup/">[筆記] 解決無法建立zpool 的錯誤 / Fix Zpool Device Busy Using dmsetup</a>
</li> </li>
<li> <li>
<a href="/post/install-timeshift-on-ubuntu1804/">Install Timeshift on Ubuntu1804</a> <a href="/post/transfer-cent62-using-rsync/">[筆記] 用rsync 移轉 centos 6.2的老機器 Transfer Cent6.2 using rsync</a>
</li> </li>
<li> <li>
<a href="/post/install-ubuntu1804-on-dell-6ir-raid-controller/">用DELL 6 i/R 建立RAID並在上面安裝ubuntu 18.04 </a> <a href="/post/command_to_test_main_ssl/">[筆記] 測試mail server 的SSL憑證的指令 Command to test mailserver SSL</a>
</li> </li>
<li> <li>
<a href="/post/ubuntu-1804-install-root-on-raid/">Ubuntu 1804 Install Root on Raid</a> <a href="/post/install-timeshift-on-ubuntu1804/">Install Timeshift on Ubuntu1804</a>
</li> </li>
<li> <li>
<a href="/post/smartd-failed-to-start-in-freenas/">[筆記] Freenas Smartd 啟動失敗 Smartd Failed to Start in Freenas</a> <a href="/post/install-ubuntu1804-on-dell-6ir-raid-controller/">用DELL 6 i/R 建立RAID並在上面安裝ubuntu 18.04 </a>
</li> </li>
</ul> </ul>
@ -226,7 +226,7 @@
<ul> <ul>
<li> <li>
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (16)</a> <a href="/categories/%E7%AD%86%E8%A8%98">筆記 (18)</a>
</li> </li>
<li> <li>

@ -180,31 +180,31 @@
<ul> <ul>
<li> <li>
<a href="/post/fix-zpool-device-busy-using-dmsetup/">[筆記] 解決無法建立zpool 的錯誤 / Fix Zpool Device Busy Using dmsetup</a> <a href="/post/inx-collect-detail-hardware-info/">[筆記] inxi 蒐集詳盡的硬體資訊 / inxi Collect Detail Hardware Info</a>
</li> </li>
<li> <li>
<a href="/post/transfer-cent62-using-rsync/">[筆記] 用rsync 移轉 centos 6.2的老機器 Transfer Cent6.2 using rsync</a> <a href="/post/log-all-bash-commands/">[筆記] 紀錄所有下過的指令、時間 / Log All commands with timestamp</a>
</li> </li>
<li> <li>
<a href="/post/command_to_test_main_ssl/">[筆記] 測試mail server 的SSL憑證的指令 Command to test mailserver SSL</a> <a href="/post/fix-zpool-device-busy-using-dmsetup/">[筆記] 解決無法建立zpool 的錯誤 / Fix Zpool Device Busy Using dmsetup</a>
</li> </li>
<li> <li>
<a href="/post/install-timeshift-on-ubuntu1804/">Install Timeshift on Ubuntu1804</a> <a href="/post/transfer-cent62-using-rsync/">[筆記] 用rsync 移轉 centos 6.2的老機器 Transfer Cent6.2 using rsync</a>
</li> </li>
<li> <li>
<a href="/post/install-ubuntu1804-on-dell-6ir-raid-controller/">用DELL 6 i/R 建立RAID並在上面安裝ubuntu 18.04 </a> <a href="/post/command_to_test_main_ssl/">[筆記] 測試mail server 的SSL憑證的指令 Command to test mailserver SSL</a>
</li> </li>
<li> <li>
<a href="/post/ubuntu-1804-install-root-on-raid/">Ubuntu 1804 Install Root on Raid</a> <a href="/post/install-timeshift-on-ubuntu1804/">Install Timeshift on Ubuntu1804</a>
</li> </li>
<li> <li>
<a href="/post/smartd-failed-to-start-in-freenas/">[筆記] Freenas Smartd 啟動失敗 Smartd Failed to Start in Freenas</a> <a href="/post/install-ubuntu1804-on-dell-6ir-raid-controller/">用DELL 6 i/R 建立RAID並在上面安裝ubuntu 18.04 </a>
</li> </li>
</ul> </ul>
@ -217,7 +217,7 @@
<ul> <ul>
<li> <li>
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (16)</a> <a href="/categories/%E7%AD%86%E8%A8%98">筆記 (18)</a>
</li> </li>
<li> <li>

@ -548,31 +548,31 @@
<ul> <ul>
<li> <li>
<a href="/post/fix-zpool-device-busy-using-dmsetup/">[筆記] 解決無法建立zpool 的錯誤 / Fix Zpool Device Busy Using dmsetup</a> <a href="/post/inx-collect-detail-hardware-info/">[筆記] inxi 蒐集詳盡的硬體資訊 / inxi Collect Detail Hardware Info</a>
</li> </li>
<li> <li>
<a href="/post/transfer-cent62-using-rsync/">[筆記] 用rsync 移轉 centos 6.2的老機器 Transfer Cent6.2 using rsync</a> <a href="/post/log-all-bash-commands/">[筆記] 紀錄所有下過的指令、時間 / Log All commands with timestamp</a>
</li> </li>
<li> <li>
<a href="/post/command_to_test_main_ssl/">[筆記] 測試mail server 的SSL憑證的指令 Command to test mailserver SSL</a> <a href="/post/fix-zpool-device-busy-using-dmsetup/">[筆記] 解決無法建立zpool 的錯誤 / Fix Zpool Device Busy Using dmsetup</a>
</li> </li>
<li> <li>
<a href="/post/install-timeshift-on-ubuntu1804/">Install Timeshift on Ubuntu1804</a> <a href="/post/transfer-cent62-using-rsync/">[筆記] 用rsync 移轉 centos 6.2的老機器 Transfer Cent6.2 using rsync</a>
</li> </li>
<li> <li>
<a href="/post/install-ubuntu1804-on-dell-6ir-raid-controller/">用DELL 6 i/R 建立RAID並在上面安裝ubuntu 18.04 </a> <a href="/post/command_to_test_main_ssl/">[筆記] 測試mail server 的SSL憑證的指令 Command to test mailserver SSL</a>
</li> </li>
<li> <li>
<a href="/post/ubuntu-1804-install-root-on-raid/">Ubuntu 1804 Install Root on Raid</a> <a href="/post/install-timeshift-on-ubuntu1804/">Install Timeshift on Ubuntu1804</a>
</li> </li>
<li> <li>
<a href="/post/smartd-failed-to-start-in-freenas/">[筆記] Freenas Smartd 啟動失敗 Smartd Failed to Start in Freenas</a> <a href="/post/install-ubuntu1804-on-dell-6ir-raid-controller/">用DELL 6 i/R 建立RAID並在上面安裝ubuntu 18.04 </a>
</li> </li>
</ul> </ul>
@ -585,7 +585,7 @@
<ul> <ul>
<li> <li>
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (16)</a> <a href="/categories/%E7%AD%86%E8%A8%98">筆記 (18)</a>
</li> </li>
<li> <li>

@ -203,31 +203,31 @@
<ul> <ul>
<li> <li>
<a href="/post/fix-zpool-device-busy-using-dmsetup/">[筆記] 解決無法建立zpool 的錯誤 / Fix Zpool Device Busy Using dmsetup</a> <a href="/post/inx-collect-detail-hardware-info/">[筆記] inxi 蒐集詳盡的硬體資訊 / inxi Collect Detail Hardware Info</a>
</li> </li>
<li> <li>
<a href="/post/transfer-cent62-using-rsync/">[筆記] 用rsync 移轉 centos 6.2的老機器 Transfer Cent6.2 using rsync</a> <a href="/post/log-all-bash-commands/">[筆記] 紀錄所有下過的指令、時間 / Log All commands with timestamp</a>
</li> </li>
<li> <li>
<a href="/post/command_to_test_main_ssl/">[筆記] 測試mail server 的SSL憑證的指令 Command to test mailserver SSL</a> <a href="/post/fix-zpool-device-busy-using-dmsetup/">[筆記] 解決無法建立zpool 的錯誤 / Fix Zpool Device Busy Using dmsetup</a>
</li> </li>
<li> <li>
<a href="/post/install-timeshift-on-ubuntu1804/">Install Timeshift on Ubuntu1804</a> <a href="/post/transfer-cent62-using-rsync/">[筆記] 用rsync 移轉 centos 6.2的老機器 Transfer Cent6.2 using rsync</a>
</li> </li>
<li> <li>
<a href="/post/install-ubuntu1804-on-dell-6ir-raid-controller/">用DELL 6 i/R 建立RAID並在上面安裝ubuntu 18.04 </a> <a href="/post/command_to_test_main_ssl/">[筆記] 測試mail server 的SSL憑證的指令 Command to test mailserver SSL</a>
</li> </li>
<li> <li>
<a href="/post/ubuntu-1804-install-root-on-raid/">Ubuntu 1804 Install Root on Raid</a> <a href="/post/install-timeshift-on-ubuntu1804/">Install Timeshift on Ubuntu1804</a>
</li> </li>
<li> <li>
<a href="/post/smartd-failed-to-start-in-freenas/">[筆記] Freenas Smartd 啟動失敗 Smartd Failed to Start in Freenas</a> <a href="/post/install-ubuntu1804-on-dell-6ir-raid-controller/">用DELL 6 i/R 建立RAID並在上面安裝ubuntu 18.04 </a>
</li> </li>
</ul> </ul>
@ -240,7 +240,7 @@
<ul> <ul>
<li> <li>
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (16)</a> <a href="/categories/%E7%AD%86%E8%A8%98">筆記 (18)</a>
</li> </li>
<li> <li>

@ -2,6 +2,16 @@
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
xmlns:xhtml="http://www.w3.org/1999/xhtml"> xmlns:xhtml="http://www.w3.org/1999/xhtml">
<url>
<loc>https://h.cowbay.org/post/inx-collect-detail-hardware-info/</loc>
<lastmod>2019-04-23T15:28:56+08:00</lastmod>
</url>
<url>
<loc>https://h.cowbay.org/post/log-all-bash-commands/</loc>
<lastmod>2019-04-23T15:08:36+08:00</lastmod>
</url>
<url> <url>
<loc>https://h.cowbay.org/post/fix-zpool-device-busy-using-dmsetup/</loc> <loc>https://h.cowbay.org/post/fix-zpool-device-busy-using-dmsetup/</loc>
<lastmod>2019-04-01T15:56:27+08:00</lastmod> <lastmod>2019-04-01T15:56:27+08:00</lastmod>
@ -146,6 +156,12 @@
<priority>0</priority> <priority>0</priority>
</url> </url>
<url>
<loc>https://h.cowbay.org/tags/bsd/</loc>
<lastmod>2019-04-23T15:28:56+08:00</lastmod>
<priority>0</priority>
</url>
<url> <url>
<loc>https://h.cowbay.org/categories/</loc> <loc>https://h.cowbay.org/categories/</loc>
<priority>0</priority> <priority>0</priority>
@ -186,7 +202,7 @@
<url> <url>
<loc>https://h.cowbay.org/author/eric-chang/</loc> <loc>https://h.cowbay.org/author/eric-chang/</loc>
<lastmod>2019-04-01T15:56:27+08:00</lastmod> <lastmod>2019-04-23T15:28:56+08:00</lastmod>
<priority>0</priority> <priority>0</priority>
</url> </url>
@ -208,15 +224,27 @@
<priority>0</priority> <priority>0</priority>
</url> </url>
<url>
<loc>https://h.cowbay.org/tags/inventory/</loc>
<lastmod>2019-04-23T15:28:56+08:00</lastmod>
<priority>0</priority>
</url>
<url> <url>
<loc>https://h.cowbay.org/tags/linux/</loc> <loc>https://h.cowbay.org/tags/linux/</loc>
<lastmod>2019-03-27T17:44:49+08:00</lastmod> <lastmod>2019-04-23T15:28:56+08:00</lastmod>
<priority>0</priority>
</url>
<url>
<loc>https://h.cowbay.org/tags/log/</loc>
<lastmod>2019-04-23T15:08:36+08:00</lastmod>
<priority>0</priority> <priority>0</priority>
</url> </url>
<url> <url>
<loc>https://h.cowbay.org/</loc> <loc>https://h.cowbay.org/</loc>
<lastmod>2019-04-01T15:56:27+08:00</lastmod> <lastmod>2019-04-23T15:28:56+08:00</lastmod>
<priority>0</priority> <priority>0</priority>
<xhtml:link <xhtml:link
rel="alternate" rel="alternate"
@ -261,7 +289,7 @@
<url> <url>
<loc>https://h.cowbay.org/post/</loc> <loc>https://h.cowbay.org/post/</loc>
<lastmod>2019-04-01T15:56:27+08:00</lastmod> <lastmod>2019-04-23T15:28:56+08:00</lastmod>
<priority>0</priority> <priority>0</priority>
</url> </url>
@ -360,7 +388,7 @@
<url> <url>
<loc>https://h.cowbay.org/categories/%E7%AD%86%E8%A8%98/</loc> <loc>https://h.cowbay.org/categories/%E7%AD%86%E8%A8%98/</loc>
<lastmod>2019-04-01T15:56:27+08:00</lastmod> <lastmod>2019-04-23T15:28:56+08:00</lastmod>
<priority>0</priority> <priority>0</priority>
</url> </url>

Loading…
Cancel
Save