linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
From: Peter Rajnoha <prajnoha@redhat.com>
To: BaiLin Times <balintimes@gmail.com>
Cc: LVM general discussion and development <linux-lvm@redhat.com>
Subject: Re: [linux-lvm] lvremove try to remove a WRONG logic volume!!!
Date: Wed, 15 Nov 2017 10:25:28 +0100	[thread overview]
Message-ID: <e43300f3-d19a-fae3-e6c3-54fe17ffee7c@redhat.com> (raw)
In-Reply-To: <CAGPRaYcTgU0pfSHhcV7aOzv-ohr=+=E7YgJs=USRTMe2-LNcAQ@mail.gmail.com>

On 11/15/2017 04:26 AM, BaiLin Times wrote:
> root@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@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@redhat.com
> https://www.redhat.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
> 


-- 
Peter

      reply	other threads:[~2017-11-15  9:25 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-11-15  3:26 [linux-lvm] lvremove try to remove a WRONG logic volume!!! BaiLin Times
2017-11-15  9:25 ` Peter Rajnoha [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=e43300f3-d19a-fae3-e6c3-54fe17ffee7c@redhat.com \
    --to=prajnoha@redhat.com \
    --cc=balintimes@gmail.com \
    --cc=linux-lvm@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).