1753710 Members
4643 Online
108799 Solutions
New Discussion юеВ

DiskArray

 
shaikh_mahaboob
Frequent Advisor

DiskArray

HI

I have small proble while creating Volumegroup VG01 the error is VG01 unable to create Already exist in lvmtab file how to remove this .

Thanks
Shaikh
Exchange
3 REPLIES 3
Vincent Farrugia
Honored Contributor

Re: DiskArray

Hello,

Try recreating /etc/lvmtab... vg01 is still recorded there for some reason.

1. Backup /etc/lvmtab
mv /etc/lvmtab /etc/lvmtab.old
2. Recreate it
vgscan -v

HTH,
Vince
Tape Drives RULE!!!
Joaquin Gil de Vergara
Respected Contributor

Re: DiskArray

be sure that vg01 is not udsed for nothing!

then

# vgchange -a n vg01
# vgexport vg01
Teach is the best way to learn
Bill McNAMARA_1
Honored Contributor

Re: DiskArray

strings /etc/lvmtab

jsut to see what disk is configured to vg01

vgexport is very useful in cases where you really don't want that disk to be there.

the correct way in the future is
vgreduce vg01 (/dev/dsk/cxtydz)
until all /dev/dsks are removved.

vgremove vg01

rm -Rf /etc/lvmconf/vg01*

vgcfgbackup


It works for me (tm)