• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 272
  • Last Modified:

I added a 150gb scsi drive to a SUN 5.9 server but it only reads 15GB.

Hi Experts,
  I recently added another scsi hard drive to one of my Sun Enterprise 250 Server with SUN 5.9 because additional space was needed to install some Oracle software. Well, I formatted the drive and mounted it but it was reported back to me by the end user that when he tried to install the software, he found out that the drive only had 15GB of space and not 150GB which is what the drive is. I'm not sure what happned or what I did wrong but need help in making sure that the  150GB of the hard drive is available. Any help will be greatly appriciate it.

Another thing I just noticed is , when I do a format command I get the following..
irvjamaica # format
Inconsistent definitions for partition type 'disk3'
/etc/format.dat (262) - /etc/format.dat (269)

Maybe this is whats causing the hard drive to read only 15GB?
0
frankbustos
Asked:
frankbustos
  • 2
  • 2
1 Solution
 
yuzhCommented:
Is this the same question as http:Q_22732559.html ?

Have you try to edit /etc/format.dat  file to get rid of the incorrect  line (you need to backup the old file, before make the
change).

The follow the the procedure in my comment to add the Hard drive.

If you need more help, please give more infor about how you partion the new HD, and the output of
format -> newdisk-number -> verify
0
 
frankbustosAuthor Commented:
Hi Yuzh,
  Yes it is and I thought I had gotten it to work but later realized I didn't.  Here is the output when I do a vi on format.dat on the root
 New disk/partition type  saved on Mon Jul 30 16:49:29 2007

isk_type = "HITACHI-HUS103014FL3800-SA19" \
        : ctlr = SCSI : ncyl = 63314 : acyl = 2 : pcyl = 63316 \
        : nhead = 5 : nsect = 907 : rpm = 10025

artition = "disk3" \
        : disk = "HITACHI-HUS103014FL3800-SA19" : ctlr = SCSI \
        : 0 =  0, 287128990 : 2 =  0, 287128990
And here is the output when I do a vi format.dat on /etc

pragma ident   "@(#)format.dat 1.23    00/05/23 SMI"

 Copyright (c) 1991-2000 by Sun Microsystems, Inc.
 All rights reserved.

 Data file for the 'format' program.  This file defines the known
 disks, disk types, and partition maps.



 This is the list of supported disks for the Emulex MD21 controller.

disk_type = "Micropolis 1355" \
       : ctlr = MD21 \
       : ncyl = 1018 : acyl = 2 : pcyl = 1024 : nhead = 8 : nsect = 34 \
       : rpm = 3600 : bpt = 20832

disk_type = "Toshiba MK 156F" \
       : ctlr = MD21 \
       : ncyl = 815 : acyl = 2 : pcyl = 830 : nhead = 10 : nsect = 34 \
       : rpm = 3600 : bpt = 20832

disk_type = "Micropolis 1558" \
       : ctlr = MD21 \
       : ncyl = 1218 : acyl = 2 : pcyl = 1224 : nhead = 15 : nsect = 35 \
       : rpm = 3600 : bpt = 20833


 Following is a list of sample embedded SCSI disk configurations.

format.dat" 272 lines, 8563 characters

So, I probably didn't do it correct the last time, please advise with details on how I should proceed?
0
 
yuzhCommented:
It looks like yout cut and paste doesn't work properly, eg:

isk_type  => should be disk_type
artition    => should be partion
etc

please do a
grep -in disk3 /etc/format.dat

You should find the duplicated definition of "disk3", comment
out the incorrect one by putting a # in the beginning of the lines
(do it for the whole "partition = "disk3" \ " block).

then try to run format again, once you get it working, please delete them.

Please post your disk layout for the new disk. buy running
format -> newdisk-number -> verify

Please have a look at the following doc to learn how to use "format":
http://www.sun.com/bigadmin/content/submitted/format_utility.html
Good luck and have a nice weekend!
0
 
frankbustosAuthor Commented:
thanks, i'm all good now.
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now