Skip to contentSkip to conversation

Defragmenting a VG

linux-lvm Alexander Skwar 2 participants 2 messages Feb 5, 2006

lore
Share & tools
lore
#0 lore raw

Hello!

Does anyone know of a tool for LVM2 which defragments a VG, so that the PEs of the LVs are consecutive?

Thanks,

Alexander Skwar

Signature · 4 lines
At some point, bits have to go into packets and routers need to make
decisions on them. Changes at that level is what I want to hear about, not
strategic company relationships.
        -- John Carmack
#1 lore raw
Quoted 2 lines · Alexander Skwar

Does anyone know of a tool for LVM2 which defragments a VG, so that the PEs of the LVs are consecutive?

man pvmove
and move them around manually.
(Needs --alloc anywhere to move within the same disk.)

Perhaps someone has already written a script that uses pvmove to defragment LVs?

Alasdair

Signature · 1 line
[email protected]