Bug 1129923 - wipefs doesn't remove all btrfs superblock signatures
Summary: wipefs doesn't remove all btrfs superblock signatures
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: util-linux
Version: 21
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Karel Zak
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-08-14 01:59 UTC by Chris Murphy
Modified: 2014-08-14 02:04 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-08-14 02:04:15 UTC


Attachments (Terms of Use)


Links
System ID Priority Status Summary Last Updated
Red Hat Bugzilla 889888 None None None Never

Internal Links: 889888

Description Chris Murphy 2014-08-14 01:59:22 UTC
Description of problem: When issuing a wipefs -a on a btrfs volume, there should be three signatures removed but only one is removed.


Version-Release number of selected component (if applicable):
libblkid-2.25-3.fc21.x86_64


How reproducible:
Always

Steps to Reproduce:
# mkfs.btrfs /dev/sdb
# wipefs -a /dev/sdb
/dev/sdb: 8 bytes were erased at offset 0x00010040 (btrfs): 5f 42 48 52 66 53 5f 4d

Actual results:
Only 8 bytes erased at offset 0x00010040

Expected results:
8 bytes should be additionally erased at offsets 0x04000040 and 0x1000000040.
64KB, 64MB, 256GB.

Additional info:
https://btrfs.wiki.kernel.org/index.php/Problem_FAQ#What_if_I_don.27t_have_wipefs_at_hand.3F

Comment 1 Chris Murphy 2014-08-14 02:04:15 UTC
Sort of a duplicate but I decided to open a new bug against util-linux/libblkid per original bug 889888 comment 28. But then barely 2 minutes later I found this:
https://github.com/karelzak/util-linux/commit/c93c20304ce544d2f8200540ccf25e08900b2e9d

I guess nevermind!


Note You need to log in before you can comment on or make changes to this bug.