- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: URGENT: renaming volume group
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
11-07-2002 10:11 PM
11-07-2002 10:11 PM
How to move data I understand, but how to "rename" /dev/vg03 (our disks) to /dev/vg02 (assuming that we remove all physical disks which provide PE for all LV in vg02). Note that destroying data in vg02 is not acceptable :(.
The worst thing, that I have no expierence with HPUX (two months or so)
HELP! :'(
Saulius
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-07-2002 10:21 PM
11-07-2002 10:21 PM
Re: URGENT: renaming volume group
If you going to create /dev/vg03 and copy the data, why do you need to need to rename it (vg02) at all.
Once you have migrated everything across to the new volumes and are satisfied with the new set up, all you have to do is a vgexport of /dev/vg02 to remove it and the disks from your system.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-07-2002 10:34 PM
11-07-2002 10:34 PM
Re: URGENT: renaming volume group
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-07-2002 10:35 PM
11-07-2002 10:35 PM
Re: URGENT: renaming volume group
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-07-2002 10:37 PM
11-07-2002 10:37 PM
Re: URGENT: renaming volume group
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-07-2002 11:17 PM
11-07-2002 11:17 PM
Re: URGENT: renaming volume group
So I plan to copy everything when informix is down, and to start informix "like nothing changed". What do you think ? Is it possible NOT to configure application (it's third party one, not ours), and to change those damn disks :(.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-07-2002 11:23 PM
11-07-2002 11:23 PM
Re: URGENT: renaming volume group
Do these commands affect any side user data ? Or it's only system tables under /etc/ dir change.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-07-2002 11:56 PM
11-07-2002 11:56 PM
Solutionyou should not worry...vgexport/vgimport will not impact your data in your vg...
But keep a backup of your system ;-)
- create a new mapfile
vgexport -p -m /tmp/vg.map /dev/vg02
- shutdown your database
- umount the filesystem
- deactivate the vg
vgchange -a n /dev/vg02
- then edit your mapfile (replace the vgname)
- create "new" /dev/vgnewname
- do mknod and so on
- now vgimport:
vgimport -m /tmp/vg.map /dev/vgnewname /dev/dsk/cxtyd0
- if you have many disks you can use an insertfile where you entry all your disks
vgimport -m /tmp/vg.map -f infile /dev/vgnewname
- then mount your filesystems
- start your database
Good luck!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-08-2002 12:04 AM
11-08-2002 12:04 AM
Re: URGENT: renaming volume group
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-11-2002 12:13 AM
11-11-2002 12:13 AM
Re: URGENT: renaming volume group
It is important to know how to copy the raw volume. You should check your informix manuals. You would propably use the dd command to do it. Just be sure to find that out.
Regards
Gerhard
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-18-2002 07:56 AM
11-18-2002 07:56 AM
Re: URGENT: renaming volume group
If you have MirrorDisk/UX you could have added the new disks into the existing volume group. Mirrored your logical volumes to the new disks. Decremented the mirrors and removed the old disks. This could all be done on-line.
If you do not have MirrorDisk, could Informix do the mirroring? I know you can with Oracle.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-18-2002 09:30 PM
11-18-2002 09:30 PM
Re: URGENT: renaming volume group
However I will keep in mind that MirrorDisk utility exists and might save my sleep ;).