[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



Il giorno 14/ott/2011, alle ore 05.56, Fabio M. Di Nitto ha scritto:
> What kind of shared storage are you using? Filesystem on top of lvm?

i am using 2 local disk, exported via vblade (i have an aoe storage, this is the test environment).

on top of that right does not matter for me which fs, cause it will be used also by xen hvm (let say also ntfs).
anyway, tested with ext3 and reiserfs.
(but i think i will get a RTFM as you write down your questions ;( )

pvsrv07 ~ # pvs
  PV               VG        Fmt  Attr PSize PFree
  /dev/etherd/e8.0 vgPvSrv08 lvm2 a--  3.90g 3.90g
  /dev/sdb1        vgPvSrv07 lvm2 a--  3.90g 3.80g
pvsrv07 ~ # vgs
  VG        #PV #LV #SN Attr   VSize VFree
  vgPvSrv07   1   1   0 wz--nc 3.90g 3.80g
  vgPvSrv08   1   0   0 wz--nc 3.90g 3.90g
pvsrv07 ~ # lvs 
  LV     VG        Attr   LSize   Origin Snap%  Move Log Copy%  Convert
  test07 vgPvSrv07 -wi-ao 100.00m                                      
pvsrv07 ~ #
pvsrv07 ~ # mount|grep test07
/dev/mapper/vgPvSrv07-test07 on /mnt type reiserfs (rw)
pvsrv07 ~ #

pvsrv08 ~ # pvs
  PV               VG        Fmt  Attr PSize PFree
  /dev/etherd/e7.0 vgPvSrv07 lvm2 a--  3.90g 3.80g
  /dev/sdb1        vgPvSrv08 lvm2 a--  3.90g 3.90g
pvsrv08 ~ # vgs
  VG        #PV #LV #SN Attr   VSize VFree
  vgPvSrv07   1   1   0 wz--nc 3.90g 3.80g
  vgPvSrv08   1   0   0 wz--nc 3.90g 3.90g
pvsrv08 ~ # lvs  
  LV     VG        Attr   LSize   Origin Snap%  Move Log Copy%  Convert
  test07 vgPvSrv07 -wi-a- 100.00m                                      
pvsrv08 ~ # 

the tricky part is in lvs, i can see an open volume in pvsrv07 and not in pvsrv08.

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

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



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