瀏覽模式: 普通 | 列表

關於硬碟

我自已家裡是用有六個 sata  插槽的主機板 (asus p5b-e plus),它可以作 raid (0, 1 , 1+0 , 5),

(算一算它是有八個插槽啦)

買它是因為它有 raid 5,想玩看看 raid 5,所以主機板入手後,就建置了 raid 5,

不過後來和阿十聊到,說可以試試玩 raid 1+0,

因為主機板內建的要玩 raid 5 不如玩 raid 1+0 效能來的好一點。

有四顆 500G 玩 raid 1+ 0 或 raid 5,

不過玩的過程中硬碟偶而會出一些情況,raid 時常發生 DEGRADED,

或是找不到其中一顆,重開進 XP 後,就 rebuild。

最近像 seagate 又有認體問題,我的四顆就是 seagate ( 當中三顆就是有問題的認體,不過我已更新了),

加上時常被 raid 1+0、raid 5 搞得提心跳膽,(不過我也在懷疑是  p5b-e plus 主機板的影響),

所以我意然決然的,再買了兩顆 1TB,還是 seagate 的硬碟 (因為它在促銷,不怕死的我),

我的架構會是,兩顆 500G 組 raid 0 當系統 XP + 兩顆 500G 組 raid 1 當資料碟 + 兩顆 1TB 組 raid 1 當資料碟,

最起麻 raid 壞了還有 1/2 的機會仍有資料保留著的。

大家可以增加觀念,就是這個 → 你的硬碟還健康嗎?

對我有用的是: 方法1 保固期到了,就考慮更換硬碟 ,及 方法3 同系統中選用不同時間出廠的硬碟

PS: 問我為何要買那麼大的硬碟,我只要不想資料每次都要移來移去而已。
標籤: 硬碟 raid

Windows 超強工作管理員 - System Explorer

就是這個傢伙 System Explorer

1。它是 Free 免費的,

2。它是有繁體中文的,

3。有安裝版及可攜版

attachments/200902/5021279564.png

Major Features:

  • Detailed informations about Tasks, Processes, Modules, Startups, IE Addons, Uninstallers, Windows, Services, Drivers, Connections and Opened Files.
  • Easy check of suspicious files via VirusTotal or Jotti service.
  • Easy search details about file/process via online databases.
  • Security Extension for automatic check of processes,modules and selected files.
  • "New Task..." dialog with integrated AutoSearch and AutoCompletion.
  • Action History for monitoring processes activities.
  • Performance graphs for monitoring usage of system resources in time.
  • System Snapshots for easy finding of system changes.
  • System Report builds rich text report containing major informations about your System.
  • Multilanguage and Plugins Support.
  • Can be used as Task Manager replacement.

Requirements:

OS: Windows XP or Windows Vista

Licensing:

SystemExplorer is FREE for personal and commercial use!

Download version 1.5:

Installer (1020 KB)   Portable Version (945 KB)
Download
Download
  Download
Download
標籤: 工作管理

Posfix 技術手冊

可以從 這裡 搜尋來的
標籤: postfix 郵件

退信訊息 RECIPIENT (relayed to non-DSN-aware mailer)

當收到退信的內容如下

----- The following addresses had successful delivery notifications -----
xx@xxx (relayed to non-DSN-aware mailer)

理由 http://www.sendmail.org/~ca/email/dsn.html#DSN

The first problem is addressed by DSN in the following way: if it delivers an e-mail to an MTA which doesn't support DSNs it will tell the sender so

應該是收件者的 Mail Server 不支援 DSN (回條??)

標籤: dsn 退信

當 iowait 時查看誰在存取硬碟(續)

續: http://ssorc.tw/rewrite.php/read-714.html

轉貼這裡http://www.cppblog.com/go-benny/archive/2008/04/23/47908.html

定位IOWait高的一些方法和工具:

在Linux性能分析時經常使用的工具包括:top, iostat, vmstat等


IOWait高的一些處理方法

1、檢查RAID的狀態,比如是否正在重建或者沒有初始化
2、替換操作系統的內核,最好使用發行版標準的Linux kernel,因為有比較多的補丁
3、檢查/proc/sys/vm下面是否可以優化
4、是否使用了文件系統,文件系統是否有優化的選項,比如在RAID5上採用xfs文件系統時,
   
可以調節一些參數優化性能
5、客戶端程序是否產生了過大的壓力,比如磁盤的讀寫性能只有10MB/s,每個線程的讀寫
   
速度為5MB/s,那麼如果讀寫線程數為20的話,無疑會造成IOWait過高

6、查看進程狀態
ps -eo pid,user,wchan=W​​IDE-WCHAN-COLUMN -os,cmd|awk ' $4 ~ /D/ {print $0}'
lsof -p $pid

7、使用block_dump

/etc/init.d/syslog stop
echo 1 > /proc/sys/vm/block_dump
sleep 60
dmesg | awk '/(READ|WRITE|dirtied)/ {process[$1]++} END {for (x in process)
print process[x],x}' |sort -nr |awk '{print $2 " " $1}' |
head -n 10

echo 0 > /proc/sys/vm/block_dump
/etc/init.d/syslog start
標籤: iowait 硬碟

1。需要有 Seagate 的硬碟

2。程式有繁體中文

連結說明 http://www.seagate.com/www/zh-tw/support/downloads/discwizard/

下載點: http://www.seagate.com/ww/v/index.jsp?locale=zh-TW&name=discwizard-eula&vgnextoid=d93b5897a9d23110VgnVCM100000f5ee0a0aRCRD

中文說明書 http://www.seagate.com/support/discwizard/dw_ug.zh-tw.pdf

引用

DiscWizard

安裝輔助工具

我們已更新 DiscWizard 以更能符合現今技術的需求(改善的 USB 支援、改善的診斷磁碟分割區以及 Windows Vista 支援)。以下為較新的工具。

現在該怎麼做:

如果您要安裝新磁碟機,則可使用以下安裝說明連結以協助安裝磁碟機,然後使用作業系統內建的工具來準備硬碟機。

硬體安裝說明:

[閱讀全文]

標籤: ghost 備份 硬碟

Apache 使用 mod_php 讓 VH 有獨立的 php.ini 檔

Apache 可以使用 php_admin_flag 或 php_flag 更改 php 的參數值使每個 Virtual HOst 不一樣,

另一種玩法,使每個 php.ini 不一樣,

預設在 phpinfo 裡會看到 Configuration File (php.ini) Path 是在 /etc/php.ini

使用 mod_php 這個模組,就可以讓每一個 Virtual Host 有自已的 php.ini  設定檔

只要這樣

<VirtualHost 1.2.3.4:80>

PHPINIDir /放置路徑/

</VirtualHost>

接著在 /放置路徑/ 裡產生一個 php.ini 就可以了

標籤: apache php.ini