• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1726
  • Last Modified:

Create LVM on Cluster

Dear...

please help, i'm new in clustering..
i just create 2 server (192.168.1.156 n 192.168.1.157) Centos5.2 with RHCS, i have been create both server to be clustered but when i want to create Logical Volume i got error like this :

[root@192.168.1.157]# lvcreate -L 1000MB new_vg
  Error locking on node 192.168.1.156: Volume group for uuid not found: mcl22xC1DRN4JfSyHsR7T3owW8HoCJ2ujzJgPqCfYYVO2dx4QiNWzjzjO1711EkE
  Aborting. Failed to activate new LV to wipe the start of it.

can you help me for this problem ?

thank's

0
herbetfy
Asked:
herbetfy
2 Solutions
 
WizRd-LinuxCommented:
LVM doesn't support clustering.  However DRBD does, check out http://www.drbd.org/users-guide/ch-lvm.html
0
 
Monis MontherSystem ArchitectCommented:
There is a CLVM package (Cluster LVM), check from Red Hat or CentOS
0
 
ac24Commented:
hi,


can u share the following command's output so that i can help u further...

vgdisplay -v



waiting...

thanks



0
 
herbetfyAuthor Commented:
dear all..thanks for respond..

this is the output..
[root@st1 ~]# vgdisplay -v

    Finding all volume groups
    Finding volume group "new_vg1"
  --- Volume group ---
  VG Name               new_vg1
  System ID
  Format                lvm2
  Metadata Areas        2
  Metadata Sequence No  9
  VG Access             read/write
  VG Status             resizable
  Clustered             yes
  Shared                no
  MAX LV                0
  Cur LV                0
  Open LV               0
  Max PV                0
  Cur PV                2
  Act PV                2
  VG Size               39.99 GB
  PE Size               4.00 MB
  Total PE              10238
  Alloc PE / Size       0 / 0
  Free  PE / Size       10238 / 39.99 GB
  VG UUID               OhcED0-xDXX-41ka-mWlb-mlJg-7XCr-0IvZuG

  --- Physical volumes ---
  PV Name               /dev/sda1
  PV UUID               RHM2LC-FS2x-KuJk-omH7-NZPk-WKLp-gYr7Dh
  PV Status             allocatable
  Total PE / Free PE    5119 / 5119

  PV Name               /dev/sdb1
  PV UUID               bdB0FP-1PS5-KgEM-q7a4-5atF-vWSw-THbbrW
  PV Status             allocatable
  Total PE / Free PE    5119 / 5119

[root@st1 ~]#

thank's

0

Featured Post

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now