[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: [dm-devel] [RFC] File backed target for device-mapper
- From: "Heinz J . Mauelshagen" <mauelshagen sistina com>
- To: dm-devel sistina com
- Subject: Re: [dm-devel] [RFC] File backed target for device-mapper
- Date: Thu Jul 24 19:32:02 2003
On Tue, Jul 22, 2003 at 10:58:44PM +0100, Alasdair G Kergon wrote:
> On Tue, Jul 22, 2003 at 11:17:39PM +0200, Christophe Saout wrote:
> > I just wrote a dm target uses a file as backend instead of another block
> > device.
>
> Another suggestion:
>
> A target that always returns a block of zeros [or more generally,
> some other repeating pattern e.g. if the read goes beyond the end
> of your file - required to be multiple of sector size - it loops
> round to the beginning; writes get dropped]
Factoring out and tweaking the io error target mainly.
>
> So you can easily create, for example a /dev/zero-like block device of
> arbitrary size, which might be useful for replacing a lost disk that
> contained a stripe if you want to read off the data from the other
> stripes at correct offsets.
>
> Alasdair
> --
> agk uk sistina com
>
> _______________________________________________
> dm-devel mailing list
> dm-devel sistina com
> http://lists.sistina.com/mailman/listinfo/dm-devel
--
Regards,
Heinz -- The LVM Guy --
*** Software bugs are stupid.
Nevertheless it needs not so stupid people to solve them ***
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Heinz Mauelshagen Sistina Software Inc.
Senior Consultant/Developer Am Sonnenhang 11
56242 Marienrachdorf
Germany
Mauelshagen Sistina com +49 2626 141200
FAX 924446
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]