[linux-lvm] automatic repartitioning of devices in /etc/lvm/cache/.cache?

Bryn M. Reeves bmr at redhat.com
Fri Aug 26 10:46:30 UTC 2016


On Thu, Aug 25, 2016 at 09:20:22PM -0700, travis+ml-linux-lvm at subspacefield.org wrote:
> Hello, I've got a persistent problem in that the second two disks of my array
> occasionally have their heads wiped, with a GPT showing up at the beginning
> of the partition, with the same partitioning structure as the main disk GPT.

Use audit, systemap, or even blktrace to constantly monitor the devices and
report when something is writing to the MBR area.

There have been several common proprietary applications that have been found
to at times cause this type of problem (proprietary RDBMS, volume and cluster
managers in particular).

If you have a Red Hat subscription you may find relevant knowledge base
articles in the portal:

  https://access.redhat.com/

Otherwise you can search through the mailing list archives - there have
been a few threads discussing similar problems.

> Is there any way that being listed there could be a side effect, or be
> a cause, of disk partition corruption in those devices?

Only if some external (non-lvm2) component were reading that file and
acting on the contents. Nothing in lvm2 itself even knows how to write
a GPT partition table.

Regards,
Bryn.
 




More information about the linux-lvm mailing list