- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: How to rename a VG in RHEL 5.X
Operating System - Linux
1753359
Members
5728
Online
108792
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
Discussions
Discussions
Forums
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
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
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
тАО07-20-2010 07:25 AM
тАО07-20-2010 07:25 AM
Could you please let me know the steps to rename a VG in RHEL 5.X
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-20-2010 07:56 AM
тАО07-20-2010 07:56 AM
Re: How to rename a VG in RHEL 5.X
https://access.redhat.com/kb/docs/DOC-4119?language=/faq/community/en%253Bjsessionid%253D04BACEA6DE8AB92B041967710F780C23.a7e0bdf1
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-20-2010 07:58 AM
тАО07-20-2010 07:58 AM
Re: How to rename a VG in RHEL 5.X
The link is pointing to customer portal where i need to put username and password..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-20-2010 08:50 AM
тАО07-20-2010 08:50 AM
Solution
The following information has been provided by Red Hat, but is outside the scope of our posted Service Level Agreements ( https://www.redhat.com/support/service/sla/ ) and support procedures. The information is provided as-is and any configuration settings or installed applications made from the information in this article could make your Operating System unsupported by Red Hat Support Services. The intent of this article is to provide you with information to accomplish your system needs. Use the information in this article at your own risk.
Why is it required:
Due to application restrictions, changing the name of the existing Volume Groups is required.
Release found:
Red Hat Enterprise Linux 4
Resolution:
Follow the steps below to rename the Volume Group:
1.
Boot the system with installation disk one in rescue mode. Chroot the system by:
#chroot /mnt/sysimage
and then modify the /etc/fstab file and the /boot/grub/grub.conf file by replacing the old name of the Volume Group with the new one.
2.
Exit the environment with the "exit" command.
3.
Check for all the mounted partitions under /mnt/sysimage using the mount command. Now unmount all the mounted partitions shown up by mount.
4.
Run the following command on the command line:
#lvm vgrename
The output should be similar to "'vgrenamed successfully'.
5.
Now, rebuild the initial ramdisk. Please refer to following kbase article for it :
How do I rebuild the initial ramdisk image?
6.
Reboot the system.
Why is it required:
Due to application restrictions, changing the name of the existing Volume Groups is required.
Release found:
Red Hat Enterprise Linux 4
Resolution:
Follow the steps below to rename the Volume Group:
1.
Boot the system with installation disk one in rescue mode. Chroot the system by:
#chroot /mnt/sysimage
and then modify the /etc/fstab file and the /boot/grub/grub.conf file by replacing the old name of the Volume Group with the new one.
2.
Exit the environment with the "exit" command.
3.
Check for all the mounted partitions under /mnt/sysimage using the mount command. Now unmount all the mounted partitions shown up by mount.
4.
Run the following command on the command line:
#lvm vgrename
The output should be similar to "'vgrenamed successfully'.
5.
Now, rebuild the initial ramdisk. Please refer to following kbase article for it :
How do I rebuild the initial ramdisk image?
6.
Reboot the system.
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
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.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP