[MBT] new ticket for pkg rc-scripts "LVM and RAID"

bugs at pld.org.pl bugs at pld.org.pl
Tue Oct 15 01:21:58 CEST 2002


Date: 2002-10-15 01:21:57+02	Author:  (gglas) <georg at glas.eu.org> 
Title:         LVM and RAID
Ticket ID:     #389
Ticket URL:    http://bugs.pld.org.pl/?bug=389
Package:       rc-scripts-0.3.1-9
Distribution:  PLD-1.0.devel.main
Category:      improve request
Current state: opened
Text:

Hi,

looks like a mistace in /etc/rc.d/rc.sysinit wich starts lvm before all raid volumes are up .. so if you have raidx volumes and run lvm on them, vgscan gets started first and afterwards the raid volume is accessable .. so i suggest moving the block:
# Find and activate volume groups
if [ -e /etc/lvmtab -a -x /sbin/vgscan -a -x /sbin/vgchange ]; then
        modprobe -s lvm-mod >/dev/null 2>&1
        run_cmd "Scanning for LVM volume groups" /sbin/vgscan && \
        run_cmd "Activating LVM volume groups" /sbin/vgchange -a y
fi

to bejond raid startup commandos. 

mfg.
Georg Glas



More information about the pld-bugs mailing list