From: Michael Ossmann <mike@ossmann.com>
To: LVM general discussion and development <linux-lvm@redhat.com>
Subject: Re: [linux-lvm] lvm2 weirdness on software RAID5
Date: Wed, 7 Apr 2004 17:46:49 -0600 [thread overview]
Message-ID: <20040407234649.GA27033@ossmann.com> (raw)
In-Reply-To: <1081378532.25836.264.camel@arthur.cbd.careercast.com>
On Wed, Apr 07, 2004 at 03:55:33PM -0700, Clint Byrum wrote:
>
> mdadm --create /dev/md2 --chunk 256 --level 5 -n 4 /dev/hdc1 /dev/hdd1
> /dev/hdg1 /dev/hdh1
<snip>
> [root@backup root]# lvm pvcreate /dev/md2
<snip>
> [root@backup root]# lvm pvs
> PV VG Fmt Attr PSize PFree
> /dev/hdc1 lvm2 -- 335.37G 335.37G
> /dev/md0 backups lvm2 a- 349.33G 0
> /dev/md1 backups lvm2 a- 349.31G 8.64G
Looks like lvm is configured to allow both /dev/md* and
/dev/hd* as physical devices. You probably want to limit it
to /dev/md* so that it doesn't get confused by things it
finds on the raw disk partition devices. You can do this
with:
filter = [ "r|^/dev/hd*|" ]
in the devices block of your /etc/lvm/lvm.conf. If you do
not have an /etc/lvm/lvm.conf, you can copy the sample
config in the lvm2 distribution or create a fresh one with:
# lvm dumpconfig > /etc/lvm/lvm.conf
You could also make the filter more specific if you want:
filter = [ "r|^/dev/hdc*|" ]
mossmann
next prev parent reply other threads:[~2004-04-07 23:46 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-04-07 22:55 [linux-lvm] lvm2 weirdness on software RAID5 Clint Byrum
2004-04-07 23:46 ` Michael Ossmann [this message]
2004-04-08 0:27 ` Clint Byrum
2004-04-08 10:04 ` 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=20040407234649.GA27033@ossmann.com \
--to=mike@ossmann.com \
--cc=linux-lvm@redhat.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.