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. Here is some information: http://paste.ubuntu.org.cn/155508 -- God Is Not A Girl!!! -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
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/155508Please 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 Microsoftreserved part> 6 493287424 625141759 62.9 GiB 0700 Basic datapartition [1]http://comments.gmane.org/gmane.comp.file-systems.btrfs/17065 [2]http://www.mail-archive.com/linux-btrfs@vger.kernel.org/msg16197.html> > > -- > God Is Not A Girl!!! > -- > To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html >-- gpg @keyserver.linux.it: Goffredo Baroncelli (kreijackATinwind.it> Key fingerprint BBF5 1610 0B64 DAC6 5F7D 17B2 0EDA 9B37 8B82 E0B5 -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
On 17 November 2012 16:04, Goffredo Baroncelli <kreijack@gmail.com> 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@vger.kernel.org/msg16197.htmlYes 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html