All of lore.kernel.org
 help / color / mirror / Atom feed
From: Guy Rouillier <guy.rouillier@gmail.com>
To: linux-lvm@redhat.com
Subject: [linux-lvm] lvremove is not deleting the file system
Date: Sun, 29 Dec 2013 19:58:04 -0500	[thread overview]
Message-ID: <52C0C51C.7060806@gmail.com> (raw)

I'm using xen-create-image in an attempt to set up a new VM; host OS is 
Ubuntu Server 13.10, and I'm using LVM.  I failed in my first attempt 
due to my inexperience, so I changed some input parameters and I'm 
trying again.  The first attempt had successfully created the target LVM 
volumes for boot, root and swap, so I used lvremove to delete them.  All 
that went without error.

However, now when I try to run xen-create-image, I get the following 
error at the beginning when xen-create-image tries to create the target 
volumes:

Creating btrfs filesystem on /dev/dell-vg/oraclelinux-root
/dev/dell-vg/oraclelinux-root appears to contain an existing filesystem 
(btrfs).
Error: Use the -f option to force overwrite.
Running command 'mkfs.btrfs /dev/dell-vg/oraclelinux-root 2>&1' failed 
with exit code 256.
Aborting

I've tried searching for this error but can't find anything helpful. 
I've rerun this a dozen times and get the same result each time 
(deleting the created volumes and rebooting between each attempt.)  I 
looked in the /dev tree, and I see the dm node (dm-4) disappears after I 
run lvremove.  But apparently, lvremove doesn't delete the filesystem. 
So when I recreate the same volume in the same order, the filesystem is 
still there from the previous attempt.

How do I fix this?  Thanks.

-- 
Guy Rouillier

---
This email is free from viruses and malware because avast! Antivirus protection is active.
http://www.avast.com

             reply	other threads:[~2013-12-30  0:58 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-30  0:58 Guy Rouillier [this message]
2013-12-30  1:46 ` [linux-lvm] lvremove is not deleting the file system Sven Eschenberg
2013-12-30  1:55   ` Alasdair G Kergon
2013-12-30  2:27     ` Sven Eschenberg
2013-12-30  2:00 ` Alasdair G Kergon
2013-12-30  3:28   ` Guy Rouillier
2013-12-30  5:18     ` Sven Eschenberg

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=52C0C51C.7060806@gmail.com \
    --to=guy.rouillier@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.