- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Vgimport and export in service gaurd?
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
12-15-2010 05:21 AM
12-15-2010 05:21 AM
Kindly explain Vgimport and export?How it's acting while excute time?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-15-2010 05:29 AM
12-15-2010 05:29 AM
Re: Vgimport and export in service gaurd?
vgexport is used to remove a volume group and the list of disk special files that are associated with the VG from /etc/lvmtab. This may be necessary if a VG is modified (ie, vgextend, vgreduce) on a different node in the cluster.
vgimport is used to load /etc/lvmtab with the complete list of device special files associated with a particular volume group (including alternate links/paths to the LUNs).
Further detail on how and when to use vgexport and vgimport can be found by searching past threads in this forum.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-15-2010 05:50 AM
12-15-2010 05:50 AM
Re: Vgimport and export in service gaurd?
server1:
# strings /etc/lvmtab
/dev/vglock
/dev/disk/disk12
# vgexport -v -p -s -m vglock.map /dev/vglock
# rcp vglock.map denver:/
server2:
# mkdir /dev/vglock
# mknod /dev/vglock/group c 64 0x010000
# vgimport -v -s -m vglock.map vglock
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-15-2010 06:12 AM
12-15-2010 06:12 AM
Solution> kindly explain about vgimport and vgexport?
Your *first* attempt to understand this should be to *read* the manpages:
http://h20000.www2.hp.com/bc/docs/support/SupportManual/c02273768/c02273768.pdf
http://h20000.www2.hp.com/bc/docs/support/SupportManual/c02273771/c02273771.pdf
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-15-2010 06:20 AM
12-15-2010 06:20 AM
Re: Vgimport and export in service gaurd?
vgimport imports or brings in a volume group setup to a system that has already been saved.
vgexport exports and clears a volume group configuration. It removes configuration of /dev/vg##
You will need to provide some more context as to your goals to get more specific information from me.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-16-2010 12:30 AM
12-16-2010 12:30 AM
Re: Vgimport and export in service gaurd?
# rcp vglock.map denver:/
This mean it will do a vgexport in preview mode and create the map file , but it wont actually export the vg. Copy the map file to other node and do a vgimport. This is what it is mentioned below.
server2:
# mkdir /dev/vglock
# mknod /dev/vglock/group c 64 0x010000
# vgimport -v -s -m vglock.map vglock
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-16-2010 01:59 AM
12-16-2010 01:59 AM
Re: Vgimport and export in service gaurd?
from the above concerns my understanding is while use vgexport command does not delete any vg.But that particular copy of vg information only stored on that particular file name.
In second node using vgimport command it's create the vg as well as lv also.it is correct? or wrong?
In that time we no need to create manual vg and lv using Vgcreate and lvcreate command.
after vgimport command we should activate the particular vg.
if it's wrong please let me konw.
Regards,
Seenivasan P
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-16-2010 02:04 AM
12-16-2010 02:04 AM
Re: Vgimport and export in service gaurd?
Simple vgexport command deletes VG. But with -p option, it preserve and export the structure.
>> after vgimport command we should activate the particular vg.
No. Because, it is your failover node. Activating VG on this node will be taken care by your package, when failover happens. You shouldn't do manually.
Shibin