- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Replacing disk on a live Oracle db.
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-06-2000 05:03 AM
12-06-2000 05:03 AM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-06-2000 05:25 AM
12-06-2000 05:25 AM
SolutionIf the disk is indeed mirrored and hot swappable then exchanging it for a new one should not be a problem at all. Your Oracle db will not even notice its replacement. Weve done it lots of times before and no problems. Just follow the normal procedure for replacing it, removal, new disk, vgcfgrestore, vgsync etc.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-06-2000 05:07 PM
12-06-2000 05:07 PM
Re: Replacing disk on a live Oracle db.
Why would you do a vgcfgrestore and sync?
All ya need to do is just remove the mirror, reduce the vg of the bad disk, swap it, vgextend to the new disk, then mirror 1 to the new disk.
Good luck Elaine
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-07-2000 07:33 AM
12-07-2000 07:33 AM
Re: Replacing disk on a live Oracle db.
1. Pull the bad drive.
2. Insert the new drive.
3. vgcfgrestore -n /dev/vg01 /dev/rdsk/c3t13d0
4. vgchange -a y /dev/vg01.
5. vgsync /dev/vg01.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-07-2000 08:05 AM
12-07-2000 08:05 AM
Re: Replacing disk on a live Oracle db.
Elaine, you didnt specify if the faulty disk was a primary disk or a mirror copy ?
If it was a mirror disk then to be safe you could have reduced the mirror (lvreduce -m 0), replaced the disk, then simply re-extended the mirror using lvextend -m 1.
If however, it was a primary disk then the procedure straight from the Administration tasks manual is;
1. vgcfgbackup
2. replace the drive
3. vgcfgrestore
4. vgchange -a y
5. vgsync
Thats all. Apart from not using these commands in sequence the only other way I can think of a corruption ocurring is if your db is using raw logical volumes ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-07-2000 08:57 AM
12-07-2000 08:57 AM
Re: Replacing disk on a live Oracle db.
The disk that we replaced was the mirror. I did not run the lvreduce command. How can I find out if our Oracle db is using raw logical volumes, and if it is what are the ramifications? Thanks for your help!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-07-2000 09:12 AM
12-07-2000 09:12 AM