[에러메세지]
# format
Inconsistent definitions for partition type 'chan03'
/etc/format.dat (229) - /etc/format.dat (238)
(문제의 원인)
/etc/format.dat 파일의 229번째 라인부터 238번째 라인의 chan03에 문제가 발생
# cat /etc/format.dat
.....
partition = "chan03" \
: disk = "DEFAULT" : ctlr = ata \
: 0 = unassigned, wm, 0, 410256 : 1 = 407, 410256 \
: 2 = backup, wm, 0, 39100320 : 4 = 1221, 410256 \
: 7 = 1628, 37459296
partition = "chan03" \
: disk = "DEFAULT" : ctlr = ata \
: 0 = unassigned, wm, 0, 410256 : 1 = 407, 410256 \
: 2 = backup, wm, 0, 39100320 : 4 = 1221, 205632 \
: 7 = 1628, 37459296
[문제 해결]
cp /etc/format.dat /etc/format.dat.old**
vi /etc/format.dat**
[수정전]
.....
partition = "chan03" \
: disk = "DEFAULT" : ctlr = ata \
: 0 = unassigned, wm, 0, 410256 : 1 = 407, 410256 \
: 2 = backup, wm, 0, 39100320 : 4 = 1221, 410256 \
: 7 = 1628, 37459296
partition = "chan03" \
: disk = "DEFAULT" : ctlr = ata \
: 0 = unassigned, wm, 0, 410256 : 1 = 407, 410256 \
: 2 = backup, wm, 0, 39100320 : 4 = 1221, 205632 \
: 7 = 1628, 37459296
[수정후]
.....
partition = "chan03" \
: disk = "DEFAULT" : ctlr = ata \
: 0 = unassigned, wm, 0, 410256 : 1 = 407, 410256 \
: 2 = backup, wm, 0, 39100320 : 4 = 1221, 410256 \
: 7 = 1628, 37459296
뒤에 있는 chan03 라인 전체를 삭제한다.
# format
정상적으로 명령어 수행이 가능하다.