All of lore.kernel.org
 help / color / mirror / Atom feed
* [linux-lvm] pvcreate on a dmraid device
@ 2005-11-04 19:05 Dan Johansson
  2005-11-04 19:16 ` Alasdair G Kergon
  2005-11-04 19:24 ` Heinz Mauelshagen
  0 siblings, 2 replies; 4+ messages in thread
From: Dan Johansson @ 2005-11-04 19:05 UTC (permalink / raw)
  To: linux-lvm

[-- Attachment #1: Type: text/plain, Size: 1324 bytes --]

Hi,

I'm new to this list, but not to Linux and LVM.
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] 4+ messages in thread

* Re: [linux-lvm] pvcreate on a dmraid device
  2005-11-04 19:05 [linux-lvm] pvcreate on a dmraid device Dan Johansson
@ 2005-11-04 19:16 ` Alasdair G Kergon
  2005-11-04 19:24 ` Heinz Mauelshagen
  1 sibling, 0 replies; 4+ messages in thread
From: Alasdair G Kergon @ 2005-11-04 19:16 UTC (permalink / raw)
  To: LVM general discussion and development

On Fri, Nov 04, 2005 at 08:05:08PM +0100, Dan Johansson wrote:
> # pvcreate /dev/mapper/pdc_edcfibbf4
>   Device /dev/mapper/pdc_edcfibbf4 not found.
 
Look for (commented out) types line in lvm.conf
and enable it saying:
  types = [ "device-mapper", 1 ]

(This will happen by default in the next release.)

Alasdair
-- 
agk@redhat.com

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

* Re: [linux-lvm] pvcreate on a dmraid device
  2005-11-04 19:05 [linux-lvm] pvcreate on a dmraid device Dan Johansson
  2005-11-04 19:16 ` Alasdair G Kergon
@ 2005-11-04 19:24 ` Heinz Mauelshagen
  2005-11-04 21:16   ` Dan Johansson
  1 sibling, 1 reply; 4+ messages in thread
From: Heinz Mauelshagen @ 2005-11-04 19:24 UTC (permalink / raw)
  To: LVM general discussion and development


Dan,

change your lvm2 "devices" configuration in /etc/lvm/lvm.conf to include:

types = [ "device-mapper", 254 ]

Regards,
Heinz    -- The LVM Guy --



On Fri, Nov 04, 2005 at 08:05:08PM +0100, Dan Johansson wrote:
> Hi,
> 
> I'm new to this list, but not to Linux and LVM.
> 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!
> ***************************************************



> _______________________________________________
> linux-lvm mailing list
> linux-lvm@redhat.com
> https://www.redhat.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

Heinz Mauelshagen                                 Red Hat GmbH
Consulting Development Engineer                   Am Sonnenhang 11
Cluster and Storage Development                   56242 Marienrachdorf
                                                  Germany
Mauelshagen@RedHat.com                            +49 2626 141200
                                                       FAX 924446
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

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

* Re: [linux-lvm] pvcreate on a dmraid device
  2005-11-04 19:24 ` Heinz Mauelshagen
@ 2005-11-04 21:16   ` Dan Johansson
  0 siblings, 0 replies; 4+ messages in thread
From: Dan Johansson @ 2005-11-04 21:16 UTC (permalink / raw)
  To: linux-lvm

[-- Attachment #1: Type: text/plain, Size: 3060 bytes --]

TANKS!

That did it!!!

Regards,
--Dan
On Friday 04 November 2005 20.24, Heinz Mauelshagen wrote:
> Dan,
>
> change your lvm2 "devices" configuration in /etc/lvm/lvm.conf to include:
>
> types = [ "device-mapper", 254 ]
>
> Regards,
> Heinz    -- The LVM Guy --
>
> On Fri, Nov 04, 2005 at 08:05:08PM +0100, Dan Johansson wrote:
> > Hi,
> >
> > I'm new to this list, but not to Linux and LVM.
> > 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!
> > ***************************************************
> >
> >
> >
> > _______________________________________________
> > linux-lvm mailing list
> > linux-lvm@redhat.com
> > https://www.redhat.com/mailman/listinfo/linux-lvm
> > read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
>
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
>-=-
>
> Heinz Mauelshagen                                 Red Hat GmbH
> Consulting Development Engineer                   Am Sonnenhang 11
> Cluster and Storage Development                   56242 Marienrachdorf
>                                                   Germany
> Mauelshagen@RedHat.com                            +49 2626 141200
>                                                        FAX 924446
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
>-=-
>
> _______________________________________________
> linux-lvm mailing list
> linux-lvm@redhat.com
> https://www.redhat.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

-- 
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] 4+ messages in thread

end of thread, other threads:[~2005-11-04 21:17 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-04 19:05 [linux-lvm] pvcreate on a dmraid device Dan Johansson
2005-11-04 19:16 ` Alasdair G Kergon
2005-11-04 19:24 ` Heinz Mauelshagen
2005-11-04 21:16   ` Dan Johansson

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.