[Bug 628130] [NEW] mkfs.btrfs correctly work only with sequential order of the partitions

RussianNeuroMancer 628130 at bugs.launchpad.net
Wed Sep 1 14:54:34 UTC 2010


Public bug reported:

First of all - not I found this bug. Credits to anonymous:
http://www.linux.org.ru/forum/general/5238223#comment-5240801

Bug description:

mkfs.btrfs work with sequential order of the partitions:

root at ubuntu:~# mkfs.btrfs /dev/sdb /dev/sdc /dev/sdd 
WARNING! - Btrfs Btrfs v0.19 IS EXPERIMENTAL 
WARNING! - see http://btrfs.wiki.kernel.org before using 
adding device /dev/sdc id 2 
adding device /dev/sdd id 3 
fs created label (null) on /dev/sdb 
   nodesize 4096 leafsize 4096 sectorsize 4096 size 3.00GB 
Btrfs Btrfs v0.19 
root at ubuntu:~# mount /dev/sdb /mnt 
root at ubuntu:~# mkfs.btrfs /dev/sdb /dev/sdc /dev/sdd 
WARNING! - Btrfs Btrfs v0.19 IS EXPERIMENTAL 
WARNING! - see http://btrfs.wiki.kernel.org before using 
/dev/sdb is mounted 
root at ubuntu:~# umount /mnt 
root at ubuntu:~# mount /dev/sdb /mnt 

But not work with inverse order of partitions:

                                           ______please note______
root at ubuntu:~# mkfs.btrfs /dev/sdd /dev/sdc /dev/sdb  
WARNING! - Btrfs Btrfs v0.19 IS EXPERIMENTAL 
WARNING! - see http://btrfs.wiki.kernel.org before using 
adding device /dev/sdc id 2 
/dev/sdb is mounted 
root at ubuntu:~# umount /mnt 
root at ubuntu:~# mount /dev/sdb /mnt 
mount: wrong fs type, bad option, bad superblock on /dev/sdb, 
       missing codepage or helper program, or other error 
       In some cases useful info is found in syslog - try 
       dmesg | tail  or so 
root at ubuntu:~# mount /dev/sdc /mnt 
mount: wrong fs type, bad option, bad superblock on /dev/sdc, 
       missing codepage or helper program, or other error 
       In some cases useful info is found in syslog - try 
       dmesg | tail  or so 
root at ubuntu:~# mount /dev/sdd /mnt 
mount: wrong fs type, bad option, bad superblock on /dev/sdd, 
       missing codepage or helper program, or other error 
       In some cases useful info is found in syslog - try 
       dmesg | tail  or so 
root at ubuntu:~# uname -r 
2.6.35-14-generic

I think this bug an easly reproduced in Maverick, but I can not test
until Beta release.

** Affects: linux (Ubuntu)
     Importance: Undecided
         Status: New

-- 
mkfs.btrfs correctly work only with sequential order of the partitions
https://bugs.launchpad.net/bugs/628130
You received this bug notification because you are a member of Kernel
Bugs, which is subscribed to linux in ubuntu.




More information about the kernel-bugs mailing list