What is the command to remove Lvm ,Pv and vg

Answer Posted / linux

dmsetup will only remove /dev/mapper/vg0-lvm0
your pv, vg & lv will remain there but lv will not be active.
just give "vgchange -ay" and your logical volume will again
be available for use.

Is This Answer Correct ?    7 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How does diff command work?

507


How do I know my linux shell version?

505


What is simple command?

526


What is $@ in makefile?

556


What is mkdir m in linux?

532






How many types of commands are there in linux?

558


What is the best cpu stress test?

488


What is gnu in linux?

525


What is $$ in shell script?

513


How can I check the exit status of my previous command in Linux operating system?

540


What is history command in linux?

542


What is command grouping and how does it work?

643


Which command would you use if you want to remove the password assigned to a group?

522


How do I run bash on windows?

497


How do I overclock my cpu?

497