歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
Linux教程網 >> Unix知識 >> 關於Unix >> Solaris format 時 Inconsistent 錯誤

Solaris format 時 Inconsistent 錯誤

日期:2017/2/28 11:26:08   编辑:關於Unix


今天使用format對同一個硬盤兩次分區,同時兩次都用相同的名字保存分區表到/etc/format.dat中。
再次運行format命令是有如下錯誤:
Inconsistent definitions for partition type 'sunnew'
/etc/format.dat (229) - /etc/format.dat (236)

這時
#grep sunnew /etc/format.dat

partition = "sunnew" \
partition = "sunnew" \

再這個文件中有兩處定義了 "sunnew",原以為第二次會覆蓋第一次的"sunnew"。即然找到了問題所在,解決的話就不成問題了。刪除兩次定義中的任何一次。

223 # New disk/partition type saved on Thu Aug 17 15:27:24 2006
224 #
225 disk_type = "SUN36G" \
226 : ctlr = SCSI : ncyl = 24620 : acyl = 2 : pcyl = 24622 \
227 : nhead = 27 : nsect = 107 : rpm = 10025
228
229 partition = "sunnew" \
230 : disk = "SUN36G" : ctlr = SCSI \
231 : 2 = 0, 71127180
232

只保留一處。再次運行format就沒問題了。
Copyright © Linux教程網 All Rights Reserved