Linux LVM users
 help / color / mirror / Atom feed
* [linux-lvm] pvcreate error
@ 2003-01-03 17:47 richard turner
  2003-01-06 17:18 ` Heinz J . Mauelshagen
  0 siblings, 1 reply; 8+ messages in thread
From: richard turner @ 2003-01-03 17:47 UTC (permalink / raw)
  To: linux-lvm

i am trying to create a pv on an entire disk /dev/hdb with the following
command:
pvcreate -ff -y /dev/hdb

it returns the following error:
pvcreate --device "/dev/hdb" has a partition table

fdisk, sfdisk and all other methods prove there is not a partition table
on /dev/hdb

using lvm 1.0.1 with mandrake8.2 kernel 2.4.18-6

what is causing pvcreate to think i have a partition table on /dev/hdb?

^ permalink raw reply	[flat|nested] 8+ messages in thread
* [linux-lvm] pvcreate error
@ 2003-01-06 12:55 richard turner
  0 siblings, 0 replies; 8+ messages in thread
From: richard turner @ 2003-01-06 12:55 UTC (permalink / raw)
  To: linux-lvm

i am trying to create a physical volume on /dev/hdb using:
pvcreate -ff -y /dev/hdb

the following error is generated:
pvcreate -- device "/dev/hdb" has a partition table

my understanding is that pvcreate looks in /proc/partitions for
partition information. currently /proc/partitions does not show any
partitions for hdb (target1). i have tried:
dd if=/dev/zero of=/dev/hdb bs=1k count=1
blockdev --rereadpt /dev/hdb

nothing indicates that there is a partition table on /dev/hdb, however
pvcreate is still detecting one.

i am using lvm 1.0.1. is this a known issue with version 1.0.1? is there
something i am missing that pvcreate is detecting?

^ permalink raw reply	[flat|nested] 8+ messages in thread
* [linux-lvm] pvcreate error
@ 2002-01-14 14:00 Csuk, Ferenc
  2002-01-14 14:25 ` Andreas Dilger
  2002-01-15  4:13 ` Yves Alloyer
  0 siblings, 2 replies; 8+ messages in thread
From: Csuk, Ferenc @ 2002-01-14 14:00 UTC (permalink / raw)
  To: linux-lvm

[-- Attachment #1: Type: text/plain, Size: 943 bytes --]

Dear All,

I just installed a new system and I installed the latest 2.4.16 kernel
and the latest LVM tool 1.0.1-rc4. I established a software RAID-5
device(md) and wanted to create a logical volume group on it(as I did
with 2.4.7 kernel on another system). However, when I issued the command
I got the following error:

# pvcreate -v /dev/md2
pvcreate -- locking logical volume manager
> pvcreate -- checking physical volume name "/dev/md2"
> pvcreate -- getting physical volume size
> pvcreate -- checking partition type
> pvcreate -- creating new physical volume
> pvcreate -- setting up physical volume for /dev/md7 with 0 sectors
> pvcreate -- ERROR "parameter error" setting up  physical volume
"/dev/md2"

I checked the archives where I saw suggestion to patch the LVM tool, but
I don´t think that is related to the latest version.

What is the problem? Should I downgrade to 2.4.7?

Thanks in advance,
Ferenc


[-- Attachment #2: Type: text/html, Size: 1871 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2003-01-07 12:46 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-01-03 17:47 [linux-lvm] pvcreate error richard turner
2003-01-06 17:18 ` Heinz J . Mauelshagen
2003-01-06 18:03   ` richard turner
2003-01-07 12:46     ` richard turner
  -- strict thread matches above, loose matches on Subject: below --
2003-01-06 12:55 richard turner
2002-01-14 14:00 Csuk, Ferenc
2002-01-14 14:25 ` Andreas Dilger
2002-01-15  4:13 ` Yves Alloyer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox