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
Forums
Discussions
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
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
01-11-2006 07:56 PM
01-11-2006 07:56 PM
Stale LV
LV Name /dev/vg00/lvol7
LV Status available/stale
LV Size (Mbytes) 436
Current LE 109
Allocated PE 218
Used PV 2
Can anybody suggest the issue.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-11-2006 08:03 PM
01-11-2006 08:03 PM
Re: Stale LV
This is because you have not yet done vgsync or lvsync after replacing disk.
#lvsync /dev/vg00/lvol7
Will fix it. Also if other LVOLs are also stale then you can also do
#vgsync /dev/vg00
HTH,
Devender
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-11-2006 08:06 PM
01-11-2006 08:06 PM
Re: Stale LV
Apart from this you can get a list of stale LE's using
#lvdisplay -v /dev/vg00/lvol7 |pg
Also to get the status of other LVOLs use
#lvdisplay -v /dev/vg00/lvol* |pg
After syncing the LVOL using lvsync all the LEs should get current and you should not see stale.
Also you can check this by grepping stale like
#lvdisplay -v /dev/vg00/lvol* |grep -i stale |pg
HTH,
Devender
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-11-2006 08:08 PM
01-11-2006 08:08 PM
Re: Stale LV
You can use lvsync /dev/vg00/lvol7
and # lvdisplay -v /dev/vg00/lvol7
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-11-2006 08:13 PM
01-11-2006 08:13 PM
Re: Stale LV
# dd if=/dev/vg00/rlvol7 of=/dev/null
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-11-2006 08:15 PM
01-11-2006 08:15 PM
Re: Stale LV
Thanks for the reply.
But
lvsync /dev/vg00/lvol7
lvsync: Couldn't re-synchronize stale partitions of the logical volume:
I/O error
lvsync: Couldn't resynchronize logical volume "/dev/vg00/lvol7".
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-11-2006 08:17 PM
01-11-2006 08:17 PM
Re: Stale LV
Hi Sara,
please do
#lvdisplay -v
and check whcih PV is showing/having stale Extents.
Is that the disk you have replaced ?
You can do a "dd" test to confirm the disk (media) error.
do
#dd if=/dev/rdsk/
With Regards,
Siva.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-11-2006 08:19 PM
01-11-2006 08:19 PM
Re: Stale LV
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=640938
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=153123
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-11-2006 08:24 PM
01-11-2006 08:24 PM
Re: Stale LV
This means that the device is faulty. This could be even the new disk you put in or the other disk which was left from the initial mirror.
The same device can be found by
#lvdisplay -v /dev/vg00/lvol7
The device having LE's marked as stale is the one having problem. Also find out how many of LE's are shown as stale in the output.
dd solution will not work here atleast at LVOL level as the read will be performed from the other copy and you will not get any error in the output. A better idea will be to do the same read test on the suspected disk device and find out the results. If the no. of stale LEs is quite high, the disk should be replaced immediately.
#dd if=/dev/rdsk/cxtydz of=/dev/null bs=2048k
Where /dev/rdsk/cxtydz is the suspected disk.
HTH,
Devender
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-11-2006 08:51 PM
01-11-2006 08:51 PM
Re: Stale LV
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-11-2006 09:01 PM
01-11-2006 09:01 PM
Re: Stale LV
dd read error: I/O error
4080+0 records in
4080+0 records out
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-11-2006 09:06 PM
01-11-2006 09:06 PM
Re: Stale LV
How many of the LEs are free on the disk.
#vgdisplay /dev/vg00
If there are some free PEs on the disk, you can do a workaround by mirroring it on remaining PEs. But this is only workaround as the disk showing I/O error on some part may extend the same to some more area anytime and can not be assumed to be reliable.
Also what is the sequence of the LE's that are marked stale.
Attach complete output of
#lvdisplay -v /dev/vg00/lvol7
&
#vgdisplay -v /dev/vg00
HTH,
Devender
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-11-2006 09:39 PM
01-11-2006 09:39 PM
Re: Stale LV
Please find attached.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-11-2006 09:57 PM
01-11-2006 09:57 PM
Re: Stale LV
All the LEs on the disk are allready allocated in such case you will have to reduce some LVOL atleast by 4 LEs to accomodate this LE's. is that feasible for you and which LVOL you can reduce. Also post the output of bdf to find with which LVOL we can have the option of reducing.
Also if reducing is to be done without additional "Online JFS" software it requires rebooting to singe user for some LVOLs. My best advice will be to go ahead with replacing the disk as it was recently it should be still under warranty.
Also do assign points to the earlier responses to your threads.
HTH,
Devender
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-11-2006 11:19 PM
01-11-2006 11:19 PM
Re: Stale LV
Since only 2 PE are marked stale, probably your disk has bad blocks, rather it has started developing bad blocks. Better to get the disk replaced as may be the bad block count will keep increasing and finally the mirror will fail.
Other way round is break the mirror, remove the disk from the VG, format the disk and reconfigure, but this is not a good option for an unreliable disk.
Thanks
Ajit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-12-2006 03:03 AM
01-12-2006 03:03 AM
Re: Stale LV
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-12-2006 04:50 PM
01-12-2006 04:50 PM
Re: Stale LV
You do not have the valid mirror now but you still have good original copy. The new mirror will be created onto the new disk and this is the normal way of replacing the disk in case of a mirror when one copy get lost or corrupted due to hardware problem.
Is this what was your question?
HTH,
Devender
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-12-2006 09:53 PM
01-12-2006 09:53 PM
Re: Stale LV
You should unmirror the lvols if they are mirrored at all.
lvreduce -m 0
vgreduce
replace the disk
go as per the procedure for adding a root mirror.
Hope this helps
Rgds,
Ajit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2006 08:41 PM
01-16-2006 08:41 PM
Re: Stale LV
Is it resolved? If yes could you post the actual procedure adopted.
HTH,
Devender
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2006 09:35 PM
01-16-2006 09:35 PM
Re: Stale LV
It is better to change the disk because
1/ It is lvol7 which is mostly /usr in HPUX and a critical FS too.No one would like to take a risk with this FS.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-18-2006 12:27 AM
01-18-2006 12:27 AM
Re: Stale LV
Is it resolved? Atleast update the status and the method followed.
Also if this was helpful, do remember to assign points to the responses to the thread. It will help others in future to find solution for similar prolems and will get you good responses later on.
HTH,
Devender