- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: lvextend does not work...
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-29-2004 09:13 AM
01-29-2004 09:13 AM
I reboot the box, and boot into single user mode. Then I execute the following commands:
# vgdisplay
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c1t2d0":
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 8
Open LV 8
Max PV 16
Cur PV 2
Act PV 1
Max PE per PV 4350
VGDA 2
PE Size (Mbytes) 4
Total PE 4340
Alloc PE 2681
Free PE 1659
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0
vgdisplay: Volume group not activated.
vgdisplay: Cannot display volume group "/dev/vg01".
# lvdisplay /dev/vg00/lvol8
lvdisplay: Warning: couldn't query physical volume "/dev/dsk/c1t2d0":
The specified path does not correspond to physical volume attached to
this volume group
lvdisplay: Warning: couldn't query all of the physical volumes.
--- Logical volumes ---
LV Name /dev/vg00/lvol8
VG Name /dev/vg00
LV Permission read/write
LV Status available/stale
Mirror copies 1
Consistency Recovery MWC
Schedule parallel
LV Size (Mbytes) 1152
Current LE 288
Allocated PE 576
Stripes 0
Stripe Size (Kbytes) 0
Bad block on
Allocation strict
IO Timeout (Seconds) default
#
# lvextend -L 2560 /dev/vg00/lvol8
lvextend: Warning: couldn't query physical volume "/dev/dsk/c1t2d0":
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
#
I believe we have hpa fibre channel cards in the server, but the /var (or /dev/vg00/lvol8) partition is not located on a networked drive/storage... (I *think*!)
Any help will be appreciate.
Thank you,
Cameron
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-29-2004 09:24 AM
01-29-2004 09:24 AM
SolutionYou've got a failed disk in the vg00 mirror - c1t2d0.
Look at the vgdisplay output - it shows 2 For Current PV & *only* 1 for Active PV.
You should get it replaced & the mirror resynced before you do anything else. You lose the other disk & you're going down.
Rgds,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-29-2004 09:28 AM
01-29-2004 09:28 AM
Re: lvextend does not work...
All the error messages are indicating that at the moment /dev/dsk/c1t2d0 is unavailable for what ever reason.
Try a:
diskinfo -v /dev/rdsk/c1t2d0
to see if the O/S can get any info about the disk in question.
An ioscan -funC disk |more
will show which controller the disk is hanging off. If it is a scsi controller, then it is unlikely that it is network based. (More servers will boot from local drives, using mirrored disks on C0 and C1)
If ioscan shows NO H/W then you have a probable hardware fault.
Are the disks hot pluggable? If so this can sometimes help. Before you do this, are you sure you've got a good backup? (A paranoid just in case).
Hot plug the disk, do an insf -e -H (h/w path of disk controller).
You may have to call out an HP engineer.
Good luck
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-29-2004 09:28 AM
01-29-2004 09:28 AM
Re: lvextend does not work...
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=406708
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-29-2004 03:25 PM
01-29-2004 03:25 PM
Re: lvextend does not work...
#ioscan -fnC disk
Can you see the missing disk
#diskinfo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-29-2004 06:09 PM
01-29-2004 06:09 PM
Re: lvextend does not work...
use the ioscan -fnC disk command
in above output u able to see the ur device
if u don't then u need check up connection of disk
u need to remove and re-fix the disk
and re-create the device file using the insf -e command
Good luck
thanx
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-30-2004 01:49 AM
01-30-2004 01:49 AM
Re: lvextend does not work...
I am attaching the output from the commands you suggested. Also, I am going to closed this thread, and continue with the original thread, as suggested. The original thread can be found at:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=406708
Here is the results of the output:
---------- SNIP ----------
<<< Log from tdhpws01.nocmia.ustdata.com started January 30, 2004, 09:10:50 >>>
# setboot
Primary bootpath : 0/0/1/1.2.0
Alternate bootpath : 0/0/2/0.2.0
Autoboot is ON (enabled)
Autosearch is ON (enabled)
# diskinfo /dev/rdsk/c1t2d0
diskinfo: can't open /dev/rdsk/c1t2d0: No such device or address
# ioscan -fnC disk
Class I H/W Path Driver S/W State H/W Type Description
=====================================================================
disk 1 0/0/2/0.2.0 sdisk CLAIMED DEVICE SEAGATE ST318404LC
/dev/dsk/c2t2d0 /dev/rdsk/c2t2d0
disk 2 0/0/2/1.2.0 sdisk CLAIMED DEVICE HP DVD-ROM 305
/dev/dsk/c3t2d0 /dev/rdsk/c3t2d0
disk 3 0/2/0/0.0.0 sdisk CLAIMED DEVICE HP C5447A
/dev/dsk/c4t0d0 /dev/rdsk/c4t0d0
disk 5 0/2/0/0.0.1 sdisk CLAIMED DEVICE HP C5447A
/dev/dsk/c4t0d1 /dev/rdsk/c4t0d1
disk 7 0/2/0/0.0.2 sdisk CLAIMED DEVICE HP C5447A
/dev/dsk/c4t0d2 /dev/rdsk/c4t0d2
disk 4 0/6/0/0.1.0 sdisk CLAIMED DEVICE HP C5447A
/dev/dsk/c6t1d0 /dev/rdsk/c6t1d0
disk 6 0/6/0/0.1.1 sdisk CLAIMED DEVICE HP C5447A
/dev/dsk/c6t1d1 /dev/rdsk/c6t1d1
disk 8 0/6/0/0.1.2 sdisk CLAIMED DEVICE HP C5447A
/dev/dsk/c6t1d2 /dev/rdsk/c6t1d2
# diskinfo /dev/rdsk/c2t2d0
SCSI describe of /dev/rdsk/c2t2d0:
vendor: SEAGATE
product id: ST318404LC
type: direct access
size: 17783240 Kbytes
bytes per sector: 512
---------- SNIP ----------