All of lore.kernel.org
 help / color / mirror / Atom feed
From: Donald Gordon <don@dis.org.nz>
To: linux-lvm@sistina.com
Subject: [linux-lvm] pvcreate -- device "/dev/hdc" has a partition table: force check bypass?
Date: Fri Jan 10 18:51:01 2003	[thread overview]
Message-ID: <20030111135159.6f968ae6.don@dis.org.nz> (raw)

Hi

I'm trying to setup LVM, but have run into trouble:

unibus:~# blockdev --rereadpt /dev/hdc;dmesg|tail -n 1
 /dev/ide/host0/bus1/target0/lun0: unknown partition table
unibus:~# pvcreate /dev/hdc
pvcreate -- device "/dev/hdc" has a partition table

as you can see, Linux knows that there's no partition, yet pvcreate
insists that there is; this was after dd-ing 1GB of /dev/zero over the
start of the disk, too :-(

Is there any way to force a bypass of this partition table test?

don

             reply	other threads:[~2003-01-10 18:51 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-01-10 18:51 Donald Gordon [this message]
2003-01-10 19:39 ` [linux-lvm] pvcreate -- device "/dev/hdc" has a partition table: force check bypass? Donald Gordon

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=20030111135159.6f968ae6.don@dis.org.nz \
    --to=don@dis.org.nz \
    --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.