- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- vgimport vg02 after replacing the HUB
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
02-08-2006 04:57 PM
02-08-2006 04:57 PM
I need to replace the old FC HUB with a new FC switch .
There is a vg02 in va71xx now ,I want to know whether I can use vgexport and vgimport to restore the vg02 after replacing the HUB?
thanks for your help
Rambo
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-08-2006 05:07 PM
02-08-2006 05:07 PM
Re: vgimport vg02 after replacing the HUB
There should not be any issue to do a vgimport.
Just make sure the disks are sensed in the server using
#ioscan -fnCdisk
after replacing the HUB.
With Regards,
Siva.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-08-2006 06:57 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-08-2006 07:19 PM
02-08-2006 07:19 PM
Re: vgimport vg02 after replacing the HUB
# vgexport -s -m map.file /dev/vg02
so mapfile will have VGID info so u just import it later using this map file, it will automatically update the new device file names also.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-08-2006 09:50 PM
02-08-2006 09:50 PM
Re: vgimport vg02 after replacing the HUB
1. vgexport -p -s -v -m vg02.map -f vg02.txt
2. Unmount the LVs,
3. VGchange -a n
4. once the change is complete
5. iscan -fCdisk
6. insf -e
7. to ensure that disks are correct use diskinfo /dev/rdsk/cxtydz
note the map file will have 1st file with some info. leave it.
note the txt file may require modification if new devs are cdreted by insf -e
8. vgimport -m vg02.map -f vg02.txt /dev/vg02
where the vg02.txt may require changes or use
vgimport -m vg02.map /dev/dsk/cxtydz /dev/vg02
Chan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-09-2006 04:17 PM
02-09-2006 04:17 PM
Re: vgimport vg02 after replacing the HUB
There is no Need to do vgexport , unless the device files are changing (However it is advisable to keep a map file in case of any issues).
Here is the procedure for doing vgexport/vgimport
1. umount /dev/vg_name/lv_name
2. vgchange -a n /dev/vg_name
3. vgexport -p -v -m map_name /dev/vg_name
4. mkdir /dev/vg_name
5. mknod /dev/vg_name/group c 64 0xNN0000
Where NN is for the vg number for example: /dev/vg01 the
minor number will be 0x010000.
6. vgimport -p -v -m map_name /dev/vg_name /dev/dsk/new_name
7. vgchange -a y /dev/vg_name
8. mount /dev/vg_name/lv_name /mount_pt
9. mv /etc/lvmtab /etc/lvmtab.old
10. vgscan -v
11. strings /etc/lvmtab ---->>look for new physical volume name(s)
12. vgdisplay -v /dev/vg_name -->>look for new pv_name(s)
13. pvdisplay -v /dev/dsk/new_name --->look for new pv_name(s)
If all looks good then:
14. vgcfgbackup /dev/vg_name
Hope this helps.
Amit