(OLDER) <- More Stuff -> (NEWER) (NEWEST)
Printer Friendly Version



Best of the Newsgroups: drive size incorrect


What is this stuff?

If this isn't exactly what you wanted, please try our Search (there's a LOT of techy and non-techy stuff here about Linux, Unix, Mac OS X and just computers in general!):



This is an ancient post with no relevance to modern systems.

From: Bela Lubkin <belal@sco.com>
Subject: Re: Drive Array Size Limitation - SCO 5.0.5
Date: Tue, 16 Mar 2004 21:41:32 GMT
Message-ID: <20040316214131.GK24746@sco.com> 
References: <4d30cee2.0403091104.4c37446d@posting.google.com> <pan.2004.03.10.02.58.22.527444@mcmillanandwife.com> <4d30cee2.0403100737.287ac7e7@posting.google.com> <20040312232735.GG24746@sco.com> <4d30cee2.0403160817.254a886@posting.google.com> 

Stephen C Young wrote:

> > > After I destroyed all data on the disks to reconfigure the array I
> > > added the two additional hard disks to the system and re-configured
> > > array for 5 disks using the Compaq SmartStart disk utilities. In the
> > > SmartStart utility it reads that total drive space is 45.5 GB and
> > > taking away the raid overhead usuable space is 36.4 GB. After
> > > configuring the array I booted to CD-rom and used the ida fd(64)
> > > volume disk to begin the install along with the necessary bootstring
> > > options and went through screen of entering in license info and system
> > > name and etc. However, when I come to divvy it only shows 17.7 GB of
> > > space to be divided up. Even completed entire install to see if hard
> > > drive space number shown was maybe stuck in bios and that system would
> > > see the additional hard drive space after completing install, but that
> > > did not work either. Any other help would be appreciated. Thanks



> Output of command 'cat /dev/string/cfg':

> %disk     -               -   -  type=IDA0 unit=0 cyls=4355 hds=255 secs=32
> 
> Output of command 'dparam /dev/rhd00':
> 4355 255 0 0 0 0 0 32
> 
> Output of command 'fdisk -p -f /dev/rhd00':
> 1 1 1110269 1110269 UNIX Active
> 
> Output of command 'divvy -P -N /dev/rhd00':
> 0              0                   15359                   boot  EAFS
> 1                  15360           209919          swap  NON FS
> 2          209920           17674549       root  HTFS
> 6          17674550        17674559        recover       NON FS
> 7              0                   17764303        hd0a  WHOLE DISK
> 
> Output of command 'divvy -S /dev/rhd00':
> Partition size is 17764304 1K blocks

Ok, well this is all self-consistent and shows a 17GB drive size.

There is one possibility that comes to mind.  OpenServer can store its
idea of drive geometry into the masterboot sector; if this drive was so
stamped, it's possible the stamp would have survived through all the
reconfiguration.  I'm not even sure that the IDA driver pays attention
to that stamp, but it's definitely worth trying this.

So, what you need is a command that will wipe out the masterboot sector
of this drive.  Doing so will of course wipe out all data on the disk;
you'll have to reinstall from scratch.

To wipe out the masterboot sector on your root drive:



   DANGER!--   dd if=/dev/zero of=/dev/rhd00 count=1   --!DANGER

Then reinstall.

You'll know very early in the reinstall process whether this helped.
Look for the "%disk... IDA0" line.  Hopefully the geometry will have
expanded -- you should see something like 4355/255/63 or 9000/255/32.
If you still see 4355/255/32 then there's something wrong with the IDA
configuration, check it carefully in the SmartStart disk utilities.

>Bela<




Click here to add your comments



Don't miss responses! Subscribe to Comments by RSS or by Email

Click here to add your comments


If you want a picture to show with your comment, go get a Gravatar



Auto FTP Manager

/Bofcusm/2446.html copyright 1997-2004 (various authors) All Rights Reserved

Have you tried Searching this site?

Unix/Linux/Mac OS X support by phone, email or on-site: Support Rates

This is a Unix/Linux resource website. It contains technical articles about Unix, Linux and general computing related subjects, opinion, news, help files, how-to's, tutorials and more. We appreciate comments and article submissions.

Publishing your articles here

Jump to Comments



Many of the products and books I review are things I purchased for my own use. Some were given to me specifically for the purpose of reviewing them. I resell or can earn commissions from the sale of some of these items. Links within these pages may be affiliate links that pay me for referring you to them. That's mostly insignificant amounts of money; whenever it is not I have made my relationship plain. I also may own stock in companies mentioned here. If you have any question, please do feel free to contact me.

Specific links that take you to pages that allow you to purchase the item I reviewed are very likely to pay me a commission. Many of the books I review were given to me by the publishers specifically for the purpose of writing a review. These gifts and referral fees do not affect my opinions; I often give bad reviews anyway.

We use Google third-party advertising companies to serve ads when you visit our website. These companies may use information (not including your name, address, email address, or telephone number) about your visits to this and other websites in order to provide advertisements about goods and services of interest to you. If you would like more information about this practice and to know your choices about not having this information used by these companies, click here.



More:
       - OSR5
       - Bofcusm
       - Bela


Unix/Linux Consultants

Skills Tests

Guest Post Here











My Favorites

Change Congress