[linux-lvm] pvcreate: vfat signature detected on /dev/sda5

Bryn M. Reeves bmr at redhat.com
Sat Dec 10 10:37:06 UTC 2016

On Fri, Dec 09, 2016 at 07:35:24PM -0800, John L. Poole wrote:
>    zeta jlpoole # pvcreate /dev/sda5
>    WARNING: vfat signature detected on /dev/sda5 at offset 54. Wipe it?
> [y/n]: n
>      Aborted wiping of vfat.
>      1 existing signature left on the device.
>      Aborting pvcreate on /dev/sda5.
>    zeta jlpoole #

If you want to confirm what's present on a device, use the blkid or
file commands:

# blkid /dev/sda1
/dev/sda1: UUID="49f9b992-3c68-4b59-a232-e1a3a4482eed" TYPE="ext4" PARTUUID="000298d0-01"

# file -s /dev/sda1
/dev/sda1: Linux rev 1.0 ext4 filesystem data, UUID=49f9b992-3c68-4b59-a232-e1a3a4482eed (needs journal recovery) (extents) (large files) (huge files)

You can also use the wipefs program to manually remove any signature,
and optionally back it up to a file so that it can be restored (it
will also report label offsets as with pvcreate).

Both blkid and wipefs are from util-linux. The file program comes
from the 'file' package on most distros.


More information about the linux-lvm mailing list