pvmove: ERROR "pv_read(): device major number"
Hi,
using Kernel 2.4.18+XFS 1.1+LVM 1.1rc2+VFS lock I want to move an LV to a different PV to move the currently unprotected data to a mirrored device. I entered the following line as root (no su -):
# pvmove --version pvmove: Logical Volume Manager 1.1-rc1 Heinz Mauelshagen, Sistina Software 15/03/2002 (IOP 10)
# pvmove /dev/vg00/lv_swap /dev/hda1 /dev/md0 pvmove -- ERROR "pv_read(): device major number" reading source physical volume "/dev/vg00/lv_swap"
The mentioned LV is not in use.
Same problem with a native disk partition:
# pvmove /dev/vg00/lv_swap /dev/hda1 /dev/hdc1 pvmove -- ERROR "pv_read(): device major number" reading source physical volume "/dev/vg00/lv_swap"
The root file system is on an LV, too.
What's going on here?
Stephan
Stephan,
you seem to run LVM 1.1-rc1 as pvmove states which had a flaw checking used devices.
Could you please either use LVM 1.1-rc2 or LVM 1.1 from top of CVS (see instructions at www.sistina.com IRT CVS repository on how to check that out) and tell me, if that works.
Please keep in mind that LVM 1.1 is unstable development software not meant for production systems!
Quoted 32 lines · Stephan Austermuehle
Hi,
using Kernel 2.4.18+XFS 1.1+LVM 1.1rc2+VFS lock I want to move an LV to a different PV to move the currently unprotected data to a mirrored device. I entered the following line as root (no su -):
# pvmove --version pvmove: Logical Volume Manager 1.1-rc1 Heinz Mauelshagen, Sistina Software 15/03/2002 (IOP 10)# pvmove /dev/vg00/lv_swap /dev/hda1 /dev/md0 pvmove -- ERROR "pv_read(): device major number" reading source physical volume "/dev/vg00/lv_swap"The mentioned LV is not in use.
Same problem with a native disk partition:
# pvmove /dev/vg00/lv_swap /dev/hda1 /dev/hdc1 pvmove -- ERROR "pv_read(): device major number" reading source physical volume "/dev/vg00/lv_swap"The root file system is on an LV, too.
What's going on here?
Stephan
_______________________________________________
linux-lvm mailing list
[email protected]
http://lists.sistina.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html
Signature · 15 lines
Regards,
Heinz -- The LVM Guy --
*** 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
[email protected] +49 2626 141200
FAX 924446
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-Hello, Heinz,
Quoted 3 lines · Heinz J . Mauelshagen
Could you please either use LVM 1.1-rc2 or LVM 1.1 from top of CVS (see instructions at www.sistina.com IRT CVS repository on how to check that out) and tell me, if that works.
I've just tried it with 1.1-rc2 without success:
# ./pvmove --version pvmove: Logical Volume Manager 1.1-rc2 Heinz Mauelshagen, Sistina Software 23/04/2002 (IOP 10)
# ./pvmove /dev/vg00/lv_swap /dev/hda1 /dev/hdc1 pvmove -- ERROR "pv_read(): device major number" reading source physical volume "/dev/vg00/lv_swap"
I built the LVM tools statically to avoid interference with installed packages (Debian Woody).
Stephan
Quoted 1 line · Stephan Austermuehle
I've just tried it with 1.1-rc2 without success:
Same problem with LVM 1.0.4 using LVM 1.0.4 tools.
Stephan
Quoted 2 lines · Stephan Austermuehle
Quoted 1 line
I've just tried it with 1.1-rc2 without success:
Same problem with LVM 1.0.4 using LVM 1.0.4 tools.
Oh, oh... the problem is sitting in front of the screen... I forgot giving '-n' before the LV... Sorry.
Stephan