Operating System - HP-UX
1834935 Members
2091 Online
110071 Solutions
New Discussion

how to take the bootable disk out from lvlnboot -v

 
Hanry Zhou
Super Advisor

how to take the bootable disk out from lvlnboot -v

I already setup another bootable disk, and it is working fine. Now I want to take this disk out of the list of the bootable disks. I don't need it anymore, what I should do?

I already did vgreduce on this disk. when I do pvcreate -f -B on this disk, and hopefully it could remove lvm info, but getting messages saying "this disk is already in /etc/lvmtab file"

Thanks!

none
3 REPLIES 3
Tim Nelson
Honored Contributor

Re: how to take the bootable disk out from lvlnboot -v

Did you look at lvrmboot command ?
Torsten.
Acclaimed Contributor

Re: how to take the bootable disk out from lvlnboot -v

"this disk is already in /etc/lvmtab file"

indicates that the disk is part of a VG.

BTW, "pvcreate -f -B" does NOT remove LVM info - it *creates* LVM info!

What steps did you take?

If you want to remove a disk from vg00, you need to lvreduce the mirror first, then vgreduce the disk.

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!   
leelangco_1
Frequent Advisor

Re: how to take the bootable disk out from lvlnboot -v

donnot use pvcreate -B on a disk otherwise you want to use it as a bootable disk.

after use the vgreduce ,you can mannualy run vgscan -v ,it can recreate the lvmtab

best regards