- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Failed mirrored disk?
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
06-25-2002 04:32 AM
06-25-2002 04:32 AM
We had 1 disk of a mirrored set fail. This disk contained a mirror of lvol7 (/usr) and lvol8 (/var). I removed the disk and replaced it with a new one, but I can't seem to get rid of the "ghost" disk from lvmtab. The system will not allow me to add the new disk without first removing the dead one.
I probably screwed up in my replacement proceedure, but is there a painless way to get rid of this disk.
Thanks in advance,
Henry
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-25-2002 04:38 AM
06-25-2002 04:38 AM
Solutionhttp://forums.itrc.hp.com/cm/components/FileAttachment/0,,0x18d0e7726eccd5118ff10090279cd0f9,00.htm
Also check this link for some good points from the seniors.
http://forums.itrc.hp.com/cm/QuestionAnswer/0,,0xd5cfe7726eccd5118ff10090279cd0f9,00.html
Thanks
G Manikandan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-25-2002 04:39 AM
06-25-2002 04:39 AM
Re: Failed mirrored disk?
You must do a vgcfgrestore and that disk, you dont need to do a vgreduce.
See http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x976b50011d20d6118ff40090279cd0f9,00.html.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-25-2002 05:27 AM
06-25-2002 05:27 AM
Re: Failed mirrored disk?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-25-2002 07:29 AM
06-25-2002 07:29 AM
Re: Failed mirrored disk?
try this
#vgcfgrestore -n vg_name /dev/rdsk/c?t?d?
#vgsync
this should do the fixing
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-25-2002 07:37 AM
06-25-2002 07:37 AM
Re: Failed mirrored disk?
Instead of adding the new disk as an additional disk you should have just restored the VG info to that disk,
vgcfgrestore -n vg00 /dev/rdsk/cxtydz
And then done a vgsync.
vgsync /dev/vg00
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-25-2002 08:09 AM
06-25-2002 08:09 AM
Re: Failed mirrored disk?
Is there a way to get the kernel to throw out the "dead disk"?
Thanks,
Henry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-25-2002 01:07 PM
06-25-2002 01:07 PM
Re: Failed mirrored disk?
you can try updating the lvmtab by using vgscan.. this should refresh the kernel about the dead disk
regards
george
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-25-2002 01:12 PM
06-25-2002 01:12 PM
Re: Failed mirrored disk?
Try,
#mv /etc/lvmtab /etc/lvmtab.OLD
#vgscan -av
Thanks.
Prashant.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-25-2002 01:20 PM
06-25-2002 01:20 PM
Re: Failed mirrored disk?
The KEY is to rename or mv the lvmtab file *before* you vgscan. Else vgscan uses the exixting info in lvmtab to *rebuild* the new lvmtab. If you don't mv it it will remain in the lvmtab file.
Rgds,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-25-2002 02:56 PM
06-25-2002 02:56 PM
Re: Failed mirrored disk?
Two ways of approching the problem.
You can try moving lvmtab, an use vgscan to re-create lvmtab.
Or.. the REALLY ugly way..
Remove the "missing" disk by key.
I'm using vg00 and c1t0d0 as an example.
lvdisplay -v /dev/vg00/lvol1 | more
Note the column position for the disk with '???'.
lvdisplay -v -k /dev/vg00/lvol1 | more
Note the key value of the same disk this time.
(in this example I'll use '1').
then:
lvreduce -m 0 -k /dev/vg00/lvol8 1
lvreduce -m 0 -k /dev/vg00/lvol7 1
lvreduce -m 0 -k /dev/vg00/lvol6 1
lvreduce -m 0 -k /dev/vg00/lvol5 1
lvreduce -m 0 -k /dev/vg00/lvol4 1
lvreduce -m 0 -k /dev/vg00/lvol3 1
lvreduce -m 0 -k /dev/vg00/lvol2 1
lvreduce -m 0 -k /dev/vg00/lvol1 1
then:
vgreduce -f /dev/vg00
Follow the instructions given after the command completes (move lvmtab, vgscan, vgcfgbackup).
Phantom disk should now be gone.
Jon