[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [Linux-cluster] sharing attr on clustered volume -- cannot see open attribute



any hint?
i'm almost desperate :(

On 17/10/2011 12:22, Daniele Palumbo wrote:
On 14/10/2011 17:30, Daniele Palumbo wrote:
as you see in one server the device is *marked* as open, in the other
is not.

i need just to see open in both server,
if it is marked as open, xen refuse to boot vm with that device open,
and i will not care about the filesystem that is contained in lvm.
[...]
 > ok so i will try with one storage and i will report back.

here i am :)

the issue is still present:
pvsrv08 ~ # mount | grep vgTest
pvsrv08 ~ # lvs
LV VG Attr LSize Origin Snap% Move Log Copy% Convert
lvTest vgTest -wi-a- 500.00m
pvsrv08 ~ #

pvsrv07 ~ # mount | grep vgTest
pvsrv07 ~ # lvs
LV VG Attr LSize Origin Snap% Move Log Copy% Convert
lvTest vgTest -wi-a- 500.00m
pvsrv07 ~ #

pvsrv06 ~ # mount | grep vgTest
/dev/mapper/vgTest-lvTest on /mnt type reiserfs (rw)
pvsrv06 ~ # lvs
LV VG Attr LSize Origin Snap% Move Log Copy% Convert
lvTest vgTest -wi-ao 500.00m
pvsrv06 ~ # vgs
VG #PV #LV #SN Attr VSize VFree
vgTest 1 1 0 wz--nc 3.90g 3.41g
pvsrv06 ~ # pvs
PV VG Fmt Attr PSize PFree
/dev/etherd/e7.0 vgTest lvm2 a-- 3.90g 3.41g
pvsrv06 ~ #

pvsrv06 ~ # lvdisplay vgTest/lvTest
--- Logical volume ---
LV Name /dev/vgTest/lvTest
VG Name vgTest
LV UUID 2nRkxV-JhDe-oDW1-SIZT-dHwH-9x2W-XMvHDr
LV Write Access read/write
LV Status available
# open 2
LV Size 500.00 MiB
Current LE 125
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 4096
Block device 252:0

pvsrv06 ~ #


pvsrv07 ~ # lvdisplay /dev/vgTest/lvTest
--- Logical volume ---
LV Name /dev/vgTest/lvTest
VG Name vgTest
LV UUID 2nRkxV-JhDe-oDW1-SIZT-dHwH-9x2W-XMvHDr
LV Write Access read/write
LV Status available
# open 0
LV Size 500.00 MiB
Current LE 125
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 4096
Block device 252:0

pvsrv07 ~ #

when a device is mounted i can see the open status only in one server,
so the open status is different between server.

the 3 servers see the same storage with same device path (as seen in
pvsrv06).

pvsrv06 ~ # cman_tool status
Version: 6.2.0
Config Version: 5
Cluster Name: CEMCluster
Cluster Id: 7604
Cluster Member: Yes
Cluster Generation: 288
Membership state: Cluster-Member
Nodes: 3
Expected votes: 3
Total votes: 3
Node votes: 1
Quorum: 2
Active subsystems: 8
Flags:
Ports Bound: 0 11
Node name: pvsrv06
Node ID: 1
Multicast addresses: 239.192.29.209
Node addresses: 192.168.1.106
pvsrv06 ~ #

pvsrv06 ~ # fence_tool ls
fence domain
member count 3
victim count 0
victim now 0
master nodeid 1
wait state none
members 1 2 3

pvsrv06 ~ #


pvsrv06 ~ # cat /etc/cluster/cluster.conf
<cluster name="CEMCluster" config_version="5">
<clusternodes>
<clusternode name="pvsrv06" nodeid="1">
</clusternode>
<clusternode name="pvsrv07" nodeid="2">
</clusternode>
<clusternode name="pvsrv08" nodeid="3">
</clusternode>
</clusternodes>
</cluster>
pvsrv06 ~ #


bye
d.

--
Linux-cluster mailing list
Linux-cluster redhat com
https://www.redhat.com/mailman/listinfo/linux-cluster


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]