linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
* [linux-lvm]  raid1 Failed to activate new LV
@ 2013-02-27 16:45 MOLLE Thomas
  2013-02-27 18:12 ` Alasdair G Kergon
  0 siblings, 1 reply; 7+ messages in thread
From: MOLLE Thomas @ 2013-02-27 16:45 UTC (permalink / raw)
  To: LVM general discussion and development

Hi,

I'm trying to create a raid1 but when I want create my LV, I get the
following error : 
# device-mapper: reload ioctl on failed: Invalid argument
# Failed to activate new LV.

My command is : lvcreate --type raid1 -m 1 -L 55G -n lv0 vg0

Vgdisplay :
  --- Volume group ---
  VG Name               vg0
  System ID
  Format                lvm2
  Metadata Areas        2
  Metadata Sequence No  63
  VG Access             read/write
  VG Status             resizable
  MAX LV                0
  Cur LV                0
  Open LV               0
  Max PV                0
  Cur PV                2
  Act PV                2
  VG Size               1.09 TiB
  PE Size               4.00 MiB
  Total PE              285588
  Alloc PE / Size       0 / 0
  Free  PE / Size       285588 / 1.09 TiB
  VG UUID               k7hTZD-QXLt-LO34-Fc5P-vk5T-zcOL-2JgZmr

  --- Physical volumes ---
  PV Name               /dev/mapper/mpatha
  PV UUID               ccouAp-S0ew-vAWv-nRSc-VgA3-bzFi-pfHDqA
  PV Status             allocatable
  Total PE / Free PE    142794 / 142794

  PV Name               /dev/mapper/mpathd
  PV UUID               v3nfWQ-w7eU-jrnk-PDMW-Rxnc-cMAe-qn4F5e
  PV Status             allocatable
  Total PE / Free PE    142794 / 142794

If I do not specify the type, it works well ( lvcreate  -m 1 -L 55G -n
lv0 vg0) but in this case it's a mirror and I need a raid1.

Any help is welcome :)

Regards,
Thomas

# lvm version
  LVM version:     2.02.95(2)-RHEL6 (2012-10-16)
  Library version: 1.02.74-RHEL6 (2012-10-16)
  Driver version:  4.20.0

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

end of thread, other threads:[~2013-04-15 21:16 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-02-27 16:45 [linux-lvm] raid1 Failed to activate new LV MOLLE Thomas
2013-02-27 18:12 ` Alasdair G Kergon
2013-02-28  9:32   ` MOLLE Thomas
2013-02-28 13:23     ` Marian Csontos
2013-02-28 13:59       ` MOLLE Thomas
2013-02-28 14:26         ` Marian Csontos
2013-04-15 21:16         ` Brassow Jonathan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).