Re: What is the proper way to remove an xfs partition?

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

 



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.


-- 
Cheers / Saludos,

		Carlos E. R.
		(from 42.2 x86_64 "Malachite" at Telcontar)

Attachment: signature.asc
Description: OpenPGP digital signature


[Index of Archives]     [XFS Filesystem Development (older mail)]     [Linux Filesystem Development]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux RAID]     [Linux SCSI]


  Powered by Linux