差異處

這裏顯示兩個版本的差異處。

連向這個比對檢視

Both sides previous revision 前次修改
下次修改
前次修改
pc:raid:megaraid:howtomapvdtoospath [2016/08/05 01:17]
tony
pc:raid:megaraid:howtomapvdtoospath [2023/06/25 09:48] (目前版本)
行 32: 行 32:
 PNPDeviceID:​ SCSI\DISK&​VEN_SMC&​PROD_LSI2208\5&​25F6E07A&​1&​010100 PNPDeviceID:​ SCSI\DISK&​VEN_SMC&​PROD_LSI2208\5&​25F6E07A&​1&​010100
 </​code>​ </​code>​
-尾巴的格式可能為1.0.0,也可能為010000,但第一個byte應該就是bus,第二個就是fun也就是virtual drive id,第三個不重要省略這個方法還需要測試與找明確證據。+尾巴的格式可能為1.0.0,也可能為010000第一個byte應該就是bus,第二個就是fun也就是virtual drive id,第三個不重要省略這個方法還需要測試與找明確證據。 
 +===== Summary ===== 
 +在windows與liunx上最一致的做法,是藉由storcli與smartctl的比對,去找出VD與OS Path的對應;但要注意smartctl的GPL license與在linux上編譯執行檔參照函示庫的問題
 ===== Reference ===== ===== Reference =====
   * [[https://​social.technet.microsoft.com/​Forums/​windowsserver/​en-US/​8fb1fc12-9dbd-4a55-a70a-542c1c69f231/​how-can-i-match-wwn-with-a-physical-disk?​forum=winserverpowershell|How can I match wwn with a physical disk?]]   * [[https://​social.technet.microsoft.com/​Forums/​windowsserver/​en-US/​8fb1fc12-9dbd-4a55-a70a-542c1c69f231/​how-can-i-match-wwn-with-a-physical-disk?​forum=winserverpowershell|How can I match wwn with a physical disk?]]
行 38: 行 40:
   * [[http://​serverfault.com/​questions/​381177/​megacli-get-the-dev-sd-device-name-for-a-logical-drive|MegaCli:​ Get the /dev/sd* device name for a logical drive]]   * [[http://​serverfault.com/​questions/​381177/​megacli-get-the-dev-sd-device-name-for-a-logical-drive|MegaCli:​ Get the /dev/sd* device name for a logical drive]]
   * [[https://​github.com/​chicks-net/​megamap|megamap]]   * [[https://​github.com/​chicks-net/​megamap|megamap]]
 +  * [[https://​www.smartmontools.org/​wiki/​Download|smartctl download]]
  
 =====    ===== =====    =====