1834009 Members
3671 Online
110063 Solutions
New Discussion

VGEXTEND - Problem

 
Vengatesh
Occasional Advisor

VGEXTEND - Problem

I got below error excuting vgcreate command

Command : vgcreate -s 256 /dev/vg01 /dev/disk/disk81

vgextend /dev/vg01 /dev/disk/disk82 /dev/disk/disk83

Error

Current path "/dev/dsk/c6t0d0" is an alternate link, skip.
Current path "/dev/dsk/c6t0d1" is an alternate link, skip.
Current path "/dev/dsk/c6t0d2" is an alternate link, skip.
Current path "/dev/dsk/c6t0d3" is an alternate link, skip.
Current path "/dev/dsk/c6t0d4" is an alternate link, skip.
Current path "/dev/dsk/c6t0d5" is an alternate link, skip.
Current path "/dev/dsk/c6t0d6" is an alternate link, skip.
15 REPLIES 15
Torsten.
Acclaimed Contributor

Re: VGEXTEND - Problem

The "Error" did not appear on the screen, right?

Please post

# vgdisplay -v vg01

# ioscan -m dsf

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Vengatesh
Occasional Advisor

Re: VGEXTEND - Problem

vgdisplay -v vg01
--- Volume groups ---
VG Name /dev/vg01
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 0
Open LV 0
Max PV 35
Cur PV 8
Act PV 8
Max PE per PV 1016
VGDA 16
PE Size (Mbytes) 256
Total PE 2232
Alloc PE 0
Free PE 2232
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0
VG Version 1.0
VG Max Size 8890g
VG Max Extents 35560


--- Physical volumes ---
PV Name /dev/dsk/c4t0d0
PV Name /dev/dsk/c6t0d0 Alternate Link
PV Status available
Total PE 279
Free PE 279
Autoswitch On
Proactive Polling On

PV Name /dev/dsk/c4t0d1
PV Name /dev/dsk/c6t0d1 Alternate Link
PV Status available
Total PE 279
Free PE 279
Autoswitch On
Proactive Polling On

PV Name /dev/dsk/c4t0d2
PV Name /dev/dsk/c6t0d2 Alternate Link
PV Status available
Total PE 279
Free PE 279
Autoswitch On
Proactive Polling On

PV Name /dev/dsk/c4t0d3
PV Name /dev/dsk/c6t0d3 Alternate Link
PV Status available
Total PE 279
Free PE 279
Autoswitch On
Proactive Polling On

PV Name /dev/dsk/c4t0d4
PV Name /dev/dsk/c6t0d4 Alternate Link
PV Status available
Total PE 279
Free PE 279
Autoswitch On
Proactive Polling On

PV Name /dev/dsk/c4t0d5
PV Name /dev/dsk/c6t0d5 Alternate Link
PV Status available
Total PE 279
Free PE 279
Autoswitch On
Proactive Polling On

PV Name /dev/dsk/c4t0d6
PV Name /dev/dsk/c6t0d6 Alternate Link
PV Status available
Total PE 279
Free PE 279
Autoswitch On
Proactive Polling On

PV Name /dev/dsk/c4t0d7
PV Name /dev/dsk/c6t0d7 Alternate Link
PV Status available
Total PE 279
Free PE 279
Autoswitch On
Proactive Polling On


ioscan -m dsf
Persistent DSF Legacy DSF(s)
========================================
/dev/rchgr/autoch1 /dev/rac/c2t12d1
/dev/pt/pt2 /dev/rscsi/c3t0d0
/dev/rscsi/c5t0d0
/dev/rtape/tape2_BEST /dev/rmt/c1t11d0BEST
/dev/rtape/tape2_BESTn /dev/rmt/c1t11d0BESTn
/dev/rtape/tape2_BESTb /dev/rmt/c1t11d0BESTb
/dev/rtape/tape2_BESTnb /dev/rmt/c1t11d0BESTnb
/dev/rtape/tape3_BEST /dev/rmt/c2t12d0BEST
/dev/rtape/tape3_BESTn /dev/rmt/c2t12d0BESTn
/dev/rtape/tape3_BESTb /dev/rmt/c2t12d0BESTb
/dev/rtape/tape3_BESTnb /dev/rmt/c2t12d0BESTnb
/dev/rdisk/disk19 /dev/rdsk/c4t0d0
/dev/rdsk/c6t0d0
/dev/rdisk/disk20 /dev/rdsk/c4t0d1
/dev/rdsk/c6t0d1
/dev/rdisk/disk21 /dev/rdsk/c4t0d2
/dev/rdsk/c6t0d2
/dev/rdisk/disk22 /dev/rdsk/c4t0d3
/dev/rdsk/c6t0d3
/dev/rdisk/disk23 /dev/rdsk/c4t0d4
/dev/rdsk/c6t0d4
/dev/rdisk/disk24 /dev/rdsk/c4t0d5
/dev/rdsk/c6t0d5
/dev/rdisk/disk25 /dev/rdsk/c4t0d6
/dev/rdsk/c6t0d6
/dev/rdisk/disk26 /dev/rdsk/c4t0d7
/dev/rdsk/c6t0d7
/dev/rdisk/disk27 /dev/rdsk/c4t3d7
/dev/rdsk/c6t3d7
/dev/rdisk/disk28 /dev/rdsk/c0t0d0
/dev/rdisk/disk28_p1 /dev/rdsk/c0t0d0s1
/dev/rdisk/disk28_p2 /dev/rdsk/c0t0d0s2
/dev/rdisk/disk28_p3 /dev/rdsk/c0t0d0s3
/dev/rdisk/disk30 /dev/rdsk/c7t0d0
#
Torsten.
Acclaimed Contributor

Re: VGEXTEND - Problem

I cannot see any disk81/82/83 at all.


If thes are not there, you cannot use them.




BTW, consider to use the agile device files when configuring VGs, your display is showing the legacy deviec files only.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Vengatesh
Occasional Advisor

Re: VGEXTEND - Problem

sorry i am using below command

vgcreate -s 256 /dev/vg01 /dev/dsk/c4t0d0

vgextend /dev/vg01 /dev/dsk/c4t0d1
vgextend /dev/vg01 /dev/dsk/c4t0d2
vgextend /dev/vg01 /dev/dsk/c4t0d3
vgextend /dev/vg01 /dev/dsk/c4t0d4
vgextend /dev/vg01 /dev/dsk/c4t0d5
vgextend /dev/vg01 /dev/dsk/c4t0d6
vgextend /dev/vg01 /dev/dsk/c4t0d7
vgextend /dev/vg01 /dev/dsk/c6t0d0
vgextend /dev/vg01 /dev/dsk/c6t0d1
vgextend /dev/vg01 /dev/dsk/c6t0d2
vgextend /dev/vg01 /dev/dsk/c6t0d3
vgextend /dev/vg01 /dev/dsk/c6t0d4
vgextend /dev/vg01 /dev/dsk/c6t0d5
vgextend /dev/vg01 /dev/dsk/c6t0d6
vgextend /dev/vg01 /dev/dsk/c6t0d7
Torsten.
Acclaimed Contributor

Re: VGEXTEND - Problem

I assume this is working now.


Look at this:

/dev/rdisk/disk20 /dev/rdsk/c4t0d1
/dev/rdsk/c6t0d1


c4t0d1 and c6t0d1 are alternates. You extend them both to vg01.


But better use disk20!!!

Consider to use "vgdsf" to convert or start over and use the new device files.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Vengatesh
Occasional Advisor

Re: VGEXTEND - Problem

No still problem ,

my hdd size 500gb , so please kindly provide the procedue document dcoument.

thanks
Torsten.
Acclaimed Contributor

Re: VGEXTEND - Problem

You shuld NOT do


vgcreate /dev/vg01 /dev/dsk/c4t0d0

but better do


vgcreate /dev/vg01 /dev/disk19


and so on.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Vengatesh
Occasional Advisor

Re: VGEXTEND - Problem

# vgcreate /dev/vg01 /dev/dsk/c4t0d1
Increased the number of physical extents per physical volume to 17919.
vgcreate: Volume group "/dev/vg01" could not be created:
The path does not specify a valid physical volume.
Torsten.
Acclaimed Contributor

Re: VGEXTEND - Problem

According to your previous post it is already part of vg01 - what did you change yesterday?

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Vengatesh
Occasional Advisor

Re: VGEXTEND - Problem

i have remove the VG and try to recreate the VG
Torsten.
Acclaimed Contributor

Re: VGEXTEND - Problem

So please post

# ioscan -fnCdisk

and

# ioscan -m dsf

and

# strings /etc/lvmtab

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Vengatesh
Occasional Advisor

Re: VGEXTEND - Problem

# ioscan -fnCdisk
Class I H/W Path Driver S/W State H/W Type Description
=====================================================================
disk 1 0/2/1/0.1.4.0.0.0.0 sdisk CLAIMED DEVICE IBM 1814 FAStT
/dev/dsk/c4t0d0 /dev/rdsk/c4t0d0
disk 2 0/2/1/0.1.4.0.0.0.1 sdisk CLAIMED DEVICE IBM 1814 FAStT
/dev/dsk/c4t0d1 /dev/rdsk/c4t0d1
disk 3 0/2/1/0.1.4.0.0.0.2 sdisk CLAIMED DEVICE IBM 1814 FAStT
/dev/dsk/c4t0d2 /dev/rdsk/c4t0d2
disk 4 0/2/1/0.1.4.0.0.0.3 sdisk CLAIMED DEVICE IBM 1814 FAStT
/dev/dsk/c4t0d3 /dev/rdsk/c4t0d3
disk 5 0/2/1/0.1.4.0.0.0.4 sdisk CLAIMED DEVICE IBM 1814 FAStT
/dev/dsk/c4t0d4 /dev/rdsk/c4t0d4
disk 6 0/2/1/0.1.4.0.0.0.5 sdisk CLAIMED DEVICE IBM 1814 FAStT
/dev/dsk/c4t0d5 /dev/rdsk/c4t0d5
disk 7 0/2/1/0.1.4.0.0.0.6 sdisk CLAIMED DEVICE IBM 1814 FAStT
/dev/dsk/c4t0d6 /dev/rdsk/c4t0d6
disk 8 0/2/1/0.1.4.0.0.0.7 sdisk CLAIMED DEVICE IBM 1814 FAStT
/dev/dsk/c4t0d7 /dev/rdsk/c4t0d7
disk 9 0/2/1/0.1.4.0.0.3.7 sdisk CLAIMED DEVICE IBM Universal Xport
/dev/dsk/c4t3d7 /dev/rdsk/c4t3d7
disk 10 0/5/1/0.1.0.0.0.0.0 sdisk CLAIMED DEVICE IBM 1814 FAStT
/dev/dsk/c6t0d0 /dev/rdsk/c6t0d0
disk 11 0/5/1/0.1.0.0.0.0.1 sdisk CLAIMED DEVICE IBM 1814 FAStT
/dev/dsk/c6t0d1 /dev/rdsk/c6t0d1
disk 12 0/5/1/0.1.0.0.0.0.2 sdisk CLAIMED DEVICE IBM 1814 FAStT
/dev/dsk/c6t0d2 /dev/rdsk/c6t0d2
disk 13 0/5/1/0.1.0.0.0.0.3 sdisk CLAIMED DEVICE IBM 1814 FAStT
/dev/dsk/c6t0d3 /dev/rdsk/c6t0d3
disk 14 0/5/1/0.1.0.0.0.0.4 sdisk CLAIMED DEVICE IBM 1814 FAStT
/dev/dsk/c6t0d4 /dev/rdsk/c6t0d4
disk 15 0/5/1/0.1.0.0.0.0.5 sdisk CLAIMED DEVICE IBM 1814 FAStT
/dev/dsk/c6t0d5 /dev/rdsk/c6t0d5
disk 16 0/5/1/0.1.0.0.0.0.6 sdisk CLAIMED DEVICE IBM 1814 FAStT
/dev/dsk/c6t0d6 /dev/rdsk/c6t0d6
disk 17 0/5/1/0.1.0.0.0.0.7 sdisk CLAIMED DEVICE IBM 1814 FAStT
/dev/dsk/c6t0d7 /dev/rdsk/c6t0d7
disk 18 0/5/1/0.1.0.0.0.3.7 sdisk CLAIMED DEVICE IBM Universal Xport
/dev/dsk/c6t3d7 /dev/rdsk/c6t3d7
disk 0 0/6/0/0/0/0/1/0/0/0.0.0 sdisk CLAIMED DEVICE HP LOGICAL VOLUME
/dev/dsk/c0t0d0 /dev/dsk/c0t0d0s2 /dev/rdsk/c0t0d0 /dev/rdsk/c0t0d0s2
/dev/dsk/c0t0d0s1 /dev/dsk/c0t0d0s3 /dev/rdsk/c0t0d0s1 /dev/rdsk/c0t0d0s3
disk 29 255/1/0.0.0 sdisk CLAIMED DEVICE TEAC DV-28E-V
/dev/dsk/c7t0d0 /dev/rdsk/c7t0d0


# ioscan -m dsf
Persistent DSF Legacy DSF(s)
========================================
/dev/rchgr/autoch1 /dev/rac/c2t12d1
/dev/pt/pt2 /dev/rscsi/c3t0d0
/dev/rscsi/c5t0d0
/dev/rtape/tape2_BEST /dev/rmt/c1t11d0BEST
/dev/rtape/tape2_BESTn /dev/rmt/c1t11d0BESTn
/dev/rtape/tape2_BESTb /dev/rmt/c1t11d0BESTb
/dev/rtape/tape2_BESTnb /dev/rmt/c1t11d0BESTnb
/dev/rtape/tape3_BEST /dev/rmt/c2t12d0BEST
/dev/rtape/tape3_BESTn /dev/rmt/c2t12d0BESTn
/dev/rtape/tape3_BESTb /dev/rmt/c2t12d0BESTb
/dev/rtape/tape3_BESTnb /dev/rmt/c2t12d0BESTnb
/dev/rdisk/disk19 /dev/rdsk/c4t0d0
/dev/rdsk/c6t0d0
/dev/rdisk/disk20 /dev/rdsk/c4t0d1
/dev/rdsk/c6t0d1
/dev/rdisk/disk21 /dev/rdsk/c4t0d2
/dev/rdsk/c6t0d2
/dev/rdisk/disk22 /dev/rdsk/c4t0d3
/dev/rdsk/c6t0d3
/dev/rdisk/disk23 /dev/rdsk/c4t0d4
/dev/rdsk/c6t0d4
/dev/rdisk/disk24 /dev/rdsk/c4t0d5
/dev/rdsk/c6t0d5
/dev/rdisk/disk25 /dev/rdsk/c4t0d6
/dev/rdsk/c6t0d6
/dev/rdisk/disk26 /dev/rdsk/c4t0d7
/dev/rdsk/c6t0d7
/dev/rdisk/disk27 /dev/rdsk/c4t3d7
/dev/rdsk/c6t3d7
/dev/rdisk/disk28 /dev/rdsk/c0t0d0
/dev/rdisk/disk28_p1 /dev/rdsk/c0t0d0s1
/dev/rdisk/disk28_p2 /dev/rdsk/c0t0d0s2
/dev/rdisk/disk28_p3 /dev/rdsk/c0t0d0s3
/dev/rdisk/disk30 /dev/rdsk/c7t0d0



# strings /etc/lvmtab
/dev/vg00
/dev/disk/disk28_p2
Torsten.
Acclaimed Contributor

Re: VGEXTEND - Problem

Make sure the LUNs are presented in r/w and hpux mode. Consider to use /dev/disk/disk20 when creating the VG.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
shanmuhanandam
HPE Pro

Re: VGEXTEND - Problem

Hi,
if the persistent device files are available, then why are you going for the LDSF? (Multipathing will be enabled if you are using Persistent DSF). It is better to use Persistent DSF's.

And as per you earlier post, the disk c4t0d1 was part of vg01, and you might be exported/removed the vg01. so you need to do the pvcreate for the disk c4t0d1. so please try the following..

#pvcreate /dev/rdisk/disk20
#vgcreate vg01 /dev/disk/disk20

Thanks,
Shan.
I am an HPE Employee

Accept or Kudo

Ismail Azad
Esteemed Contributor

Re: VGEXTEND - Problem

Hi....

Ok then,

ioscan -funNC disk
These are your "available" disks vengatesh {pretty sure that's a spelling mistake}
And use it with these options

Now do strings /etc/lvmtab
These are the disks used by LVM, you cannot vgcreate and specify a disk{PV} as an argument for a disk that is already part of a vg.

pvcreate -f /dev/rdisk/disk20

> This creates a PV on your raw disk.

mkdir /dev/vg01
mknod /dev/vg01/group c 64 0x010000
Seems, like you need to do these steps. Device files are required for identifying the "entities" in LVM.

vgcreate -s 256 /dev/vg01 /dev/disk/disk20

This creates a VG vg01 with one disk disk20 with an extent size of 256 MB

As your using 11.31, let the /dev/disk/diskx be your friend and avoid using /dev/dsk/cxtxdx. Now there are commands to completely transition and migrate from that mode of DSFs.

Welcome to ITRC..... Hope some of this has helped you and don't forget to assign points...
Regards
Ismail Azad
Read, read and read... Then read again until you read "between the lines".....