linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
From: "Bryn M. Reeves" <bmr@redhat.com>
To: jlpoole56@gmail.com,
	LVM general discussion and development <linux-lvm@redhat.com>
Subject: Re: [linux-lvm] pvcreate: vfat signature detected on /dev/sda5
Date: Sat, 10 Dec 2016 10:37:06 +0000	[thread overview]
Message-ID: <20161210103705.GA7522@localhost.localdomain> (raw)
In-Reply-To: <efb9fde8-8120-7098-1784-b9a72e6987f7@gmail.com>

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.

  parent reply	other threads:[~2016-12-10 10:37 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-12-10  3:35 [linux-lvm] pvcreate: vfat signature detected on /dev/sda5 John L. Poole
2016-12-10  7:01 ` Xen
2016-12-10 10:37 ` Bryn M. Reeves [this message]
2016-12-12 10:01   ` Peter Rajnoha

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=20161210103705.GA7522@localhost.localdomain \
    --to=bmr@redhat.com \
    --cc=jlpoole56@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 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).