From: Emmanuel Varagnat <emmanuel.varagnat@free.fr>
To: linux-lvm@sistina.com
Subject: Re: [linux-lvm] Disk crash , LVM and ext2... (bis)
Date: Wed Oct 9 13:59:22 2002 [thread overview]
Message-ID: <3DA47C6E.5090901@free.fr> (raw)
In-Reply-To: 20021004123352.A9010@sistina.com
Heinz J . Mauelshagen wrote:
> We don't support zeroing of the data in the error case so far and do return
> an io error to the application. Later we plan to as an option.
>
> So today you get a read error if the block is not available and the data
> is not zeroed in memory. No need to (ab)use LV_BMAP.
>
> If your application needs to distinguish those cases anyways, you would want
> to stay with 'io error returned'.
Ok it works as I expected.
The error was coming from the fact that _I_ zeroed the partition to let
the LVM utilties think that the PV isn't here. So the data returned was
effectively coming from the partition.
Instead I delete the partition, reboot and retest.
Thanks for taking time to answer.
-=( manu )=-
prev parent reply other threads:[~2002-10-09 13:59 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-09-24 17:51 [linux-lvm] Disk crash , LVM and ext2... (bis) Emmanuel Varagnat
2002-09-25 2:22 ` Patrick Caulfield
2002-09-25 2:43 ` Emmanuel Varagnat
2002-09-25 2:57 ` Patrick Caulfield
2002-09-30 17:55 ` Emmanuel Varagnat
2002-10-01 9:53 ` Emmanuel Varagnat
2002-10-04 5:40 ` Heinz J . Mauelshagen
2002-10-09 13:59 ` Emmanuel Varagnat [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3DA47C6E.5090901@free.fr \
--to=emmanuel.varagnat@free.fr \
--cc=linux-lvm@sistina.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.