2016年9月9日 星期五

檢查磁碟陣列卡上硬碟的狀態

當硬碟是直接接到主機板的SATA插槽時,可以用 hdparm 與 smartctl 直接檢查其狀態,參考《檢查硬碟的狀態》。但若是硬碟是接在磁碟陣列卡(RAID card)上面的時候,就沒辦法直接這樣檢查。下面介紹以3ware 9650SE 這張RAID card為例子來介紹如何使用smartctl來檢查每個硬碟的狀態
  • smartctl -i -d 3ware,10 /dev/twa0
  • smartctl -H -d 3ware,10 /dev/twa0
  • smartctl -a -d 3ware,10 /dev/twa0
在這邊 twa0 代表的是3ware這張卡的controller number,若有兩張卡,那就會是twa0twa1 而前面的10代表的是這張卡上面的port number。
若這張卡上面有12個ports,那第一個port會是0, 第二個port會是1, ...,所以10代表的是這張卡上面的第11個port。要注意到port number並不是依序對應到sda, sdb, ...上,要去看卡上面出來的virtual disk給編號

如果只是要看硬碟的序號,可以用
  • for i in {0..11}; do echo "### 3ware port $i ###"; smartctl -i -d 3ware,$i /dev/twa0; done
  • tw_cli /c0 show all
或是參考《3ware mapping to disk devices in Linux》上面其他的指令

_EOF_

15 則留言:

  1. Partners don't take the opportunity to leave, because there
    are many details to consider. Learning the perfect vacation
    route will get you started on the doors it offers, from
    getting to many amazing places around the world.
    autodesk autocad crack
    avg driver updater crack
    idm crack
    wondershare data recovery crack
    cool edit pro crack

    回覆刪除
    回覆
    1. 阿就操場啊~: 檢查磁碟陣列卡上硬碟的狀態 >>>>> Download Now

      >>>>> Download Full

      阿就操場啊~: 檢查磁碟陣列卡上硬碟的狀態 >>>>> Download LINK

      >>>>> Download Now

      阿就操場啊~: 檢查磁碟陣列卡上硬碟的狀態 >>>>> Download Full

      >>>>> Download LINK Ho

      刪除
    2. 上面故意假裝使用者,把想要用的連結弄成看起來像是部落格主回應的內容,要注意喔

      刪除
  2. 上面賣破解的留言實在很有趣

    回覆刪除
  3. This is really a nice and informative. containing all information and also has a great impact on the new technology. Thanks for sharing it.
    Ezdrummer Crack
    Teamviewer Crack
    freemake video converter crack
    ardamax keylogger crack

    回覆刪除
  4. 網誌管理員已經移除這則留言。

    回覆刪除
  5. 網誌管理員已經移除這則留言。

    回覆刪除
  6. Hello, Your Site is very nice, and it's very helping us this post is unique and interesting, thank you for sharing this awesome information. and visit our blog site also.. Keep it up
    PortraitPro 22.0.2 Crack
    IDM Crack 6.40 Build 9 Patch

    回覆刪除

  7. Very nice work I Really impressed and got lots of information from your post and encourage me to work as best as i can. keep it!
    toontrack-superior-drummer

    回覆刪除
  8. This article is jam-packed with important information. This helps me achieve my goal; those who believe in the beauty of thoughts have a great career ahead of them. Visit discover more about this fascinating subject, go to my page.
    Alien Skin Blow Up Crack



    回覆刪除
  9. Tremendous Information.... https://fullkeygens.com/remove-logo-now-crack/

    回覆刪除
  10. Remarkable Content.... https://fullkeygens.com/remove-logo-now-crack/

    回覆刪除