- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: extend volume problem
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
- 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
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
11-01-2005 07:41 AM
11-01-2005 07:41 AM
extend volume problem
when i try to extend my logical volume i get the following error
"The command used to extend logical volumes, /sbin/lvextend, has ^
failed. The stderr output from the command is shown below. The
logical volume has not been extended.
lvextend: Warning: couldn't query physical volume "/dev/dsk/c4t12d0":
The specified path does not correspond to physical volume attached to
this volume group
lvextend: Warning: couldn't query all of the physical volumes.
lvlnboot: Warning: couldn't query physical volume "/dev/dsk/c4t12d0":
The specified path does not correspond to physical volume attached to
this volume group
lvlnboot: Warning: couldn't query all of the physical volumes.
vgcfgbackup: Warning: couldn't query physical volume
"/dev/dsk/c4t12d0":"
what is the cause and solution for this problem.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2005 07:48 AM
11-01-2005 07:48 AM
Re: extend volume problem
It sounds like the physical disk may not be viable. Do:
# dd if=/dev/rdsk/c4t12d0 of=/dev/null bs=1k count=10
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2005 07:51 AM
11-01-2005 07:51 AM
Re: extend volume problem
It appears that your disk c4t12d0 may be offline. You can check by running an ioscan -fnC disk to verify that the disk is claimed. If it is, try a diskinfo -v /dev/rdsk/c4t12d0 for infomation about the disk.
Did you just add the disk to the box? you may need to do a insf -e and a pvcreate if you just added the disk.
more info please...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2005 07:57 AM
11-01-2005 07:57 AM
Re: extend volume problem
Looks like there is some issue with the disk "/dev/dsk/c4t12d0":
you can run a diskinfo on that
#diskinfo /dev/rdsk/c4t12d0 and check you can also run a pvdisplay and see what it returns if this was not added you need to do a pvcreate..if that fails and still the disk is online and if you are sure that this disk in not used anywhere else you can do a pvcreate -f (make sure bware ***)
Rgds
HGN
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2005 02:06 PM
11-01-2005 02:06 PM
Re: extend volume problem
the disk is claimed from the ioscan and there ia no problem from diskinfo for this disk
# ioscan -funC disk
Class I H/W Path Driver S/W State H/W Type Description
======================================================================
disk 1 0/0/1/1.2.0 sdisk CLAIMED DEVICE HP 36.4GMAN3367MC
/dev/dsk/c1t2d0 /dev/rdsk/c1t2d0
disk 2 0/0/2/0.0.0 sdisk CLAIMED DEVICE HP 36.4GMAN3367MC
/dev/dsk/c2t0d0 /dev/rdsk/c2t0d0
disk 3 0/0/2/0.2.0 sdisk CLAIMED DEVICE HP 36.4GMAN3367MC
/dev/dsk/c2t2d0 /dev/rdsk/c2t2d0
disk 4 0/0/2/1.2.0 sdisk CLAIMED DEVICE HP DVD-ROM 305
/dev/dsk/c3t2d0 /dev/rdsk/c3t2d0
disk 5 0/8/0/0.8.0 sdisk CLAIMED DEVICE HP 36.4GMAN3367MC
/dev/dsk/c4t8d0 /dev/rdsk/c4t8d0
disk 6 0/8/0/0.10.0 sdisk CLAIMED DEVICE HP 36.4GMAN3367MC
/dev/dsk/c4t10d0 /dev/rdsk/c4t10d0
disk 7 0/8/0/0.12.0 sdisk CLAIMED DEVICE HP 36.4GST336706LC
/dev/dsk/c4t12d0 /dev/rdsk/c4t12d0
disk 8 0/8/0/0.14.0 sdisk CLAIMED DEVICE HP 36.4GST336706LC
/dev/dsk/c4t14d0 /dev/rdsk/c4t14d0
#
# diskinfo -v /dev/rdsk/c4t12d0
SCSI describe of /dev/rdsk/c4t12d0:
vendor: HP 36.4G
product id: ST336706LC
type: direct access
size: 35566480 Kbytes
bytes per sector: 512
rev level: HP05
blocks per disk: 71132960
ISO version: 0
ECMA version: 0
ANSI version: 2
removable media: no
response format: 2
(Additional inquiry bytes: (32)46 (33)44 (34)30 (35)4c (36)56 (37)43 (38)30 (
39)20 (40)20 (41)20 (42)20 (43)53 (44)45 (45)41 (46)47 (47)41 (48)54 (49)45 (50)
20 (51)c (52)0 (53)0 (54)0 (55)0 (56)0 (57)0 (58)0 (59)0 (60)0 (61)0 (62)0 (63)0
(64)0 (65)0 (66)0 (67)0 (68)0 (69)0 (70)0 (71)0 (72)0 (73)0 (74)0 (75)0 (76)0 (
77)0 (78)0 (79)0 (80)0 (81)0 (82)0 (83)0 (84)0 (85)0 (86)0 (87)0 (88)0 (89)0 (90
)0 (91)0 (92)43 (93)6f (94)70 (95)79 (96)72 (97)69 (98)67 (99)68 (100)74 (101)20
(102)28 (103)63 (104)29 (105)20 (106)32 (107)30 (108)30 (109)32 (110)20 (111)53
(112)65 (113)61 (114)67 (115)61 (116)74 (117)65 (118)20 (119)41 (120)6c (121)6c
(122)20 (123)4 (124)3d (125)67 (126)20 (127)0 (128)0 (129)2 (130)0 (131)0 (132)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2005 02:26 PM
11-01-2005 02:26 PM
Re: extend volume problem
may i know what is the exact lvextend command (with arguments) used?
also, from which volume group is this disk, "/dev/dsk/c4t12d0" associated, please reply with vgdisplay, i.e. :
# vgdisplay -v
regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2005 03:02 PM
11-01-2005 03:02 PM
Re: extend volume problem
#
# fsck /dev/vg01/ru02
vxfs fsck: invalid device config entry found
log replay in progress
#
another problem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2005 04:24 PM
11-01-2005 04:24 PM
Re: extend volume problem
This shall not happen unless the VG has been extended to this disk. For the LVOL and the file system part what does the "vgdisplay -v /dev/vg01" and "lvdisplay -v /dev/vg01/lvol1" say ?
Also post "strings /etc/lvmtab"?
HTH,
Devender
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2005 09:38 PM
11-01-2005 09:38 PM
Re: extend volume problem
/dev/vg00
/dev/dsk/c1t2d0
/dev/vg01
/dev/dsk/c2t0d0
/dev/dsk/c2t2d0
/dev/dsk/c4t12d0
/dev/vg03
C,N^
/dev/dsk/c4t14d0
/dev/dsk/c4t8d0
/dev/vg02
/dev/dsk/c4t10d0
# vgdisplay -v vg01
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c4t12d0":
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/vg01
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 2
Open LV 2
Max PV 16
Cur PV 3
Act PV 2
Max PE per PV 8683
VGDA 4
PE Size (Mbytes) 4
Total PE 17362
Alloc PE 16950
Free PE 412
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c4t12d0":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query all of the physical volumes.
--- Logical volumes ---
LV Name /dev/vg01/u01
LV Status available/syncd
LV Size (Mbytes) 30000
Current LE 7500
Allocated PE 7500
Used PV 1
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c4t12d0":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query all of the physical volumes.
LV Name /dev/vg01/u02
LV Status available/syncd
LV Size (Mbytes) 37800
Current LE 9450
Allocated PE 9450
Used PV 2
--- Physical volumes ---
PV Name /dev/dsk/c2t0d0
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c4t12d0":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query all of the physical volumes.
PV Status available
Total PE 8681
Free PE 0
Autoswitch On
but the disk is configured as unused
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2005 10:24 PM
11-01-2005 10:24 PM
Re: extend volume problem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2005 10:27 PM
11-01-2005 10:27 PM
Re: extend volume problem
pvdisplay: Warning: couldn't query physical volume "/dev/dsk/c4t12d0":
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/vg01".
pvdisplay: Cannot display physical volume "/dev/dsk/c4t12d0".
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2005 10:52 PM
11-01-2005 10:52 PM