linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Physical disk size 65536 blocks for an 8G drive
@ 1999-11-06 21:48 Jim Hickstein
  1999-11-06 22:22 ` Derrik Walker v2.0
  0 siblings, 1 reply; 3+ messages in thread
From: Jim Hickstein @ 1999-11-06 21:48 UTC (permalink / raw)
  To: linuxppc-dev


Sorry to post what amounts to a support question on -dev, but it did not
get an answer on -user.  I'm afraid it's too arcane, so I appeal to you.

I have a PBG3 Wallstreet and recently bought a new 8GB drive to put in
it, an IBM DYLA-28100.  MacOS 8.6, update the drivers, so far, so good. 
I managed to get pdisk to make partitions (after umounting /mnt/cdrom
from /dev/hda to silence a warning in writing the partition table). 
MacOS runs fine, with volumes in hda10 (5GB hfs+) and hda11 (600MB hfs),
_above_ Linux.  But Linux barfs mounting / on /dev/hda7 (and even worse
for /usr on /hda9), saying that the superblock reports a size of
so-and-so (~131000 for /) but the _physical size of the disk_ is 65536 blocks.

Evidently something is reporting a block count of 0xffff, and it's
getting incremented to tell me the "length".  Yet, the drive probes
correctly (apparently) and reports a size of 7145MB or so.

fsck is the one telling me this, for /dev/hda7.  For /dev/hda9, it
really complains, saying that inode 3 is corrupt, etc.  Part of hda7 is
below 0xffff blocks, but all of hda9 is above it.

Any ideas?  This is 2.2.10 off the Q3 distribution.

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Physical disk size 65536 blocks for an 8G drive
  1999-11-06 21:48 Physical disk size 65536 blocks for an 8G drive Jim Hickstein
@ 1999-11-06 22:22 ` Derrik Walker v2.0
  1999-11-07  5:29   ` Jim Hickstein
  0 siblings, 1 reply; 3+ messages in thread
From: Derrik Walker v2.0 @ 1999-11-06 22:22 UTC (permalink / raw)
  To: Jim Hickstein; +Cc: linuxppc-dev


I just went though this last night.  I ended up manually formating the
disk with /sbin/mke2fs -i 2048  This will get it formated with 2k inodes.
However, I think I could have used 4096 and been fine.

Hope this helps.

Purhaps there is a page for my Mucking Around With Computers Page.

On Sat, 6 Nov 1999, Jim Hickstein wrote:

> 
> Sorry to post what amounts to a support question on -dev, but it did not
> get an answer on -user.  I'm afraid it's too arcane, so I appeal to you.
> 
> I have a PBG3 Wallstreet and recently bought a new 8GB drive to put in
> it, an IBM DYLA-28100.  MacOS 8.6, update the drivers, so far, so good. 
> I managed to get pdisk to make partitions (after umounting /mnt/cdrom
> from /dev/hda to silence a warning in writing the partition table). 
> MacOS runs fine, with volumes in hda10 (5GB hfs+) and hda11 (600MB hfs),
> _above_ Linux.  But Linux barfs mounting / on /dev/hda7 (and even worse
> for /usr on /hda9), saying that the superblock reports a size of
> so-and-so (~131000 for /) but the _physical size of the disk_ is 65536 blocks.
> 
> Evidently something is reporting a block count of 0xffff, and it's
> getting incremented to tell me the "length".  Yet, the drive probes
> correctly (apparently) and reports a size of 7145MB or so.
> 
> fsck is the one telling me this, for /dev/hda7.  For /dev/hda9, it
> really complains, saying that inode 3 is corrupt, etc.  Part of hda7 is
> below 0xffff blocks, but all of hda9 is above it.
> 
> Any ideas?  This is 2.2.10 off the Q3 distribution.
> 


 -Derrik

mailto:firebug@apk.net
http://junior.apk.net/~firebug
------------------------------
Thinking Different???  Think Linux!


** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Physical disk size 65536 blocks for an 8G drive
  1999-11-06 22:22 ` Derrik Walker v2.0
@ 1999-11-07  5:29   ` Jim Hickstein
  0 siblings, 0 replies; 3+ messages in thread
From: Jim Hickstein @ 1999-11-07  5:29 UTC (permalink / raw)
  To: Derrik Walker v2.0; +Cc: linuxppc-dev, linuxppc-user


> > I have a PBG3 Wallstreet and recently bought a new 8GB drive to put in
> > it, an IBM DYLA-28100.  MacOS 8.6, update the drivers, so far, so good.
> > I managed to get pdisk to make partitions (after umounting /mnt/cdrom
> > from /dev/hda to silence a warning in writing the partition table).
> > MacOS runs fine, with volumes in hda10 (5GB hfs+) and hda11 (600MB hfs),
> > _above_ Linux.  But Linux barfs mounting / on /dev/hda7 (and even worse
> > for /usr on /hda9), saying that the superblock reports a size of
> > so-and-so (~131000 for /) but the _physical size of the disk_ is 65536 blocks.
> >
> > Evidently something is reporting a block count of 0xffff, and it's
> > getting incremented to tell me the "length".  Yet, the drive probes
> > correctly (apparently) and reports a size of 7145MB or so.

Nevermind.  Someone told me about "cat /proc/partitions", which revealed
that 65536 _blocks_ (1K) was in fact the correct size of /dev/hda7, and
the ~900000-block size in the superblock was the wrong part.

I tried it all again, this time with no Jaz cart, and I told it to check
for bad blocks (not sure I had the patience for this last time), and for
some reason it worked.  I'm running it now.  Bizarre.

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~1999-11-07  5:29 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-11-06 21:48 Physical disk size 65536 blocks for an 8G drive Jim Hickstein
1999-11-06 22:22 ` Derrik Walker v2.0
1999-11-07  5:29   ` Jim Hickstein

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).