- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: 1 stale extent in root volume
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
тАО05-18-2009 03:47 AM
тАО05-18-2009 03:47 AM
1 stale extent in root volume
This disk is replaced already twice without success. Lvsync doesn't work. Diskinfo and dd don't show (expected) errors. What can I do to fix this? The system doesn't boot from this disk anymore and I'm afraid when I'd try to break the mirror and recreate it, this will cause problems.
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".
#dd if=/dev/dsk/c1t2d0 of=/dev/null bs=1024k
346+0 records in
346+0 records out
root@cdrc4:/root#dd if=/dev/rdsk/c1t2d0 of=/dev/null bs=1024k
17366+1 records in
17366+1 records out
#dd if=/dev/rdsk/c2t2d0 of=/dev/null bs=1024k
17366+1 records in
17366+1 records out
root@cdrc4:/root#diskinfo -v /dev/dsk/c2t2d0
diskinfo: Character device required
root@cdrc4:/root#diskinfo -v /dev/rdsk/c2t2d0
SCSI describe of /dev/rdsk/c2t2d0:
vendor: HP 18.2G
product id: MAN3184MC
type: direct access
size: 17783240 Kbytes
bytes per sector: 512
rev level: HP04
blocks per disk: 35566480
ISO version: 0
ECMA version: 0
ANSI version: 2
removable media: no
response format: 2
(Additional inquiry bytes: (32)4e (33)30 (34)31 (35)30 (36)34 (37)32 (38)32 (39)20 (40)20 (41)20 (42)20 (43)46 (44)55 (45)4a (46)49 (47)54 (48)53 (49)55 (50)20 (51)0 (52)0 (53)0 (54)40 (55)b (56)18 (57)1 (58)3c (59)1 (60)9b (61)0 (62)0 (63)0 (64)0 (65)0 (66)0 (67)0 (68)0 (69)0 (70)0 (71)0 (72)0 (73)0 (74)0 (75)0 (76)0 (77)0 (78)0 (79)0 (80)0 (81)0 (82)0 (83)0 (84)0 (85)0 (86)0 (87)0 (88)0 (89)0 (90)0 )
root@cdrc4:/root#diskinfo -v /dev/rdsk/c1t2d0
SCSI describe of /dev/rdsk/c1t2d0:
vendor: HP 18.2G
product id: MAN3184MC
type: direct access
size: 17783240 Kbytes
bytes per sector: 512
rev level: HP04
blocks per disk: 35566480
ISO version: 0
ECMA version: 0
ANSI version: 2
removable media: no
response format: 2
(Additional inquiry bytes: (32)4e (33)30 (34)30 (35)31 (36)34 (37)31 (38)32 (39)20 (40)20 (41)20 (42)20 (43)46 (44)55 (45)4a (46)49 (47)54 (48)53 (49)55 (50)20 (51)0 (52)0 (53)0 (54)40 (55)b (56)18 (57)1 (58)3c (59)1 (60)9b (61)0 (62)0 (63)0 (64)0 (65)0 (66)0 (67)0 (68)0 (69)0 (70)0 (71)0 (72)0 (73)0 (74)0 (75)0 (76)0 (77)0 (78)0 (79)0 (80)0 (81)0 (82)0 (83)0 (84)0 (85)0 (86)0 (87)0 (88)0 (89)0 (90)0 )
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-18-2009 03:55 AM
тАО05-18-2009 03:55 AM
Re: 1 stale extent in root volume
have you followed the correct procedure for replacing disks that are under LVM control ?
http://docs.hp.com/en/5991-1236/When_Good_Disks_Go_Bad_WP.pdf
J.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-18-2009 04:00 AM
тАО05-18-2009 04:00 AM
Re: 1 stale extent in root volume
Break the mirror on all logical volumes with lvsplit or lvextend -m 0
re-mirror your system:
http://www.hpux.ws/?p=21
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-18-2009 04:11 AM
тАО05-18-2009 04:11 AM
Re: 1 stale extent in root volume
I suspect that your primary disks is having statle extends. It is not uncommon that lvdisplay still shows synced but the actual extends has I/O error.
So the only way is break the mirror and check with lvsync on primary then add the secondary disk and extend the mirror. But take the ignite backup before you try anything. Ignite backup may fail if primary copy of lvol3 is having physical error
Be prepared to have recovery from ignite in case of failure.
Ganesh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-18-2009 05:20 AM
тАО05-18-2009 05:20 AM
Re: 1 stale extent in root volume
Can you find any stale extents in lvol3:
# lvdisplay -v /dev/vg00/lvol3 | grep -i stale
Which disk have stale extents?
Regds,
R.K.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-27-2009 01:44 AM
тАО05-27-2009 01:44 AM
Re: 1 stale extent in root volume
I made a little error. The only stale extent is on my primary disk c1t2d0(lvol3)
00004 /dev/dsk/c1t2d0 00774 stale /dev/dsk/c2t2d0 00537 current
lvdisplay shows : available/stale not synced
Disk c1t2d0 has been replaced twice by our supplier...I suppose in a correct way.
I read the pdf "when good disks go bad" and that's why I already did the dd and diskinfo commands.
With no errors, which is strange because according the pdf there should be.
That's why I'm a bit suspicious. Still go for breaking/recreating mirror ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-27-2009 01:52 AM
тАО05-27-2009 01:52 AM
Re: 1 stale extent in root volume
Breaking and re-mirroring, is never an issue.
You can go ahead and try this.
You can also try "lvsync /dev/vg00/lvol3"
Regds,
R.K.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-27-2009 02:01 AM
тАО05-27-2009 02:01 AM
Re: 1 stale extent in root volume
00004 /dev/dsk/c1t2d0 00774 stale /dev/dsk/c2t2d0 00537 current
remove the mirror form primary disk and create a mirror again
#lvreduce -m 0 /dev/vg00/lvol3 /dev/dsk/c1t2d0
#lvextend -m 1 /dev/vg00/lvol3 /dev/dsk/c1t2d0
if it is not succeeded you may need to replace the disk again.
Thanks!!
Johnson
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-27-2009 04:43 AM
тАО05-27-2009 04:43 AM
Re: 1 stale extent in root volume
#lvreduce -m 0 /dev/vg00/lvol3 /dev/dsk/c1t2d0
#lvextend -m 1 /dev/vg00/lvol3 /dev/dsk/c1t2d0
The newly allocated mirrors are now being synchronized. This operation will
take some time. Please wait ....
lvextend: Couldn't re-synchronize stale partitions of the logical volume:
I/O error
lvextend: Couldn't resynchronize logical volume "/dev/vg00/lvol3".
==>
00004 /dev/dsk/c2t2d0 00537 current /dev/dsk/c1t2d0 00774 stale
I will have the disk replaced for a 3th time.(a bad lot of disks last time maybe)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-27-2009 04:56 AM
тАО05-27-2009 04:56 AM
Re: 1 stale extent in root volume
sometimes, it is not a disk error but on the disk bay or SCSI card.
mikap