linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
* [linux-lvm] configuration question
@ 2001-01-27  2:42 Steven Lembark
  2001-01-29 13:57 ` Patrick Caulfield
  0 siblings, 1 reply; 5+ messages in thread
From: Steven Lembark @ 2001-01-27  2:42 UTC (permalink / raw)
  To: linux-lvm

trying to get vg's out of dev for now -- devfs issues.

so i modify ./kernel/lvm.h replacing:

	#define LVM_DIR_PREFIX  "/dev/"

with 
	#define LVM_DIR_PREFIX  "/lvm/"

then configure and compile the code.

probem is that this doesn't seem to purge /dev/ from
all of the code.  is there some other location where
the lvm directory is defined or is this just a 
configuration bug [perhaps a known one at that]?

thanx.

-- 
 Steven Lembark                                   2930 W. Palmer St.
                                                 Chicago, IL  60647
 lembark@wrkhors.com                                   800-762-1582

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [linux-lvm] configuration question
  2001-01-27  2:42 [linux-lvm] configuration question Steven Lembark
@ 2001-01-29 13:57 ` Patrick Caulfield
  2001-01-29 15:44   ` Heinz J. Mauelshagen
  0 siblings, 1 reply; 5+ messages in thread
From: Patrick Caulfield @ 2001-01-29 13:57 UTC (permalink / raw)
  To: linux-lvm

On Fri, Jan 26, 2001 at 08:42:42PM -0600, Steven Lembark wrote:
> 
> trying to get vg's out of dev for now -- devfs issues.
> 
> so i modify ./kernel/lvm.h replacing:
> 
> 	#define LVM_DIR_PREFIX  "/dev/"
> 
> with 
> 	#define LVM_DIR_PREFIX  "/lvm/"
> 
> then configure and compile the code.
> 
> probem is that this doesn't seem to purge /dev/ from
> all of the code.  is there some other location where
> the lvm directory is defined or is this just a 
> configuration bug [perhaps a known one at that]?

It looks like there are few hardcoded /dev strings elsewhere
in the code. try a grep down the lib directory and change 
those too. I'll fix this in CVS.

patrick

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [linux-lvm] configuration question
  2001-01-29 15:44   ` Heinz J. Mauelshagen
@ 2001-01-29 15:12     ` Steven Lembark
  2001-01-29 16:55       ` Heinz J. Mauelshagen
  0 siblings, 1 reply; 5+ messages in thread
From: Steven Lembark @ 2001-01-29 15:12 UTC (permalink / raw)
  To: linux-lvm

> > > trying to get vg's out of dev for now -- devfs issues.
> > >
> > > so i modify ./kernel/lvm.h replacing:
> > >
> > >     #define LVM_DIR_PREFIX  "/dev/"
> > >
> > > with
> > >     #define LVM_DIR_PREFIX  "/lvm/"
> > >
> > > then configure and compile the code.
> > >
> > > probem is that this doesn't seem to purge /dev/ from
> > > all of the code.  is there some other location where
> > > the lvm directory is defined or is this just a
> > > configuration bug [perhaps a known one at that]?
> >
> > It looks like there are few hardcoded /dev strings elsewhere
> > in the code. try a grep down the lib directory and change
> > those too. I'll fix this in CVS.
> 
> The only one I still found was in tools/lib/pv_check_name.c.
> Fixed that and checked it in.
> 
> The real constraint here is, that LVM stores the full pathname in the VGDA
> and that there's no tool available today to change that information on the fly.
> 
> I implemented LVM_DIR_PREFIX a while ago as a helper to ease namespace
> changes. But for sure there's still something to do (as it always will ;-)

i don't have any existing VG's -- problems with devfs trashed
them all.  main issue now is starting over w/ lvm & devfs in
separate namespaces until all of the kinks are worked out.

-- 
 Steven Lembark                                   2930 W. Palmer St.
                                                 Chicago, IL  60647
 lembark@wrkhors.com                                   800-762-1582

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [linux-lvm] configuration question
  2001-01-29 13:57 ` Patrick Caulfield
@ 2001-01-29 15:44   ` Heinz J. Mauelshagen
  2001-01-29 15:12     ` Steven Lembark
  0 siblings, 1 reply; 5+ messages in thread
From: Heinz J. Mauelshagen @ 2001-01-29 15:44 UTC (permalink / raw)
  To: linux-lvm

On Mon, Jan 29, 2001 at 01:57:16PM +0000, Patrick Caulfield wrote:
> On Fri, Jan 26, 2001 at 08:42:42PM -0600, Steven Lembark wrote:
> > 
> > trying to get vg's out of dev for now -- devfs issues.
> > 
> > so i modify ./kernel/lvm.h replacing:
> > 
> > 	#define LVM_DIR_PREFIX  "/dev/"
> > 
> > with 
> > 	#define LVM_DIR_PREFIX  "/lvm/"
> > 
> > then configure and compile the code.
> > 
> > probem is that this doesn't seem to purge /dev/ from
> > all of the code.  is there some other location where
> > the lvm directory is defined or is this just a 
> > configuration bug [perhaps a known one at that]?
> 
> It looks like there are few hardcoded /dev strings elsewhere
> in the code. try a grep down the lib directory and change 
> those too. I'll fix this in CVS.

The only one I still found was in tools/lib/pv_check_name.c.
Fixed that and checked it in.

The real constraint here is, that LVM stores the full pathname in the VGDA
and that there's no tool available today to change that information on the fly.

I implemented LVM_DIR_PREFIX a while ago as a helper to ease namespace
changes. But for sure there's still something to do (as it always will ;-)

> 
> patrick
> 
> _______________________________________________
> linux-lvm mailing list
> linux-lvm@sistina.com
> http://lists.sistina.com/mailman/listinfo/linux-lvm

-- 

Regards,
Heinz    -- The LVM Guy --

*** Software bugs are stupid.
    Nevertheless it needs not so stupid people to solve them ***

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

Heinz Mauelshagen                                 Sistina Software Inc.
Senior Consultant/Developer                       Am Sonnenhang 11
                                                  56242 Marienrachdorf
                                                  Germany
Mauelshagen@Sistina.com                           +49 2626 141200
                                                       FAX 924446
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [linux-lvm] configuration question
  2001-01-29 15:12     ` Steven Lembark
@ 2001-01-29 16:55       ` Heinz J. Mauelshagen
  0 siblings, 0 replies; 5+ messages in thread
From: Heinz J. Mauelshagen @ 2001-01-29 16:55 UTC (permalink / raw)
  To: linux-lvm

On Mon, Jan 29, 2001 at 09:12:22AM -0600, Steven Lembark wrote:
> 
> > > > trying to get vg's out of dev for now -- devfs issues.
> > > >
> > > > so i modify ./kernel/lvm.h replacing:
> > > >
> > > >     #define LVM_DIR_PREFIX  "/dev/"
> > > >
> > > > with
> > > >     #define LVM_DIR_PREFIX  "/lvm/"
> > > >
> > > > then configure and compile the code.
> > > >
> > > > probem is that this doesn't seem to purge /dev/ from
> > > > all of the code.  is there some other location where
> > > > the lvm directory is defined or is this just a
> > > > configuration bug [perhaps a known one at that]?
> > >
> > > It looks like there are few hardcoded /dev strings elsewhere
> > > in the code. try a grep down the lib directory and change
> > > those too. I'll fix this in CVS.
> > 
> > The only one I still found was in tools/lib/pv_check_name.c.
> > Fixed that and checked it in.
> > 
> > The real constraint here is, that LVM stores the full pathname in the VGDA
> > and that there's no tool available today to change that information on the fly.
> > 
> > I implemented LVM_DIR_PREFIX a while ago as a helper to ease namespace
> > changes. But for sure there's still something to do (as it always will ;-)
> 
> i don't have any existing VG's -- problems with devfs trashed
> them all.  main issue now is starting over w/ lvm & devfs in
> separate namespaces until all of the kinks are worked out.

All right.
In this case you should give it a (not tested!) try with the recent change.

Please retrieve the software from the CVS repository by following the
instructions on our WEB site <www.sistina.com>.

Don't forget to apply the tag "LVM_0-9-patches" during checkout.

> 
> -- 
>  Steven Lembark                                   2930 W. Palmer St.
>                                                  Chicago, IL  60647
>  lembark@wrkhors.com                                   800-762-1582
> _______________________________________________
> linux-lvm mailing list
> linux-lvm@sistina.com
> http://lists.sistina.com/mailman/listinfo/linux-lvm

-- 

Regards,
Heinz    -- The LVM Guy --

*** Software bugs are stupid.
    Nevertheless it needs not so stupid people to solve them ***

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

Heinz Mauelshagen                                 Sistina Software Inc.
Senior Consultant/Developer                       Am Sonnenhang 11
                                                  56242 Marienrachdorf
                                                  Germany
Mauelshagen@Sistina.com                           +49 2626 141200
                                                       FAX 924446
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2001-01-29 16:55 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-01-27  2:42 [linux-lvm] configuration question Steven Lembark
2001-01-29 13:57 ` Patrick Caulfield
2001-01-29 15:44   ` Heinz J. Mauelshagen
2001-01-29 15:12     ` Steven Lembark
2001-01-29 16:55       ` Heinz J. Mauelshagen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).