Re: pvcreate: vfat signature detected on /dev/sda5

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

 



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.

Regards,
Bryn.

_______________________________________________
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