- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Changing an the name of an lv that is mounted ...
Categories
Company
Local Language
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
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
Community
Resources
Forums
Blogs
- 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
09-18-2001 07:02 AM
09-18-2001 07:02 AM
Changing an the name of an lv that is mounted via package startup
Any suggestions?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-18-2001 07:23 AM
09-18-2001 07:23 AM
Re: Changing an the name of an lv that is mounted via package startup
stop the package (cmhaltpkg)
Rename the LV ( mv /dev/vg??/lv?? /dev/vg??/lvnew??
mv /dev/vg??/rlv?? /dev/vg??/rlvnew??)
Modify the package control script to indicate
the new LV,
start the package (cmrunpkg)
I don't believe you need to reconfigure the cluster for the LV name change
-HTH
Ramesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-18-2001 07:27 AM
09-18-2001 07:27 AM
Re: Changing an the name of an lv that is mounted via package startup
-Regards
Ramesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-18-2001 07:28 AM
09-18-2001 07:28 AM
Re: Changing an the name of an lv that is mounted via package startup
In this situation, I will choose change config files and reboot package, is very fast and most secure and supported.
Good Luck
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-18-2001 07:34 AM
09-18-2001 07:34 AM
Re: Changing an the name of an lv that is mounted via package startup
If you chane lvol name you must not reconfigure cluster, of course, rename lvol in all nodes and copy modified files in all nodes also.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-18-2001 12:10 PM
09-18-2001 12:10 PM
Re: Changing an the name of an lv that is mounted via package startup
Shudown the package,
cmhaltpkg -v pkg_name
Reneame the lv files
mv /dev/vg_name/lv_old /dev/vg_name/lv_new
mv /dev/vg_name/rlv_old /dev/vg_name/rlv_new
edit the package control file to reflect this change
vi /etc/cmcluster/pkg_name/pkg_control_file
Activate the vg to take a conf backup for the vg
vgchange -a e /dev/vg_name
do a vgcfgbackup for this vg
vgcfgbackup -f /tmp/vg_name.conf /dev/vg_name
Deactivate the VG
vgchange -a n /dev/vg_name
using "vgcfgrestore" Replicate this change in VG configuration to other nodes where this package gets activated. Remember you may have to activate the VG on that node, do vgcfgrestore and deactivate the VG.
Once done, start the package on the node you want
cmrunpkg -v pkg_name
Enable package switching
cmmodpkg -e pkg_name
Check everything is working okay
cmviewcl -v
Hope this helps.
thanks