- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: vgchange couldn't re-synchronize stale partiti...
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
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
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
10-05-2009 07:39 AM
10-05-2009 07:39 AM
vgchange couldn't re-synchronize stale partitions of the logical volume i/o error
Got a pesky partition that is refusing to play ball. Following a disk replacement (c6t11d0), one particular partition (in this case /data) is refusing to sync:
# vgsync /dev/vg01
Resynchronized logical volume "/dev/vg01/tools".
Resynchronized logical volume "/dev/vg01/reports".
vgsync: Couldn't re-synchronize stale partitions of the logical volume:
I/O error
vgsync: Couldn't resynchronize logical volume "/dev/vg01/data".
vgsync: Couldn't resynchronize volume group "/dev/vg01".
# lvdisplay -v /dev/vg01/data shows that the whole of /dev/vg01/data is stale on c6t11d0 (current on the other disk).
c6t11d0 as a disk is fine as far as I am able to tell (i.e. ioscan, diskinfo, dd, no SCSI errors in syslog etc), it just seems to be this one partition that is having problems. Any suggestions are welcomed...I am faced with a 100 mile trip to reinstall the system otherwise! :(
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-05-2009 07:42 AM
10-05-2009 07:42 AM
Re: vgchange couldn't re-synchronize stale partitions of the logical volume i/o error
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-05-2009 07:48 AM
10-05-2009 07:48 AM
Re: vgchange couldn't re-synchronize stale partitions of the logical volume i/o error
Before replacing a mirrored disk always do as Torsten mentioned. read both disks with dd to determine which disk is bad. dd if=/dev/dsk/cxtxdx of=/dev/null
LVM may indicate one as stale because it cold not sync with the other.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-05-2009 07:50 AM
10-05-2009 07:50 AM
Re: vgchange couldn't re-synchronize stale partitions of the logical volume i/o error
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-05-2009 08:20 AM
10-05-2009 08:20 AM
Re: vgchange couldn't re-synchronize stale partitions of the logical volume i/o error
I would then assume then that the extent labeled as stale is stale because it could not read from the bad disk.
Obviously now that the bad disk has been replaced you have a hole. Not much you can do other than restore from your latest backup.
where we sure that the bad disk was really bad ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-05-2009 09:26 AM
10-05-2009 09:26 AM
Re: vgchange couldn't re-synchronize stale partitions of the logical volume i/o error
Example: If you are certain you created a single mirror copy but the number of mirrors copies is 2, the LVM metadata is incorrect.
Consult the HP Support Center for steps to resolve this.
If a defective LVM disk was replaced but the LVM metadata was not restored to the disk, use vgcfgrestore to reload it, then activate the VG again and see if the resync automatically starts.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-06-2009 01:14 AM
10-06-2009 01:14 AM
Re: vgchange couldn't re-synchronize stale partitions of the logical volume i/o error
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-06-2009 01:49 AM
10-06-2009 01:49 AM
Re: vgchange couldn't re-synchronize stale partitions of the logical volume i/o error
I recommend to use vgchange as Stephen suggested:
vgchange -y a /dev/vg01
if does not work try disable/enable :
vgchange -y n /dev/vg01
vgchange -y a /dev/vg01
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-06-2009 01:53 AM
10-06-2009 01:53 AM
Re: vgchange couldn't re-synchronize stale partitions of the logical volume i/o error
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-06-2009 02:47 AM
10-06-2009 02:47 AM
Re: vgchange couldn't re-synchronize stale partitions of the logical volume i/o error
# lvreduce –m 0 /dev/vg01/data
# lvremove –f /dev/vg01/data
# lvcreate –l 1 /dev/vg01/data –m 1 –n data /dev/vg01
# lvextend -L 4000 /dev/vg01/data
# newfs –F vxfs /dev/vg01/rdata
From there we were able to mount /data OK and copy the data over from another system.