cancel
Showing results for 
Search instead for 
Did you mean: 

cvm

vucni11
Level 4

hi,

in a cvm i tried:

vxdg -s init tests disk_1 disk_2

cfsdgadm add test all=sw

test6:~ # cfsdgadm display
  Node Name : test6
  DISK GROUP              ACTIVATION MODE
    tests                        sw                         

  Node Name : test88
  DISK GROUP              ACTIVATION MODE
    tests                        sw                         
test6:~ # vxprint -g tests
TY NAME         ASSOC        KSTATE   LENGTH   PLOFFS   STATE    TUTIL0  PUTIL0
dg tests        tests        -        -        -        -        -       -

dm disk_0       disk_0       -        4120320  -        -        -       -

v  t88          fsgen        ENABLED  204800   -        ACTIVE   -       -
pl t88-01       t88          ENABLED  204800   -        ACTIVE   -       -
sd disk_0-02    t88-01       ENABLED  204800   0     

mkfs.vxfs  /dev/vx/rdsk/tests/t88

mkdir -p /vol5s on node test6,test88

test6:~ # cfsmntadm add tests t88 /vol5s
  Error: V-35-1: cfsmntadm: Incorrect usage

How is the corect way?

 

Other thing is:

i seen i can create volumes on both nodes,master and slave node,i can import shared DG on both nodes.What things i can create only on master node?

tnx

 

4 REPLIES 4

RiaanBadenhorst
Moderator
Moderator
Partner    VIP    Accredited Certified

cfsmntadm add tests t88 /vol5s all=cluster

 

Check this page for changes that were introduced long ago (v 5.1)

 

https://sort.veritas.com/public/documents/sfha/5.1sp1/linux/productguides/html/vxvm_admin/ch13s06s20...

hi,

i seen that if i use hastart this will start vcs and cvm based on main.cf.

if vxclustadm stopnode on both nodes then i willnot have cvm and  i will have only vcs up and i can operate normally with vcs commands.

Are the above things correct?

tnx

bhoms
Level 4
Employee

What is the version of the product used here ?

If you have configured CVM/CFS then you can create volume from any node in the Diskgroup(shared DG)  and Mount the FS on both the nodes simultaneously.

If you do not want to use CVM/CFS feature, simply configure SFHA using /opt/VRTS/install/installsfhaXXX -configure command.

You have to use one of the below options while using cfsmntadm.. You were missing mount options in your command.

cfsmntadm add shared_disk_group shared_volume mount_point [ service_group_name ] node_name=[mount_options] ...

cfsmntadm add shared_disk_group shared_volume mount_point [ service_group_name ] all=[mount_options ] [ [ node_name ] ... ]

Hope this helps.

hi,

tnx both of you.