Re: lvremove is not deleting the file system

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, December 30, 2013 02:55, Alasdair G Kergon wrote:
> On Mon, Dec 30, 2013 at 02:46:45AM +0100, Sven Eschenberg wrote:
>> Think of this, once you delete a partition table and recreate it with
>> the
>> same layout, all filesystems will be available, if the drive was not
>> touched in any way.
>
> Although lvcreate has a --zero option enabled by default that wipes
> the beginning of the new device (and the next upstream release extends
> this to wipe more signatures using libblkid).

Forgot about that. Then again my documentation says zero wipes the first
KB, which does not really catch BTRFS sigs (which the OP uses) nor various
mdraid signatures.

I honestly hope the libblkid dependency will be optional ;-).

>
> You need to investigate precisely how your version of 'xen-create-image'
> is
> using LVM and with which options.

The actual OP, you meant. As you noted in your other post wipefs can come
in handy. Additionally blkid and lsblk are two things that come in handy,
to see what is going on.
>
> Alasdair
>

-Sven


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




[Index of Archives]     [Gluster Users]     [Kernel Development]     [Linux Clusters]     [Device Mapper]     [Security]     [Bugtraq]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]

  Powered by Linux