Bug 118275 - software RAID fails to start if only user is LVM
Summary: software RAID fails to start if only user is LVM
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: initscripts
Version: 1
Hardware: All
OS: Linux
medium
high
Target Milestone: ---
Assignee: Bill Nottingham
QA Contact: Brock Organ
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2004-03-14 23:24 UTC by Kjetil T. Homme
Modified: 2014-03-17 02:43 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2005-04-28 22:26:45 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Kjetil T. Homme 2004-03-14 23:24:33 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4.1)
Gecko/20031114

Description of problem:
rc.sysinit contains code so that it avoids starting unused RAID
volumes, but unfortunately it only looks in /etc/fstab for references.
 if /dev/md0 is the physical volume for a volume group, there will be
no reference to /dev/md0 in fstab, and raidstart is skipped.  vgchange
will


Version-Release number of selected component (if applicable):
initscripts-7.42.2-1

How reproducible:
Always

Steps to Reproduce:
1. make /dev/md0
2. make it part of a volume group
3. make a volume, and mount it automatically in fstab


Actual Results:  fsck fails since it can't find the device, since
raidstart for md0 was skipped.  vgchange won't enable the volume
group, since it can't see the physical volume.  the device node for
the volume is thus rendered invalid.

Expected Results:  rc.sysinit should somehow understand that md0
actually was used by the system _or_ it should try to enable all
software raid sets.

Additional info:

(I set the severity high since it can lead to highly surprising and
inopportune failures during reboot, and the workaround isn't entirely
obvious for new users (set INFSTAB=1 rather than run grep))

Comment 1 Petr Krištof 2004-04-28 13:43:08 UTC
I have the same problem.
LVM2 volume on raid5 array and mounted as homes in fstab.

/dev/array/first  /home  ext3 defaults 1 2

Homes are not mounted after reboot what is REALLY problem.


Comment 2 Bill Nottingham 2005-04-28 22:26:45 UTC
This should be fixed in th ecurrent devel initscripts.


Note You need to log in before you can comment on or make changes to this bug.