What is the command to remove Lvm ,Pv and vg

Answer Posted / mario

first:# vi /etc/fstab
deleted line /dev/mapper/vg/lv ..............default 0 0
esc wq!
#reboot
#lvremove(path i.e: /dev/mapper/vg/lv)
#vgremove(path i.e: vg /dev/sdb1)
#pvremove(path i.e: /dev/sdb1)

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which command is used to compare the files?

721


What command would you use to create an empty file without opening it to edit it?

740


you wish to create a link to the /data directory in bob's home directory so you issue the command ln /data /home/bob/datalink but the command fails. What options hould you use in this command line to be successful.

745


How do I change shell in linux?

717


Is cmake only for c++?

742






What is cpu core in linux?

702


Explain about communication features in UNIX?

774


What is the command to check cpu speed in linux?

697


What are grep patterns called?

726


How do I find the console in linux?

720


What are the commands used in command prompt?

707


What is the root directory linux?

676


What does bash stand for?

735


What is the use of cp p command?

764


What are vim commands?

689