[linux-lvm] pvmove: ERROR "pv_read(): device major number"

Stephan Austermuehle au at hcsd.de
Tue Jun 4 07:54:02 UTC 2002


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





More information about the linux-lvm mailing list