[linux-lvm] lvm/devfs bug?

rich turner rich at storix.com
Thu Apr 10 13:08:02 UTC 2003


does anyone recognize this as a bug within lvm?

there clearly is not a partition on sda (according to /proc/partitions)
but pvcreate thinks there is one. if pvcreate examines only
/proc/partitions for disk partitions and there is not a partition on a
disk then why does pvcreate fail? i may not understand all of the
underlying behavior of pvcreate but it appears to be failing when it
shouldnt. is this a bug?

On Wed, 2003-04-09 at 16:57, rich turner wrote:
> i dont completely agree with that because even when i use a kernel that
> does not have devfs i still get the same symptoms. even though
> /proc/partitions does not have a partition for a disk pvcreate still
> complains that there is one. pvcreate must be looking someplace else or
> there is a bug within lvm.
> 
> now, if i create a pv within a partition there are no complaints, lvm
> will continue normally. it appears to only happen when i want to create
> a pv on the entire disk.
> 
> why does pvcreate think there is a partition when there clearly isnt
> one?
> 
> On Wed, 2003-04-09 at 00:21, Patrick Caulfield wrote:
> > On Tue, Apr 08, 2003 at 02:22:23PM -0700, Rich Turner wrote:
> > > even though devfs is compiled in the kernel it actually is not mounted
> > > at this time. i have tried it using devfs long names also with no
> > > success.
> > 
> > If devfs is in the kernel you MUST have it mounted for LVM. It's to do with the
> > interaction between /proc/partitions and LVM.
> > 
> > 
> > 
> > patrick
> > 
> > 
> > _______________________________________________
> > linux-lvm mailing list
> > linux-lvm at sistina.com
> > http://lists.sistina.com/mailman/listinfo/linux-lvm
> > read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
> 
> 
> 
> _______________________________________________
> linux-lvm mailing list
> linux-lvm at sistina.com
> http://lists.sistina.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/






More information about the linux-lvm mailing list