- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Resync after failure problem
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
12-15-2002 03:31 AM
12-15-2002 03:31 AM
# vgsync /dev/vg00
vgsync: Couldn't re-synchronize stale partitions of the logical volume:
I/O error
vgsync: Couldn't resynchronize logical volume "/dev/vg00/lvol1".
vgsync: Couldn't resynchronize volume group "/dev/vg00".
But if I than reboot server, this pv goes online and resync procedure is completed as needed.
My question: how I can force to resync mirrored vg after returning broken disk to working state without rebooting?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-15-2002 03:37 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-15-2002 03:51 AM
12-15-2002 03:51 AM
Re: Resync after failure problem
Here is copy of doc KBAN00000347 covers all possibilities, mirrored boot disk, non-mirrored boot disk, mirrored data disk, non-mirrored data disk, etc.
http://forums.itrc.hp.com/cm/components/FileAttachment/0,,0x677db47b9a27d6118ff40090279cd0f9,00.txt
Robert-Jan.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-15-2002 04:50 AM
12-15-2002 04:50 AM
Re: Resync after failure problem
# vgchange -a y /dev/vg00
vgchange: Warning: Couldn't attach to the volume group physical volume "/dev/dsk/c2t6d0":
Unknown error
Volume group "/dev/vg00" has been successfully changed.
#
2. KBAN00000347 is very usefull document but it didn't help me much: it stated that "reboot may not be necessary in case of hot-swap disk" (it's my case). And for resync I should run
# vgcfgrestore -n /dev/vg00 /dev/rdsk/cNdNtN
# vgchange -a y /dev/vg00
but it doesn't work:
# ioscan -fnC disk
Class I H/W Path Driver S/W State H/W Type Description
===========================================================================
disk 0 0/0/0/2/0.6.0 sdisk CLAIMED DEVICE HP 36.4GST336752LC
/dev/dsk/c0t6d0 /dev/rdsk/c0t6d0
disk 2 0/0/0/3/0.6.0 sdisk CLAIMED DEVICE HP 36.4GST336752LC
/dev/dsk/c2t6d0 /dev/rdsk/c2t6d0
................
# vgcfgrestore -n /dev/vg00 /dev/rdsk/c2t6d0
vgcfgrestore: IO error on Physical Volume device /dev/rdsk/c2t6d0: #
# vgchange -a y /dev/vg00
vgchange: Warning: Couldn't attach to the volume group physical volume "/dev/dsk/c2t6d0":
Unknown error
Volume group "/dev/vg00" has been successfully changed.
#
But if I reboot server this disk is attached to VG00 and synced properly :-(
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-15-2002 08:11 AM
12-15-2002 08:11 AM
Re: Resync after failure problem
http://www4.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000063238152
Robert-Jan.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-15-2002 09:30 PM
12-15-2002 09:30 PM
Re: Resync after failure problem
Can you try to sync other logical volumes using "lvsync" command. If other logical volumes get synced and only /dev/vg00/lvol1 has problem, i sucpect the Disk. That PE might be bad and gets stale. Try this with other disk then.
Rajeev
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-15-2002 09:55 PM
12-15-2002 09:55 PM
Re: Resync after failure problem
First do a
#diskinfo /dev/rdsk/c2t6d0
to check the disk is working fine returning the proper number of bytes.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-15-2002 10:05 PM
12-15-2002 10:05 PM
Re: Resync after failure problem
pvdisplay -v /dev/vg00/c2t6d0
You should get the logical volumes that were under this disk.
Also
a lvdisplay of the logical volumes which were under c2t6d0.
lvdisplay -v /dev/vg00/lvol..
REvert
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-16-2002 03:29 AM
12-16-2002 03:29 AM
Re: Resync after failure problem
lvsync for other volumes doesn't work too:
# lvsync /dev/vg00/lvol3
lvsync: Couldn't re-synchronize stale partitions of the logical volume:
I/O error
lvsync: Couldn't resynchronize logical volume "/dev/vg00/lvol3".
#
To T G Manikandan:
It seems disk works fine:
# diskinfo /dev/rdsk/c2t6d0
SCSI describe of /dev/rdsk/c2t6d0:
vendor: HP 36.4G
product id: ST336752LC
type: direct access
size: 35566480 Kbytes
bytes per sector: 512
pvdisplay shows:
# pvdisplay /dev/dsk/c2t6d0
--- Physical volumes ---
PV Name /dev/dsk/c2t6d0
VG Name /dev/vg00
PV Status unavailable
Allocatable yes
VGDA 2
Cur LV 9
PE Size (Mbytes) 8
Total PE 4340
Free PE 2602
Allocated PE 1738
Stale PE 79
IO Timeout (Seconds) default
Autoswitch On
# lvdisplay -v /dev/vg00/lvol1
--- Logical volumes ---
LV Name /dev/vg00/lvol1
....
Mirror copies 1
..
--- Distribution of logical volume ---
PV Name LE on PV PE on PV
/dev/dsk/c0t6d0 38 38
/dev/dsk/c2t6d0 38 38
--- Logical extents ---
LE PV1 PE1 Status 1 PV2 PE2 Status 2
00000 /dev/dsk/c0t6d0 00000 current /dev/dsk/c2t6d0 00000 stale
00001 /dev/dsk/c0t6d0 00001 current /dev/dsk/c2t6d0 00001 stale
........
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-16-2002 03:41 AM
12-16-2002 03:41 AM
Re: Resync after failure problem
I see both the disks on a different SCSI bus. Can you confirm about the SCSI termination on the other bus of whose disk shows stale.
It could be issues with bad SCSI terminator or no termination.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-16-2002 03:52 AM
12-16-2002 03:52 AM
Re: Resync after failure problem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-16-2002 04:08 AM
12-16-2002 04:08 AM
Re: Resync after failure problem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-16-2002 05:42 AM
12-16-2002 05:42 AM
Re: Resync after failure problem
How about posting the output of
vgdisplay -v vg00
And you don't have a termination issue. You probably need to "force" the resync, but first I want to see the output from above.
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-16-2002 06:22 AM
12-16-2002 06:22 AM
Re: Resync after failure problem
perhaps there are entries in the bad block area. Is the 'bad block' relocation switched on for the lvols (lvdisplay)?
Please check if you can read from the disk without errors:
dd if=/dev/dsk/c2t6d0 of=/dev/null bs=1k
If the 'dd' fails, perhaps you have to re-add this disk to vg00.
Regards,
Armin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-25-2002 12:27 AM
12-25-2002 12:27 AM
Re: Resync after failure problem
This is an answer from Great Guru. Problem is gone!
Hello Igor,
Please see below reply on your problem with mirror disks.
For your case may to try solve problem by two ways:
1. to try spin-up inserted disk with next command (diskinfo, scsictl,
pvcreate), then vgsync.
but better
2. install next patch PHKL_28096.
Best regards,
Sergei