* [gentoo-user] pvcreate on a dmraid device
@ 2005-11-04 19:10 Dan Johansson
2005-11-04 20:35 ` Richard Fish
0 siblings, 1 reply; 3+ messages in thread
From: Dan Johansson @ 2005-11-04 19:10 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 1268 bytes --]
I'm trying to setup a new Linux-server with an on board RAID-controller
(Promise PDC20265 FastTrak100 Lite/Ultra100). Now everything goes well until
I try to do a pvcreate on one of the raid-partitions, this is the output I
get:
# pvcreate /dev/mapper/pdc_edcfibbf4
Device /dev/mapper/pdc_edcfibbf4 not found.
But the device-file is there (along with the other partitions).
# ll /dev/mapper/pdc_edcfibbf*
brw------- 1 root root 253, 7 Nov 4 18:22 /dev/mapper/pdc_edcfibbf
brw------- 1 root root 253, 8 Nov 4 18:22 /dev/mapper/pdc_edcfibbf1
brw------- 1 root root 253, 9 Nov 4 18:22 /dev/mapper/pdc_edcfibbf2
brw------- 1 root root 253, 10 Nov 4 18:22 /dev/mapper/pdc_edcfibbf3
brw------- 1 root root 253, 11 Nov 4 18:22 /dev/mapper/pdc_edcfibbf4
and dmraid shows the raidgroup OK:
# dmraid -s
*** Active Set
name : pdc_edcfibbf
size : 160086465
stride : 128
type : mirror
status : ok
subsets: 0
devs : 2
spares : 0
Any suggestions on how I can solve this issue and move on with my
installation.
Regards,
--
Dan Johansson, <http://www.dmj.nu>
***************************************************
This message is printed on 100% recycled electrons!
***************************************************
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [gentoo-user] pvcreate on a dmraid device
2005-11-04 19:10 [gentoo-user] pvcreate on a dmraid device Dan Johansson
@ 2005-11-04 20:35 ` Richard Fish
2005-11-04 21:19 ` [gentoo-user] SOLVED " Dan Johansson
0 siblings, 1 reply; 3+ messages in thread
From: Richard Fish @ 2005-11-04 20:35 UTC (permalink / raw
To: gentoo-user
Dan Johansson wrote:
>I'm trying to setup a new Linux-server with an on board RAID-controller
>(Promise PDC20265 FastTrak100 Lite/Ultra100). Now everything goes well until
>I try to do a pvcreate on one of the raid-partitions, this is the output I
>get:
># pvcreate /dev/mapper/pdc_edcfibbf4
> Device /dev/mapper/pdc_edcfibbf4 not found.
>
>But the device-file is there (along with the other partitions).
>
># ll /dev/mapper/pdc_edcfibbf*
>brw------- 1 root root 253, 7 Nov 4 18:22 /dev/mapper/pdc_edcfibbf
>brw------- 1 root root 253, 8 Nov 4 18:22 /dev/mapper/pdc_edcfibbf1
>brw------- 1 root root 253, 9 Nov 4 18:22 /dev/mapper/pdc_edcfibbf2
>brw------- 1 root root 253, 10 Nov 4 18:22 /dev/mapper/pdc_edcfibbf3
>brw------- 1 root root 253, 11 Nov 4 18:22 /dev/mapper/pdc_edcfibbf4
>
>
I suspect the devices are being filtered. Take a look at
/etc/lvm/lvm.conf, and try running pvcreate with "-vv" to see how it is
probing the devices. You might need to add a 'filter = [ a/pdc_*/" ]'
option to lvm.conf.
-Richard
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [gentoo-user] SOLVED pvcreate on a dmraid device
2005-11-04 20:35 ` Richard Fish
@ 2005-11-04 21:19 ` Dan Johansson
0 siblings, 0 replies; 3+ messages in thread
From: Dan Johansson @ 2005-11-04 21:19 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 1525 bytes --]
On Friday 04 November 2005 21.35, Richard Fish wrote:
> Dan Johansson wrote:
> >I'm trying to setup a new Linux-server with an on board RAID-controller
> >(Promise PDC20265 FastTrak100 Lite/Ultra100). Now everything goes well
> > until I try to do a pvcreate on one of the raid-partitions, this is the
> > output I get:
> ># pvcreate /dev/mapper/pdc_edcfibbf4
> > Device /dev/mapper/pdc_edcfibbf4 not found.
> >
> >But the device-file is there (along with the other partitions).
> >
> ># ll /dev/mapper/pdc_edcfibbf*
> >brw------- 1 root root 253, 7 Nov 4 18:22 /dev/mapper/pdc_edcfibbf
> >brw------- 1 root root 253, 8 Nov 4 18:22 /dev/mapper/pdc_edcfibbf1
> >brw------- 1 root root 253, 9 Nov 4 18:22 /dev/mapper/pdc_edcfibbf2
> >brw------- 1 root root 253, 10 Nov 4 18:22 /dev/mapper/pdc_edcfibbf3
> >brw------- 1 root root 253, 11 Nov 4 18:22 /dev/mapper/pdc_edcfibbf4
>
> I suspect the devices are being filtered. Take a look at
> /etc/lvm/lvm.conf, and try running pvcreate with "-vv" to see how it is
> probing the devices. You might need to add a 'filter = [ a/pdc_*/" ]'
> option to lvm.conf.
I got a tip on the LVM mailinglist and now it works. I had to change my lvm2
"devices" configuration in /etc/lvm/lvm.conf to include:
types = [ "device-mapper", 254 ]
Regards,
--
Dan Johansson, <http://www.dmj.nu>
***************************************************
This message is printed on 100% recycled electrons!
***************************************************
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2005-11-04 21:30 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-04 19:10 [gentoo-user] pvcreate on a dmraid device Dan Johansson
2005-11-04 20:35 ` Richard Fish
2005-11-04 21:19 ` [gentoo-user] SOLVED " Dan Johansson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox