1830890 Members
1842 Online
110017 Solutions
New Discussion

adding disk to LVM

 
gany59
Regular Advisor

adding disk to LVM

hi all,, after creating the pvcreate, by the command pvcreate -f /dev/rdsk/vpath 279 and pvdisplay /dev/dsk/vpath279.. the error will through.. could anybody pls help on this... thanks in advance

/# pvdisplay /dev/dsk/vpath279
pvdisplay: Couldn't find the volume group to which
physical volume "/dev/dsk/vpath279" belongs.
pvdisplay: Cannot display physical volume "/dev/dsk/vpath279".
# diskinfo -v /dev/rdsk/vpath279
io_search failed: I/O tree node does not exist.
4 REPLIES 4
Torsten.
Acclaimed Contributor

Re: adding disk to LVM

Did you ever add the disk to a VG? I don't remember to what software "vpath" belongs - what is it?

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!   
Kapil Jha
Honored Contributor

Re: adding disk to LVM

i am also little unsure about vpath...is it linux, anyways you will have to add the disk in a vg then only you would get a propoer pvdisplay output.

BR,
Kapil+
I am in this small bowl, I wane see the real world......
Rahul Rai_1
Frequent Advisor

Re: adding disk to LVM

Hi,

I am fully agree with Kapil, first try to add pv in to vg then only further you can perfomr the next tasks,

Regards,
Rahul Rai.
subodhbagade
Regular Advisor

Re: adding disk to LVM

Hi,

follow the steps

(1) diskinfo /dev/rdsk/cxtxdx check it is showing the proper size of disk

(2) # pvcreate /dev/rdsk/cxtxdx
(3)# vgextend /dev/vgname /dev/dsk/cxtxdx

now check assigned pv to VG

(4) strings /etc/lvmtab

Regards,
Subodh.