Operating System - HP-UX
1753794 Members
6847 Online
108799 Solutions
New Discussion юеВ

Re: how to remove vol. group which are in lvmtab but disks are not there ?

 
SOLVED
Go to solution
Sammy_2
Super Advisor

how to remove vol. group which are in lvmtab but disks are not there ?

Apparently, someone removed the disks (array) associated with VG (/dev/apps) before reducing and removing the VG itself..
I got lvmtab showing a VG which I dont need and really dont have any disks attached to it?

How I can removed any references of /dev/apps VG from lvmtab and all its device files in /dev/apps ?

#strings /etc/lvmtab
/dev/vg00
IwLA
/dev/dsk/c2t1d0
/dev/dsk/c3t0d0
/dev/apps
IwLB
/dev/dsk/c11t0d1
/dev/dsk/c10t0d1
/dev/dsk/c11t0d2
good judgement comes from experience and experience comes from bad judgement.
2 REPLIES 2
Robert-Jan Goossens_1
Honored Contributor
Solution

Re: how to remove vol. group which are in lvmtab but disks are not there ?

Hi,

# vgchange -a n /dev/apps
# vgexport /dev/apps

Regards,
Robert-Jan
Sammy_2
Super Advisor

Re: how to remove vol. group which are in lvmtab but disks are not there ?

Thanks Robert. Works great.
good judgement comes from experience and experience comes from bad judgement.