Re: How to remove btrfs information

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

 



On 17 November 2012 16:04, Goffredo Baroncelli <kreijack@xxxxxxxxx> wrote:
> On 11/17/2012 03:52 AM, Yangtse Su wrote:
>> I have an btrfs part on /dev/sda5,Then I install windows8 with the
>> windows8 installer.I remove this btrfs part and install windows8 on
>> it.Now in my Linux,'btfrs filesystem show' still show /dev/sda5 as a
>> btrfs part. but now it is Microsoft Reserved part,only 128MB.
>>
>
> There was a patch about that [1] and David posted a script perl that
> does the same [2]. Moreover it seems that "wipefs" is also able to wipe
> out a btrfs super-block. I never tried it.
>
>
>> Here is some information:
>> http://paste.ubuntu.org.cn/155508
>
> Please the next time put all these info in the email
>
>> # blkid
>> ...
>> /dev/sda5: UUID="9c3e097a-bab0-4f18-b074-5cd2f081c8c7"
> UUID_SUB="ef0e296c-f554-415e-9aa9-31b1cb9aef31" TYPE="btrfs"
> /dev/sda6: UUID="3AFE3D50FE3D0623" TYPE="ntfs"
>> # btrfs filesystem show
>> Label: none  uuid: 9c3e097a-bab0-4f18-b074-5cd2f081c8c7
>>       Total devices 1 FS bytes used 284.00KB
>>       devid    1 size 33.48GB used 2.04GB path /dev/sda5
>> ...
>> Btrfs Btrfs v0.19
>> #gdisk /dev/sda
>> >p
>> Number  Start (sector)    End (sector)  Size       Code  Name
>> ......
>>    5       493025280       493287423   128.0 MiB   0C01  Microsoft
> reserved part
>>   6       493287424       625141759   62.9 GiB    0700  Basic data
> partition
>
>
> [1]http://comments.gmane.org/gmane.comp.file-systems.btrfs/17065
> [2]http://www.mail-archive.com/linux-btrfs@xxxxxxxxxxxxxxx/msg16197.html

Yes wipefs is the simplest method.

Check first:
# wipefs /dev/sda5

Do it second:
# wipefs -a /dev/sda5

Mike
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux