- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: MirrorDisk/UX: lvreduce hangs while attempting...
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
Discussions
Discussions
Forums
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
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-02-2008 04:30 PM
тАО02-02-2008 04:30 PM
Re: MirrorDisk/UX: lvreduce hangs while attempting to remove failed disk.
~cheers
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-13-2008 03:30 AM
тАО02-13-2008 03:30 AM
Re: MirrorDisk/UX: lvreduce hangs while attempting to remove failed disk.
I still have a problem though. The lvols pertaining to / and /var do not sync one PE each one. It complains of I/O error, which I suspect is rather a data corruption problem than a physical compromise of the first HDD.
How can I solve that problem considering it├В┬┤s the root filesystem that does not resync? I though of:
- booting in single user,
- creating a new lvol, copying / with tar
- exclude, piping to a tar extracting to a the new /,
- updating fstab on both lvols
- running lvlnboot updating the root lvol and then rebooting to multiuser again.
the same to the /var lvol.
Any other suggestions? Should this work?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-14-2008 05:44 PM
тАО02-14-2008 05:44 PM
Re: MirrorDisk/UX: lvreduce hangs while attempting to remove failed disk.
You have to take backup using ignite ie make_tape_recovery if you have tape drive connected to the system. Then restore it. But do you really think if there is data corruption this will sove the issue ?? Since you will be restoring the same data back to the system ??
Rather I would suggest to restore the old backup if you have any?
One way to confirm the bad block would be to run read test using dd command. or you could check the same in cstm.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-19-2008 09:51 AM
тАО02-19-2008 09:51 AM
Re: MirrorDisk/UX: lvreduce hangs while attempting to remove failed disk.
Doing a make_net|tape_recovery would confirm if there├В┬┤s any data loss, in the case there├В┬┤s data on the stale PEs.
Our recovery tapes are rather outdated (~ 8 months) so I will probably try to restore a new recovery image. If it doesn├В┬┤t work, then I├В┬┤ll try the old ones.
Thank you again. If anyone has any other comments, I would like them to hear from you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-22-2011 07:29 AM
тАО12-22-2011 07:29 AM
Re: MirrorDisk/UX: lvreduce hangs while attempting to remove failed disk.
This is an old thread, but I had the same problem. A failed disk in my mirrored root volume group. 'lvreduce' would hang, 'vgreduce', depending on the option, either did nothing or errored out with 'extents in use', and 'pvchange -a n' also did nothing useful.
Finally, I found the following approached worked:
important step: first pull the bad disk and replace it with a working disk
now remove mirrors off of the bad path -- it will complain about 'invalid physical volume', but it won't hang on SCSI errors from the failed device.
lvreduce -m 0 <DISK_PATH>
pull the disk from the volume group
vgreduce vg00 <DISK_PATH>
create a physical volume on the replaced disk. ( -B since this is a boot disk).
pvcreate -B <RDISK_PATH>
make the disk bootable
mkboot <RDISK_PATH>
mkboot -a "hpux" <RDISK_PATH>
add the disk back to our volume group
vgextend vg00 <DISK_PATH>
re-establish mirroring for all LV's in the volume group
lvextend -m 1 /dev/vg00/lvolNN <DISK_PATH>
vgcfgrestore may perform many of the same steps. I am not an LVM expert, but my primary concerns were that, since this disk is part of my root volume group, i) the disk had to be bootable with the LIF partition, and ii) as part of the root volume, the logical volumes had to exist *in the proper order* on the replaced disk if the system used this as the boot device. Given my unfamliarity with LVM, I performed the manual steps that I knew would do what I needed.
- « Previous
-
- 1
- 2
- Next »