linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
* [linux-lvm] lvremove is not deleting the file system
@ 2013-12-30  0:58 Guy Rouillier
  2013-12-30  1:46 ` Sven Eschenberg
  2013-12-30  2:00 ` Alasdair G Kergon
  0 siblings, 2 replies; 7+ messages in thread
From: Guy Rouillier @ 2013-12-30  0:58 UTC (permalink / raw)
  To: linux-lvm

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2013-12-30  5:18 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-30  0:58 [linux-lvm] lvremove is not deleting the file system Guy Rouillier
2013-12-30  1:46 ` 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

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).