Mailinglist Archive: opensuse (2212 mails)
| < Previous | Next > |
Re: [opensuse] Reading past end of disk? [Was: Bad Sector remapping?]
- From: "Carlos E. R." <robin.listas@xxxxxxxxxxxxxx>
- Date: Fri, 28 Sep 2007 01:33:01 +0200
- Message-id: <46FC3DAD.50706@xxxxxxxxxxxxxx>
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.
--
Cheers,
Carlos E. R.
(from RC1)
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx
> 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.
--
Cheers,
Carlos E. R.
(from RC1)
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx
| < Previous | Next > |