All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Heinz J . Mauelshagen" <mauelshagen@sistina.com>
To: linux-lvm@sistina.com
Subject: Re: [linux-lvm] Removing PV with disk errors from VG
Date: Mon Mar 11 09:35:02 2002	[thread overview]
Message-ID: <20020311163211.D13418@sistina.com> (raw)
In-Reply-To: <4.3.1.2.20020308143153.01b708d8@mail.elektro-kapsel.se>; from kalle@idlar.nu on Fri, Mar 08, 2002 at 04:40:19PM +0100

Kalle,

well that's a bug in 1.0.3 which will be fixed in 1.0.4.
If you wnat to try it at your own risk, check out LVM1 CVS and
try "pvmove -i" again.

1.0.4 will hopefully be released this week :)

Regards,
Heinz    -- The LVM Guy --


On Fri, Mar 08, 2002 at 04:40:19PM +0100, kalle@idlar.nu wrote:
> Hello
> 
> I have built a VG from a couple of disks and have now discovered that one 
> disk is not working right. Im getting a lot of theese kinds of errors:
> 
> end_request: I/O error, dev 03:03 (hdd), sector 2321462
> hdd: read_intr: status=0x59 { DriveReady SeekComplete DataRequest Error }
> hdd: read_intr: error=0x40 { UncorrectableError }, LBAsect=12571028, 
> sector=2321558
> 
> So I would like to move the data that still can be accessed from the bad 
> disk and remove the disk from the VG.
> When I run pvmove /dev/hdd1 I get theese errors:
> pvmove -- ERROR "Input/output error" reading sector 130688 from "/dev/hdd1"
> pvmove -- ERROR "Input/output error" reading sector 130689 from "/dev/hdd1"
> pvmove -- ERROR "Input/output error" reading sector 130690 from "/dev/hdd1"
> pvmove -- ERROR "Input/output error" reading sector 130691 from "/dev/hdd1"
> pvmove -- ERROR "Input/output error" reading sector 130692 from "/dev/hdd1"
> pvmove -- ERROR "Input/output error" reading sector 130693 from "/dev/hdd1"
> pvmove -- ERROR "Input/output error" reading sector 130694 from "/dev/hdd1"
> pvmove -- ERROR "Input/output error" reading sector 130695 from "/dev/hdd1"
> pvmove -- ERROR reading input physical volume "/dev/hdd1" (still 393216 
> bytes to read)
> pvmove -- ERROR "pv_move_pe(): read input PV" moving physical extents
> 
> I have tried to upgrade to the 1.0.3 tools and doing "pvmove -i /dev/hdd1" 
> but I still get the same errors.
> Im using lvm-mod version 1.0.1-rc4 with kernel 2.4.17.
> 
> Im willing to accept data loss, so is it possible to force the removal of 
> the  PV, even if its not empty?
> 
> Can I somehow display the files that occupies a PV? so that I know which 
> files will be lost.
> 
> What if I just remove the /dev/hdd1 partition with fdisk? will that mess up 
> the whole VG?
> 
> any help appreciateed!
> 
> 
> /Regards kalle...
> 
> 
> _______________________________________________
> linux-lvm mailing list
> linux-lvm@sistina.com
> http://lists.sistina.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html

*** 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
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

  parent reply	other threads:[~2002-03-11  9:35 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-03-08  9:42 [linux-lvm] Removing PV with disk errors from VG kalle
2002-03-08 10:54 ` Denie Andriessen
2002-03-11  9:35 ` Heinz J . Mauelshagen [this message]
2002-03-11 10:26   ` James Hawtin
2002-03-12  7:35     ` Heinz J . Mauelshagen
2002-03-11 11:03   ` kalle
2002-03-12 17:15   ` Chris Harwell
2002-03-13  5:06     ` Heinz J . Mauelshagen
2002-03-13 11:19       ` Chris Harwell
2002-03-13 13:37         ` Chris Harwell

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=20020311163211.D13418@sistina.com \
    --to=mauelshagen@sistina.com \
    --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.