[Linux-cluster] adding volume to cluster
Terry Davis
terrybdavis at gmail.com
Tue Sep 30 13:10:31 UTC 2008
2008/9/30 Jeff Sturm <jeff.sturm at eprize.com>
> If this volume group is to be shared by multiple hosts you need a
> clustered volume group.
>
> Make sure clvmd is running, that you've set the locking_type in lvm.conf
> and and pass "-c y" arguments to vgcreate.
>
> ------------------------------
> **
>
>
I removed my volume group and recreated it with -c y, but I still can't
create a volume:
[root at omadvnfs01a ~]# vgcreate -c y vg_data01e /dev/sdc1
Volume group "vg_data01e" successfully created
[root at omadvnfs01a ~]# lvcreate --size 4T -n lv_data01e vg_data01e
Error locking on node omadvnfs01b: device-mapper: create ioctl failed:
Device or resource busy
Aborting. Failed to activate new LV to wipe the start of it.
my locking type is 3.
It looks like the VG got created on both nodes:
on A node:
--- Volume group ---
VG Name vg_data01e
System ID
Format lvm2
Metadata Areas 1
Metadata Sequence No 5
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 1
Act PV 1
VG Size 4.00 TB
PE Size 4.00 MB
Total PE 1048578
Alloc PE / Size 0 / 0
Free PE / Size 1048578 / 4.00 TB
VG UUID rT2b6W-OAsO-fBm7-je9M-dH7W-emvR-ehkU4z
on node B:
--- Volume group ---
VG Name vg_data01e
System ID
Format lvm2
Metadata Areas 1
Metadata Sequence No 5
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 1
Act PV 1
VG Size 4.00 TB
PE Size 4.00 MB
Total PE 1048578
Alloc PE / Size 0 / 0
Free PE / Size 1048578 / 4.00 TB
VG UUID rT2b6W-OAsO-fBm7-je9M-dH7W-emvR-ehkU4z
Any ideas?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/linux-cluster/attachments/20080930/b475912e/attachment.htm>
More information about the Linux-cluster
mailing list