Read more
-
-
Categories
- Topics
- Hybrid IT with Cloud
- Mobile & IoT
- IT for Data & Analytics
- Transformation
- Strategy and Technology
- Products
- Cloud
- Integrated Systems
- Networking
- Servers and Operating Systems
- Services
- Storage
- Company
- Events
- Partner Solutions and Certifications
- Welcome
- Welcome
- Announcements
- Tips and Tricks
- Feedback
-
Blogs
- Alliances
- Around the Storage Block
- Behind the scenes @ Labs
- Converged Data Center Infrastructure
- Digital Transformation
- Grounded in the Cloud
- HPE Careers
- HPE Storage Tech Insiders
- Infrastructure Insights
- Inspiring Progress
- Internet of Things (IoT)
- My Learning Certification
- Networking
- OEM Solutions
- Servers: The Right Compute
- Telecom IQ
- Transforming IT
-
Quick Links
- Community
- Getting Started
- FAQ
- Ranking Overview
- Rules of Participation
- Contact
- Email us
- Tell us what you think
- Information Libraries
- Integrated Systems
- Networking
- Servers
- Storage
- Other HPE Sites
- Support Center
- Enterprise.nxt
- Marketplace
- Aruba Airheads Community
-
Categories
-
Forums
-
Blogs
-
InformationEnglish
vgexport
SOLVED- 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
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
05-30-2009 05:11 AM
05-30-2009 05:11 AM
Before doing vgexport,is it required to unmount all LVs and deactive the VG using vgchange -a n VG
regards
himacs
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
05-30-2009 05:19 AM
05-30-2009 05:19 AM
Re: vgexport
Re: vgexport
Yes you need to umount your filesystems and deactivate your volume group before yuo can export it.
Regards,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
05-30-2009 05:55 AM
05-30-2009 05:55 AM
Re: vgexport
Re: vgexport
There is two situation where we use vgexport
A)exporting the VG from system (vg will not be available on that node until you import)##
1)You need to unmount all filesytem pertaining to that vg
#umount lvname
2) deactivate the VG
3)export vg using vgexport
B)You need the VG to be available on the node and need to import the vg in some other system by using the map file (eg:in cluster environment)
in this case You can export the VG in preview mode and you need not to unmount or deactivate the vg
vgexport -p -v -s -m
Rgds
Johnson
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
05-30-2009 06:08 AM
05-30-2009 06:08 AM
Re: vgexport
Re: vgexport
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
05-30-2009 08:48 AM
05-30-2009 08:48 AM
Re: vgexport
Re: vgexport
Are you doing a vgexport to create a map file, or are you doing a vgexport to blow away the VG?
If you need to create a map file only, then make sure you use the '-p' switch (vgexport -vpm mapfile.vg vgname).
If you are blowing away the VG, then you definitely need to unmount all filesystems and deactivate the VG before issuing the command.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
05-30-2009 09:39 AM
05-30-2009 09:39 AM
Re: vgexport
Re: vgexport
Dear Himacs
1.unmoun the file system
2. deactivate the volume group
vgchange -a n /dev/vgname
3. export the volume group by using vgexport
thanks and regards
Sajjad Sahir
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
05-30-2009 07:27 PM
05-30-2009 07:27 PM
SolutionYou are absolutly wright!
we are using vgexport in two case if I am not wrong.
1)when we have to remove our vg we use vgexport to have initial configuration to reimport vg later.
2)when we have to configure same vg with same configuration on another node.
in 1st case:- umount all the LV of this VG, then deactivate and export it:
# umount /dev/vg01/lvol1
# umount /dev/vg01/lvol2
...
# vgchange -a n vg01
# vgexport vg01
in 2nd case:- just create a map file and import it on another node:
from one node:-
# vgexport -p -s -m /tmp/vgXX.map vgXX
on second node:-
# mknod /dev/vgXX/group c 64 0xXX0000
# vgimport -s -m /tmp/vgXX.map vgXX
Plz correct me if I am wrong :)
Regards,
Rahul Rai.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
05-30-2009 08:41 PM
05-30-2009 08:41 PM
Re: vgexport
Re: vgexport
I have 11.23
you DONT have to umount or vgchange
just do
vgexport -v -p -s -m /tmp/vgname.map vgname
here p is non-destructive or preserve (that means no changes are done to the vg)
Hewlett Packard Enterprise International
- Communities
- HPE Blogs and Forum
© Copyright 2018 Hewlett Packard Enterprise Development LP