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

Posted on 2007-08-08
Last Modified: 2013-12-27
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?
Question by:frankbustos
    LVL 38

    Expert Comment

    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

    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

    Author Comment

    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?
    LVL 38

    Accepted Solution

    It looks like yout cut and paste doesn't work properly, eg:

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

    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":
    Good luck and have a nice weekend!

    Author Comment

    thanks, i'm all good now.

    Featured Post

    Find Ransomware Secrets With All-Source Analysis

    Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

    Join & Write a Comment

    Let's say you need to move the data of a file system from one partition to another. This generally involves dismounting the file system, backing it up to tapes, and restoring it to a new partition. You may also copy the file system from one place to…
    I have been running these systems for a few years now and I am just very happy with them.   I just wanted to share the manual that I have created for upgrades and other things.  Oooh yes! FreeBSD makes me happy (as a server), no maintenance and I al…
    This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
    In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

    734 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    17 Experts available now in Live!

    Get 1:1 Help Now