HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How do I initialize VxVM using CLI in HP-UX 11iv2?
Operating System - HP-UX
1832777
Members
3288
Online
110045
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-30-2009 10:07 AM
06-30-2009 10:07 AM
How do I initialize VxVM using CLI in HP-UX 11iv2?
I have a procedure I use to initialize VxVM for the 1st time on HP-UX:
1.remove install-db file from /etc/vx/reconfig.d/state.d
2.execute "vxdctl mode"
3.execute “vxconfigd”
4.initialize vxvm for this server “vxdctl init”
5.execute “vxdctl enable”
6.execute “vxconfigd”
It works for me, however someone asked why don't I just do:
1. vxconfigd
2. vxdctl enable
I have found that this doesn't work. When I execute "vxconfigd" I get errors:
V-5-1-0 vxvm:vxconfigd: WARNING: File /etc/vx/array.info does not exist.
This file will be generated when switching to ENABLED mode.
V-5-1-0 vxvm:vxconfigd: WARNING: File /etc/vx/array.info does not exist.
This file will be generated when switching to ENABLED mode.
V-5-1-0 vxvm:vxconfigd: NOTICE: Generating /etc/vx/array.info
VxVM vxconfigd ERROR V-5-1-1589 enable failed: Volboot file not loaded
transactions are disabled.
However if I continue with my procedure everything starts:
1.remove install-db file from /etc/vx/reconfig.d/state.d
2.execute "vxdctl mode"
3.execute “vxconfigd” ( Get warnings)
4.initialize vxvm for this server “vxdctl init”
5.execute “vxdctl enable”
6.execute “vxconfigd”
Does anyone know why I need to execute vxconfigd twice? Also do you have the official or correct CLI procedure?
1.remove install-db file from /etc/vx/reconfig.d/state.d
2.execute "vxdctl mode"
3.execute “vxconfigd”
4.initialize vxvm for this server “vxdctl init
5.execute “vxdctl enable”
6.execute “vxconfigd”
It works for me, however someone asked why don't I just do:
1. vxconfigd
2. vxdctl enable
I have found that this doesn't work. When I execute "vxconfigd" I get errors:
V-5-1-0 vxvm:vxconfigd: WARNING: File /etc/vx/array.info does not exist.
This file will be generated when switching to ENABLED mode.
V-5-1-0 vxvm:vxconfigd: WARNING: File /etc/vx/array.info does not exist.
This file will be generated when switching to ENABLED mode.
V-5-1-0 vxvm:vxconfigd: NOTICE: Generating /etc/vx/array.info
VxVM vxconfigd ERROR V-5-1-1589 enable failed: Volboot file not loaded
transactions are disabled.
However if I continue with my procedure everything starts:
1.remove install-db file from /etc/vx/reconfig.d/state.d
2.execute "vxdctl mode"
3.execute “vxconfigd” ( Get warnings)
4.initialize vxvm for this server “vxdctl init
5.execute “vxdctl enable”
6.execute “vxconfigd”
Does anyone know why I need to execute vxconfigd twice? Also do you have the official or correct CLI procedure?
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-30-2009 12:52 PM
06-30-2009 12:52 PM
Re: How do I initialize VxVM using CLI in HP-UX 11iv2?
Hi,
>>>>I have a procedure I use to initialize VxVM for the 1st time on HP-UX:
Check this thread:
http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1348212
HTH!!
>>>>I have a procedure I use to initialize VxVM for the 1st time on HP-UX:
Check this thread:
http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1348212
HTH!!
" Let Villagers Be Happy!! "
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-03-2009 07:57 AM
07-03-2009 07:57 AM
Re: How do I initialize VxVM using CLI in HP-UX 11iv2?
Hi Tony,
Once you have installed VxVM, it needs to be initialized for the first time use. There is a one shot command which does this.
#vxinstall
It Starts the configuration, notification, and relocation daemons used by VxVM. NOTE: "vxinstall is run only once per system" - Except for Troubleshooting situations. It would ask for the license key, default disk group and things.
However, as always in VxVM, if you wanna do it manually, follow the below:
Install VxVM
â ¢ Start vxconfigd in disabled mode
# vxconfigd -m disable
â ¢ Start some vxiod threads
# vxiod set 10
â ¢ Initialize the /etc/vx/volboot file
# vxdctl init
â ¢ Create a disk group
# vxdg init mydg
â ¢ Initialize a disk for VM
# vxdisk -f init type=auto \
format=cdsdisk
â ¢ Add the disk to a disk group
# vxdg -g mydg adddisk disk01=
â ¢ To enable vxconfigd daemon
# vxconfigd -k -m enable
â ¢ To restart DMP subsystem
# vxdctl initdmp
â ¢ To start vxrelocd daemon
# nohup /etc/vx/bin/vxrelocd root &
â ¢ To start vxconfigbackupd daemon
# nohup /usr/lib/vxvm/vxconfigbackupd &
Hope this helps!
-SH
Once you have installed VxVM, it needs to be initialized for the first time use. There is a one shot command which does this.
#vxinstall
It Starts the configuration, notification, and relocation daemons used by VxVM. NOTE: "vxinstall is run only once per system" - Except for Troubleshooting situations. It would ask for the license key, default disk group and things.
However, as always in VxVM, if you wanna do it manually, follow the below:
Install VxVM
â ¢ Start vxconfigd in disabled mode
# vxconfigd -m disable
â ¢ Start some vxiod threads
# vxiod set 10
â ¢ Initialize the /etc/vx/volboot file
# vxdctl init
â ¢ Create a disk group
# vxdg init mydg
â ¢ Initialize a disk for VM
# vxdisk -f init
format=cdsdisk
â ¢ Add the disk to a disk group
# vxdg -g mydg adddisk disk01=
â ¢ To enable vxconfigd daemon
# vxconfigd -k -m enable
â ¢ To restart DMP subsystem
# vxdctl initdmp
â ¢ To start vxrelocd daemon
# nohup /etc/vx/bin/vxrelocd root &
â ¢ To start vxconfigbackupd daemon
# nohup /usr/lib/vxvm/vxconfigbackupd &
Hope this helps!
-SH
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-13-2009 12:01 PM
07-13-2009 12:01 PM
Re: How do I initialize VxVM using CLI in HP-UX 11iv2?
Hi,
For New Veritas Initialization Check the VERITAS is install with proper Licence.
vxdctl enable ==> scan system for new disks. (i.e. after adding disks from EMC, you need to run `vxdctl enable` to see them through VxVM.
How to create a volume manager(ed) disk:
# Scan for Added Disk
vxdctl enable
# Initialize new disks ()
For New Veritas Initialization Check the VERITAS is install with proper Licence.
vxdctl enable ==> scan system for new disks. (i.e. after adding disks from EMC, you need to run `vxdctl enable` to see them through VxVM.
How to create a volume manager(ed) disk:
# Scan for Added Disk
vxdctl enable
# Initialize new disks (
Jai Shiv Shankar
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP