Bug 798488

Summary: volume-group is not started on boot
Product: [openSUSE] openSUSE Tumbleweed Reporter: Bernhard Wiedemann <bwiedemann>
Component: BasesystemAssignee: Stephan Kulow <coolo>
Status: RESOLVED NORESPONSE QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: fcrozat
Version: 13.1 Milestone 1   
Target Milestone: ---   
Hardware: All   
OS: openSUSE 12.2   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Bernhard Wiedemann 2013-01-15 10:27:35 UTC
also occurred on 12.2

Step To Reproduce:
1. have an install in partitions
2. do with a spare disk or partition
pvcreate /dev/vdb
vgcreate vg0 /dev/vdb
lvcreate -n test -L 1G vg0
mkdir /test
mkfs.ext4 /dev/vg0/test
echo /dev/vg0/test /test ext4 data=writeback 0 0 >> /etc/fstab 
mount /test
reboot


Actual Results:
fails to boot, goes into offline emergency mode
which sucks when this happens to a remote headless server

Expected Results:
should start vg0 on boot (vgchange -ay vg0)
or in case of problems (e.g. bad disk) boot up without it
(as can be done by adding the nofail option)

it works, when setting up the LV with yast2 disk
Comment 1 Bernhard Wiedemann 2013-01-15 10:43:48 UTC
diffed systemctl --full output
--- systemctl.bad	2013-01-15 11:39:13.000000000 +0100
+++ systemctl	2013-01-15 11:39:05.000000000 +0100
-dev-vg0-test.device       loaded inactive dead      start dev-vg0-test.device
+lvm.service               loaded active exited        LSB: Start LVM2

+sys-devices-virtual-block-dm\x2d0.device   loaded active plugged       /sys/devices/virtual/block/dm-0
-test.mount                loaded inactive dead      start /test
+test.mount                loaded active mounted       /test
Comment 2 Stephan Kulow 2013-02-18 13:26:28 UTC
Hannes just created an update for multipath-tools - is this a dup of #799274 ?
Comment 3 Hannes Reinecke 2013-11-19 08:32:38 UTC
Nothing to do with multipath. This is plain LVM.
Comment 4 Stephan Kulow 2014-08-06 08:32:49 UTC
is still valid?
Comment 5 Stephan Kulow 2014-09-17 14:16:04 UTC
sounds like it