Virtualbox

Solaris:iostat 資訊從何而來?

  • December 28, 2016

我願意

iostat -En

並報告很多死盤(我已經刪除了它們)格式和cfgadm 看到一個磁碟(我使用一個磁碟!)那麼這些磁碟資訊來自哪裡?如何去除?

iostat 的輸出

c0t1d0           Soft Errors: 0 Hard Errors: 0 Transport Errors: 0 
Vendor: ATA      Product: VBOX HARDDISK    Revision: 1.0  Serial No:  
Size: 52.43GB <52428799488 bytes>
Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0 
Illegal Request: 242 Predictive Failure Analysis: 0 
sd4              Soft Errors: 0 Hard Errors: 0 Transport Errors: 0 
Vendor: ATA      Product: VBOX HARDDISK    Revision: 1.0  Serial No:  
Size: 17.18GB <17179868672 bytes>
Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0 
Illegal Request: 358 Predictive Failure Analysis: 0 
sd5              Soft Errors: 0 Hard Errors: 0 Transport Errors: 0 
Vendor: ATA      Product: VBOX HARDDISK    Revision: 1.0  Serial No:  
Size: 27.92GB <27917286912 bytes>
Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0 
Illegal Request: 140 Predictive Failure Analysis: 0 
sd6              Soft Errors: 0 Hard Errors: 0 Transport Errors: 0 
Vendor: ATA      Product: VBOX HARDDISK    Revision: 1.0  Serial No:  
Size: 27.92GB <27917286912 bytes>
Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0 
Illegal Request: 139 Predictive Failure Analysis: 0 
sd7              Soft Errors: 0 Hard Errors: 0 Transport Errors: 0 
Vendor: ATA      Product: VBOX HARDDISK    Revision: 1.0  Serial No:  
Size: 27.92GB <27917286912 bytes>
Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0 
Illegal Request: 144 Predictive Failure Analysis: 0 
sd8              Soft Errors: 0 Hard Errors: 0 Transport Errors: 0 
Vendor: ATA      Product: VBOX HARDDISK    Revision: 1.0  Serial No:  
Size: 27.92GB <27917286912 bytes>
Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0 
Illegal Request: 193 Predictive Failure Analysis: 0 

使用devfsadm -C給..什麼都沒有。

devfsadm -C應該做你想做的。如果你使用 -Cv,你會得到詳細的輸出。

您沒有記下您的 Solaris 版本。舊版本還有其他腳本用於為各種設備創建連結。即:devlinks(?)

如果您執行的是 Solaris 11,請嘗試執行: diskinfo

查看您的輸出,您似乎正在使用虛擬框。我只在 Solaris 上執行過虛擬機,因此對於使用帶有 Solaris 來賓的虛擬機提供和刪除磁碟的故障排除,我無法提供太多見解。

引用自:https://unix.stackexchange.com/questions/304550