You should take a look on your initrd too. Maybe the lv_swap is still referenced there.
Try recreating it to see if the ghost lv vanishes for good. Mauro http://mauro.limeiratem.com - registered Linux User: 294521 Scripture is both history, and a love letter from God. 2013/5/16 Steffen Maier <[email protected]> > Hi Neale, > > > On 05/16/2013 04:59 PM, Neale Ferguson wrote: > >> I used system-config-lvm to remove a lv “vg_rh62gfs/vg_swap”. It appeared >> to go ok and after zipling I rebooted only to get: >> >> dracut: Scanning devices dasda1 dasdb1 dasdc1 for LVM logical volumes >> vg_rh62gfs/lv_root vg_rh62gfs/lv_swap >> dracut: Skipping clustered volume group vg_snatest >> dracut: Skipping volume group vg_snatest >> dracut: inactive '/dev/vg_rh62gfs/lv_boot' [500.00 MiB] inherit >> dracut: inactive '/dev/vg_rh62gfs/lv_root' [2.12 GiB] inherit >> dracut: inactive '/dev/vg_rh62gfs/opt' [488.00 MiB] inherit >> dracut: One or more specified logical volume(s) not found. >> dracut: Scanning devices dasda1 dasdb1 dasdc1 for LVM logical volumes >> vg_rh62gfs/lv_root vg_rh62gfs/lv_swap >> >> I mounted the volumes on another system and did a scan to find where >> vg_swap was still specified. I couldn’t find any reference so I’m not >> sure why dracut wants to find it. >> > > Do you happen to have this in your kernel command line?: > rd_LVM_LV=vg_rh62gfs/lv_swap > > One should only ever have dependencies for the root-fs on the dracut > command line [1,2]. Swap does not belong to the root-fs dependencies; swap > is only activated later on during the sysVinit process after the root-fs > was already mounted by the initramfs. > Also, it might make dracut insist on finding and activating this > particular LV and thus breaks when it's gone. > > [1] https://www.kernel.org/pub/**linux/utils/boot/dracut/** > dracut.html#_lvm<https://www.kernel.org/pub/linux/utils/boot/dracut/dracut.html#_lvm> > [2] https://access.redhat.com/**site/documentation/en-US/Red_** > Hat_Enterprise_Linux/6/html/**Installation_Guide/ap-** > s390info.html#ap-s390info-**Adding_DASDs-Persistently_** > setting_online-Part_of_root_**file_system<https://access.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Installation_Guide/ap-s390info.html#ap-s390info-Adding_DASDs-Persistently_setting_online-Part_of_root_file_system> > > HTH > Steffen > > Linux on System z Development > > IBM Deutschland Research & Development GmbH > Vorsitzende des Aufsichtsrats: Martina Koederitz > Geschäftsführung: Dirk Wittkopp > Sitz der Gesellschaft: Böblingen > Registergericht: Amtsgericht Stuttgart, HRB 243294 > > > ------------------------------**------------------------------**---------- > For LINUX-390 subscribe / signoff / archive access instructions, > send email to [email protected] with the message: INFO LINUX-390 or > visit > http://www.marist.edu/htbin/**wlvindex?LINUX-390<http://www.marist.edu/htbin/wlvindex?LINUX-390> > ------------------------------**------------------------------**---------- > For more information on Linux on System z, visit > http://wiki.linuxvm.org/ > ---------------------------------------------------------------------- For LINUX-390 subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 ---------------------------------------------------------------------- For more information on Linux on System z, visit http://wiki.linuxvm.org/
