1 |
On Friday 04 November 2005 21.35, Richard Fish wrote: |
2 |
> Dan Johansson wrote: |
3 |
> >I'm trying to setup a new Linux-server with an on board RAID-controller |
4 |
> >(Promise PDC20265 FastTrak100 Lite/Ultra100). Now everything goes well |
5 |
> > until I try to do a pvcreate on one of the raid-partitions, this is the |
6 |
> > output I get: |
7 |
> ># pvcreate /dev/mapper/pdc_edcfibbf4 |
8 |
> > Device /dev/mapper/pdc_edcfibbf4 not found. |
9 |
> > |
10 |
> >But the device-file is there (along with the other partitions). |
11 |
> > |
12 |
> ># ll /dev/mapper/pdc_edcfibbf* |
13 |
> >brw------- 1 root root 253, 7 Nov 4 18:22 /dev/mapper/pdc_edcfibbf |
14 |
> >brw------- 1 root root 253, 8 Nov 4 18:22 /dev/mapper/pdc_edcfibbf1 |
15 |
> >brw------- 1 root root 253, 9 Nov 4 18:22 /dev/mapper/pdc_edcfibbf2 |
16 |
> >brw------- 1 root root 253, 10 Nov 4 18:22 /dev/mapper/pdc_edcfibbf3 |
17 |
> >brw------- 1 root root 253, 11 Nov 4 18:22 /dev/mapper/pdc_edcfibbf4 |
18 |
> |
19 |
> I suspect the devices are being filtered. Take a look at |
20 |
> /etc/lvm/lvm.conf, and try running pvcreate with "-vv" to see how it is |
21 |
> probing the devices. You might need to add a 'filter = [ a/pdc_*/" ]' |
22 |
> option to lvm.conf. |
23 |
|
24 |
I got a tip on the LVM mailinglist and now it works. I had to change my lvm2 |
25 |
"devices" configuration in /etc/lvm/lvm.conf to include: |
26 |
types = [ "device-mapper", 254 ] |
27 |
|
28 |
Regards, |
29 |
-- |
30 |
Dan Johansson, <http://www.dmj.nu> |
31 |
*************************************************** |
32 |
This message is printed on 100% recycled electrons! |
33 |
*************************************************** |