SUSE Support

Here When You Need Us

YaST LVM module loses LVM metadata on device mapper devices

This document (7009360) is provided subject to the disclaimer at the end of this document.

Environment

SUSE Linux Enterprise Server 11 Service Pack 1
SUSE Linux Enterprise Server 10 Service Pack 4
SUSE Linux Enterprise Server 10 Service Pack 3

 

Situation

A storage device managed by the device mapper, without partitions on it, is added to an LVM volume group using the YaST LVM module. The next time the YaST LVM module is started, the storage device does not appear to be a member of a volume group

Resolution

Use partitioned devices, where the partition type is set to "Linux LVM" (type 8e)

If this is not possible, use the LVM command line tools instead of YaST to manage volume groups which contain unpartitioned device mapper devices

Additional Information

This problem has been reported to development.

The metadata has not been lost, as may be verified from the command line, with

pvdisplay /dev/mapper/<device name>

The problem is strictly within YaST. On unpartitioned device mapper devices, it fails to detect the LVM information

It is important to not attempt to add the device again to the volume group in YaST, as this will cause corruption and dataloss on the volume group

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:7009360
  • Creation Date: 15-Sep-2011
  • Modified Date:15-Mar-2021
    • SUSE Linux Enterprise Server

< Back to Support Search

For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com

tick icon

SUSE Support Forums

Get your questions answered by experienced Sys Ops or interact with other SUSE community experts.

tick icon

Support Resources

Learn how to get the most from the technical support you receive with your SUSE Subscription, Premium Support, Academic Program, or Partner Program.

tick icon

Open an Incident

Open an incident with SUSE Technical Support, manage your subscriptions, download patches, or manage user access.