Mailinglist Archive: opensuse (2212 mails)
| < Previous | Next > |
Re: [opensuse] Reading past end of disk? [Was: Bad Sector remapping?]
- From: "Greg Freemyer" <greg.freemyer@xxxxxxxxx>
- Date: Thu, 27 Sep 2007 20:05:56 -0400
- Message-id: <87f94c370709271705g647c61elc62705a8968d5a26@xxxxxxxxxxxxxx>
On 9/27/07, Randall R Schulz <rschulz@xxxxxxxxx> wrote:
> On Thursday 27 September 2007 16:33, Carlos E. R. wrote:
> > Randall R Schulz wrote:
> > > On Thursday 27 September 2007 16:03, Greg Freemyer wrote:
> > >> Wait a second...
> > >>
> > >> Per hdparm -I /dev/sda, my drive only has 312518818 sectors, so
> > >> why is Linux even trying to read sector 312518818?
> > >
> > > Linux accepts the size you specify when you format a file system.
> > > When doing so, it is unlikely to need to read that sector, only
> > > include it's index in a free block. Only when the demand for free
> > > blocks causes that block to be allocated will the drive be asked to
> > > read or write it.
> >
> > We don't normally specify a size: we tell mkfs to do its job and it
> > does it, automatically.
>
> Eh? You tell it the drive's bounds when you partion it. The lie, if you
> will, might be recorded in the partition table, but it's a lie
> nonetheless.
I can't verify for sure what the partition table used to say because
fsck on my root partition had even worse errors than simply trying to
boot from that partition.
And after it ran my partition table was blown away (sector 0).
I guess I am going to be re-installing from scratch tomorrow. I'll
use a new harddrive just in case that was the problem, but I really
will be surprised if this was a hardware problem.
Oh well, off to download the 10.3rc DVD.
Greg
--
Greg Freemyer
Litigation Triage Solutions Specialist
http://www.linkedin.com/in/gregfreemyer
The Norcross Group
The Intersection of Evidence & Technology
http://www.norcrossgroup.com
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx
> On Thursday 27 September 2007 16:33, Carlos E. R. wrote:
> > Randall R Schulz wrote:
> > > On Thursday 27 September 2007 16:03, Greg Freemyer wrote:
> > >> Wait a second...
> > >>
> > >> Per hdparm -I /dev/sda, my drive only has 312518818 sectors, so
> > >> why is Linux even trying to read sector 312518818?
> > >
> > > Linux accepts the size you specify when you format a file system.
> > > When doing so, it is unlikely to need to read that sector, only
> > > include it's index in a free block. Only when the demand for free
> > > blocks causes that block to be allocated will the drive be asked to
> > > read or write it.
> >
> > We don't normally specify a size: we tell mkfs to do its job and it
> > does it, automatically.
>
> Eh? You tell it the drive's bounds when you partion it. The lie, if you
> will, might be recorded in the partition table, but it's a lie
> nonetheless.
I can't verify for sure what the partition table used to say because
fsck on my root partition had even worse errors than simply trying to
boot from that partition.
And after it ran my partition table was blown away (sector 0).
I guess I am going to be re-installing from scratch tomorrow. I'll
use a new harddrive just in case that was the problem, but I really
will be surprised if this was a hardware problem.
Oh well, off to download the 10.3rc DVD.
Greg
--
Greg Freemyer
Litigation Triage Solutions Specialist
http://www.linkedin.com/in/gregfreemyer
The Norcross Group
The Intersection of Evidence & Technology
http://www.norcrossgroup.com
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx
| < Previous | Next > |