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

What is Data Command?

609


What is df command in unix?

503


You want to know how many lines in the kickoff file contains ‘prize’. Which of the following commands will produce the desired results?

543


What is make command in linux?

544


How you will create new folder / directories and how to remove file and folder in linux?

475






What does sh do in linux?

503


What are grep commands?

532


What is nslookup command?

515


How find ip address linux?

548


What is du -s * | sort -k1,1rn | head command used for?

528


How do I change shell in linux?

511


How do I create a .txt file?

534


Which of the Commands delete the files from the /tmp directory, issued by non-root user?

641


What does p mean linux?

525


What are the 4 kinds of sentences with examples?

580