All of lore.kernel.org
 help / color / mirror / Atom feed
* [linux-lvm] Removing PV with disk errors from VG
@ 2002-03-08  9:42 kalle
  2002-03-08 10:54 ` Denie Andriessen
  2002-03-11  9:35 ` Heinz J . Mauelshagen
  0 siblings, 2 replies; 10+ messages in thread
From: kalle @ 2002-03-08  9:42 UTC (permalink / raw)
  To: linux-lvm

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...

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2002-03-13 13:37 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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

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.