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-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
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-30-2009 05:19 AM
тАО05-30-2009 05:19 AM
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
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-30-2009 05:55 AM
тАО05-30-2009 05:55 AM
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
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-30-2009 06:08 AM
тАО05-30-2009 06:08 AM
Re: vgexport
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-30-2009 08:48 AM
тАО05-30-2009 08:48 AM
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
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-30-2009 09:39 AM
тАО05-30-2009 09:39 AM
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
- Mute
- Subscribe to RSS Feed
- Permalink
- 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
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-30-2009 08:41 PM
тАО05-30-2009 08:41 PM
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)