linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
* [linux-lvm] How can activate the LVM in start
@ 2000-05-15 13:57 Miguel Angel
  2000-05-15 17:47 ` bert hubert
  0 siblings, 1 reply; 9+ messages in thread
From: Miguel Angel @ 2000-05-15 13:57 UTC (permalink / raw)
  To: linux-lvm

[-- Attachment #1: Type: text/plain, Size: 126 bytes --]

When I restart de computer I have to execute "vgchange -a y " to activate /dev/mi_vg . How can I activate it at the start ? 

[-- Attachment #2: Type: text/html, Size: 441 bytes --]

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

* Re: [linux-lvm] How can activate the LVM in start
  2000-05-15 13:57 [linux-lvm] How can activate the LVM in start Miguel Angel
@ 2000-05-15 17:47 ` bert hubert
  2000-05-15 18:57   ` Patrick Boutilier
  2000-05-18 14:14   ` bug1
  0 siblings, 2 replies; 9+ messages in thread
From: bert hubert @ 2000-05-15 17:47 UTC (permalink / raw)
  To: linux-lvm

On Mon, May 15, 2000 at 03:57:02PM +0200, Miguel Angel wrote:

> When I restart de computer I have to execute "vgchange -a y " to activate
> /dev/mi_vg . How can I activate it at the start ?

That's life, you need to activate it manually.

-- 
                       |              http://www.rent-a-nerd.nl
                       |                     - U N I X -
                       |          Inspice et cautus eris - D11T'95

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

* Re: [linux-lvm] How can activate the LVM in start
  2000-05-15 17:47 ` bert hubert
@ 2000-05-15 18:57   ` Patrick Boutilier
  2000-05-15 23:21     ` Eric M. Hopper
  2000-05-18 14:14   ` bug1
  1 sibling, 1 reply; 9+ messages in thread
From: Patrick Boutilier @ 2000-05-15 18:57 UTC (permalink / raw)
  To: linux-lvm

Or stick it in your system startup files like /etc/rc.d/rc.sysinit on REdHat
Linux.


bert hubert wrote:

> On Mon, May 15, 2000 at 03:57:02PM +0200, Miguel Angel wrote:
>
> > When I restart de computer I have to execute "vgchange -a y " to activate
> > /dev/mi_vg . How can I activate it at the start ?
>
> That's life, you need to activate it manually.
>
> --
>                        |              http://www.rent-a-nerd.nl
>                        |                     - U N I X -
>                        |          Inspice et cautus eris - D11T'95

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

* Re: [linux-lvm] How can activate the LVM in start
  2000-05-15 18:57   ` Patrick Boutilier
@ 2000-05-15 23:21     ` Eric M. Hopper
  2000-05-15 23:29       ` Patrick Boutilier
  2000-05-15 23:58       ` Paul Jakma
  0 siblings, 2 replies; 9+ messages in thread
From: Eric M. Hopper @ 2000-05-15 23:21 UTC (permalink / raw)
  To: Patrick Boutilier; +Cc: linux-lvm

[-- Attachment #1: Type: text/plain, Size: 653 bytes --]

On Mon, May 15, 2000 at 03:57:40PM -0300, Patrick Boutilier wrote:
> Or stick it in your system startup files like /etc/rc.d/rc.sysinit on REdHat
> Linux.

	That's all fine and good, but where in rc.sysinit?  I tried
putting it just before the root filesystems are mounted read/write, and
that didn't seem to work.

Have fun (if at all possible),
-- 
Its name is Public Opinion.  It is held in reverence. It settles everything.
Some think it is the voice of God.  Loyalty to petrified opinion never yet
broke a chain or freed a human soul.     ---Mark Twain
-- Eric Hopper (hopper@omnifarious.mn.org  http://omnifarious.mn.org/~hopper) --

[-- Attachment #2: Type: application/pgp-signature, Size: 232 bytes --]

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

* Re: [linux-lvm] How can activate the LVM in start
  2000-05-15 23:21     ` Eric M. Hopper
@ 2000-05-15 23:29       ` Patrick Boutilier
  2000-05-15 23:58       ` Paul Jakma
  1 sibling, 0 replies; 9+ messages in thread
From: Patrick Boutilier @ 2000-05-15 23:29 UTC (permalink / raw)
  To: Eric M. Hopper; +Cc: linux-lvm

I put it just before the raid stuff that starts with the following line:

# Add raid devices

It is line 303 in my rc.sysinit

"Eric M. Hopper" wrote:

> On Mon, May 15, 2000 at 03:57:40PM -0300, Patrick Boutilier wrote:
> > Or stick it in your system startup files like /etc/rc.d/rc.sysinit on REdHat
> > Linux.
>
>         That's all fine and good, but where in rc.sysinit?  I tried
> putting it just before the root filesystems are mounted read/write, and
> that didn't seem to work.
>
> Have fun (if at all possible),
> --
> Its name is Public Opinion.  It is held in reverence. It settles everything.
> Some think it is the voice of God.  Loyalty to petrified opinion never yet
> broke a chain or freed a human soul.     ---Mark Twain
> -- Eric Hopper (hopper@omnifarious.mn.org  http://omnifarious.mn.org/~hopper) --
>
>   ------------------------------------------------------------------------
>    Part 1.2Type: application/pgp-signature

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

* Re: [linux-lvm] How can activate the LVM in start
  2000-05-15 23:21     ` Eric M. Hopper
  2000-05-15 23:29       ` Patrick Boutilier
@ 2000-05-15 23:58       ` Paul Jakma
  1 sibling, 0 replies; 9+ messages in thread
From: Paul Jakma @ 2000-05-15 23:58 UTC (permalink / raw)
  To: Eric M. Hopper; +Cc: Patrick Boutilier, linux-lvm

On Mon, 15 May 2000, Eric M. Hopper wrote:

  	That's all fine and good, but where in rc.sysinit?  I tried
  putting it just before the root filesystems are mounted read/write, and
  that didn't seem to work.

procfs must be mounted, and /etc must be rw. i have it as:

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

* Re: [linux-lvm] How can activate the LVM in start
  2000-05-15 17:47 ` bert hubert
  2000-05-15 18:57   ` Patrick Boutilier
@ 2000-05-18 14:14   ` bug1
  2000-05-18 17:04     ` bert hubert
  1 sibling, 1 reply; 9+ messages in thread
From: bug1 @ 2000-05-18 14:14 UTC (permalink / raw)
  To: bert hubert; +Cc: linux-lvm

bert hubert wrote:
> 
> On Mon, May 15, 2000 at 03:57:02PM +0200, Miguel Angel wrote:
> 
> > When I restart de computer I have to execute "vgchange -a y " to activate
> > /dev/mi_vg . How can I activate it at the start ?
> 
> That's life, you need to activate it manually.
> 

Im no kernel hacker, but just wondering, would it be possible to get the
kernel to autodetect lvm partitions in a similar way that raid
autodetection works, or would it not be possible because of LVM's
userland tools.

Glenn

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

* Re: [linux-lvm] How can activate the LVM in start
  2000-05-18 14:14   ` bug1
@ 2000-05-18 17:04     ` bert hubert
  2000-05-19 16:22       ` Christoph Hellwig
  0 siblings, 1 reply; 9+ messages in thread
From: bert hubert @ 2000-05-18 17:04 UTC (permalink / raw)
  To: linux-lvm

On Fri, May 19, 2000 at 12:14:07AM +1000, bug1 wrote:

> Im no kernel hacker, but just wondering, would it be possible to get the
> kernel to autodetect lvm partitions in a similar way that raid
> autodetection works, or would it not be possible because of LVM's
> userland tools.

It is both possible and desireable. It is not easy however. Doing
'userland things' in the kernel requires immaculate code. Furthermore, the
kernel puts a lot of restraints on what is possible.

Regards,

bert hubert.

-- 
                       |              http://www.rent-a-nerd.nl
                       |                     - U N I X -
                       |          Inspice et cautus eris - D11T'95

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

* Re:  [linux-lvm] How can activate the LVM in start
  2000-05-18 17:04     ` bert hubert
@ 2000-05-19 16:22       ` Christoph Hellwig
  0 siblings, 0 replies; 9+ messages in thread
From: Christoph Hellwig @ 2000-05-19 16:22 UTC (permalink / raw)
  To: ahu; +Cc: linux-lvm

bert hubert schrieb:
> On Fri, May 19, 2000 at 12:14:07AM +1000, bug1 wrote:
>
> > Im no kernel hacker, but just wondering, would it be possible to get the
> > kernel to autodetect lvm partitions in a similar way that raid
> > autodetection works, or would it not be possible because of LVM's
> > userland tools.
>
> It is both possible and desireable. It is not easy however. Doing
> 'userland things' in the kernel requires immaculate code. Furthermore, the
> kernel puts a lot of restraints on what is possible.

I'm working on such a thing now. I've got about 20% ready. I'll try to post
something useable in a few weeks. (NOTE: You have to use devfs for this)

	Christoph

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

end of thread, other threads:[~2000-05-19 16:22 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-05-15 13:57 [linux-lvm] How can activate the LVM in start Miguel Angel
2000-05-15 17:47 ` bert hubert
2000-05-15 18:57   ` Patrick Boutilier
2000-05-15 23:21     ` Eric M. Hopper
2000-05-15 23:29       ` Patrick Boutilier
2000-05-15 23:58       ` Paul Jakma
2000-05-18 14:14   ` bug1
2000-05-18 17:04     ` bert hubert
2000-05-19 16:22       ` Christoph Hellwig

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).