1827287 Members
1704 Online
109717 Solutions
New Discussion

Stale physical extents

 
vaman
Frequent Advisor

Stale physical extents

What is stale physical extents, what causes this & wht is the remedy
vaman kulkarni
4 REPLIES 4
Sanjay_6
Honored Contributor

Re: Stale physical extents

Hi,

Stale physical extents means the extents for the primary / mirror copy are not in sync.

Stale --> Old / not current.

pvdisplay -v /dev/dsk/cxtydz |grep -i stale |more

This will all the stale extents on the physical disk.

Hope this helps.

Regds
Steven E. Protter
Exalted Contributor

Re: Stale physical extents

Most likely caus is some kind of disk problem has caused your mirrors to stop being maintained.

If a disk has failed, you'll need to replace it.

Once thats done you can break the mirror with lvsplit and then rebuild it with lvextend -m 1 /dev/vg01/lvolname /dev/dsk/c1t1d0

Use a real logical volume name and a real disk.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Sridhar Bhaskarla
Honored Contributor

Re: Stale physical extents

Hi Vaman,

YOu may also find stale extents on unmirrored PVs in case if there are any issues with the disks associated with them. Basically the extent that is not accessible by LVM will be marked as stale.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
Bharat Katkar
Honored Contributor

Re: Stale physical extents

Hi Vaman,
As rightly said by steven lvsplit and lvextend should do the trick.
Stale extent could be an extent without reference or bad extent.

Well it is better to confirm the disk with stale extent for any physical problem. Use dd command to do the same,
# dd if= of=/dev/null

This will try reading the entire disk without harming the data inside and gives error for any bad blocks.

Hope that helps.
Regards,
You need to know a lot to actually know how little you know