public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
From: ToddAndMargo <ToddAndMargo@zoho.com>
To: "Carlos E. R." <robin.listas@telefonica.net>,
	Linux-XFS mailing list <linux-xfs@vger.kernel.org>
Subject: Re: What is the proper way to remove an xfs partition?
Date: Sun, 3 Sep 2017 17:03:56 -0700	[thread overview]
Message-ID: <4741099f-1dcc-acff-46e1-61cd29ecf198@zoho.com> (raw)
In-Reply-To: <3e4309b6-f84a-abcc-c075-76e798c70154@telefonica.net>

On 09/03/2017 05:34 AM, Carlos E. R. wrote:
> On 2017-09-02 02:34, ToddAndMargo wrote:
> 
>>
>> I don't know if you guys care about such things, but I just
>> request that gparted do a disk blank
>>
>> https://bugzilla.redhat.com/show_bug.cgi?id=1487807
> 
> It is a known issue with gparted that when you reformat a partition or
> disk with something else, it doesn't properly erase at least the
> critical areas of the previous filesystem, causing problems.
> 
> One that has been noticed more than once at openSUSE is this:
> 
> - 'dd' a CD image on an USB stick for operating system installation. For
> instance, openSUSE-Leap-42.2-NET-x86_64.iso install disk.
> 
> - Afterwards, use gparted to remove partitions on the stick, create a
> new partition, format it as FAT32 (with a label).
> 
> Tumbleweed (at some version) thought the USB to still be a CD (printing
> its old label) and failed to mount it (because it is FAT).
> 
> The code detecting filesystem type had to be changed on Tumbleweed, but
> the cause of the issue is that gparted did not erase the areas at the
> start of the disk with that information, and the FAT format did not
> write on them.
> 
> 
> 
> So this is not a problem with XFS, but a problem caused by gparted
> (feature needed). You have to manually destroy key areas manually,
> probably just a few sectors at partition start.
> 
> 

Thank you!  And something for 1478707 to reproduce!

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Computers are like air conditioners.
They malfunction when you open windows
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


  reply	other threads:[~2017-09-04  0:04 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-31 18:04 What is the proper way to remove an xfs partition? ToddAndMargo
2017-08-31 18:16 ` Eric Sandeen
2017-08-31 18:32   ` ToddAndMargo
2017-08-31 21:09     ` Eric Sandeen
2017-09-01  7:02       ` Carlos Maiolino
2017-09-02  0:34 ` ToddAndMargo
2017-09-03 12:34   ` Carlos E. R.
2017-09-04  0:03     ` ToddAndMargo [this message]
2017-09-04  0:14       ` Carlos E. R.
2017-09-04  5:06         ` ToddAndMargo

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=4741099f-1dcc-acff-46e1-61cd29ecf198@zoho.com \
    --to=toddandmargo@zoho.com \
    --cc=linux-xfs@vger.kernel.org \
    --cc=robin.listas@telefonica.net \
    /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