Operating System - HP-UX
1748204 Members
3867 Online
108759 Solutions
New Discussion юеВ

Re: Unable to extend VG to idle disk

 
SOLVED
Go to solution
arkie
Super Advisor

Unable to extend VG to idle disk

Hi,

I have 2 local disks & OS is currently running on only one of the disks - c2t0d0. I am getting the following error when I am trying to vgextend my default VG to include the second disk (for OS Mirroring).

# vgextend /dev/vg00 /dev/dsk/c2t1d0
vgextend: Couldn't install the physical volume "/dev/dsk/c2t1d0".
Device busy

Pls help
6 REPLIES 6
Prasanth Thomas
Valued Contributor
Solution

Re: Unable to extend VG to idle disk

HI,

Please share the below o//ps

#diskinfo /dev/rdsk/c2t1d0
#pvdisplay /dev/dsk/c2t1d0

Regards,
Prasanth Thomas.
Prasanth Thomas
Valued Contributor

Re: Unable to extend VG to idle disk

two more commands

#vgdisplay
#strings /etc/lvmtab

Regards,
PT.
Shailendran V Naidu
Frequent Advisor

Re: Unable to extend VG to idle disk

Please provide the following outputs apart from whats given above :

bdf
pvdisplay /dev/dsk/c2t1d0

I believe that disk is already mounted as whole disk.
arkie
Super Advisor

Re: Unable to extend VG to idle disk

Hi Prasanth, Shailendran

Thanks!

I was too quick to start this thread before even checking out whether the disk was 'pvcreated' or not. Now things are happening after
1. pvcreate -B -f /dev/rdsk/c2t1d0 ...

The LVs are just getting extended now.

Thanks again.
Johnson Punniyalingam
Honored Contributor

Re: Unable to extend VG to idle disk

>>vgextend: Couldn't install the physical volume "/dev/dsk/c2t1d0".<<

error indicates clearly " :)
Problems are common to all, but attitude makes the difference
arkie
Super Advisor

Re: Unable to extend VG to idle disk

Always to check
# pvdisplay -v /dev/rdsk/cXtYdZ

This will determine whether the following will be required or not:-
# pvcreate -B -f /dev/rdsk/cXtYdZ