1752782 Members
6397 Online
108789 Solutions
New Discussion юеВ

VGEXTEND - Problem

 
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".....