[linux-lvm] pvcreate on a loopback device - error: (newbie)

John Que qwejohn at gmail.com
Wed Sep 20 11:27:35 UTC 2006


I had tried to do some test with LVM on a loopback device
follwing some tutorials on the web.

I get errors.
what I do is this:

dd if=/dev/zero of=/work/tmp/disk-image count=10240
mke2fs /work/tmp/disk-image
mount -o loop /work/tmp/disk-image /work/loop/    78  14:23

pvcreate /dev/loop1

 Failed to wipe new metadata area
  /dev/loop1: Format-specific setup of physical volume failed. Failed
to setup physical volume "/dev/loop1"

what did I do wrong ?


More information about the linux-lvm mailing list