lvm2-activation.service exit status 5 when volume_list specified
This document (7016683) is provided subject to the disclaimer at the end of this document.
Environment
Logical Volume Management (LVM)
Situation
server:~ # cat /etc/lvm/lvm.confHowever, the correct volumes are activated, while the other volumes are not.
<snip>
activation {
volume_list = [ "vg02" ]
}
<snip>
server:~ # systemctl status 'lvm2-activation.service'
lvm2-activation.service - Activation of LVM2 logical volumes
Loaded: loaded (/etc/lvm/lvm.conf)
Active: failed (Result: exit-code) since Tue 2015-07-14 05:21:35 MDT; 6h ago
Docs: man:lvm(8)
man:vgchange(8)
Process: 540 ExecStart=/sbin/lvm vgchange -aay --sysinit (code=exited, status=5)
Main PID: 540 (code=exited, status=5)
Jul 14 05:21:35 server lvm[540]: Not activating vg01/lv01 since it does not pass activation filter.
Jul 14 05:21:35 server lvm[540]: Not activating vg03/lv03 since it does not pass activation filter.
server:~ # lvs
LV VG Attr LSize Pool Origin Data% Move Log Cpy%Sync Convert
lv01 vg01 -wi------ 4.99g
lv02 vg02 -wi-a---- 7.49g
lv02b vg02 -wi-a---- 7.50g
lv03 vg03 -wi------ 9.99g
Resolution
Edit the /etc/lvm/lvm.conf and change
activation {to
volume_list = [ "vg02" ]
}
activation {Save, exit and reboot.
volume_list = [ "vg02" ]
auto_activation_volume_list = [ "vg02" ]
}
Cause
Disclaimer
This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.
- Document ID:7016683
- Creation Date: 14-Jul-2015
- Modified Date:03-Mar-2020
-
- SUSE Linux Enterprise Server
For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com