I tried to create simple pd, vg and it works and boots without error 
messages; vgscan is also happy with mknod so it was not a problem.

> 
> However, all of this still does not address my empty
> /dev/<volume group> directory.  It is missing the actual device nodes
> (group, and <lv>s).
> 
> This latter part might be due to my using the initrd however.  I am of
> thought that the /dev/<volume group> nodes are created within the
> following order of operations:
> 
> 1.  mount initrd
> 2.  mount devfs
> 3   load lvm module (which creates devfs nodes)
> 3.  vgscan, vchange -a y
> 4.  mount real root (on lvm partition)
> 5.  mount devfs again (on real root)
> 6.  unmount initrd
> 
> I think the lvm nodes are created successfully in step 3 but get lost
> when devfs is mounted a second time in step 5.
> 

Ah ... no that's wrong. I am not sure if it is even possible to mount 
devfs after kernel has started. It is hard enough to umount it in any case.

You need not to mount devfs explicitly. You just boot with devfs=mount 
boot option. Mounting happens in __init of devfs automatically in this 
case and will persist until reboot. I guess, these mutlitple mounts 
confused your kernel.

So, steps 2 and 5 are not needed. Either you boot with devfs or without.

> I am at a loss as to how to correct this however as I don't seem to be
> able to create nodes on the devfs.  I guess it's time to get on over
> to the lvm mailing list for some ideas.
> 

Would you mind trying without steps 2 and 5 but with devfs=mount boot 
option? This should work if my theory is correct :-)

-andrej

Reply via email to