[Bug 546860] New: blkid does not list swap device previously formatted with btrfs
http://bugzilla.novell.com/show_bug.cgi?id=546860 Summary: blkid does not list swap device previously formatted with btrfs Classification: openSUSE Product: openSUSE 11.2 Version: Milestone 8 Platform: Other OS/Version: Other Status: NEW Severity: Major Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: aschnell@novell.com QAContact: qa@suse.de Found By: Development A device first formatted with btrfs and then mit swap is not listed in the output of blkid. Not at all, neither as btrfs nor as swap. See attached console log for a demonstration. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=546860 User aschnell@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=546860#c1 --- Comment #1 from Arvin Schnell <aschnell@novell.com> 2009-10-14 06:43:18 MDT --- Created an attachment (id=322473) --> (http://bugzilla.novell.com/attachment.cgi?id=322473) console log -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=546860 Andreas Jaeger <aj@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team-screening@forge.pr |hvogel@novell.com |ovo.novell.com | -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=546860 http://bugzilla.novell.com/show_bug.cgi?id=546860#c Hendrik Vogelsang <hvogel@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|hvogel@novell.com |vojtech@novell.com -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=546860 http://bugzilla.novell.com/show_bug.cgi?id=546860#c Jiri Kosina <jkosina@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|vojtech@novell.com |coyli@novell.com -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=546860 http://bugzilla.novell.com/show_bug.cgi?id=546860#c2 Dongyang Li <dyli@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dyli@novell.com --- Comment #2 from Dongyang Li <dyli@novell.com> 2010-02-05 01:49:54 UTC --- the magic of btrfs sits on the disk with a offset 0x10040(64 * 1024 + 0x40), while the magic of swap has a offset pagesize() - 10(usually 0xff6). and mkswap just wipes out the first 1024 bytes of the disk and writes the swap magic, when blkid checks the disk again, it will see two magics, so that's why you won't see it with blkid. blkid and mkswap are both from util-linux-ng, with 2.17, there is a new tool named wipefs, with which you can see the all magics on the disk, and a simple wipefs -a /dev/sdXX will simply wipe out all the magics on the disk, then you can mkswap on it again, and blkid will happily report it as a swap. the version of util-linux-ng in OpenSUSE 11.2 is 2.16, so you don't have wipefs right now. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=546860 http://bugzilla.novell.com/show_bug.cgi?id=546860#c3 coly li <coyli@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|Basesystem |Basesystem Version|Milestone 8 |Milestone 1 AssignedTo|coyli@novell.com |bnc-team-screening@forge.pr | |ovo.novell.com Product|openSUSE 11.2 |openSUSE 11.3 Target Milestone|--- |Milestone 1 --- Comment #3 from coly li <coyli@novell.com> 2010-02-05 05:11:52 UTC --- Let's do the fix in openSUSE 11.3, since it starts already. I will make sure this issue get solved in openSuSE 11.3. Dongyang, thanks for point out this. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=546860 http://bugzilla.novell.com/show_bug.cgi?id=546860#c coly li <coyli@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |coyli@novell.com AssignedTo|bnc-team-screening@forge.pr |coyli@novell.com |ovo.novell.com | -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=546860 http://bugzilla.novell.com/show_bug.cgi?id=546860#c4 coly li <coyli@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |CLOSED Resolution| |FIXED --- Comment #4 from coly li <coyli@novell.com> 2010-04-11 16:57:51 UTC --- In opensuse 11.3m4, util-linux package version is 2.17.1. Close this bug since the correct package is included. Please reopen this bug when necessary. Thanks to Dongyang. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com