GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- vgcfgrestore
Operating System - HP-UX
1855842
Members
2226
Online
104107
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
- Integrity Servers
- Server Clustering
- HPE NonStop Compute
- HPE Apollo Systems
- High Performance Computing
Knowledge Base
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Knowledge Base
Forums
Discussions
- Cloud Mentoring and Education
- Software - General
- HPE OneView
- HPE Ezmeral Software platform
- HPE OpsRamp Software
Knowledge Base
Discussions
Forums
Discussions
back
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
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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
11-15-2004 06:52 PM
11-15-2004 06:52 PM
Hi,
I would like to know if its the same do
#vgcfgrestore -n /dev/vgxx /dev/rdsk/c1t1d0
that
#vgcfgrestore
-f /etc/lvmconf/vgxx.conf /dev/rdsk/c1t1d0
where vgxx.conf its the default .conf
Thanks!
Carmen.
I would like to know if its the same do
#vgcfgrestore -n /dev/vgxx /dev/rdsk/c1t1d0
that
#vgcfgrestore
-f /etc/lvmconf/vgxx.conf /dev/rdsk/c1t1d0
where vgxx.conf its the default .conf
Thanks!
Carmen.
Users are not too bad ;-)
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2004 08:01 PM
11-15-2004 08:01 PM
Solution
Hello Carmen, quite similar but not the same, in the first command the names of the lvol's are assigned sequentially (lvol1, lvo2, ...) and all the vg is created with default options.
In the second command, if you have assigned names to your lvols (lvoldata, lvolarch,..)they are recreated with the respectives names.
For more information about the information in your .conf file see the man page of vgcfgbackup.
Saludos.
In the second command, if you have assigned names to your lvols (lvoldata, lvolarch,..)they are recreated with the respectives names.
For more information about the information in your .conf file see the man page of vgcfgbackup.
Saludos.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2004 08:03 PM
11-15-2004 08:03 PM
Re: vgcfgrestore
To restore the LVM structures for the physical volume /dev/rdsk/c1t1d0 that was saved in the default file /etc/lvmconf/vgxx.conf:
# vgcfgrestore -n /dev/vgxx /dev/rdsk/c1t1d0
To restore the LVM structures on the LUNs:
# vgcfgrestore -f /etc/lvmconf/vgXX.conf /dev/rdsk/c1t1d0
done
# man vgcfgrestore
for more information.
# vgcfgrestore -n /dev/vgxx /dev/rdsk/c1t1d0
To restore the LVM structures on the LUNs:
# vgcfgrestore -f /etc/lvmconf/vgXX.conf /dev/rdsk/c1t1d0
done
# man vgcfgrestore
for more information.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2004 08:37 PM
11-15-2004 08:37 PM
Re: vgcfgrestore
Hi,
both do the same job,
when you use vgcfgbackup by default it stores the vg info in /etc/lvmconf directory.
To force the vg info to store in another file instead of /etc/lvmconf we use -f option
(eg vgcfgbackup -f /tmp/vgbak /dev/vg00, vg00 config backup will be stored in /tmp/vgbak) to restore the config which is in /tmp/vgbak we have to use vgcfgrestore -f /tmp/vgbak. If you don't specify the -f option vgcfgrestore look into default file i.e /etc/lvmconf/vg00.conf
never give up
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2026 Hewlett Packard Enterprise Development LP