Weird Incorrect Partition Size Problem

Weird Incorrect Partition Size Problem

Post by C. Jason Brune » Fri, 12 Jun 1998 04:00:00



Greetings everyone,

We are running a SCO OpenServer 5 system initially configured with a single
4.3gig SCSI drive.  After adding a Seagate 9gig Cheetah drive, we got an
error to the effect that the partition was a 9gig partition, but the drive
was only 2gig.  We reconfigured it with divvy with what should have fixed
the problem , but we still see the notice whenever doing an fsck.  We
continued using it because it acted normal.  Recently, we have had three
(out of the blue)
Notice:sdsk SCSI disk 1 dev 1/104 (ha=0 id=1 lun=0) block x hardware error
errors like this, except with three different block numbers.

1) Is there a way to fix the first problem?
2) Is it possible the two issues are related?
3) If not, should we just use badtrk on the second disk and hope the problem
stops?

Any assistance would be greatly appreciated.  I'm not a SCO-Unix god yet (or
anywhere close to it) but I'm still trying...

Thanks well in advance,
Jason Bruner

 
 
 

1. fdisk and cfdisk giving incorrect partition size information

Hi all,

For a long time, only about 8GB of the 30GB IDE hard disk in my RH 7.2
machine was being used in several partitions, with 22GB of free space
hanging off an extened partition. I attempted to create a new logical
partition, using cfdisk, out of the free space.

After the partition information was 'written', cfdisk gave me an error
of the sort "Can't re-read new partion table. Please reboot.." After
rebooting and mounting the new partition (hda7), here's the output of
'df':

Filesystem           1k-blocks      Used Available Use% Mounted on
/dev/hda1               505605    456124     23377  96% /
/dev/hda3              1004052     18620    934428   2% /home
none                    127228         0    127228   0% /dev/shm
/dev/hda2              4032124   1905176   1922120  50% /usr
/dev/hda5               505605     58967    420534  13% /var
/dev/hda7                38859        13     36840   1% /da

Here is the output of print table cmd of fdisk /dev/hda:

   Device Boot    Start       End    Blocks   Id  System
/dev/hda1   *         1        65    522081   83  Linux
/dev/hda2            66       575   4096575   83  Linux
/dev/hda3           576       702   1020127+  83  Linux
/dev/hda4           703      3647  23655712+   5  Extended
/dev/hda5           703       767    522081   83  Linux
/dev/hda6           768       832    522081   82  Linux swap
/dev/hda7           833      3647  22611456   83  Linux

cfdisk gives the same information.

Can anyone tell me what's going on here? Why the different partition
sizes being reported?

Thanks.

2. Linux Wearable: ADL MSM486SV16?

3. incorrect msdos partition size

4. RH 5.1 partition sizes

5. Weird filesystem size problem...

6. PHP & FreeBSD

7. Mount size wrong with Partition size.

8. Serial Port Access

9. Sizes of Software and How to Size Partitions?

10. Maximum partition size/SCSI drive size

11. Largest file size and partition size limits on Solaris 2.X?

12. Partition size - ext2 filesystem size.

13. incorrect windows size