All of lore.kernel.org
 help / color / mirror / Atom feed
* [linux-lvm] pvcreate fails on a software RAID metadisk
@ 2001-10-04 16:16 Bill Ellis
  2001-10-04 19:59 ` Bill Ellis
  2001-10-05  9:13 ` yves.alloyer
  0 siblings, 2 replies; 7+ messages in thread
From: Bill Ellis @ 2001-10-04 16:16 UTC (permalink / raw)
  To: linux-lvm

Hi,

I'm trying to set up lvm 1.01rc4 under a 2.4.10 kernel.  I'm getting an
error when I try to use pvcreate on a software RAID metadisk.  From the
'-v' output of pvcreate, it appears that pvcreate thinks my metadisk is
zero-length.

Here's an example:

root@tik-tok:~# pvcreate /dev/md7
pvcreate -- ERROR "parameter error" setting up  physical volume "/dev/md7"

root@tik-tok:~# pvcreate -v /dev/md7
pvcreate -- locking logical volume manager
pvcreate -- checking physical volume name "/dev/md7"
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/md7"

root@tik-tok:~# pvcreate --version
pvcreate: Logical Volume Manager 1.0.1-rc4
Heinz Mauelshagen, Sistina Software  03/10/2001 (IOP 10)
root@tik-tok:~# cat /proc/mdstat | grep -A2 md7
md7 : active raid5 sde7[4] sdd7[3] sdc7[2] sdb7[1] sda7[0]
      24575488 blocks level 5, 128k chunk, algorithm 0 [5/5] [UUUUU]

root@tik-tok:~# grep md7 /proc/partitions
   9     7   24575488 md7

Any tips on what might be going on here would be appreciated...

Thanks,
Bill Ellis

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

end of thread, other threads:[~2001-10-05 19:31 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-10-04 16:16 [linux-lvm] pvcreate fails on a software RAID metadisk Bill Ellis
2001-10-04 19:59 ` Bill Ellis
2001-10-04 20:46   ` Andreas Dilger
2001-10-05  8:30     ` Luca Berra
2001-10-05  9:31       ` Andreas Dilger
2001-10-05  9:13 ` yves.alloyer
2001-10-05 19:31   ` Luca Berra

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.