- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Disk failure: cannot extend stale LV
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
03-03-2006 02:07 AM
03-03-2006 02:07 AM
Disk failure: cannot extend stale LV
Now if I try to lvextend it I get an error because the PE on the mirror copy are not available.
May I unmirror /var and extend it without errors to have it remirrored as soon HP comes with the new disk?
lvextend -l 400 /dev/vg00/lvol8
lvextend: Warning: couldn't query physical volume "/dev/dsk/c2t2d0":
The specified path does not correspond to physical volume attached to
this volume group
lvextend: Warning: couldn't query all of the physical volumes.
lvextend: Not enough free physical extents available.
Logical volume "/dev/vg00/lvol8" could not be extended.
Failure possibly caused by strict allocation policy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-03-2006 02:34 AM
03-03-2006 02:34 AM
Re: Disk failure: cannot extend stale LV
You can lvreduce all volumes ,then vgreduce on the failed disk and increase the /var as required (if there are free PE's), once the disk is replaced, you can add the disk back to vg00 and sync the lvol's.
Rgds
HGN
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-03-2006 02:43 AM
03-03-2006 02:43 AM
Re: Disk failure: cannot extend stale LV
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-03-2006 03:18 AM
03-03-2006 03:18 AM
Re: Disk failure: cannot extend stale LV
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-03-2006 03:19 AM
03-03-2006 03:19 AM
Re: Disk failure: cannot extend stale LV
In case you are going to reduce the mirror copy of one of the volume for freeing up, so u could extend var LV.
Do not forget to use "-k" option to lvreduce along with "-m" option. This is very important. Otherwise, while reducing ,if it encounters the a problem with the LV being reduced due to disk issue, it could hang the lvreduce command, there by leaving no choice but to reboot, for all LVM commands will fail to run unless "lvreduce" relinqueses its run.
Regards,
Senthil Kumar .A
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-03-2006 03:53 AM
03-03-2006 03:53 AM
Re: Disk failure: cannot extend stale LV
if you want to use to lvreduce in order to free up space to add to /var, make sure you have a valid backup/ignite tape before proceeding.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-03-2006 04:42 AM
03-03-2006 04:42 AM
Re: Disk failure: cannot extend stale LV
vgreduce: Couldn't query physical volume "/dev/dsk/c2t2d0":
The specified path does not correspond to physical volume attached to
this volume group
:(
I used stm and dd, the disk is readable by both.
Removed special file, reinstalled.
pvcreate without -f fails, it does read it belongs to a volume group, but also vgdisplay and pvdisplay fail.
pvcreate /dev/rdsk/c2t2d0
pvcreate: The physical volume already belongs to a volume group
vgdisplay -v vg00
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c2t2d0":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query all of the physical volumes.
--- Volume groups ---
VG Name /dev/vg00
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 10
Open LV 10
Max PV 16
Cur PV 2
Act PV 1 <<<<<<<<<<<<<<< One only
Max PE per PV 4350
VGDA 2
PE Size (Mbytes) 8
Total PE 4340
Alloc PE 3097
Free PE 1243
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0
pvdisplay -v /dev/dsk/c2t2d0
pvdisplay: Warning: couldn't query physical volume "/dev/dsk/c2t2d0":
The specified path does not correspond to physical volume attached to
this volume group
pvdisplay: Warning: couldn't query all of the physical volumes.
pvdisplay: Couldn't retrieve the names of the physical volumes
belonging to volume group "/dev/vg00".
pvdisplay: Cannot display physical volume "/dev/dsk/c2t2d0".
How can it be I cannot remove a failed PV from a VG because... is failed...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-03-2006 04:51 AM
03-03-2006 04:51 AM
Re: Disk failure: cannot extend stale LV
Before you even attempt vgreduce, it is important that you do lvreduce to remove the mirror's. I found a very important note in "man" page of lvreduce to reduce in such a situation.
"Excerpt from man page"
------------------------------------------
-k This option should be used only in the special instance when you want to reduce a mirrored logical volume on a physical volume that is missing or has failed.
Use this option with the -m option.
------------------------------------------
Try vgreduce'ing after you perform lvreduce, that way, even if vgreduce would allow to do so, atleast you are in right track, for performing vgreduce.
Regards,
Senthil Kumar .A
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-03-2006 04:54 AM
03-03-2006 04:54 AM
Re: Disk failure: cannot extend stale LV
Event Time..........: Fri Mar 3 13:06:11 2006
Severity............: SERIOUS
Monitor.............: disk_em
Event #.............: 100172
System..............: ************
Summary:
Disk at hardware path 0/0/2/0.2.0 : Device connectivity or hardware
failure
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-03-2006 05:18 AM
03-03-2006 05:18 AM
Re: Disk failure: cannot extend stale LV
I managed to lvreduce mirror copy of lvol8 and extend /var.
Now I'm waiting for the HP man.
Thank you.