Skip to contentSkip to conversation

vgreduce fails

linux-lvm Spam 1 participant 2 messages Nov 3, 2003 – Nov 7, 2003 1 message not in the archive

lore
Share & tools
lore

Spam

author
#0 lore raw

I am trying to reduce a physical volume from my VG "Server" but when I get to the step "vgreduce" it fails with this error:

vgreduce -- ERROR "parameter error" reducing volume group "Server" by physical volume "/dev/ide/host2/bus0/target0/lun0/part1" in kernel

There is a logfile and debug output on http://tnonline.net/lvm.txt
(also attached as lvm.zip).

I am using Gentoo Linux, but tried with vanilla kernel 2.4.22 and lvm tools 1.0.7.

author
#2 lore raw
In reply to a message not in the archive

Yes I tried that way too. I had tried restarting the system with no luck too. But when I changed to LVM2 it worked fine without any problems. I have no idea what was wrong. I tried to move several different disks and all gave the same error with LVM1.

Quoted 18 lines

Have you tried removing the one free PV rather than using "-a" ? Have you run vgck to check volume group consistency ? Does the machine have an extraordinary long uptime ?

Quoted 13 lines · Spam

I am trying to reduce a physical volume from my VG "Server" but when I get to the step "vgreduce" it fails with this error:

vgreduce -- ERROR "parameter error" reducing volume group
"Server" by physical volume "/dev/ide/host2/bus0/target0/lun0/part1" in kernel

There is a logfile and debug output on http://tnonline.net/lvm.txt
(also attached as lvm.zip).

I am using Gentoo Linux, but tried with vanilla kernel 2.4.22 and lvm tools 1.0.7.