- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Mirror that have a crash 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
02-15-2003 09:22 AM
02-15-2003 09:22 AM
I have done a reboot on the system, before the reboot all is ok, but al rebooting the system has not mounted one filesystem /bd in a vg /dev/vg01 displaying warning. It seems that one disk in a mirror is crash, i try to activate the vg and the system says no, i try to do lvreduce on vg for deactivate the mirror and the system says that the vg is not activate. Can anyone to say me how can id do that?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-15-2003 09:40 AM
02-15-2003 09:40 AM
Solution# vgchange -q n /dev/vg01
the activate it ..
# vgchange -a y /dev/vg01
Does this work ? If it does you can then identify which disk is dead and how your data is impacted by this.
Another way to tackle this is to replace the mirror disk that's faulty. Assuming cxtXdX is the new disk.
# vgcfgrestore -n /dev/vg01 /dev/rdsk/cXtXdX
# vgchange -a y /dev/vg01
Now restore the lost data from tape (if needed).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-15-2003 10:17 AM
02-15-2003 10:17 AM
Re: Mirror that have a crash disk
If it is only missing the mirror, you can activate the VG by
vgchange -a y -q n vg01
But with your description, I think that the disk that failed has the data. You will have to replace the disk, make sure it is claimed through (ioscan -fnC disk). Once it is done, then do
vgcfgrestore -n vg01 /dev/dsk/cxtydz.
vgchange -a y vg01
vgsync vg01
mount -a
If the disk has only mirror, then the above should recover it. If not, you will need to restore your /bd from backups.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-15-2003 11:48 AM
02-15-2003 11:48 AM
Re: Mirror that have a crash disk
Many thanks S.K.Chan and Sridar Bhaskarla.
Yours answers are the solution.
I have one lvol with 2 physical disks, one is wrong, the other seems ok.
I do:
vgchange -a y -q n /dev/vg01
and then the vg is activated.
then i do mount /bd
and all is ok.
Bets regards,
Javier P??rez
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-15-2003 12:14 PM
02-15-2003 12:14 PM
Re: Mirror that have a crash disk
It is only a temporary patch not a solution. You will need to do a permanent fix to your problem which is to replace your HD and then run vgcfgrestore followed by vgsync.
Under normal circumstance, you would not use -q -n option. If you can see the data now, I strongly suggest you to take a backup of your /bd filesystem and then replace the disk.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-15-2003 12:51 PM
02-15-2003 12:51 PM
Re: Mirror that have a crash disk
Many thanks again Sridar Bhaskarla
Yes, i will do that. But i don't have support on week-end. I will do a backup on tape now, and ... "in system we trust"
Thanks
Javier Perez
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-20-2006 08:26 AM
03-20-2006 08:26 AM
Re: Mirror that have a crash disk
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-13-2006 07:21 AM
06-13-2006 07:21 AM