[linux-lvm] lvremove try to remove a WRONG logic volume!!!

Peter Rajnoha prajnoha at redhat.com
Wed Nov 15 09:25:28 UTC 2017


On 11/15/2017 04:26 AM, BaiLin Times wrote:
> root at d11:/home/sone# lvremove vg0 lv0v16

There's missing slash '/' in between VG name and LV name - you should
have used vg0/lv0v16. Without that slash, the name given means the whole
VG so the command you typed actually means "remove all volumes in volume
group vg0 and lv0v16".


> Do you really want to remove active logical volume vg0/lv0v15? [y/n]: y
>   Logical volume "lv0v15" successfully removed
> Do you really want to remove active logical volume vg0/lv0v00? [y/n]:
> ^C  Interrupted...
>   Logical volume vg0/lv0v00 not removed.
>   Interrupted...
>   Interrupted...
> 
> 
> 
> root at d11:/home/sone# lvremove vg1 vl1v16
>   Logical volume vg1/lv1uni contains a filesystem in use.
> Do you really want to remove active logical volume vg1/lv1win? [y/n]:
> ^C  Interrupted...
>   Logical volume vg1/lv1win not removed.
>   Interrupted...
>   Interrupted...
> 
> 
> 
> Inline image 1Inline image 2Inline image 3Inline image 4
> 
> 
> _______________________________________________
> linux-lvm mailing list
> linux-lvm at redhat.com
> https://www.redhat.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
> 


-- 
Peter




More information about the linux-lvm mailing list