* [linux-lvm] devfs @ 2000-12-13 20:17 Russell Coker 2000-12-14 15:41 ` Luca Berra 2000-12-18 3:36 ` Matthew O'Keefe 0 siblings, 2 replies; 9+ messages in thread From: Russell Coker @ 2000-12-13 20:17 UTC (permalink / raw) To: Linux-LVM It appears that devfs is not supported in LVM at this time (but I can't be certain because I haven't got it going properly yet). What are the plans for devfs support? I would like to get support for Devfs and LVM into a set of install disks for the Debian distribution of Linux in the near future... Please let me know what the desired functionality is in this regard and I'll start coding next week. -- http://www.coker.com.au/bonnie++/ Bonnie++ hard drive benchmark http://www.coker.com.au/postal/ Postal SMTP/POP benchmark http://www.coker.com.au/projects.html Projects I am working on http://www.coker.com.au/~russell/ My home page ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [linux-lvm] devfs 2000-12-13 20:17 [linux-lvm] devfs Russell Coker @ 2000-12-14 15:41 ` Luca Berra 2000-12-14 15:53 ` Christoph Hellwig 2000-12-18 3:36 ` Matthew O'Keefe 1 sibling, 1 reply; 9+ messages in thread From: Luca Berra @ 2000-12-14 15:41 UTC (permalink / raw) To: Linux-LVM On Wed, Dec 13, 2000 at 09:17:41PM +0100, Russell Coker wrote: > It appears that devfs is not supported in LVM at this time (but I can't be > certain because I haven't got it going properly yet). What are the plans for > devfs support? this is not exact, there is some devfs support in lvm 0.9, or 0.8 in kernels >= 2.4.0-test8, but it does not work!!! i had to patch the lvm tools so they don't remove the /dev/<vgname> directory also from my brief testing it seems that devfs tries to create the /dev/vg/group node when activating the vg (while this should be done during vgscan), but does not create the lv defice files. Regards, L. -- Luca Berra -- bluca@comedia.it Communication Media & Services S.r.l. /"\ \ / ASCII RIBBON CAMPAIGN X AGAINST HTML MAIL / \ ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [linux-lvm] devfs 2000-12-14 15:41 ` Luca Berra @ 2000-12-14 15:53 ` Christoph Hellwig 0 siblings, 0 replies; 9+ messages in thread From: Christoph Hellwig @ 2000-12-14 15:53 UTC (permalink / raw) To: Luca Berra, Linux-LVM On Thu, Dec 14, 2000 at 04:41:53PM +0100, Luca Berra wrote: > On Wed, Dec 13, 2000 at 09:17:41PM +0100, Russell Coker wrote: > > It appears that devfs is not supported in LVM at this time (but I can't be > > certain because I haven't got it going properly yet). What are the plans for > > devfs support? > > this is not exact, there is some devfs support in lvm 0.9, or > 0.8 in kernels >= 2.4.0-test8, but it does not work!!! > > i had to patch the lvm tools so they don't remove the /dev/<vgname> directory > > also from my brief testing it seems that devfs tries to create the > /dev/vg/group node when activating the vg (while this should be done > during vgscan), but does not create the lv defice files. Right - you have to apply _two_ patches for the userlevel. I had a system running devfs and LVM for a while but than switched back to traditional /dev for other reasons. Christoph -- Of course it doesn't work. We've performed a software upgrade. ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [linux-lvm] devfs 2000-12-13 20:17 [linux-lvm] devfs Russell Coker 2000-12-14 15:41 ` Luca Berra @ 2000-12-18 3:36 ` Matthew O'Keefe 1 sibling, 0 replies; 9+ messages in thread From: Matthew O'Keefe @ 2000-12-18 3:36 UTC (permalink / raw) To: linux-lvm On Wed, Dec 13, 2000 at 09:17:41PM +0100, Russell Coker wrote: > It appears that devfs is not supported in LVM at this time (but I can't be > certain because I haven't got it going properly yet). What are the plans for > devfs support? THere is initial DEVFS support in LVM right now, and Heinz is working on full DEVFS support for the next release. Matt O'Keefe > > I would like to get support for Devfs and LVM into a set of install disks for > the Debian distribution of Linux in the near future... > > Please let me know what the desired functionality is in this regard and I'll > start coding next week. > > -- > http://www.coker.com.au/bonnie++/ Bonnie++ hard drive benchmark > http://www.coker.com.au/postal/ Postal SMTP/POP benchmark > http://www.coker.com.au/projects.html Projects I am working on > http://www.coker.com.au/~russell/ My home page > _______________________________________________ > linux-lvm mailing list > linux-lvm@sistina.com > http://lists.sistina.com/mailman/listinfo/linux-lvm ^ permalink raw reply [flat|nested] 9+ messages in thread
* [linux-lvm] devfs... @ 2000-01-05 17:33 James Pattinson 2000-01-05 22:34 ` Heinz Mauelshagen 0 siblings, 1 reply; 9+ messages in thread From: James Pattinson @ 2000-01-05 17:33 UTC (permalink / raw) To: linux-lvm Hi I'm sure this is a FAQ but I can't find the answer anywhere. I've am using LVM 0.8i on 2.2.14 with the latest devfs patch. My root filesystem in on an LV and I have an initrd that does a vgscan and a vgchange. However now I'm using devfs, vgscan dooesn't find any of my volume groups - maybe because vgscan doesn't know to look in /dev/scsi or whatever. Is there a patch to fix this? Cheers! James ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [linux-lvm] devfs... 2000-01-05 17:33 James Pattinson @ 2000-01-05 22:34 ` Heinz Mauelshagen 2000-01-05 23:03 ` James Pattinson 2000-01-05 23:30 ` James Pattinson 0 siblings, 2 replies; 9+ messages in thread From: Heinz Mauelshagen @ 2000-01-05 22:34 UTC (permalink / raw) To: James Pattinson; +Cc: mge, linux-lvm > Hi > > I'm sure this is a FAQ but I can't find the answer anywhere. > > I've am using LVM 0.8i on 2.2.14 with the latest devfs patch. Sorry, this combination is not yet supported. I still have to focus on devfs support 8*( > My root > filesystem in on an LV and I have an initrd that does a vgscan and a > vgchange. However now I'm using devfs, vgscan dooesn't find any of my > volume groups - maybe because vgscan doesn't know to look in /dev/scsi or > whatever. Is there a patch to fix this? vgscan (respectively the library routines involved) already take care of devfs naming conventions. Did you mount devfs in linuxrc before running vgscan? Regards, Heinz -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Systemmanagement CS-TS T-Nova Entwicklungszentrum Darmstadt Heinz Mauelshagen Otto-Roehm-Strasse 71c Senior Systems Engineer Postfach 10 05 41 64205 Darmstadt mge@EZ-Darmstadt.Telekom.de Germany +49 6151 886-425 FAX-386 =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [linux-lvm] devfs... 2000-01-05 22:34 ` Heinz Mauelshagen @ 2000-01-05 23:03 ` James Pattinson 2000-01-05 23:30 ` James Pattinson 1 sibling, 0 replies; 9+ messages in thread From: James Pattinson @ 2000-01-05 23:03 UTC (permalink / raw) To: Heinz Mauelshagen; +Cc: mge, linux-lvm Well I have things working now - my linuxrc actually creates (mknod) /dev/sd[a-d] with the correct device numbers. Then the vgscan works and real root is mounted. This is all working fine. So I'm now not sure why it wasn't working before, if LVM really does know about the devfs naming conventions. I did an strace on vgscan and it didn't look at /dev/scsi or /dev/discs or anything like that. Cheers James On Wed, 5 Jan 2000, Heinz Mauelshagen wrote: > > Hi > > > > I'm sure this is a FAQ but I can't find the answer anywhere. > > > > I've am using LVM 0.8i on 2.2.14 with the latest devfs patch. > > Sorry, this combination is not yet supported. > I still have to focus on devfs support 8*( > > > My root > > filesystem in on an LV and I have an initrd that does a vgscan and a > > vgchange. However now I'm using devfs, vgscan dooesn't find any of my > > volume groups - maybe because vgscan doesn't know to look in /dev/scsi or > > whatever. Is there a patch to fix this? > > vgscan (respectively the library routines involved) already > take care of devfs naming conventions. > > Did you mount devfs in linuxrc before running vgscan? > > Regards, > Heinz > > -- > > =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- > > Systemmanagement CS-TS T-Nova > Entwicklungszentrum Darmstadt > Heinz Mauelshagen Otto-Roehm-Strasse 71c > Senior Systems Engineer Postfach 10 05 41 > 64205 Darmstadt > mge@EZ-Darmstadt.Telekom.de Germany > +49 6151 886-425 > FAX-386 > =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- > ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [linux-lvm] devfs... 2000-01-05 22:34 ` Heinz Mauelshagen 2000-01-05 23:03 ` James Pattinson @ 2000-01-05 23:30 ` James Pattinson 2000-01-06 23:24 ` Jos Visser 1 sibling, 1 reply; 9+ messages in thread From: James Pattinson @ 2000-01-05 23:30 UTC (permalink / raw) To: linux-lvm OK I've been looking around - and it seems that the latest devfs doesn't have /dev/sd/* - instead we have lots of weird things, like /dev/discs/disc0/* /dev/discs/disc1/* etc ... I've fixed my vgscan but adding static char *devdir[] = { "/dev/ida", "/dev/ide/hd", "/dev/loop", "/dev/md", "/dev/rd", "/dev/sd", + "/dev/discs/disc0", + "/dev/discs/disc1", + "/dev/discs/disc2", + "/dev/discs/disc3", + "/dev/discs/disc4", "/dev", NULL to lvm_dir_cache.c and similar to pv_check_name.c. It works for me but hopefully devfs will settle down and not keep changing soon... Thanks, james On Wed, 5 Jan 2000, Heinz Mauelshagen wrote: > > Hi > > > > I'm sure this is a FAQ but I can't find the answer anywhere. > > > > I've am using LVM 0.8i on 2.2.14 with the latest devfs patch. > > Sorry, this combination is not yet supported. > I still have to focus on devfs support 8*( > > > My root > > filesystem in on an LV and I have an initrd that does a vgscan and a > > vgchange. However now I'm using devfs, vgscan dooesn't find any of my > > volume groups - maybe because vgscan doesn't know to look in /dev/scsi or > > whatever. Is there a patch to fix this? > > vgscan (respectively the library routines involved) already > take care of devfs naming conventions. > > Did you mount devfs in linuxrc before running vgscan? > > Regards, > Heinz > > -- > > =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- > > Systemmanagement CS-TS T-Nova > Entwicklungszentrum Darmstadt > Heinz Mauelshagen Otto-Roehm-Strasse 71c > Senior Systems Engineer Postfach 10 05 41 > 64205 Darmstadt > mge@EZ-Darmstadt.Telekom.de Germany > +49 6151 886-425 > FAX-386 > =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- > ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [linux-lvm] devfs... 2000-01-05 23:30 ` James Pattinson @ 2000-01-06 23:24 ` Jos Visser 0 siblings, 0 replies; 9+ messages in thread From: Jos Visser @ 2000-01-06 23:24 UTC (permalink / raw) To: James Pattinson; +Cc: linux-lvm Hi, Maybe I'm a bit silly, but can't vgscan recusively descend into the /dev directory and try to followup on all block devices it sees there with exception to the obvious to-be-left-outs? ++Jos James Pattinson wrote: > > OK I've been looking around - and it seems that the latest devfs doesn't > have /dev/sd/* - instead we have lots of weird things, like > /dev/discs/disc0/* /dev/discs/disc1/* etc ... I've fixed my vgscan but > adding > > static char *devdir[] = { > "/dev/ida", > "/dev/ide/hd", > "/dev/loop", > "/dev/md", > "/dev/rd", > "/dev/sd", > + "/dev/discs/disc0", > + "/dev/discs/disc1", > + "/dev/discs/disc2", > + "/dev/discs/disc3", > + "/dev/discs/disc4", > "/dev", > NULL > > to lvm_dir_cache.c and similar to pv_check_name.c. > > It works for me but hopefully devfs will settle down and not keep changing > soon... > > Thanks, > > james > > On Wed, 5 Jan 2000, Heinz Mauelshagen wrote: > > > > Hi > > > > > > I'm sure this is a FAQ but I can't find the answer anywhere. > > > > > > I've am using LVM 0.8i on 2.2.14 with the latest devfs patch. > > > > Sorry, this combination is not yet supported. > > I still have to focus on devfs support 8*( > > > > > My root > > > filesystem in on an LV and I have an initrd that does a vgscan and a > > > vgchange. However now I'm using devfs, vgscan dooesn't find any of my > > > volume groups - maybe because vgscan doesn't know to look in /dev/scsi or > > > whatever. Is there a patch to fix this? > > > > vgscan (respectively the library routines involved) already > > take care of devfs naming conventions. > > > > Did you mount devfs in linuxrc before running vgscan? > > > > Regards, > > Heinz > > > > -- > > > > =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- > > > > Systemmanagement CS-TS T-Nova > > Entwicklungszentrum Darmstadt > > Heinz Mauelshagen Otto-Roehm-Strasse 71c > > Senior Systems Engineer Postfach 10 05 41 > > 64205 Darmstadt > > mge@EZ-Darmstadt.Telekom.de Germany > > +49 6151 886-425 > > FAX-386 > > =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- > > -- "If anyone wants to be first, he must be the very last, and the servant of all" ^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2000-12-18 3:36 UTC | newest] Thread overview: 9+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2000-12-13 20:17 [linux-lvm] devfs Russell Coker 2000-12-14 15:41 ` Luca Berra 2000-12-14 15:53 ` Christoph Hellwig 2000-12-18 3:36 ` Matthew O'Keefe -- strict thread matches above, loose matches on Subject: below -- 2000-01-05 17:33 James Pattinson 2000-01-05 22:34 ` Heinz Mauelshagen 2000-01-05 23:03 ` James Pattinson 2000-01-05 23:30 ` James Pattinson 2000-01-06 23:24 ` Jos Visser
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox