- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- how to rename raw logical volume
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
06-25-2006 10:17 PM
06-25-2006 10:17 PM
how to rename raw logical volume
I need to rename a logical volume. This volume is a rawdevice for a oracle database. It isnt connected to the db and it's empty this time. How can I rename the LV? This is an MC/ServiceGuard Cluster environment.
regards
Christian
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-25-2006 10:32 PM
06-25-2006 10:32 PM
Re: how to rename raw logical volume
renaming a unused logical volume is not a problem, you can just move them to a new name.
example vg01 lvol1
# umount /dev/vg01/lvol1
# cd /dev/vg01/
# mv rlvol1 roralv1
# mv lvol1 oralv1
create a backup of your volumegroup information
# vgcfgbackup vg01
As for ServiceGuard I can not find any info at this moment.
Hope this helps,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-25-2006 10:57 PM
06-25-2006 10:57 PM
Re: how to rename raw logical volume
In my above info I forgot to mention that you need to update the /etc/fstab.
serviceguard info
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1004335
Regards,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-26-2006 01:13 AM
06-26-2006 01:13 AM
Re: how to rename raw logical volume
If it is not currently being used, then you can simply rename the character and block device file of the LV in the VG directory
# mv /dev/vgname/lvname /dev/vgname/newlvname
# mv /dev/vgname/rlvname /dev/vgname/rnewlvname
Now if the VG that contains this raw LV is part of the cluster, then you will need to execute the same commands on all the nodes that will activate the VG.
Hope this helps
Sundar.
P.S: you would not need to update the /etc/fstab or umount for a raw logical volume.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-26-2006 01:59 AM
06-26-2006 01:59 AM
Re: how to rename raw logical volume
the mv command both in the rdsk and dsk section does the trick.
Then back up the volume group configuration.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-26-2006 03:48 AM
06-26-2006 03:48 AM
Re: how to rename raw logical volume
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-25-2006 06:30 AM
07-25-2006 06:30 AM
Re: how to rename raw logical volume
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-25-2006 03:23 PM
07-25-2006 03:23 PM
Re: how to rename raw logical volume
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-25-2006 03:37 PM
07-25-2006 03:37 PM