[lug] FC2 LVM deactivation during boot
Kevin Fenzi
kevin at scrye.com
Fri Nov 19 14:22:33 MST 2004
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
>>>>> "D" == D Stimits <stimits at comcast.net> writes:
D> I'm trying to deactivate the attempt by LVM to open LVM volumes
D> during boot, as I don't have any. However, I want to keep the
D> ability as I'm experimenting. I just don't want it to use or
D> attempt to use LVM during boot. Attempts at using /etc/lvm/lvm.conf
D> have failed I still get a boot time failure message. It also is not
D> part of /etc/rc.d/init.d/, I grep'd for caseless match of "lvm"
D> nothing references lvm. No services file suggests it is a service I
D> can disable with chkconfig.
D> LVM activation messages started showing up after I created a RAID0
D> partition, but I've not used any command other than mkraid and
D> toggling partitions that compose the RAID device to autodetect
D> (persistent superblock, I intend to use it as a root device).
D> How do I disable LVM during boot without removing LVM (LVM2 since
D> it is FC2)?
The LVM setup is in /etc/rc.d/rc.sysinit...
You can comment out the lvm calls in there, or it looks like the first
test it does is:
# LVM2 initialization
if [ -x /sbin/lvm.static ]; then
...
So, if you do 'chmod 000 /sbin/lvm.static' it shouldn't be executable
anymore and that lvm setup code shouldn't be run.
D> D. Stimits, stimits AT comcast DOT net
kevin
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.8 <http://mailcrypt.sourceforge.net/>
iD8DBQFBnmQb3imCezTjY0ERAqzrAJ9awvoIebJn4jZnXNHnywwMKLLVqQCZAToo
WQv0eHXeujJLzHWJK9I3gQA=
=IUkG
-----END PGP SIGNATURE-----
More information about the LUG
mailing list