* [linux-lvm] Trouble with balancing physical volumes with pvmove
@ 2022-12-22 17:00 Robert Osowiecki
2023-01-05 0:12 ` John Stoffel
0 siblings, 1 reply; 2+ messages in thread
From: Robert Osowiecki @ 2022-12-22 17:00 UTC (permalink / raw)
To: linux-lvm
[-- Attachment #1.1: Type: text/plain, Size: 851 bytes --]
Dear LVM list,
I had several PV's with mainly raid10 volumes. When one of them failed, I
was able to recover with lvconvert --repair.
After failed PV was replaced, it left me with a couple of filled up almost
to 100% PV's and one 100% free. I'd like to create more raid10 volumes, but
I'm unable to free any space...
The following command (extents range cover one of rimage_N volumes) was
only successful for one "meta" and one "rimage_0", but in all other cases
fails like:
[root@chimera ~]# pvmove /dev/sdg:0-15359 /dev/sdh
Insufficient free space: 15360 extents needed, but only 0 available
Unable to allocate mirror extents for vgkvm/pvmove0.
Failed to convert pvmove LV to mirrored.
Why? There's certainly lots of free space on /dev/sdh, it's almost free!
I don't want to be forced to use only linear volumes from now... please
help!
[-- Attachment #1.2: Type: text/html, Size: 1046 bytes --]
[-- Attachment #2: Type: text/plain, Size: 202 bytes --]
_______________________________________________
linux-lvm mailing list
linux-lvm@redhat.com
https://listman.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [linux-lvm] Trouble with balancing physical volumes with pvmove
2022-12-22 17:00 [linux-lvm] Trouble with balancing physical volumes with pvmove Robert Osowiecki
@ 2023-01-05 0:12 ` John Stoffel
0 siblings, 0 replies; 2+ messages in thread
From: John Stoffel @ 2023-01-05 0:12 UTC (permalink / raw)
To: LVM general discussion and development
Can you give us the output of ‘pvs’ and’lvs’ so we can see your setup? It’s also not quite clear what failed, a disk? If so, which one?
Do you have copy of the lvs and pvs output before your failure? And what about cat /proc/partitions output as well.
Sent from my iPhone
> On Jan 2, 2023, at 2:44 AM, Robert Osowiecki <robert.osowiecki@gmail.com> wrote:
>
>
> Dear LVM list,
>
> I had several PV's with mainly raid10 volumes. When one of them failed, I was able to recover with lvconvert --repair.
>
> After failed PV was replaced, it left me with a couple of filled up almost to 100% PV's and one 100% free. I'd like to create more raid10 volumes, but I'm unable to free any space...
>
> The following command (extents range cover one of rimage_N volumes) was only successful for one "meta" and one "rimage_0", but in all other cases fails like:
>
> [root@chimera ~]# pvmove /dev/sdg:0-15359 /dev/sdh
> Insufficient free space: 15360 extents needed, but only 0 available
> Unable to allocate mirror extents for vgkvm/pvmove0.
> Failed to convert pvmove LV to mirrored.
>
> Why? There's certainly lots of free space on /dev/sdh, it's almost free!
>
> I don't want to be forced to use only linear volumes from now... please help!
> _______________________________________________
> linux-lvm mailing list
> linux-lvm@redhat.com
> https://listman.redhat.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
_______________________________________________
linux-lvm mailing list
linux-lvm@redhat.com
https://listman.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-01-05 0:21 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-22 17:00 [linux-lvm] Trouble with balancing physical volumes with pvmove Robert Osowiecki
2023-01-05 0:12 ` John Stoffel
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).