- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: How to unexport 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
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
тАО05-16-2009 02:20 AM
тАО05-16-2009 02:20 AM
I am trying to build a cluster and
I am exporting one volume group frome node 1 to node 2 and all steps has been successfully
And when execute the bdf command in first node I will see
/dev/vg01 /mcsg without lvol1 but in node 2 will see
/dev/vg01/lvol1 /mcsg
But I want now to unexport this volume group, donтАЩt need to export this VG
How I can do it that
Thanks & kind Regards
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-16-2009 02:34 AM
тАО05-16-2009 02:34 AM
Re: How to unexport VG?
In HP there is nothing called "unexport" there is two things export and import thats all
Suraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-16-2009 04:31 AM
тАО05-16-2009 04:31 AM
Re: How to unexport VG?
you are not understand my questions, i mean how i can to cancel the export process in a second node, i don't need to export this VG (vg01) to second node.
Thanks & kind Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-16-2009 04:42 AM
тАО05-16-2009 04:42 AM
Solutionvgchange -a n vg01
vgexport vg01
this deletes vg01 from ur system as if it was never there...
next time do a
vgexport -v -m /tmp/vg01.map -f /tmp/vg01.out -p -s vg01
from the first system move the .map and the .out file to the second
create the vg
vgimport -v -s -m /tmp/vg01.map -f /tmp/vg01.out vg01
hope this solves it
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-16-2009 05:15 AM
тАО05-16-2009 05:15 AM
Re: How to unexport VG?
deactivate the volume group from second node
vgchange - a n /dev/vgname
vgexport /dev/vgname in second node
it will remove the volume group in second node
thanks and regards
Sajjad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-16-2009 05:23 AM
тАО05-16-2009 05:23 AM
Re: How to unexport VG?
Dear Nejad
what u have done in node1 volume group, u created new logical volume? please clearly mention?
then only we can send the complete procedure for it, tell the volume grup is in shared mode.
thanks and regards
Sajjad Sahir
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-16-2009 09:10 PM
тАО05-16-2009 09:10 PM
Re: How to unexport VG?
Read the below doc.
Exporting a Volume Group
importing a Volume Group
http://docs.hp.com/en/5992-4589/ch03s03.html#bajbfead
Regards,
Asif Sharif
Asif Sharif
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-16-2009 09:32 PM
тАО05-16-2009 09:32 PM
Re: How to unexport VG?
Perform the following steps to vgexport & vgimport before building the cluster.
on node2 you need to run this command.
umount /mcsg
vgchange -a n vg01
vgexport -p -v -s -m /tmp/vg01.map vg01
rcp /tmp/vg01.map node2:/tmp/
On Node 1
mkdir /dev/vg01
mknod /dev/vg01/group c 64 0x0X0000(Give the same number as on node2 --check with command #ll /dev/*/group)
vgimport -v -s -m /tmp/vg01.map vg01
vgchange -a y vg01
mkdir -p /mcsg
mount /dev/vg01/lvol1 /mcsg
Regards,
Asif Sharif
Asif Sharif
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-16-2009 09:38 PM
тАО05-16-2009 09:38 PM
Re: How to unexport VG?
Yes Mr. Sajjad I have in node 1 one volume group and one logical volume
/dev/vg01/lvol1
And I know all steps to export and import VG from node 1 to node 2
But I want to cancel this exporting and back again without export vg01
On node 2
Thanks & kind Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-16-2009 09:50 PM
тАО05-16-2009 09:50 PM
Re: How to unexport VG?
hi dear Nejad
my guess was correct u know the all steps
u want to remove the volume group from node2
u have to deactivate the volume group from node2 first then export the volume group
it will remove the volume group from u node2.
thanks and regards
Sajjad Sahir
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-16-2009 10:08 PM
тАО05-16-2009 10:08 PM
Re: How to unexport VG?
"it will remove the volume group from u node2"
how i can do it? by vgremove command.
thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-16-2009 10:18 PM
тАО05-16-2009 10:18 PM
Re: How to unexport VG?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-16-2009 10:49 PM
тАО05-16-2009 10:49 PM
Re: How to unexport VG?
deactivate the volume group first before exporting the volume by using
vgchange -a n /dev/vgname
after that export the volume group
vgexport /dev/vgname(it will remove the volume group from u system)
>>it is already mentioned in our previous thread.
thanks and regards
sajjad Sahir