All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andreas Dilger <adilger@turbolabs.com>
To: linux-lvm@sistina.com, alan@lxorguk.ukuu.org.uk,
	linux-kernel@vger.kernel.org
Subject: Re: [linux-lvm] Re: partition table read incorrectly
Date: Wed, 3 Oct 2001 21:15:08 -0600	[thread overview]
Message-ID: <20011003211508.O8954@turbolinux.com> (raw)
In-Reply-To: <20011004013950.A16757@cistron.nl>

On Oct 04, 2001  01:39 +0200, Wichert Akkerman wrote:
> Previously Andries.Brouwer@cwi.nl wrote:
> > But why do you call it wrong?
> 
> I deleted all partitions with fdisk so I expect none to be there.
> fdisk shows none, but the kernel does.

The safest thing to do at this point is to simply delete the whole thing:

dd if=/dev/zero of=/dev/sdb count=1

then pvcreate the disk again.  If you already have data on the PV in
question, you can "dd if=/dev/zero of=/dev/sdb bs=1 seek=510 count=2"
to remove only the partition signature.

Note also that it is a bug in LVM that it did not zero the whole thing
in the first place.

Cheers, Andreas
--
Andreas Dilger  \ "If a man ate a pound of pasta and a pound of antipasto,
                 \  would they cancel out, leaving him still hungry?"
http://www-mddsp.enel.ucalgary.ca/People/adilger/               -- Dogbert

  reply	other threads:[~2001-10-04  3:15 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-10-03 19:01 [linux-lvm] Re: partition table read incorrectly Andries.Brouwer
2001-10-03 23:39 ` Wichert Akkerman
2001-10-04  3:15   ` Andreas Dilger [this message]
2001-10-04 10:53     ` Wichert Akkerman
  -- strict thread matches above, loose matches on Subject: below --
2001-10-04 16:22 Andries.Brouwer
2001-10-02 18:29 [linux-lvm] " Wichert Akkerman
2001-10-02 18:42 ` [linux-lvm] " Alan Cox
2001-10-02 20:00   ` Wichert Akkerman
2001-10-02 21:08     ` Andreas Dilger
2001-10-03 11:22       ` Guest section DW
2001-10-03 12:26       ` Wichert Akkerman
2001-10-03 12:42         ` Wichert Akkerman
2001-10-03 12:42           ` Wichert Akkerman
2001-10-03 13:24           ` Wichert Akkerman
2001-10-03 13:24             ` Wichert Akkerman
2001-10-03 17:09           ` Andreas Dilger
2001-10-02 22:45     ` Alan Cox
2001-10-03  0:57       ` Wichert Akkerman

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=20011003211508.O8954@turbolinux.com \
    --to=adilger@turbolabs.com \
    --cc=alan@lxorguk.ukuu.org.uk \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-lvm@sistina.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.