All of lore.kernel.org
 help / color / mirror / Atom feed
From: Bill Ellis <bill_ellis@legis.state.ak.us>
To: linux-lvm@sistina.com
Subject: [linux-lvm] pvcreate fails on a software RAID metadisk
Date: Thu, 04 Oct 2001 08:16:27 -0800	[thread overview]
Message-ID: <3BBC8B5B.1A484028@legis.state.ak.us> (raw)

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

             reply	other threads:[~2001-10-04 16:16 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-10-04 16:16 Bill Ellis [this message]
2001-10-04 19:59 ` [linux-lvm] pvcreate fails on a software RAID metadisk 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

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=3BBC8B5B.1A484028@legis.state.ak.us \
    --to=bill_ellis@legis.state.ak.us \
    --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.