1833896 Members
1750 Online
110063 Solutions
New Discussion

Re: PVlink create error

 
SOLVED
Go to solution
dasn
Advisor

PVlink create error

Hi Guys,
I have encountered an error while adding link to a existing volume group.

# vgextend vg01 /dev/rdsk/c9t1d0
vgextend: Physical volume "/dev/rdsk/c9t1d0" is not a block special file.
Usage: vgextend
[-f]
[-A Autobackup]
[-x Extensibility]
[-g PhysicalVoumeGroupName]
[-z SparePV]
VolumeGroupName PhysicalVolumePath...
"PhysicalVolumePath": must be a block special file.
#
# vgextend vg01 /dev/rdsk/c8t1d0
vgextend: Physical volume "/dev/rdsk/c8t1d0" is not a block special file.
Usage: vgextend
[-f]
[-A Autobackup]
[-x Extensibility]
[-g PhysicalVoumeGroupName]
[-z SparePV]
VolumeGroupName PhysicalVolumePath...
"PhysicalVolumePath": must be a block special file.
#

Any idea why this error is ?

Here is my ioscan disk out put.

# ioscan -fnC disk
Class I H/W Path Driver S/W State H/W Type Description
=======================================================================
disk 1 0/0/1/1.15.0 sdisk CLAIMED DEVICE SEAGATE ST318404LC
/dev/dsk/c1t15d0 /dev/rdsk/c1t15d0
disk 5 0/2/0/0.2.0.255.0.0.0 sdisk CLAIMED DEVICE HITACHI DF500
/dev/dsk/c6t0d0 /dev/rdsk/c6t0d0
disk 12 0/2/0/0.2.0.255.0.0.1 sdisk CLAIMED DEVICE HITACHI DF500
/dev/dsk/c6t0d1 /dev/rdsk/c6t0d1
disk 26 0/2/0/0.100.176.255.0.1.0 sdisk CLAIMED DEVICE HITACHI DF500
/dev/dsk/c9t1d0 /dev/rdsk/c9t1d0
disk 17 0/4/0/0.1.0.255.0.0.0 sdisk CLAIMED DEVICE HITACHI DF500
/dev/dsk/c4t0d0 /dev/rdsk/c4t0d0
disk 18 0/4/0/0.1.0.255.0.0.1 sdisk CLAIMED DEVICE HITACHI DF500
/dev/dsk/c4t0d1 /dev/rdsk/c4t0d1
disk 25 0/4/0/0.100.176.255.0.1.0 sdisk CLAIMED DEVICE HITACHI DF500
/dev/dsk/c8t1d0 /dev/rdsk/c8t1d0
#

Basically LUN d0 has 4 paths.

Thanks for your help.
NKD
5 REPLIES 5
erics_1
Honored Contributor
Solution

Re: PVlink create error

vgextend vg01 /dev/dsk/c8t1d0

Regards,
Eric
HGN
Honored Contributor

Re: PVlink create error

Hi

You have to do the vgextend with dsk
try
# vgextend vg01 /dev/dsk/c9t1d0

that should work

Rgds

Dont forget to assign points to all the replies

HGN
Patrick Wallek
Honored Contributor

Re: PVlink create error

You need to use the /dev/dsk (NOT /dev/rdsk) device with vgextend.

vgextend vg01 /dev/dsk/c9t1d0
dasn
Advisor

Re: PVlink create error

Thanks Guys.
dasn
Advisor

Re: PVlink create error

Posted reply answer the question.

Thanks,
Niranjan