* [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
* Re: [linux-lvm] Removing PV with disk errors from VG
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
1 sibling, 0 replies; 10+ messages in thread
From: Denie Andriessen @ 2002-03-08 10:54 UTC (permalink / raw)
To: linux-lvm
Hi,
I've seen exactly (well on hdg1 then, and other sector numbers) the same.
I've messed around with it a lot.. In my case it ended with everything
beeing gone...
:(
Denie
On Fri, 8 Mar 2002, 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
>
--
----- geekcode sig file -----
GCM/GCS/GS d- s: a C++$ U+++$ P+++$ L++$ E- W+++$ N++ u K w++ O M
V PS PE++ Y+ PGP t+ 5 X++ R tv- b++ DI++ D+ G e+++ h-- r+>++ y++
-----------------------------
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [linux-lvm] Removing PV with disk errors from VG
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
` (2 more replies)
1 sibling, 3 replies; 10+ messages in thread
From: Heinz J . Mauelshagen @ 2002-03-11 9:35 UTC (permalink / raw)
To: linux-lvm
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
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [linux-lvm] Removing PV with disk errors from VG
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
2 siblings, 1 reply; 10+ messages in thread
From: James Hawtin @ 2002-03-11 10:26 UTC (permalink / raw)
To: linux-lvm
On Mon, 11 Mar 2002, Heinz J . Mauelshagen wrote:
>
> 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 --
>
>
Hmmm, I had a problem with pv move over the weekend as well.. I was
replacing a hard disk for more space. and when I tried pvmove it worked
for 2 small partitions, but for a larger data area it failed to move
(because of a read error). Interestingly I had not got any error messages
in dmsg about bad seeks.
Not knowing about pvmove -i I feel back to my old system for using tar in
a pipe to move data, not quick not pretty but it works ;-)
So fortunately it looks like it was a virgin sector.
My question is.... This pvmove bug does it make "read error" problems in
which case the disk might be ok, or does it just not handle read errors
gracefully?
Yes I was using 1.0.3.
The Disk was an 46G IBM (From the ICL (newer glass platter C**p)) so I am
willing to beleive it was a disk problem (I have space on the shelf so
it can sit with its friends) it which case I will not use the disk agian.
I already lost 2 IBM disks from the older range and have another one
which when I have the money I will be swapping out... Agh! I hate IBM. Yup
i know I can RMA it, but whats the point if the new one might have
problems too, my data is worth more than that.
Does make for fun at computer fairs though,
Me: I need a new harddisk...
Them: IBM make the best ones.
(The specs are great and are dead fast)
Me: IBM disks live fast and die fast, what do you have in a non IBM
disk.
PS anyone else know of other brands I should avoid buying?
James
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [linux-lvm] Removing PV with disk errors from VG
2002-03-11 9:35 ` Heinz J . Mauelshagen
2002-03-11 10:26 ` James Hawtin
@ 2002-03-11 11:03 ` kalle
2002-03-12 17:15 ` Chris Harwell
2 siblings, 0 replies; 10+ messages in thread
From: kalle @ 2002-03-11 11:03 UTC (permalink / raw)
To: linux-lvm
At 16:32 2002-03-11 +0100, you wrote:
>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 :)
Great! :)
btw.. do yo (or prehaps someone else?) know if there exist some program for
displaying what file occupies a given PE/disk sector?
I have looked around but havnt found anything useful. Alhouth I found a
prog called bmap, but that only displayed the sectors of a given file.
/Regards
Kalle
>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
>=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
>
>_______________________________________________
>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
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [linux-lvm] Removing PV with disk errors from VG
2002-03-11 10:26 ` James Hawtin
@ 2002-03-12 7:35 ` Heinz J . Mauelshagen
0 siblings, 0 replies; 10+ messages in thread
From: Heinz J . Mauelshagen @ 2002-03-12 7:35 UTC (permalink / raw)
To: linux-lvm
On Mon, Mar 11, 2002 at 04:22:56PM +0000, James Hawtin wrote:
>
>
> On Mon, 11 Mar 2002, Heinz J . Mauelshagen wrote:
>
> >
> > 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 --
> >
> >
>
> Hmmm, I had a problem with pv move over the weekend as well.. I was
> replacing a hard disk for more space. and when I tried pvmove it worked
> for 2 small partitions, but for a larger data area it failed to move
> (because of a read error). Interestingly I had not got any error messages
> in dmsg about bad seeks.
>
> Not knowing about pvmove -i I feel back to my old system for using tar in
> a pipe to move data, not quick not pretty but it works ;-)
>
> So fortunately it looks like it was a virgin sector.
>
> My question is.... This pvmove bug does it make "read error" problems in
> which case the disk might be ok, or does it just not handle read errors
> gracefully?
It displays "read errors" because the bug lead to llseek errors which
where handed backup to an internal read function call.
Regards,
Heinz -- The LVM Guy --
>
> Yes I was using 1.0.3.
>
> The Disk was an 46G IBM (From the ICL (newer glass platter C**p)) so I am
> willing to beleive it was a disk problem (I have space on the shelf so
> it can sit with its friends) it which case I will not use the disk agian.
>
> I already lost 2 IBM disks from the older range and have another one
> which when I have the money I will be swapping out... Agh! I hate IBM. Yup
> i know I can RMA it, but whats the point if the new one might have
> problems too, my data is worth more than that.
>
> Does make for fun at computer fairs though,
>
> Me: I need a new harddisk...
> Them: IBM make the best ones.
> (The specs are great and are dead fast)
> Me: IBM disks live fast and die fast, what do you have in a non IBM
> disk.
>
> PS anyone else know of other brands I should avoid buying?
>
> James
>
>
>
> _______________________________________________
> 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
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [linux-lvm] Removing PV with disk errors from VG
2002-03-11 9:35 ` Heinz J . Mauelshagen
2002-03-11 10:26 ` James Hawtin
2002-03-11 11:03 ` kalle
@ 2002-03-12 17:15 ` Chris Harwell
2002-03-13 5:06 ` Heinz J . Mauelshagen
2 siblings, 1 reply; 10+ messages in thread
From: Chris Harwell @ 2002-03-12 17:15 UTC (permalink / raw)
To: linux-lvm
hi,
i've also run into errors when trying to use pvmove.
after offline shrinking with e2fsadm i was able to pvmove the PE's from
several partitions succesfully - all small ~256MB. then the last one, a
large one ~3GB ran into troubles:
[root@totally80s init.d]# pvmove /dev/hda14
pvmove -- moving physical extents in active volume group "vg0"
pvmove -- WARNING: if you lose power during the move you may need
to restore your LVM metadata from backup!
pvmove -- do you want to continue? [y/n] y
pvmove -- ERROR reading input physical volume "/dev/hda14" (still 458752
bytes to read)
pvmove -- ERROR "pv_move_pe(): read input PV" moving physical extents
and then this (same without the -i and --force options, which i tried
first). btw. a --test completed w/o errors.
[root@totally80s init.d]# pvmove -i --force --verbose /dev/hda14
pvmove -- checking name of source physical volume "/dev/hda14"
pvmove -- locking logical volume manager
pvmove -- reading data of source physical volume from "/dev/hda14"
pvmove -- checking volume group existence
pvmove -- reading data of volume group "vg0" from lvmtab
pvmove -- checking volume group consistency of "vg0"
pvmove -- searching for source physical volume "/dev/hda14" in volume
group "vg0"
pvmove -- building list of possible destination physical volumes
pvmove -- checking volume group activity
pvmove -- moving physical extents in active volume group "vg0"
pvmove -- starting to move extents away from physical volume "/dev/hda14"
pvmove -- checking for enough free physical extents in "vg0"
pvmove -- /dev/hda14 [PE 0 [lvol1 [LE 310]] -> /dev/hdd9 [PE 16182]
[1/1202]
pvmove -- ERROR "Invalid argument" remapping
pvmove -- ERROR "pv_move(): LE of LV remap" moving physical extents
before:
[root@totally80s /root]# pvscan
pvscan -- reading all physical volumes (this may take a while...)
pvscan -- ACTIVE PV "/dev/hdc1" of VG "vg0" [19.53 GB / 0 free]
pvscan -- ACTIVE PV "/dev/hdc2" of VG "vg0" [19.53 GB / 0 free]
pvscan -- ACTIVE PV "/dev/hdc3" of VG "vg0" [19.53 GB / 0 free]
pvscan -- ACTIVE PV "/dev/hdc4" of VG "vg0" [13 GB / 0 free]
pvscan -- ACTIVE PV "/dev/hdd9" of VG "vg0" [72 GB / 0 free]
pvscan -- ACTIVE PV "/dev/hda9" of VG "vg0" [248 MB / 0 free]
pvscan -- ACTIVE PV "/dev/hda10" of VG "vg0" [248 MB / 0 free]
pvscan -- ACTIVE PV "/dev/hda11" of VG "vg0" [248 MB / 0 free]
pvscan -- ACTIVE PV "/dev/hda12" of VG "vg0" [248 MB / 0 free]
pvscan -- ACTIVE PV "/dev/hda13" of VG "vg0" [248 MB / 0 free]
pvscan -- ACTIVE PV "/dev/hda14" of VG "vg0" [4.70 GB / 0 free]
pvscan -- ACTIVE PV "/dev/hdb1" of VG "vg0" [19.53 GB / 0 free]
pvscan -- ACTIVE PV "/dev/hdb2" of VG "vg0" [19.53 GB / 0 free]
pvscan -- ACTIVE PV "/dev/hdb3" of VG "vg0" [19.53 GB / 0 free]
pvscan -- ACTIVE PV "/dev/hdb4" of VG "vg0" [17.72 GB / 0 free]
pvscan -- total: 15 [225.84 GB] / in use: 15 [225.84 GB] / in no VG: 0 [0]
after the successful
pvmove, vgreduce.. cycle for hda9,10,11,12,13 and pvmove hda14 failure:
pvscan -- reading all physical volumes (this may take a while...)
pvscan -- ACTIVE PV "/dev/hdc1" of VG "vg0" [19.53 GB / 0 free]
pvscan -- ACTIVE PV "/dev/hdc2" of VG "vg0" [19.53 GB / 0 free]
pvscan -- ACTIVE PV "/dev/hdc3" of VG "vg0" [19.53 GB / 0 free]
pvscan -- ACTIVE PV "/dev/hdc4" of VG "vg0" [13 GB / 0 free]
pvscan -- ACTIVE PV "/dev/hdd9" of VG "vg0" [72 GB / 6.79 GB free]
pvscan -- inactive PV "/dev/hda9" is in no VG [250.98 MB]
pvscan -- inactive PV "/dev/hda10" is in no VG [250.98 MB]
pvscan -- inactive PV "/dev/hda11" is in no VG [250.98 MB]
pvscan -- inactive PV "/dev/hda12" is in no VG [250.98 MB]
pvscan -- inactive PV "/dev/hda13" is in no VG [250.98 MB]
pvscan -- ACTIVE PV "/dev/hda14" of VG "vg0" [4.70 GB / 2 GB free]
pvscan -- ACTIVE PV "/dev/hdb1" of VG "vg0" [19.53 GB / 0 free]
pvscan -- ACTIVE PV "/dev/hdb2" of VG "vg0" [19.53 GB / 0 free]
pvscan -- ACTIVE PV "/dev/hdb3" of VG "vg0" [19.53 GB / 0 free]
pvscan -- ACTIVE PV "/dev/hdb4" of VG "vg0" [17.72 GB / 0 free]
pvscan -- total: 15 [225.84 GB] / in use: 10 [224.62 GB] / in no VG: 5
[1.23 GB]
RedHat 7.0 + Linux 2.4.18 + lvm-1.0.3
any advise? should i also try that cvs version?
On Mon, 11 Mar 2002, Heinz J . Mauelshagen wrote:
>
> 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
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
>
> _______________________________________________
> 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
>
--
chris
charwell@digitalpulp.com
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [linux-lvm] Removing PV with disk errors from VG
2002-03-12 17:15 ` Chris Harwell
@ 2002-03-13 5:06 ` Heinz J . Mauelshagen
2002-03-13 11:19 ` Chris Harwell
0 siblings, 1 reply; 10+ messages in thread
From: Heinz J . Mauelshagen @ 2002-03-13 5:06 UTC (permalink / raw)
To: linux-lvm
Chris,
have you applied the cast patch for the llseek function, which fixes
this problem mentioned several times here on the list?
You should definitely *not* use CVS right now because it is a moving pre-release
target which still has bugs!
Regards,
Heinz -- The LVM Guy --
On Tue, Mar 12, 2002 at 06:16:10PM -0500, Chris Harwell wrote:
> hi,
>
> i've also run into errors when trying to use pvmove.
>
> after offline shrinking with e2fsadm i was able to pvmove the PE's from
> several partitions succesfully - all small ~256MB. then the last one, a
> large one ~3GB ran into troubles:
>
> [root@totally80s init.d]# pvmove /dev/hda14
> pvmove -- moving physical extents in active volume group "vg0"
> pvmove -- WARNING: if you lose power during the move you may need
> to restore your LVM metadata from backup!
> pvmove -- do you want to continue? [y/n] y
> pvmove -- ERROR reading input physical volume "/dev/hda14" (still 458752
> bytes to read)
> pvmove -- ERROR "pv_move_pe(): read input PV" moving physical extents
>
> and then this (same without the -i and --force options, which i tried
> first). btw. a --test completed w/o errors.
>
> [root@totally80s init.d]# pvmove -i --force --verbose /dev/hda14
> pvmove -- checking name of source physical volume "/dev/hda14"
> pvmove -- locking logical volume manager
> pvmove -- reading data of source physical volume from "/dev/hda14"
> pvmove -- checking volume group existence
> pvmove -- reading data of volume group "vg0" from lvmtab
> pvmove -- checking volume group consistency of "vg0"
> pvmove -- searching for source physical volume "/dev/hda14" in volume
> group "vg0"
> pvmove -- building list of possible destination physical volumes
> pvmove -- checking volume group activity
> pvmove -- moving physical extents in active volume group "vg0"
> pvmove -- starting to move extents away from physical volume "/dev/hda14"
> pvmove -- checking for enough free physical extents in "vg0"
> pvmove -- /dev/hda14 [PE 0 [lvol1 [LE 310]] -> /dev/hdd9 [PE 16182]
> [1/1202]
> pvmove -- ERROR "Invalid argument" remapping
> pvmove -- ERROR "pv_move(): LE of LV remap" moving physical extents
>
>
> before:
> [root@totally80s /root]# pvscan
> pvscan -- reading all physical volumes (this may take a while...)
> pvscan -- ACTIVE PV "/dev/hdc1" of VG "vg0" [19.53 GB / 0 free]
> pvscan -- ACTIVE PV "/dev/hdc2" of VG "vg0" [19.53 GB / 0 free]
> pvscan -- ACTIVE PV "/dev/hdc3" of VG "vg0" [19.53 GB / 0 free]
> pvscan -- ACTIVE PV "/dev/hdc4" of VG "vg0" [13 GB / 0 free]
> pvscan -- ACTIVE PV "/dev/hdd9" of VG "vg0" [72 GB / 0 free]
> pvscan -- ACTIVE PV "/dev/hda9" of VG "vg0" [248 MB / 0 free]
> pvscan -- ACTIVE PV "/dev/hda10" of VG "vg0" [248 MB / 0 free]
> pvscan -- ACTIVE PV "/dev/hda11" of VG "vg0" [248 MB / 0 free]
> pvscan -- ACTIVE PV "/dev/hda12" of VG "vg0" [248 MB / 0 free]
> pvscan -- ACTIVE PV "/dev/hda13" of VG "vg0" [248 MB / 0 free]
> pvscan -- ACTIVE PV "/dev/hda14" of VG "vg0" [4.70 GB / 0 free]
> pvscan -- ACTIVE PV "/dev/hdb1" of VG "vg0" [19.53 GB / 0 free]
> pvscan -- ACTIVE PV "/dev/hdb2" of VG "vg0" [19.53 GB / 0 free]
> pvscan -- ACTIVE PV "/dev/hdb3" of VG "vg0" [19.53 GB / 0 free]
> pvscan -- ACTIVE PV "/dev/hdb4" of VG "vg0" [17.72 GB / 0 free]
> pvscan -- total: 15 [225.84 GB] / in use: 15 [225.84 GB] / in no VG: 0 [0]
>
> after the successful
> pvmove, vgreduce.. cycle for hda9,10,11,12,13 and pvmove hda14 failure:
>
> pvscan -- reading all physical volumes (this may take a while...)
> pvscan -- ACTIVE PV "/dev/hdc1" of VG "vg0" [19.53 GB / 0 free]
> pvscan -- ACTIVE PV "/dev/hdc2" of VG "vg0" [19.53 GB / 0 free]
> pvscan -- ACTIVE PV "/dev/hdc3" of VG "vg0" [19.53 GB / 0 free]
> pvscan -- ACTIVE PV "/dev/hdc4" of VG "vg0" [13 GB / 0 free]
> pvscan -- ACTIVE PV "/dev/hdd9" of VG "vg0" [72 GB / 6.79 GB free]
> pvscan -- inactive PV "/dev/hda9" is in no VG [250.98 MB]
> pvscan -- inactive PV "/dev/hda10" is in no VG [250.98 MB]
> pvscan -- inactive PV "/dev/hda11" is in no VG [250.98 MB]
> pvscan -- inactive PV "/dev/hda12" is in no VG [250.98 MB]
> pvscan -- inactive PV "/dev/hda13" is in no VG [250.98 MB]
> pvscan -- ACTIVE PV "/dev/hda14" of VG "vg0" [4.70 GB / 2 GB free]
> pvscan -- ACTIVE PV "/dev/hdb1" of VG "vg0" [19.53 GB / 0 free]
> pvscan -- ACTIVE PV "/dev/hdb2" of VG "vg0" [19.53 GB / 0 free]
> pvscan -- ACTIVE PV "/dev/hdb3" of VG "vg0" [19.53 GB / 0 free]
> pvscan -- ACTIVE PV "/dev/hdb4" of VG "vg0" [17.72 GB / 0 free]
> pvscan -- total: 15 [225.84 GB] / in use: 10 [224.62 GB] / in no VG: 5
> [1.23 GB]
>
> RedHat 7.0 + Linux 2.4.18 + lvm-1.0.3
>
> any advise? should i also try that cvs version?
>
> On Mon, 11 Mar 2002, Heinz J . Mauelshagen wrote:
>
> >
> > 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 ***
> >
> > _______________________________________________
> > 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
> >
>
> --
> chris
> charwell@digitalpulp.com
>
>
> _______________________________________________
> 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
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [linux-lvm] Removing PV with disk errors from VG
2002-03-13 5:06 ` Heinz J . Mauelshagen
@ 2002-03-13 11:19 ` Chris Harwell
2002-03-13 13:37 ` Chris Harwell
0 siblings, 1 reply; 10+ messages in thread
From: Chris Harwell @ 2002-03-13 11:19 UTC (permalink / raw)
To: linux-lvm
i have not, but i will try it.
i should try the patch mentioned here, right?
1478 Feb 20 Heinz J . Mauelshagen (4355) [linux-lvm] pvmove bug with large PE numbers
thanks,
--
chris
charwell@digitalpulp.com
On Wed, 13 Mar 2002, Heinz J . Mauelshagen wrote:
>
> Chris,
>
> have you applied the cast patch for the llseek function, which fixes
> this problem mentioned several times here on the list?
>
> You should definitely *not* use CVS right now because it is a moving pre-release
> target which still has bugs!
>
> Regards,
> Heinz -- The LVM Guy --
>
> On Tue, Mar 12, 2002 at 06:16:10PM -0500, Chris Harwell wrote:
> > hi,
> >
> > i've also run into errors when trying to use pvmove.
> >
> > after offline shrinking with e2fsadm i was able to pvmove the PE's from
> > several partitions succesfully - all small ~256MB. then the last one, a
> > large one ~3GB ran into troubles:
> >
> > [root@totally80s init.d]# pvmove /dev/hda14
> > pvmove -- moving physical extents in active volume group "vg0"
> > pvmove -- WARNING: if you lose power during the move you may need
> > to restore your LVM metadata from backup!
> > pvmove -- do you want to continue? [y/n] y
> > pvmove -- ERROR reading input physical volume "/dev/hda14" (still 458752
> > bytes to read)
> > pvmove -- ERROR "pv_move_pe(): read input PV" moving physical extents
> >
> > and then this (same without the -i and --force options, which i tried
> > first). btw. a --test completed w/o errors.
> >
> > [root@totally80s init.d]# pvmove -i --force --verbose /dev/hda14
> > pvmove -- checking name of source physical volume "/dev/hda14"
> > pvmove -- locking logical volume manager
> > pvmove -- reading data of source physical volume from "/dev/hda14"
> > pvmove -- checking volume group existence
> > pvmove -- reading data of volume group "vg0" from lvmtab
> > pvmove -- checking volume group consistency of "vg0"
> > pvmove -- searching for source physical volume "/dev/hda14" in volume
> > group "vg0"
> > pvmove -- building list of possible destination physical volumes
> > pvmove -- checking volume group activity
> > pvmove -- moving physical extents in active volume group "vg0"
> > pvmove -- starting to move extents away from physical volume "/dev/hda14"
> > pvmove -- checking for enough free physical extents in "vg0"
> > pvmove -- /dev/hda14 [PE 0 [lvol1 [LE 310]] -> /dev/hdd9 [PE 16182]
> > [1/1202]
> > pvmove -- ERROR "Invalid argument" remapping
> > pvmove -- ERROR "pv_move(): LE of LV remap" moving physical extents
> >
> >
> > before:
> > [root@totally80s /root]# pvscan
> > pvscan -- reading all physical volumes (this may take a while...)
> > pvscan -- ACTIVE PV "/dev/hdc1" of VG "vg0" [19.53 GB / 0 free]
> > pvscan -- ACTIVE PV "/dev/hdc2" of VG "vg0" [19.53 GB / 0 free]
> > pvscan -- ACTIVE PV "/dev/hdc3" of VG "vg0" [19.53 GB / 0 free]
> > pvscan -- ACTIVE PV "/dev/hdc4" of VG "vg0" [13 GB / 0 free]
> > pvscan -- ACTIVE PV "/dev/hdd9" of VG "vg0" [72 GB / 0 free]
> > pvscan -- ACTIVE PV "/dev/hda9" of VG "vg0" [248 MB / 0 free]
> > pvscan -- ACTIVE PV "/dev/hda10" of VG "vg0" [248 MB / 0 free]
> > pvscan -- ACTIVE PV "/dev/hda11" of VG "vg0" [248 MB / 0 free]
> > pvscan -- ACTIVE PV "/dev/hda12" of VG "vg0" [248 MB / 0 free]
> > pvscan -- ACTIVE PV "/dev/hda13" of VG "vg0" [248 MB / 0 free]
> > pvscan -- ACTIVE PV "/dev/hda14" of VG "vg0" [4.70 GB / 0 free]
> > pvscan -- ACTIVE PV "/dev/hdb1" of VG "vg0" [19.53 GB / 0 free]
> > pvscan -- ACTIVE PV "/dev/hdb2" of VG "vg0" [19.53 GB / 0 free]
> > pvscan -- ACTIVE PV "/dev/hdb3" of VG "vg0" [19.53 GB / 0 free]
> > pvscan -- ACTIVE PV "/dev/hdb4" of VG "vg0" [17.72 GB / 0 free]
> > pvscan -- total: 15 [225.84 GB] / in use: 15 [225.84 GB] / in no VG: 0 [0]
> >
> > after the successful
> > pvmove, vgreduce.. cycle for hda9,10,11,12,13 and pvmove hda14 failure:
> >
> > pvscan -- reading all physical volumes (this may take a while...)
> > pvscan -- ACTIVE PV "/dev/hdc1" of VG "vg0" [19.53 GB / 0 free]
> > pvscan -- ACTIVE PV "/dev/hdc2" of VG "vg0" [19.53 GB / 0 free]
> > pvscan -- ACTIVE PV "/dev/hdc3" of VG "vg0" [19.53 GB / 0 free]
> > pvscan -- ACTIVE PV "/dev/hdc4" of VG "vg0" [13 GB / 0 free]
> > pvscan -- ACTIVE PV "/dev/hdd9" of VG "vg0" [72 GB / 6.79 GB free]
> > pvscan -- inactive PV "/dev/hda9" is in no VG [250.98 MB]
> > pvscan -- inactive PV "/dev/hda10" is in no VG [250.98 MB]
> > pvscan -- inactive PV "/dev/hda11" is in no VG [250.98 MB]
> > pvscan -- inactive PV "/dev/hda12" is in no VG [250.98 MB]
> > pvscan -- inactive PV "/dev/hda13" is in no VG [250.98 MB]
> > pvscan -- ACTIVE PV "/dev/hda14" of VG "vg0" [4.70 GB / 2 GB free]
> > pvscan -- ACTIVE PV "/dev/hdb1" of VG "vg0" [19.53 GB / 0 free]
> > pvscan -- ACTIVE PV "/dev/hdb2" of VG "vg0" [19.53 GB / 0 free]
> > pvscan -- ACTIVE PV "/dev/hdb3" of VG "vg0" [19.53 GB / 0 free]
> > pvscan -- ACTIVE PV "/dev/hdb4" of VG "vg0" [17.72 GB / 0 free]
> > pvscan -- total: 15 [225.84 GB] / in use: 10 [224.62 GB] / in no VG: 5
> > [1.23 GB]
> >
> > RedHat 7.0 + Linux 2.4.18 + lvm-1.0.3
> >
> > any advise? should i also try that cvs version?
> >
> > On Mon, 11 Mar 2002, Heinz J . Mauelshagen wrote:
> >
> > >
> > > 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 ***
> > >
> > > _______________________________________________
> > > 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
> > >
> >
> > --
> > chris
> > charwell@digitalpulp.com
> >
> >
> > _______________________________________________
> > 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
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
>
> _______________________________________________
> 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
>
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [linux-lvm] Removing PV with disk errors from VG
2002-03-13 11:19 ` Chris Harwell
@ 2002-03-13 13:37 ` Chris Harwell
0 siblings, 0 replies; 10+ messages in thread
From: Chris Harwell @ 2002-03-13 13:37 UTC (permalink / raw)
To: linux-lvm
well, simply applying the cast patch to the usertools did not work. i
don't need to repatch the kernel, do i?
i'm left with the same problem. when attempting a pvmove:
a --test works, but the real thing fails:
[root@totally80s /root]# pvmove --verbose /dev/hda14
pvmove -- checking name of source physical volume "/dev/hda14"
pvmove -- locking logical volume manager
pvmove -- reading data of source physical volume from "/dev/hda14"
pvmove -- checking volume group existence
pvmove -- reading data of volume group "vg0" from lvmtab
pvmove -- checking volume group consistency of "vg0"
pvmove -- searching for source physical volume "/dev/hda14" in volume
group "vg0"
pvmove -- building list of possible destination physical volumes
pvmove -- checking volume group activity
pvmove -- moving physical extents in active volume group "vg0"
pvmove -- WARNING: if you lose power during the move you may need
to restore your LVM metadata from backup!
pvmove -- do you want to continue? [y/n] y
pvmove -- starting to move extents away from physical volume "/dev/hda14"
pvmove -- checking for enough free physical extents in "vg0"
pvmove -- /dev/hda14 [PE 0 [lvol1 [LE 310]] -> /dev/hdd9 [PE 16182]
[1/1202]
pvmove -- ERROR "Invalid argument" remapping
pvmove -- ERROR "pv_move(): LE of LV remap" moving physical extents
unless i need to rescan something?
i'd like to try the 1.0.4.-pre1.tar.bz2 version mentioned in this email
1652 Mar 8 Denie Andriessen (4572) Re: [linux-lvm] PV-Move fails, now at 127 Pe's...
but, i can't find it....
could some one kindly point me in that direction?
thanks :>
--
chris
charwell@digitalpulp.com
On Wed, 13 Mar 2002, Chris Harwell wrote:
>
> i have not, but i will try it.
>
> i should try the patch mentioned here, right?
>
> 1478 Feb 20 Heinz J . Mauelshagen (4355) [linux-lvm] pvmove bug with large PE numbers
>
> thanks,
>
>
^ 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.