Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


What is the command to remove Lvm ,Pv and vg

Answers were Sorted based on User's Feedback



What is the command to remove Lvm ,Pv and vg..

Answer / linuxnewbee

frst remove frm fstab .....then

lvremove lvname

vgremove vgname /// u cant remove vg before lv

pvremove pvname(path i.e /dev/...)

Is This Answer Correct ?    25 Yes 2 No

What is the command to remove Lvm ,Pv and vg..

Answer / mahesh

you frist umount lv
remove from fstab then save and quit
first remove lvremove lvname
second remove vgremove vgname
and last go for pv

Is This Answer Correct ?    24 Yes 2 No

What is the command to remove Lvm ,Pv and vg..

Answer / ron

frst remove frm fstab .....then
vgremove vgname
lvremove lvname
pvremove pvname(path i.e /dev/...)

Is This Answer Correct ?    27 Yes 8 No

What is the command to remove Lvm ,Pv and vg..

Answer / 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

What is the command to remove Lvm ,Pv and vg..

Answer / debasis behera

1st remove the entry on /etc/fstab file & save - quit.
2nd remove lvm - lvremove lvname
3rd remove vg - vgremove vgname
4th remove pv - pvremove pvname

Is This Answer Correct ?    7 Yes 1 No

What is the command to remove Lvm ,Pv and vg..

Answer / harsha

first umount
then remove from fstab
then remove lvm using lvremove
then remove groupvolume
using gvremove
then remove physicalvolume
using pvremove
dont forget to reboot your system after deleting.

Is This Answer Correct ?    2 Yes 1 No

What is the command to remove Lvm ,Pv and vg..

Answer / ratheesh

vremove lvname

vgremove vgname /// u cant remove vg before lv

pvremove pvname(path i.e /dev/...)

Is This Answer Correct ?    2 Yes 1 No

What is the command to remove Lvm ,Pv and vg..

Answer / 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

What is the command to remove Lvm ,Pv and vg..

Answer / rama shankar maurya

lvremove for lv remove
pvremove for pv remove
vgremove for vg remove

Is This Answer Correct ?    0 Yes 0 No

What is the command to remove Lvm ,Pv and vg..

Answer / shailendra kumar

first remove logical volume then second remove vollume
group and last remove the physical vollume

Is This Answer Correct ?    1 Yes 2 No

Post New Answer

More Linux Commands Interview Questions

What is Data Command?

0 Answers  


What is the syntax of mkdir?

0 Answers  


What u know abt tar Command?

5 Answers   Locuz,


You suspect that you have two commands with the same name as the command is not producing the expected results. What command can you use to determine thelocation of the command being run?

0 Answers  


How do I run bash on windows?

0 Answers  


What does grep grep do?

0 Answers  


what are the basic elements of firewall?

2 Answers   Athena Security Solutions, CMC,


What are system commands?

0 Answers  


What is nslookup command?

0 Answers  


What are the options of wc command?

0 Answers  


What is the best cpu stress test?

0 Answers  


What is command to check ports running/used over local machine

0 Answers  


Categories