You are not logged in.
Pages: 1
(I believe this should be posted in System Administration, but apparently I can't post there)
I've created a 300G LV on some VG and after playing around with it I remembered I have a PV I needed to remove from that VG. I should have removed the LV (to allow a quicker pvmove) but I was fast with pvmove and ran it before this idea came to my mind. A minute later, I ^Ced pvmove (didn't know about --abort) and it died quietly.
From that point and on, none of the lvm commands worked. They all successfully connected to the /run/lvm/lvmetad.socket, sent some hello message and blocked on the read. lvmetad itself was stuck in select (poll_schedule_timeout).
So I thought, meh, lets reboot and hope for good. But after the reboot, LVM remembers of its pvmove0 LV and continues the pvmove work. Checking with iotop, there's some kworker on full I/O. I let it run for 6 hours, the I/O dropped eventually but lvmetad still hangs and pvmove0 still exists...
How can I stop it? I don't care of neither the pvmove0 LV nor the LV being moved by it (only the one I recently created). I do care of another LV on the same VG, but it was already moved to a different PV so it shouldn't be affected by this ongoing pvmove operation.
I tried to mess with the various files at /etc/lvm/ (to remove any mention of pvmove0 or the unwanted LV) but it didn't have any influence so I guess LVM takes this info from the volumes themselves.
Any ideas? My arch is practically useless now, with the disk on full I/O for hours after each reboot and LVM commands not functioning (I do need to do some LVs managing...).
The best I can think of now is to make an image of my ext4 of the LV I care of, then wipe the VG completely (both PVs are of the same HDD) and recreate it. But that's kinda losing so I hope for other options ![]()
Offline
The best I can think of now is to make an image of my ext4 of the LV I care of, then wipe the VG completely (both PVs are of the same HDD) and recreate it. But that's kinda losing so I hope for other options
I'm rather impatient so I went with this solution. Took about 15 mins and worked like a charm, I do recommend ![]()
Offline
Pages: 1