Re: bad sector and unused area.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 09 Jul 2021, Wakko Warner wrote:
> Reindl Harald wrote:
> > 
> > 
> > Am 08.07.21 um 23:48 schrieb Wakko Warner:
> > > I have a raid5 of 3 disks.
> > > 
> > > 2 of them have bad sectors.  Sector 1110 and 1118.
> > > 
> > > I'm curious to know if these sectors actually contain any data or if they
> > > can just be overwritten.
> > 
> > the RAID layer don't know anything about data by definition, it even don't
> > care what filesystem is running on top
> 
> So did you actually read what I said?
> 
>     Data Offset : 262144 sectors
>    Super Offset : 0 sectors
> 
> This is /dev/sda1 which starts at sector 128 of /dev/sda.  Sector 1110 on
> /dev/sda is bad.  That would place it between super offset and data offset. 
> Thus, there wouldn't be a filesystem there.  I'm asking if it contains any
> "data" that might be "used" by "something".  My /dev/md0 data starts at
> offset 262144 of /dev/sda1 which is well beyond sector 1110 of /dev/sda.

If you had an unusually large bitmap, it might use those bad sectors,
but unlikely.
If you reshaped the array to more devices, it would reduce the Data
Offset, so might start writing in that space.

Otherwise you should be safe.

NeilBrown


> 
> -- 
>  Microsoft has beaten Volkswagen's world record.  Volkswagen only created 22
>  million bugs.
> 
> 




[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux