pvcreate on a loopback device - error: (newbie)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

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

error:
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 ?

Regards,
John

_______________________________________________
linux-lvm mailing list
linux-lvm@redhat.com
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

[Index of Archives]     [Gluster Users]     [Kernel Development]     [Linux Clusters]     [Device Mapper]     [Security]     [Bugtraq]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]

  Powered by Linux