From: George Karaolides <george.karaolides@planitis.net>
To: linux-lvm@sistina.com
Cc: janvg@knoware.com
Subject: Re: [linux-lvm] Unable to create a physical volume on a whole disk
Date: Mon Apr 7 01:55:02 2003 [thread overview]
Message-ID: <1049698519.3007.11.camel@ariel> (raw)
Hi Jan,
> 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.
> gw:/dev# pvcreate /dev/hdb
> pvcreate -- device "/dev/hdb" has a partition table
I think what teh message from pvcreate means is that this is a device
with a partition table, and pvceate isn't supposed to be used on such
devices with partition tables, but only on partition-like devices. I
think pvcreate doesn't care whether the partition table is valid or not;
it only cares about the type of device.
I would suggest that, to use the space on a whole disk as a physical
volume, you try:
- Making just one partition of the whole disk space, with fdisk or other
partitioning tool of your choice; that will normally be /dev/hdb1
- Making a physical volume in that: pvcreate /dev/hdb1
--
Best regards,
| George Karaolides Planitis Communications Ltd.,
|
| tel: +357 22 45 65 00 Office 102, 11 Florinis Street,
|
| web: www.planitis.net Nicosia CY 1065,
|
| email: george.karaolides@planitis.net Republic of Cyprus.
|
next reply other threads:[~2003-04-07 1:55 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-04-07 1:55 George Karaolides [this message]
-- strict thread matches above, loose matches on Subject: below --
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
2003-04-05 15:30 ` Jan H. van Gils
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=1049698519.3007.11.camel@ariel \
--to=george.karaolides@planitis.net \
--cc=janvg@knoware.com \
--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