- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- deactivating a volume group
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
11-29-2001 08:00 AM
11-29-2001 08:00 AM
deactivating a volume group
I accidentally exported one of my volume groups on a test machine while it was still active. Now when I do a vgimport it fails because it says that the volume group is still active. When I try to deactivate the vg with vgchange -a n I get an error saying that the volume group doesn't exist in the lvmtab. How do I deactivate the volume group so I can import it. Thanks everyone.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-2001 08:02 AM
11-29-2001 08:02 AM
Re: deactivating a volume group
Run vgscan to recreat /etc/lvmtab and the vgchange to deactivate the volumegroup.
Before running vgscan keep a copy of /etc/lvmtab
Goodluck,
-USA..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-2001 08:42 AM
11-29-2001 08:42 AM
Re: deactivating a volume group
1. use the old config file to restore vg (/etc/lvmconf/vg_name.conf)
vgcfgrestore -f vg_conf_path /dev/rdsk/disk
if this does not work:
# cp /etc/lmtab /etc/lvmtab.prev
# vgscan -p ( preview) -a
# vgscan -a
recreates the lvmtab.
Gideon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-2001 09:00 AM
11-29-2001 09:00 AM
Re: deactivating a volume group
rename lvmtab to lvmtab.old
then type "vgscan" and let it go.
1 thing to remember, if you use pvlinks
vgscan doesn't always read them well so you
might have to recreate some, but not always
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-2001 10:20 AM
11-29-2001 10:20 AM