- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: This one is a beauty-vgcfgrestore the header
Operating System - HP-UX
1756719
Members
2342
Online
108852
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
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
тАО05-05-2010 08:41 AM
тАО05-05-2010 08:41 AM
This one is a beauty-vgcfgrestore the header
A certain individual and I promise you it's not me has overwritten one of our primary disks in a volume group. Basically they made it a BCV for another system on our XP array....not the best plan I'm sure you'll agree.
So it no longer has header info and is complaining its unavailable and more critically the oracle database sitting on part of it is in a rather bad position. The database is still running but we are getting the odd message in /var/adm/syslog and I have suggested it should be shutdown. The business has not agreed.
Anyway my course of action is to vgcfgrestore the header (I pray that works) newfs the 3 filesystems that were on that disk and restore. Does anyone have any better way of dealing with this issue. Also what damage is leaving the database running doing????
Thanks
So it no longer has header info and is complaining its unavailable and more critically the oracle database sitting on part of it is in a rather bad position. The database is still running but we are getting the odd message in /var/adm/syslog and I have suggested it should be shutdown. The business has not agreed.
Anyway my course of action is to vgcfgrestore the header (I pray that works) newfs the 3 filesystems that were on that disk and restore. Does anyone have any better way of dealing with this issue. Also what damage is leaving the database running doing????
Thanks
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-05-2010 10:20 AM
тАО05-05-2010 10:20 AM
Re: This one is a beauty-vgcfgrestore the header
Shalom,
In a disk overwritten situation, you can't trust any other method other than full data restore.
You can try vgchgid on the disk's prior to vgimport, but I do not think that will work. Good news is you have a backup.
SEP
In a disk overwritten situation, you can't trust any other method other than full data restore.
You can try vgchgid on the disk's prior to vgimport, but I do not think that will work. Good news is you have a backup.
SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
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
тАО05-05-2010 11:24 AM
тАО05-05-2010 11:24 AM
Re: This one is a beauty-vgcfgrestore the header
No guarantees, but...
I'd recommend a stop of work or schedule a time to do this to avoid potential data loss.
I'd stick my database in hotbackup mode and get myself a solid, current backup to avoid data loss and mgmt issues.
Then, I'm guessing you are 'taking' back your disk. I would take that disk and run vgcfgrestore on it. Try and see if you can run it on the disk with the volume group active. I did it once on an old T500 & it worked.
vgcfgrestore -n /dev/vgxx /dev/rdsk/c-t-d-
If it won't let you, then since you have a solid backup...umount f/s and take down what you have to and vgchange -a n /dev/vg and now run the restore command.
Now run your lvdisplays to see if you have any stale extents. If you need to resync things up. Then when all is good see if things will come back up.
If it does......great
If it doesn't....get the backup tape and start restoring data.
When you're back up, I'd then be checking out the procedures of who takes what disk and getting that FIXED.
Just thinking..
Rita
I'd recommend a stop of work or schedule a time to do this to avoid potential data loss.
I'd stick my database in hotbackup mode and get myself a solid, current backup to avoid data loss and mgmt issues.
Then, I'm guessing you are 'taking' back your disk. I would take that disk and run vgcfgrestore on it. Try and see if you can run it on the disk with the volume group active. I did it once on an old T500 & it worked.
vgcfgrestore -n /dev/vgxx /dev/rdsk/c-t-d-
If it won't let you, then since you have a solid backup...umount f/s and take down what you have to and vgchange -a n /dev/vg and now run the restore command.
Now run your lvdisplays to see if you have any stale extents. If you need to resync things up. Then when all is good see if things will come back up.
If it does......great
If it doesn't....get the backup tape and start restoring data.
When you're back up, I'd then be checking out the procedures of who takes what disk and getting that FIXED.
Just thinking..
Rita
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.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP