linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
From: "Bryn M. Reeves" <bmr@redhat.com>
To: LVM general discussion and development <linux-lvm@redhat.com>
Cc: James Hawtin <oolon@ankh.org>
Subject: Re: [linux-lvm] Error: Doesn't contain a valid partition table
Date: Mon, 29 Oct 2012 14:16:07 +0000	[thread overview]
Message-ID: <508E8FA7.8090808@redhat.com> (raw)
In-Reply-To: <73174f8bcbb44d62139eff5fcd851635.squirrel@smail.ankh.org>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 10/29/2012 02:08 PM, James Hawtin wrote:
> This is to be expected. because it is possible to have partition tables on
> logical volumes created by LVM. if you don't like this use the "filter"
> line in /etc/lvm/lvm.conf to include/exclude what you want to be searched.
> This is also useful if you want to exclude multipathed/mirrored devices.

fdisk is just scanning everything that it finds in /proc/partitions:

/*
 * for fdisk -l:
 * try all things in /proc/partitions that look like a full disk
 */
static void
print_all_partition_table_from_option(unsigned long sector_size)

This doesn't use the LVM2 filters so will continue to report for all
device-mapper devices when using '-l'.

Regards,
Bryn.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAlCOj6cACgkQ6YSQoMYUY96/mwCeJasISaP/K7UliUBZO8k5toQH
BcgAn21U4z8nPRXzthVPZ3qGOVeOjbR0
=BIU2
-----END PGP SIGNATURE-----

      reply	other threads:[~2012-10-29 14:16 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-27 21:10 [linux-lvm] Error: Doesn't contain a valid partition table Ramesh Nadupalli
2012-10-29 14:08 ` James Hawtin
2012-10-29 14:16   ` Bryn M. Reeves [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=508E8FA7.8090808@redhat.com \
    --to=bmr@redhat.com \
    --cc=linux-lvm@redhat.com \
    --cc=oolon@ankh.org \
    /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).