Linux LVM users
 help / color / mirror / Atom feed
From: Luca Berra <bluca@comedia.it>
To: linux-lvm@sistina.com
Subject: Re: [linux-lvm] Unable to create a physical volume on a whole disk
Date: Sat Apr  5 15:14:01 2003	[thread overview]
Message-ID: <3E8F471D.3030105@comedia.it> (raw)
In-Reply-To: <001a01c2fb93$bdef8330$240b892c@pe1mhp.ampr.org>

Jan H. van Gils wrote:
> 	Hi,
> 
> Thanks for reading this message.
> 
> The following is the case, I would like to create a pv on a whole disk
> but pvcreate gives me the message that there is a "partition table" on
> the
> disk.
> 
> I removed the partition table with "dd if=/dev/zero of=/dev/hdb bs=512
> count=1"
> The fdisk command shows me that there is no partion table but pvcreate
> tells me
> different.

check if kernel has seen a partition during boot (cat /proc/partition)
in this case you either have to issue

blockdev --rereadpt /dev/hdb
or reboot

L.
-- 
Luca Berra -- bluca@comedia.it
  /"\
  \ /     ASCII RIBBON CAMPAIGN
   X        AGAINST HTML MAIL
  / \

  reply	other threads:[~2003-04-05 15:14 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-04-05 10:52 [linux-lvm] Unable to create a physical volume on a whole disk Jan H. van Gils
2003-04-05 15:14 ` Luca Berra [this message]
2003-04-05 15:30   ` Jan H. van Gils
  -- strict thread matches above, loose matches on Subject: below --
2003-04-07  1:55 George Karaolides

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=3E8F471D.3030105@comedia.it \
    --to=bluca@comedia.it \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox