- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Migrating a volume group to different controller
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
05-02-2003 05:15 AM
05-02-2003 05:15 AM
Migrating a volume group to different controller
We have a rp2470, with an Internal 4Si RAID controller and a DS2100 with 4 disks connected to channel 0 of the RAID controller.
All the four disks are configured as LUN0 and part of volume group vg02.
The channel 0 has gone bad and I need to migrate the vg02 to another channel. Can somebody give me a solution, preferably without taking backup and start from scratch?
Posted the same query in the forum "disk arrays" without any success.
Thanks for the help in advance
suri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2003 05:24 AM
05-02-2003 05:24 AM
Re: Migrating a volume group to different controller
vgchange -a n /dev/vg02
vgexport -s -m /tmp/vg02map /dev/vg02
switch channels
mkdir /dev/vg02
mknod /dev/vg02/group c64 0x020000
vgimport -s -m /tmp/vg02map /dev/vg02
vgchange -a y /dev/vg02
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2003 05:25 AM
05-02-2003 05:25 AM
Re: Migrating a volume group to different controller
With the mirroring as long as the luns are of same size, no problem. Then just vgextend and lvextend.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2003 05:30 AM
05-02-2003 05:30 AM
Re: Migrating a volume group to different controller
The problem is that since channel 0 has gone bad, none of the disks are accessible through that channel. irdiag shows the disks as FAILED. Hence the LUN is OFFLINE.
In that case can I vgexport?
Also using irm I can see that the LUN0 disks are all FAILED.
So don't I have to do some config on the RAID controller also?
Sorry if the Q's seem silly, but I haven't worked with RAID controllers before.
Micheal,
As I mentioned above, the disks are not accessible in the first place, so how do I mirror etc?
Thanks guys for ur replies.
Kindly help me out.
Suri.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2003 05:42 AM
05-02-2003 05:42 AM
Re: Migrating a volume group to different controller
Try a vgexport in preview mode first.
vgexport -p -s -m /tmp/vg02map /dev/vg02
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2003 05:48 AM
05-02-2003 05:48 AM
Re: Migrating a volume group to different controller
But at the very least you can just connect up the disk on the new fibre card (scsi card) and do a vgscan and vgimport. Go back to old ioscans/lvmtabs and write down the disks that were part of the VG before, so you know what you are looking for.
But here is the thing: If you went to the expense and trouble to buy highly available RAID disks, then you SHOULD HAVE CONFIGURED THEM ON TWO PATHS. Then you would still be in business today. You could run on one path, connect up the new 2nd path, add access to the new path, remove access from the down path, and never take an outage.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2003 05:51 AM
05-02-2003 05:51 AM
Re: Migrating a volume group to different controller
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-03-2003 12:48 AM
05-03-2003 12:48 AM
Re: Migrating a volume group to different controller
Thanks for your suggestions.
Actually I inherited the machine from another location and the moment I connected everything & booted the machine I encountered this problem.
I called up HP support and he applied patch PHSS_27098 and then using irm forced the disks to ONLINE and rebooted when connected to channel 0 which I presumed was bad.
So now the array is accessible. Now I failed to understand why this has gone to FAILED mode and why this solution works.
Anyway I presume your solution also works. Unfortunately I cannot test your solutions since this machine is a production machine.
But thanks a lot for giving me options just in case I had to do it.
sincerely
suri.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-04-2003 07:56 PM
05-04-2003 07:56 PM
Re: Migrating a volume group to different controller
Sometime because of unproper shutdown of disk Array like before shutting down the server if you swith of the disk array, system will take it as a disk fail and when you restart array it mark disks as offline/failed. You have to use forced option and make it online.
I think this is a known problem for HP storage I faced similar kind of problem with FC-60 and SC-10 storage previously.
Sunil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-04-2003 09:06 PM
05-04-2003 09:06 PM
Re: Migrating a volume group to different controller
1> You should be able to do a vgexport, without the map file (-m) option. This will remove the VG info from /etc/lvmtab, and will remove the /dev/vg02 directory and special files. As someone pointed out, you can't use the -m map file option, if you can't access the VGRAs on the PVs in the VG.
2> Once you move the drives to a different channel, you would use the 'vgscan' command to cause LVM to find any unknown VGs, and add them to /etc/lvmtab. Then manually create the /dev/vg02 dir, and use 'mknod' to create the group file. Now 'vgimport' will work as noted above to assign the PVs in the VG to their new channel, one that the system can use.
3> If you aren't familiar with these commands, be sure and read the man page for each, there are some things to be aware of when you use them. The HP support desk would also be helpful, if you needed them, since this process and all these commands are fully supported for stuff like this.
4> Your issue is the reason I tend to avoid the 4Si raid cards... you only get data protection, not channel duplication or access protection. There are several single points of failure, which I find unacceptable for my HA RAID storage. I prefer, and recommend, a full-boat, real raid enclosure, with dual controllers, channels, etc. I realize that you were 'blessed' with this little beauty, I only mention this for any future storage purchases over which you may have control or input.
'Nuf said. Best Regards, --bmr