How can activate the LVM in start
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 ?
Quoted 2 lines · Miguel Angel
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.
Signature · 3 lines
| http://www.rent-a-nerd.nl
| - U N I X -
| Inspice et cautus eris - D11T'95Or stick it in your system startup files like /etc/rc.d/rc.sysinit on REdHat Linux.
Quoted 11 lines · bert hubert
Quoted 2 lines · Miguel Angel
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
Quoted 2 lines · Patrick Boutilier
Or stick it in your system startup files like
/etc/rc.d/rc.sysiniton 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),
Signature · 4 lines
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 ([email protected] http://omnifarious.mn.org/~hopper) --
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
Quoted 17 lines · Eric M. Hopper
Quoted 2 lines · Patrick Boutilier
Or stick it in your system startup files like
/etc/rc.d/rc.sysiniton 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 ([email protected] http://omnifarious.mn.org/~hopper) --------------------------------------------------------------------------
Part 1.2Type: application/pgp-signature
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:
Quoted 8 lines · bert hubert
Quoted 2 lines · Miguel Angel
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
Quoted 4 lines · 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.
Signature · 3 lines
| http://www.rent-a-nerd.nl
| - U N I X -
| Inspice et cautus eris - D11T'95Quoted 10 lines · bert hubert
Quoted 4 lines · 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