linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
From: travis+ml-linux-lvm@subspacefield.org
To: LVM general discussion and development <linux-lvm@redhat.com>
Cc: linux-lvm-request@redhat.com
Subject: Re: [linux-lvm] automatic repartitioning of devices in /etc/lvm/cache/.cache?
Date: Fri, 26 Aug 2016 14:30:55 -0700	[thread overview]
Message-ID: <20160826213055.GT1534@subspacefield.org> (raw)
In-Reply-To: <20160826104629.GA11968@hex>

On Fri, Aug 26, 2016 at 11:46:30AM +0100, Bryn M. Reeves wrote:
> Use audit, systemap, or even blktrace to constantly monitor the devices and
> report when something is writing to the MBR area.

Thanks!

> 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).
> 
> 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.

Good to know.  Is it possible that whatever restored a GPT (bizarrely,
to the partition not the disk) also restored an LVM header and that
the device ended up in the LVM cache via some automatic periodic
process, or a boot-time process?

Second question: What is that cache for, exactly?
-- 
http://www.subspacefield.org/~travis/ | if spammer then john@subspacefield.org
"Computer crime, the glamor crime of the 1970s, will become in the
1980s one of the greatest sources of preventable business loss."
John M. Carroll, "Computer Security", first edition cover flap, 1977

      reply	other threads:[~2016-08-26 21:39 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-26  4:20 [linux-lvm] automatic repartitioning of devices in /etc/lvm/cache/.cache? travis+ml-linux-lvm
2016-08-26 10:46 ` Bryn M. Reeves
2016-08-26 21:30   ` travis+ml-linux-lvm [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20160826213055.GT1534@subspacefield.org \
    --to=travis+ml-linux-lvm@subspacefield.org \
    --cc=linux-lvm-request@redhat.com \
    --cc=linux-lvm@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).