System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

vgcreate: Volume group "/dev/vg01" could not be created:Unable to read the physical volume

SOLVED
Go to solution
Asif_8
Regular Advisor

vgcreate: Volume group "/dev/vg01" could not be created:Unable to read the physical volume

I have superdome vpar Server OS 11.31
I try to create VG i got following error
#ioscan -m dsf
Persistent DSF Legacy DSF(s)
========================================
/dev/rdisk/disk10 /dev/rdsk/c0t0d0
/dev/rdisk/disk10_p1 /dev/rdsk/c0t0d0s1
/dev/rdisk/disk10_p2 /dev/rdsk/c0t0d0s2
/dev/rdisk/disk10_p3 /dev/rdsk/c0t0d0s3
/dev/rdisk/disk11 /dev/rdsk/c0t2d0
/dev/rdisk/disk11_p1 /dev/rdsk/c0t2d0s1
/dev/rdisk/disk11_p2 /dev/rdsk/c0t2d0s2
/dev/rdisk/disk11_p3 /dev/rdsk/c0t2d0s3
/dev/rdisk/disk12 /dev/rdsk/c1t2d0
/dev/pt/pt31 /dev/rscsi/c43t0d0
/dev/rscsi/c44t0d0
/dev/rscsi/c45t0d0
/dev/rscsi/c46t0d0
/dev/rdisk/disk125 /dev/rdsk/c48t0d0
/dev/rdsk/c47t0d0
/dev/rdsk/c49t0d0
/dev/rdsk/c50t0d0
/dev/rdisk/disk126 /dev/rdsk/c48t0d1
/dev/rdsk/c47t0d1
/dev/rdsk/c49t0d1
/dev/rdsk/c50t0d1
/dev/rdisk/disk127 /dev/rdsk/c48t0d2
/dev/rdsk/c47t0d2
/dev/rdsk/c49t0d2
cd /dev/rdsk/c50t0d2
mkdir /dev/vg01
mknod /dev/vg01/group c 64 0x010000
vgcreate -s 32 vg01 /dev/disk/disk125

Increased the number of physical extents per physical volume to 1599.
vgcreate: Volume group "/dev/vg01" could not be created:
Unable to read the physical volume.

thanks

11 REPLIES
Burak Topal
Frequent Advisor

Re: vgcreate: Volume group "/dev/vg01" could not be created:Unable to read the physical volume

Hi,

Try this,

vgcreate -s /dev/vg01 /dev/dsk/c48t0d1
Burak Topal
Frequent Advisor

Re: vgcreate: Volume group "/dev/vg01" could not be created:Unable to read the physical volume

Sorry,

vgcreate -s 32 /dev/vg01 /dev/dsk/c48t0d1
Torsten.
Acclaimed Contributor

Re: vgcreate: Volume group "/dev/vg01" could not be created:Unable to read the physical volume

What kind of array is it? Can you provide an "ioscan -fn" please?

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!   
Duncan Edmonstone
Honored Contributor
Solution

Re: vgcreate: Volume group "/dev/vg01" could not be created:Unable to read the physical volume

seems to me you missed a step:

pvcreate /dev/rdisk/disk125

and then....

vgcreate -s 32 vg01 /dev/disk/disk125

HTH

Duncan

HTH

Duncan
Asif_8
Regular Advisor

Re: vgcreate: Volume group "/dev/vg01" could not be created:Unable to read the physical volume

ioscan -fn
Class I H/W Path Driver S/W State H/W Type Description
================================================================================
root 0 root CLAIMED BUS_NEXUS
cell 0 0 cell CLAIMED BUS_NEXUS
ioa 0 0/0 sba CLAIMED BUS_NEXUS System Bus Adapter (12eb)
ba 0 0/0/0 lba CLAIMED BUS_NEXUS Local PCI-X Bus Adapter (12ee)
slot 0 0/0/0/1 pci_slot CLAIMED SLOT PCI Slot
ba 1 0/0/0/1/0 PCItoPCI CLAIMED BUS_NEXUS PCItoPCI Bridge
fc 0 0/0/0/1/0/4/0 fcd CLAIMED INTERFACE HP AD194-60001 PCI/PCI-X Fibre Channel 2-port 4Gb FC/2-port 1000B-T Combo Adapter (FC Port 1)
/dev/fcd0
fcp 8 0/0/0/1/0/4/0.40 fcd_fcp CLAIMED INTERFACE FCP Domain
ext_bus 47 0/0/0/1/0/4/0.40.184.0.0 fcd_vbus CLAIMED INTERFACE FCP Array Interface
target 3 0/0/0/1/0/4/0.40.184.0.0.0 tgt CLAIMED DEVICE
disk 115 0/0/0/1/0/4/0.40.184.0.0.0.0 sdisk CLAIMED DEVICE DGC CX3-80WDR5
/dev/dsk/c47t0d0 /dev/rdsk/c47t0d0
disk 123 0/0/0/1/0/4/0.40.184.0.0.0.1 sdisk CLAIMED DEVICE DGC CX3-80WDR5
/dev/dsk/c47t0d1 /dev/rdsk/c47t0d1
disk 124 0/0/0/1/0/4/0.40.184.0.0.0.2 sdisk CLAIMED DEVICE DGC CX3-80WDR5
/dev/dsk/c47t0d2 /dev/rdsk/c47t0d2
ext_bus 44 0/0/0/1/0/4/0.40.184.255.0 fcd_vbus CLAIMED INTERFACE FCP Device Interface
target 2 0/0/0/1/0/4/0.40.184.255.0.0 tgt CLAIMED DEVICE
ctl 30 0/0/0/1/0/4/0.40.184.255.0.0.0 sctl CLAIMED DEVICE DGC CX3-80
/dev/rscsi/c44t0d0
ext_bus 48 0/0/0/1/0/4/0.40.186.0.0 fcd_vbus CLAIMED INTERFACE FCP Array Interface
target 1 0/0/0/1/0/4/0.40.186.0.0.0 tgt CLAIMED DEVICE
disk 120 0/0/0/1/0/4/0.40.186.0.0.0.0 sdisk CLAIMED DEVICE DGC CX3-80WDR5
/dev/dsk/c48t0d0 /dev/rdsk/c48t0d0
disk 114 0/0/0/1/0/4/0.40.186.0.0.0.1 sdisk CLAIMED DEVICE DGC CX3-80WDR5
/dev/dsk/c48t0d1 /dev/rdsk/c48t0d1
disk 119 0/0/0/1/0/4/0.40.186.0.0.0.2 sdisk CLAIMED DEVICE DGC CX3-80WDR5
/dev/dsk/c48t0d2 /dev/rdsk/c48t0d2
ext_bus 43 0/0/0/1/0/4/0.40.186.255.0 fcd_vbus CLAIMED INTERFACE FCP Device Interface
target 0 0/0/0/1/0/4/0.40.186.255.0.0 tgt CLAIMED DEVICE
ctl 29 0/0/0/1/0/4/0.40.186.255.0.0.0 sctl CLAIMED DEVICE DGC CX3-80
/dev/rscsi/c43t0d0
fc 9 0/0/0/1/0/4/1 fcd CLAIMED INTERFACE HP AD194-60001 PCI/PCI-X Fibre Channel 2-port 4Gb FC/2-port 1000B-T Combo Adapter (FC Port 2)
/dev/fcd9
lan 0 0/0/0/1/0/6/0 iether CLAIMED INTERFACE HP AD194-60001 PCI/PCI-X 1000Base-T 2-port 4Gb FC/2-port 1000B-T Combo Adapter
lan 11 0/0/0/1/0/6/1 iether CLAIMED INTERFACE HP AD194-60001 PCI/PCI-X 1000Base-T 2-port 4Gb FC/2-port 1000B-T Combo Adapter
ba 2 0/0/1 lba CLAIMED BUS_NEXUS Local PCI-X Bus Adapter (12ee)
slot 1 0/0/1/1 pci_slot CLAIMED SLOT PCI Slot
ext_bus 0 0/0/1/1/0 mpt CLAIMED INTERFACE SCSI Ultra320 A6961-60111
/dev/mpt0
target 4 0/0/1/1/0.0 tgt CLAIMED DEVICE
disk 1 0/0/1/1/0.0.0 sdisk CLAIMED DEVICE HP 146 GST3146855LC
/dev/dsk/c0t0d0 /dev/dsk/c0t0d0s2 /dev/rdsk/c0t0d0 /dev/rdsk/c0t0d0s2
/dev/dsk/c0t0d0s1 /dev/dsk/c0t0d0s3 /dev/rdsk/c0t0d0s1 /dev/rdsk/c0t0d0s3
target 5 0/0/1/1/0.2 tgt CLAIMED DEVICE
disk 2 0/0/1/1/0.2.0 sdisk CLAIMED DEVICE HP 146 GST3146855LC
/dev/dsk/c0t2d0 /dev/dsk/c0t2d0s2 /dev/rdsk/c0t2d0 /dev/rdsk/c0t2d0s2
/dev/dsk/c0t2d0s1 /dev/dsk/c0t2d0s3 /dev/rdsk/c0t2d0s1 /dev/rdsk/c0t2d0s3
ext_bus 1 0/0/1/1/1 mpt CLAIMED INTERFACE SCSI Ultra320 A6961-60111
/dev/mpt1
target 6 0/0/1/1/1.2 tgt CLAIMED DEVICE
disk 4 0/0/1/1/1.2.0 sdisk CLAIMED DEVICE Optiarc DVD RW AD-5200A
/dev/dsk/c1t2d0 /dev/rdsk/c1t2d0
ba 3 0/0/4 lba CLAIMED BUS_NEXUS Local PCI-X Bus Adapter (12ee)
slot 2 0/0/4/1 pci_slot CLAIMED SLOT PCI Slot
ba 4 0/0/4/1/0 PCItoPCI CLAIMED BUS_NEXUS PCItoPCI Bridge
fc 1 0/0/4/1/0/4/0 fcd CLAIMED INTERFACE HP AD193-60001 PCI/PCI-X Fibre Channel 1-port 4Gb FC/1-port 1000B-T Combo Adapter (FC Port 1)
/dev/fcd1
fcp 9 0/0/4/1/0/4/0.41 fcd_fcp CLAIMED INTERFACE FCP Domain
ext_bus 50 0/0/4/1/0/4/0.41.184.0.0 fcd_vbus CLAIMED INTERFACE FCP Array Interface
target 10 0/0/4/1/0/4/0.41.184.0.0.0 tgt CLAIMED DEVICE
disk 122 0/0/4/1/0/4/0.41.184.0.0.0.0 sdisk CLAIMED DEVICE DGC CX3-80WDR5
/dev/dsk/c50t0d0 /dev/rdsk/c50t0d0
disk 118 0/0/4/1/0/4/0.41.184.0.0.0.1 sdisk CLAIMED DEVICE DGC CX3-80WDR5
/dev/dsk/c50t0d1 /dev/rdsk/c50t0d1
disk 129 0/0/4/1/0/4/0.41.184.0.0.0.2 sdisk CLAIMED DEVICE DGC CX3-80WDR5
/dev/dsk/c50t0d2 /dev/rdsk/c50t0d2
ext_bus 46 0/0/4/1/0/4/0.41.184.255.0 fcd_vbus CLAIMED INTERFACE FCP Device Interface
target 9 0/0/4/1/0/4/0.41.184.255.0.0 tgt CLAIMED DEVICE
ctl 33 0/0/4/1/0/4/0.41.184.255.0.0.0 sctl CLAIMED DEVICE DGC CX3-80
/dev/rscsi/c46t0d0
ext_bus 49 0/0/4/1/0/4/0.41.186.0.0 fcd_vbus CLAIMED INTERFACE FCP Array Interface
target 8 0/0/4/1/0/4/0.41.186.0.0.0 tgt CLAIMED DEVICE
disk 121 0/0/4/1/0/4/0.41.186.0.0.0.0 sdisk CLAIMED DEVICE DGC CX3-80WDR5
/dev/dsk/c49t0d0 /dev/rdsk/c49t0d0
disk 117 0/0/4/1/0/4/0.41.186.0.0.0.1 sdisk CLAIMED DEVICE DGC CX3-80WDR5
/dev/dsk/c49t0d1 /dev/rdsk/c49t0d1
disk 128 0/0/4/1/0/4/0.41.186.0.0.0.2 sdisk CLAIMED DEVICE DGC CX3-80WDR5
/dev/dsk/c49t0d2 /dev/rdsk/c49t0d2
ext_bus 45 0/0/4/1/0/4/0.41.186.255.0 fcd_vbus CLAIMED INTERFACE FCP Device Interface
target 7 0/0/4/1/0/4/0.41.186.255.0.0 tgt CLAIMED DEVICE
ctl 32 0/0/4/1/0/4/0.41.186.255.0.0.0 sctl CLAIMED DEVICE DGC CX3-80
/dev/rscsi/c45t0d0
lan 1 0/0/4/1/0/6/0 iether CLAIMED INTERFACE HP AD193-60001 PCI/PCI-X 1000Base-T 4Gb FC/1000B-T Combo Adapter
ba 5 0/0/8 lba CLAIMED BUS_NEXUS Local PCI-X Bus Adapter (12ee)
slot 3 0/0/8/1 pci_slot CLAIMED SLOT PCI Slot
lan 4 0/0/8/1/0 iether CLAIMED INTERFACE HP A7012-60601 PCI/PCI-X 1000Base-T Dual-port Adapter
lan 5 0/0/8/1/1 iether CLAIMED INTERFACE HP A7012-60601 PCI/PCI-X 1000Base-T Dual-port Adapter
processor 0 0/121 processor CLAIMED PROCESSOR Processor
processor 1 0/122 processor CLAIMED PROCESSOR Processor
ba 6 0/250 pdh CLAIMED BUS_NEXUS Core I/O Adapter
acpi_node 0 0/250/0 acpi_node CLAIMED INTERFACE Acpi Hardware
ipmi 0 0/250/1 ipmi CLAIMED INTERFACE IPMI Controller
/dev/ipmi
cell 1 2 cell CLAIMED BUS_NEXUS
ba 7 2/250 pdh CLAIMED BUS_NEXUS Core I/O Adapter
acpi_node 1 2/250/0 acpi_node CLAIMED INTERFACE Acpi Hardware
usbmsvbus 1 255/1 mass_storage CLAIMED VIRTBUS USB Mass Storage
ext_bus 20 255/1/0 usb_ms_scsi CLAIMED INTERFACE USB Mass Storage SCSI
Asif_8
Regular Advisor

Re: vgcreate: Volume group "/dev/vg01" could not be created:Unable to read the physical volume

after run i got IO error as follows
#pvcreate /dev/rdisk/disk125
Physical volume "/dev/rdisk/disk125" has been successfully created.

#vgcreate -s 32 vg01 /dev/disk/disk125
Increased the number of physical extents per physical volume to 1599.
vgcreate: IO error on Physical Volume device "/dev/disk/disk125".

#vgdisplay -v vg01
vgdisplay: Volume group "/dev/vg01" does not exist in the "/etc/lvmtab" file.
vgdisplay: Volume group "/dev/vg01" does not exist in the "/etc/lvmtab_p" file.
vgdisplay: Cannot display volume group "vg01".
Kapil Jha
Honored Contributor

Re: vgcreate: Volume group "/dev/vg01" could not be created:Unable to read the physical volume

The error is you are not specifying other details to create VG like option
-s PE size
-e max PE per PV

Its necessary to have these values if you are going to create a huge VG.

you have to carefully read man vgcreate

and for the time being remove vg and recreate with specifying other options.

probably

vgcreate -s 32 -e 10000
-e depends upon ur LUN size.

BR,
Kapil+
I am in this small bowl, I wane see the real world......
Torsten.
Acclaimed Contributor

Re: vgcreate: Volume group "/dev/vg01" could not be created:Unable to read the physical volume

I would check if the array meets all requirements (firmware, settings, etc...).

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!   
Duncan Edmonstone
Honored Contributor

Re: vgcreate: Volume group "/dev/vg01" could not be created:Unable to read the physical volume

This is a Clariion LUN.

You need to make sure that the Clariion is riunning at least FLARE26 and that the LUN is set for failover mode 4 (ALUA) - if it isn't you do get these sorts of messages out of a Clariion.

Basically your storage team need to read their EMC documentation on supporting HP-UX11iv3

HTH

Duncan

HTH

Duncan
Asif_8
Regular Advisor

Re: vgcreate: Volume group "/dev/vg01" could not be created:Unable to read the physical volume


Thanks for every body

After change EMC site problem is solve as per Duncan Edmonstone recommandation

How to I konw Persistent DSF system which disk are share between to server I attache both server isocan -m dsf output how I know which disks are share

Thanks Asif


Duncan Edmonstone
Honored Contributor

Re: vgcreate: Volume group "/dev/vg01" could not be created:Unable to read the physical volume

there are multiple methods of identifying LUNs between servers - the easiest way is if you have some EMC tool which can do this for you...

otherwise if you use:

scsimgr lun_map -D /dev/rdisk/diskN

you should be able to match WWNs and WWIDs of the LUNs to figure out which is which...

HTH

Duncan

HTH

Duncan