- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- rename vg
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
Discussions
Discussions
Forums
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
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
тАО02-08-2006 02:43 PM
тАО02-08-2006 02:43 PM
now ,I want to rename the vg03 to vg02,I have readed the Doc in this forums named :"Rename volume groups and logical volumes" ,the action plan as below:
1. umount /filesys (for each mounted filesys)
2. vgchange -a n /dev/vgname
3. vgexport -m mapfile /dev/vgname
4. vi mapfile (to set up new logical volume names)
5. mkdir /dev/vgnewname
6. mknod /dev/vgnewname/group c 64 0x
7. vgimport -m mapfile /dev/vgnewname /dev/dsk/cxtyd0
But the problem is I don't know how to do the 4 step
#vi mapfile (to set up new logical volume names), since there isn't the vgname in the vg03.map ,the vg's content as below ,
BH1#[/tmp]cat vg03.map
VGID 2eabea043deeb3af
1 lv_tempdb
2 lv_cm
3 lv_rt
4 lv_bt
5 lv_rtlog
6 lv_btlog
7 lv_other
8 lv_reserve
9 lv_master
10 lv_sysproc
BH1#[/tmp]
Thanks for your help
B.R
Rambo
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-08-2006 02:55 PM
тАО02-08-2006 02:55 PM
Solution- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-08-2006 02:59 PM
тАО02-08-2006 02:59 PM
Re: rename vg
you dont have to modify the mapfile to change the vgname.
just export the VG
create a new folder for newvgname
create the group file
and import it.
With Regards,
Siva.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-08-2006 03:08 PM
тАО02-08-2006 03:08 PM
Re: rename vg
The map file is only for if you are not using the standard lvol naming convention like lvol1...... which you are. Your VG name, when you import will depend on the VG name you give in the step 5,6,7.
The steps you have written are correct except step 4 which you should omit.
Dont forget to edit the /etc/fstab for the changes in VG name you made
Good Luck.
Ajit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-08-2006 03:43 PM
тАО02-08-2006 03:43 PM