I have setup the VxVM installation on laptop for practicing the VxVM. After installation, I have rebooted the system and executed the below command and getting output error message.
-bash-3.00# vxdctl enable
VxVM vxdctl ERROR V-5-1-307 vxconfigd is not running, cannot enable
VxVM vxdisk ERROR V-5-1-684 IPC failure: Configuration daemon is not accessible
To resolve the issue:
---------------------
The "install-db" file prevents the vxconfigd daemon from starting on system boot. Verify if the file "install-db" is present.
bash-3.00# ls -l /etc/vx/reconfig.d/state.d/install-db
-rw-r--r-- 1 root other 0 Apr 18 21:09 /etc/vx/reconfig.d/state.d/install-db
If the file is present, remove the install-db file:
bash-3.00# rm /etc/vx/reconfig.d/state.d/install-db
To start the vxvm daemons
-bash-3.00# vxconfigd
To initialize vxvm
-bash-3.00# vxdctl init
To enable vxvm
-bash-3.00# vxdctl enable
To list disk
-bash-3.00# vxdisk -e list
or
bash-3.00# vxdctl init <hostname>
bash-3.00# vxdctl init linuxtutor
Restart vxconfigd with the following commands
bash-3.00# vxconfigd -k
Restart the Volume Manager configuration daemon, setting the boot:
bash-3.00# vxconfigd -k -m boot
bash-3.00# echo $?
0
Enable modes for startup of vxconfigd after reboot:
bash-3.00# vxconfigd -k -m enable
bash-3.00# echo $?
0
Check the Vx process
bash-3.00# ps -ef | grep -i vx | grep -v grep
root 2421 1817 0 13:26:56 pts/1 0:00 vxconfigd -k -m enable
bash-3.00# vxdisk list
DEVICE TYPE DISK GROUP STATUS
c0d0s2 auto:none - - online invalid
c0d1s2 auto:none - - online invalid
c1t1d0s2 auto:none - - online invalid
0 comments:
Post a Comment