What are the commands that can be run on a VERITAS Cluster Volume Manager (CVM) Master / Slave or a VERITAS Cluster File System (CFS) Primary / Secondary ?
| Article:TECH15869 | | | Created: 2001-01-24 | | | Updated: 2004-01-21 | | | Article URL http://www.symantec.com/docs/TECH15869 |
Problem
What are the commands that can be run on a VERITAS Cluster Volume Manager (CVM) Master / Slave or a VERITAS Cluster File System (CFS) Primary / Secondary ?
Solution
To determine if the system is a CVM Master or
Slave:
As root, run the following command,
# vxdctl -c mode
To determine if the system is a CFS Primary or Secondary
run the following command,
# fsclustadm -v showprimary
</Mnt_Point>
The following commands are allowed on a CVM Master node
:
vxassist - to add/delete a volume in a disk
group
vxresize - to resize an existing volume
The following command is allowed in a CFS Primary node
:
fsadm - to resize/reorganise a file
system
If the system does not allow you to run any of the above
commands, please use this table for cross-reference:
| System Name | CVM Mode | VxVM Admin commands allowed - like vxresize, vxassist, vxrecover, vxmake etc ? | CFS Mode | Command allowed - fsadm ? |
|---|---|---|---|---|
| sysA | Master | Yes | Secondary | No |
| sysB | Slave | No | Primary | Yes |









Thank you.