Reinstalling SLES9 using AutoYaST fails removing LVM volumes

  • 3008706
  • 09-Jun-2006
  • 30-Apr-2012

Environment

Novell Open Enterprise Server (Linux based)
Novell SUSE Linux Enterprise Server 9 (SLES9)
AutoYaST
Logical Volume Management (LVM)

Situation

When reinstalling a SLES9 server that has LVM volumes using AutoYaST, the following error is shown during partitioning:

lvremove ‑f ‑A n /dev/sysvg/freespacelv
/dev/hda1: open failed: No such device or address

The control file defines an LVM volume group and logical volumes. The tags to define the volume group device are as follows:

/dev/sysvg
true
true
   
    ...partition information...
   

Resolution

The partition holding the LVM metadata has information about the logical volumes in the volume group. If the logical volumes have not changed at all in size, the error will be manifest.

To resolve the problem, initialize the volume group device by adding the tag as follows:

/dev/sysvg
true
true
true
   
    ...partition information...