Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

"the disk is not recognized by cms" !

Status
Not open for further replies.

ergouxzh

Technical User
Jun 6, 2004
55
CN
Hi ,

I replace a hard disk and reinstall the cms. when I executed the '/olds/olds -checek_disks', the system respond the error message -'the disk is not recognized by cms'.

The type of the new disk is same as the old one-seagate u8 ST38410A. But the size of new is 8455MB and cylinder is 16383,the old one size is 8.6GB and cylinder is 16708.

According to the cms r3v6 install manual, the partion of the disk must be:
/ 2143
(blank) 7
overlap 16706
(blank) 14429
swap 136
How to partition 16383 cylinder of the new harddisk ?
thanks a lot!

ergou

 
I beleive you can modify the script in the "olds/olds-funcs" file to recognize the new size disk. I did it a few months ago and it worked fine. Just change the section for one of the recognized sizes with the new disk size and it will run.

Open the file and find the section with:

check_disk()

#-------------------------------------------+
# check partitioning of given disk, |
# read valid partition sizes from |
# disk.conf and disk.type files |
#-------------------------------------------+
{

#special partitioning for bootup/solaris disk


#get slice sizes from output of format command

if [ $disksize -eq 4.01 ]
then
list4="$list4 $1"
elif [ $disksize -eq 8.03 -o $disksize -eq 8.49 ]
then
list9="$list9 $1"
elif [ $disksize -eq 19.00 ]
then
list20="$list20 $1"
else
logerr "The disk is not recognized by cms."
return 1
fi
 
thank you very much!
It is a correct way.I have checked disk successfully.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top