- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Stale extents after drive replacement
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
тАО07-01-2009 07:42 AM
тАО07-01-2009 07:42 AM
Stale extents after drive replacement
extents yesterday and today it still has
some stale extents during sync up.
Do I have to take the partitions offline to
fix this re-mirror.
I have tried:
insf -C disk --it reinstalled the drivers.
vgcfgrestore -n vg02 /dev/rdsk/c1t0d0
vgcfgrestore: Cannot restore Physical Volume "/dev/dsk/c1t0d0",
Detach the PV or detactivate the VG, before restoring the PV.
vgchange -a y vg01
Volume group "vg01" has been successfully changed.
vgreduce vg02 /dev/dsk/c1t0d0
vgreduce: Physical volume "/dev/dsk/c1t0d0" could not be removed since some of i
ts
physical extents are still in use.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-01-2009 07:49 AM
тАО07-01-2009 07:49 AM
Re: Stale extents after drive replacement
>>>>>vgcfgrestore -n vg02 /dev/rdsk/c1t0d0
vgcfgrestore: Cannot restore Physical Volume "/dev/dsk/c1t0d0",
Detach the PV or detactivate the VG, before restoring the PV.
>>>>>vgchange -a y vg01
Volume group "vg01" has been successfully changed.
is the vg01/vg02 discrepancy a typo or would it be the cause of your problems ?
otherwise
replace bad drive (without vgreduce or anything)
vgcfgrestore -n vgname /dev/rdsk/cXtXdX
vgchange -a y vgname
vgsync vgname
and you should be good. After this, if you are still getting stale extents, your replacement disk might have been a bad one from the get-go
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-01-2009 08:04 AM
тАО07-01-2009 08:04 AM
Re: Stale extents after drive replacement
If you note above on vgcfgrestore. I get
an error. If I try to run vgsync I get
the error below.
vgsync /dev/vg02
vgsync: Couldn't re-synchronize stale partitions of the logical volume:
I/O error
vgsync: Couldn't resynchronize logical volume "/dev/vg02/lvol1".
vgsync: Couldn't re-synchronize stale partitions of the logical volume:
I/O error
vgsync: Couldn't resynchronize logical volume "/dev/vg02/lvol2".
vgsync: Couldn't re-synchronize stale partitions of the logical volume:
I/O error
vgsync: Couldn't resynchronize logical volume "/dev/vg02/lvol3".
vgsync: Couldn't resynchronize volume group "/dev/vg02".
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-01-2009 08:14 AM
тАО07-01-2009 08:14 AM
Re: Stale extents after drive replacement
pvchange -a n /dev/dsk/c1t0d0
then vgcfgrestore. that should work.
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-01-2009 08:31 AM
тАО07-01-2009 08:31 AM
Re: Stale extents after drive replacement
pvchange -a n
vgcfgrestore
pvchagne -a y
vgchange -a y
vgsync
(all with appropriate disk device arguments.)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-01-2009 08:34 AM
тАО07-01-2009 08:34 AM
Re: Stale extents after drive replacement
running.
# pvchange -a n /dev/dsk/c1t0d0
Warning: Detaching a physical volume reduces the availability of data
within the logical volumes residing on that disk.
Prior to detaching a physical volume or the last available path to it,
verify that there are alternate copies of the data
available on other disks in the volume group.
If necessary, use pvchange(1M) to reverse this operation.
Physical volume "/dev/dsk/c1t0d0" has been successfully changed.
# vgcfgrestore -n vg02 /dev/rdsk/c1t0d0
Volume Group configuration has been restored to /dev/rdsk/c1t0d0
# vgchange -a y vg02
Volume group "vg02" has been successfully changed.
# vgsync /dev/vg02
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-01-2009 09:41 AM
тАО07-01-2009 09:41 AM
Re: Stale extents after drive replacement
This is the right process this will resolve ur issue
thanks & regds
Sunil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-01-2009 09:50 AM
тАО07-01-2009 09:50 AM
Re: Stale extents after drive replacement
Thank you.