SAM-FS/QFS 常駐程式不會啟動,且若您執行下列作業之一,則檔案系統不可掛載:
您升級至 Solaris 9 9/04 發行版本。
您套用 Solaris 9 建議的修補程式叢集 (Solaris 9 修補程式 ID 112233-11)。
發生錯誤的原因是常駐程式通常使用的系統呼叫 181 正由不同的模組使用。模組剛由您所套用的修補程式引入。/var/adm/messages 中會記錄下列錯誤訊息:
/var/adm/messages Jan 5 13:28:46 host genunix: [ID 147998 kern.warning] WARNING: system call entry 181 is already in use Jan 5 13:28:46 host samfs: [ID 798779 kern.warning] WARNING: SAM-FS: modload(samsys) failed. |
此外,/var/adm/sam-log 中還將記錄下列錯誤訊息:
/var/adm/sam-log Jan 5 13:30:08 host sam-fsd[355]: [ID 617651 local4.alert] Fatal error - samsys module not loaded Jan 5 13:30:08 host sam-fsd[355]: [ID 765074 local4.alert] Correct problem and 'kill -HUP 355' |
執行下列步驟:
成為超級使用者。
從 modinfo 輸出發出 181 的 grep 以判斷 181 是否正由其他模組使用:
# modinfo | grep 181 8 1181aa0 38c4 1 1 TS (time sharing sched class) 15 11b1092 181a 12 1 sad (STREAMS Administrative Driver ') 43 1295cd8 ce9 181 1 ssc050 (SSC050 i2c device driver: v1.4) 158 7813a87f 181c 95 1 cpc (cpc sampling driver v1.10) 158 7813a87f 181c 179 1 cpc (cpc sampling system call) 158 7813a87f 181c 179 1 cpc (32-bit cpc sampling system call) |
因為有其他模組使用系統呼叫 181,請配置 samsys 使用其他未使用的系統呼叫值。
透過變更 samsys 使用 182 或介於 0-255 間其他未使用的值,編輯 /etc/name_to_sysnum。
samsys 182 |
啟動系統以重新配置 samsys。
# shutdown -y -g0 -i0
OK> boot -r
請確認該錯誤訊息已不再出現於 /var/adm/messages 中,且所有的 SAM-FS 檔案系統皆可掛載。