- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- error when removing mirror on a root lv
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
09-15-2008 07:41 AM
09-15-2008 07:41 AM
error when removing mirror on a root lv
When I get to the lv with the actual stale extends I get the following error message.
lvreduce: Couldn't reduce the logical volume:
Device busy
lvreduce: The LVM device driver failed to reduce mirrors on
the logical volume "/dev/vg00/lvol8".
I tried using the PVKey with the following syntax
lvreduce -m 0 -k /dev/vg00/lvol8 0
And I get the same errors.
Any way I can reduce the mirror with the stale extents?
If I place in a third disk, can I mirror to this disk? And if so, will my lvol with the stale extents cause any issues since I can not remove it first?
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-15-2008 08:11 AM
09-15-2008 08:11 AM
Re: error when removing mirror on a root lv
One possiblity is that both the primary and mirror copies has stale extends though lvdisplay won't display the actual status.
Try to read the entire logical volume or take a tar image of that lvol and make sure there is no i/o errors on it.
Thanks
Ganesh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-15-2008 09:06 AM
09-15-2008 09:06 AM
Re: error when removing mirror on a root lv
Always confirm device failure with
dd if=/dev/dsk/cxtxdx of=/dev/null
If the device you think does not fail the full read then it is the other one that is at fault.
Make an ignite image if you can before you proceed any further.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-15-2008 09:33 PM
09-15-2008 09:33 PM
Re: error when removing mirror on a root lv
The following shows successful read of disk.
# dd if=/dev/rdsk/c0t5d0 of=/dev/null bs=1024k count=64
64+0 records in
64+0 records out
The following shows an unsuccessful read of the whole disk:
# dd if=/dev/rdsk/c1t3d0 of=/dev/null bs=1024k
dd read error: I/O error
0+0 records in 0+0 records out
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-15-2008 11:07 PM
09-15-2008 11:07 PM
Re: error when removing mirror on a root lv
First Need to Check the disk is faulty or not.
Do the four steps for that
1. vgdisplay -v vg00 //should show disk unavailable.
2. lvdisplay -v lvol_name // should show staled Pes
3. pvdisplay -v disk_path // should give error
4. ioscan -fc disk // should show disk unclaimed or no disk
5. diskinfo -v /dev/rdsk/diskpath // should show size=0 for faulty
6. dd if=/dev/rdsk/diskpath of=/dev/null bs=1024k count=64 // should return error for read
Run the following commands and check the status of the disk first
which version of Operating system is this?
Sachin Rajput
================
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-16-2008 12:25 AM
09-16-2008 12:25 AM
Re: error when removing mirror on a root lv
Is seems device /dev/vg00/lvol8 is using by some other users first try to find out who is using this device other then root.
fuser -cu /var
then kill the user
fuser -ku /var
then try it with lvreduce
Suraj