LVM and VxVM

Remove Disk from old EMC-Storage

 
KonradFL
Occasional Contributor

Remove Disk from old EMC-Storage

Hello

 

My forerunner left behind a bad system and I'm a rookie.

So, they removed (Physically disconnected) a EMC DiskStorage without remove the old disk. They only added the new disk from the new storage.

So I have following message, when I do a vgdisplay:

 

ServerName:/# vgdisplay -v | grep Name
Information in "/etc/lvmtab" differs from that in "/etc/lvmpvg".
Physical volume "/dev/dsk/c14t0d0" does not belong
to volume group "/dev/vg10".

...

VG Name                     /dev/vg10
   LV Name                     /dev/vg10/lv_oracle
   LV Name                     /dev/vg10/lv_users
   LV Name                     /dev/vg10/lv_users_oracle
   LV Name                     /dev/vg10/lv_users_ora2
   PV Name                     /dev/dsk/c24t0d0
   PV Name                     /dev/dsk/c26t0d0 Alternate Link
   PV Name                     /dev/dsk/c20t0d0 Alternate Link
   PV Name                     /dev/dsk/c22t0d0 Alternate Link

...

 

ioscan -fnc disk don't see this disk.

 

Any Idea, how I can remove this 'ghost'-disk now?

 

Thanks and Regards, KonradFL

 

 

P.S. This thread has been moved from General to LVM and VxVM. - Hp forum Moderator

2 REPLIES 2
Ken Grabowski
Respected Contributor

Re: Remove Disk from old EMC-Storage

Try rebuilding lvmtab:

 

mv /etc/lvmtab lvmtab.org

vgscan -a

Ruel Alojado
Advisor

Re: Remove Disk from old EMC-Storage

you can remove the ghost disk using

 

vgreduce -f vg10 /dev/dsk/c14t0d0

 

or simply vgreduce -f vg10

 

What version of ux? If you are running verion 11.31, better to use persistent disk than legacy (ctd) in your vg.

 

if version 3, you can convert it using vgdsf command.

 

Regards,