Re: xfs I/O error

Rekrutacja119
2008-02-26T20:12:50Z

2008/2/25, Ragnar Kjørstad <xfs@ragnark.vestdata.no>:
>
> On Mon, Feb 25, 2008 at 05:47:12PM +0100, Rekrutacja119 wrote:
> > 2008/2/24, Ragnar Kjørstad <xfs@ragnark.vestdata.no>:
> > >
> > > On Sat, Feb 23, 2008 at 10:46:52PM +0100, Rekrutacja119 wrote:
> > > > the easiest solution would be to just ignore errors, and if not,
> then to
> > > > somehow force xfs to mark them as bad sectors
> > >
> > > If you really wanted to you could probably use dm to map your bad
> > > sectors to another device.
> >
> > what do you mean by that? how to do it ?
>
> dm is the linux device mapper. It is used by LVM to map virtual blocks
> from logical volumes to physical blocks on logical volumes, but you can
> also create your custom remapping table to do other things.
>
> I don't know the exact dmsetup command, but you should be able to find
> that in the dm documentation or ask on the dm mailinglist.
>
> http://sources.redhat.com/dm/

but i suppose i can do it like Eric told me - mount it read only. effects
would be the same - i will have acess to everything that is readable, and i
wont even have to copy all the stuff into the same device (i can copy half
of the dirs to one, and other half to others)

the read-only advice was very good and thank you very much eric, it helped
me a lot.

[[HTML alternate version deleted]]