Skip to contentSkip to conversation

lvm in SuSE 7.3

linux-lvm [email protected] 3 participants 4 messages Dec 20, 2001

lore
Share & tools
lore
#0 lore raw

Hello.

I just wondered what LVM in Yast2 means and opened it... but i didn't want to create a LV on my System, so i closed the program without creating a Logical Volume. If i restart my system, LVM reports no volume group was found and starts vgchange. How can i remove this problem?

Greetings
Ralf Kahrl
______________________________________________________________________________
DSL-Stichtag ist der 31.12.2001 - Sie sparen jetzt noch 135 Euro! Highspeed-Surfen beim Testsieger + Exklusiv-Prämien: http://dsl.web.de

#1 lore raw
Quoted 5 lines · On Thu, 20 Dec 2001 10:12, [email protected] wrote:

I just wondered what LVM in Yast2 means and opened it... but i didn't want to create a LV on my System, so i closed the program without creating a Logical Volume. If i restart my system, LVM reports no volume group was found and starts vgchange. How can i remove this problem?

rm -fR /etc/lvmtab.d/
should do the trick for you.

Signature · 2 lines
MfG / Regards
Friedrich Lobenstock
#2 lore raw
In reply to [email protected]
Quoted 3 lines · On Thu, Dec 20, 2001 at 10:12:21AM +0100, [email protected] wrote:

Hello.

I just wondered what LVM in Yast2 means and opened it... but i didn't want to create a LV on my System, so i closed the program without creating a Logical Volume. If i restart my system, LVM reports no volume group was found and starts vgchange. How can i remove this problem?

It's not really a "problem", but if the SUSE kernel loads everything modularly, then you could check your modules.conf file and see if it's loading LVM. If so get rid of that line.

Signature · 1 line
Share and Enjoy. 
#3 lore raw
Quoted 8 lines · Petro
Quoted 3 lines · On Thu, Dec 20, 2001 at 10:12:21AM +0100, [email protected] wrote:

If i restart my system, LVM reports no volume group was found and starts vgchange. How can i remove this problem?

It's not really a "problem", but if the SUSE kernel loads everything modularly, then you could check your modules.conf file and see if it's loading LVM. If so get rid of that line.

No that has nothing to do with modules. Look at this line from /etc/init.d/boot (this is from SuSE 7.1 but should apply 1:1 to 7.3) #
# Find and activate volume groups (HM 1/1/1999)
#
if test -d /etc/lvmtab.d/ -a -x /sbin/vgscan -a -x /sbin/vgchange ; then
echo "Run file system check on root for LVM activation" while read des fs type rest; do
case "$fs" in

So if he get's rid of the /etc/lvmtab.d/, created by the lvm tools then the system will not try to activate LVM on boot.

Signature · 2 lines
MfG / Regards
Friedrich Lobenstock