[linux-lvm] loop devices?

Harri Haataja harri.haataja at smilehouse.com
Wed Dec 12 10:53:02 UTC 2001


On Wed, Dec 12, 2001 at 06:16:31PM +0200, Mika Lansirinne wrote:
> I was trying to use a loop device(s) for LVM. In the pvcreate man-page it is 
> said that a PV can also be a loopback file. That also seem to work correct. 
> But when I try to create a VG on that I get:
> 
> [root at arthur /tmp]# vgcreate tmpvg /dev/loop0
> vgcreate -- no valid physical volumes in command line

I didnt bother to look deep into those messages but first though that
came into my mind is that you didn't mention losetup. You did this?

-- 
Do not meddle in the affairs of gurus,
for they can make your life miserable by doing nothing.
	-- .sig of Joe Zeff




More information about the linux-lvm mailing list